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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
283a71c9583a82d67aa9059ac89118881af9ce63 | 47,507 | cpp | C++ | src/conformance/conformance_test/test_LayerComposition.cpp | JoeLudwig/OpenXR-CTS | 144c94e8982fe76986019abc9bf2b016740536df | [
"Apache-2.0",
"BSD-3-Clause",
"Unlicense",
"MIT"
] | 1 | 2020-12-11T03:28:32.000Z | 2020-12-11T03:28:32.000Z | src/conformance/conformance_test/test_LayerComposition.cpp | JoeLudwig/OpenXR-CTS | 144c94e8982fe76986019abc9bf2b016740536df | [
"Apache-2.0",
"BSD-3-Clause",
"Unlicense",
"MIT"
] | null | null | null | src/conformance/conformance_test/test_LayerComposition.cpp | JoeLudwig/OpenXR-CTS | 144c94e8982fe76986019abc9bf2b016740536df | [
"Apache-2.0",
"BSD-3-Clause",
"Unlicense",
"MIT"
] | null | null | null | // Copyright (c) 2019-2021, The Khronos Group Inc.
//
// SPDX-License-Identifier: Apache-2.0
//
// 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/LICEN... | 56.088548 | 146 | 0.636832 | JoeLudwig |
283a80924b2defc573734b3ff42e7e7384c9cffb | 9,532 | cpp | C++ | modules/base/rendering/renderablecartesianaxes.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | modules/base/rendering/renderablecartesianaxes.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | modules/base/rendering/renderablecartesianaxes.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | /*****************************************************************************************
* *
* OpenSpace *
* ... | 34.536232 | 90 | 0.593999 | nbartzokas |
283afec9ab13eba507692de14055621e68232683 | 3,020 | hpp | C++ | QuantExt/qle/instruments/makecds.hpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | 1 | 2021-03-30T17:24:17.000Z | 2021-03-30T17:24:17.000Z | QuantExt/qle/instruments/makecds.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | null | null | null | QuantExt/qle/instruments/makecds.hpp | zhangjiayin/Engine | a5ee0fc09d5a50ab36e50d55893b6e484d6e7004 | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:04:10.000Z | 2022-02-07T02:04:10.000Z | /*
Copyright (C) 2017 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 33.555556 | 86 | 0.76755 | PiotrSiejda |
283cf5bab703ddbfe5d27d122222b8ffcb2343d6 | 86,167 | cpp | C++ | dev/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/InstanceDataHierarchy.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/InstanceDataHierarchy.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/InstanceDataHierarchy.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 44.097748 | 304 | 0.527325 | jeikabu |
283d232e0cebdcfedf5e47e2e5af2153ff8b129a | 7,202 | cpp | C++ | inference-engine/tests/functional/plugin/gna/Import_export_tests/import_export_act_conv_act.cpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | null | null | null | inference-engine/tests/functional/plugin/gna/Import_export_tests/import_export_act_conv_act.cpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 16 | 2021-04-19T13:03:04.000Z | 2022-02-21T13:06:50.000Z | inference-engine/tests/functional/plugin/gna/Import_export_tests/import_export_act_conv_act.cpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include <memory>
#include <tuple>
#include <vector>
#include <string>
#include <fstream>
#include <ie_core.hpp>
#include <ie_layouts.h>
#include "shared_test_classes/base/layer_test_utils.hpp"
#include "function... | 40.234637 | 131 | 0.620383 | JOCh1958 |
2841971e0bff9a57c920a04ac25df9ef4a1e9c4d | 5,126 | cpp | C++ | GEvent.cpp | abishek-sampath/SDL-GameFramework | 0194540851eeaff6b4563feefb8edae7ca868700 | [
"MIT"
] | null | null | null | GEvent.cpp | abishek-sampath/SDL-GameFramework | 0194540851eeaff6b4563feefb8edae7ca868700 | [
"MIT"
] | null | null | null | GEvent.cpp | abishek-sampath/SDL-GameFramework | 0194540851eeaff6b4563feefb8edae7ca868700 | [
"MIT"
] | null | null | null | #include "GEvent.h"
GEvent::GEvent() {
}
GEvent::~GEvent() {
//Do nothing
}
void GEvent::OnEvent(SDL_Event* event) {
switch(event->type) {
case SDL_KEYDOWN: {
OnKeyDown(event->key.keysym.sym,event->key.keysym.mod);
break;
}
case SDL_KEYUP: {
OnKey... | 23.953271 | 257 | 0.558525 | abishek-sampath |
2842442eca960d8309112fd16fcafecfcf29aab9 | 21,655 | cc | C++ | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/EmilyWindow.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/EmilyWindow.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Emily/Sources/EmilyWindow.cc | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */
/*
* $Header: /fuji/lewis/RCS/EmilyWindow.cc,v 1.6 1992/09/08 16:40:43 lewis Exp $
*
* TODO:
*
* Changes:
* $Log: EmilyWindow.cc,v $
* Revision 1.6 1992/09/08 16:40:43 lewis
* Renamed NULL -> Nil.
*
* Revision 1.5 1992/09/01 17... | 27.136591 | 142 | 0.652274 | SophistSolutions |
2842d743a10cb05257b9106962481d8d684edc81 | 626 | cpp | C++ | LGPUtil/LGPExitSystem.cpp | chen0040/cpp-linear-genetic-programming | 8b0bc8701110af0b7506546e527bd03f57d972fe | [
"MIT"
] | 3 | 2018-01-09T06:03:23.000Z | 2020-12-29T20:09:44.000Z | LGPUtil/LGPExitSystem.cpp | chen0040/cpp-linear-genetic-programming | 8b0bc8701110af0b7506546e527bd03f57d972fe | [
"MIT"
] | 1 | 2017-11-15T04:24:43.000Z | 2017-11-18T02:17:12.000Z | LGPUtil/LGPExitSystem.cpp | chen0040/cpp-linear-genetic-programming | 8b0bc8701110af0b7506546e527bd03f57d972fe | [
"MIT"
] | 2 | 2017-09-17T04:24:24.000Z | 2020-01-29T05:35:49.000Z | #include "LGPExitSystem.h"
#include <cstdlib>
#include <iostream>
#include "LGPLogger.h"
#include "../LGPConstants/LGPFlags.h"
#include <cassert>
void LGPExitSystem(const char* fname, const char* ename)
{
std::cout << "An error has occurred in the LGP System..." << std::endl;
std::cout << "Source: " << fname << st... | 25.04 | 76 | 0.65016 | chen0040 |
2843f15a5aaff39464478839a47483251844600c | 998 | cpp | C++ | out/production/Hacktoberfest1/C++/pattern_prctice(CB).cpp | bluey-crypto/Hacktoberfest | c826d5faf1d1c860dbffe665e6a7cf1e35ba76ba | [
"MIT"
] | 4 | 2019-10-12T13:54:20.000Z | 2021-07-06T22:41:12.000Z | out/production/Hacktoberfest1/C++/pattern_prctice(CB).cpp | bluey-crypto/Hacktoberfest | c826d5faf1d1c860dbffe665e6a7cf1e35ba76ba | [
"MIT"
] | 1 | 2020-10-01T18:03:45.000Z | 2020-10-01T18:03:45.000Z | out/production/Hacktoberfest1/C++/pattern_prctice(CB).cpp | bluey-crypto/Hacktoberfest | c826d5faf1d1c860dbffe665e6a7cf1e35ba76ba | [
"MIT"
] | 8 | 2019-10-14T17:20:09.000Z | 2020-10-03T17:27:49.000Z | #include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
for(int i=1;i<=n;i++)
{
for(int j=0;j<n-i;j++)
cout<<" ";
for(int j=i;j<=2*i-1;j++)
cout<<j;
for(int j=i;j)
cout<<j;
cout<<endl;
... | 16.360656 | 52 | 0.316633 | bluey-crypto |
2845626b754d5b1438c031a49a8a2ce15d1f8187 | 1,098 | cpp | C++ | library/lattice/cpp/src/tetengo.lattice.node_constraint_element.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | library/lattice/cpp/src/tetengo.lattice.node_constraint_element.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | 41 | 2021-06-25T14:20:29.000Z | 2022-01-16T02:50:50.000Z | library/lattice/cpp/src/tetengo.lattice.node_constraint_element.cpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | /*! \file
\brief A node constraint element.
Copyright (C) 2019-2022 kaoru https://www.tetengo.org/
*/
#include <memory>
#include <utility>
#include <boost/core/noncopyable.hpp>
#include <tetengo/lattice/node.hpp>
#include <tetengo/lattice/node_constraint_element.hpp>
namespace tetengo::lat... | 20.716981 | 120 | 0.618397 | tetengo |
284919a0184a7378e69887339cc4337bee738d8b | 3,664 | cpp | C++ | src/software/sensor_fusion/filter/robot_team_filter_test.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | src/software/sensor_fusion/filter/robot_team_filter_test.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | src/software/sensor_fusion/filter/robot_team_filter_test.cpp | EvanMorcom/Software | 586fb3cf8dc2d93de194d9815af5de63caa7e318 | [
"MIT"
] | null | null | null | /**
* This file contains the unit tests for the implementation of RobotTeamFilter class
*/
#include "software/sensor_fusion/filter/robot_team_filter.h"
#include <gtest/gtest.h>
#include <string.h>
TEST(RobotTeamFilterTest, one_robot_detection_update_test)
{
Team old_team = Team(Duration::fromMilliseconds(1000)... | 37.387755 | 90 | 0.692959 | EvanMorcom |
284adc7198c21a8493c908069d40743f3fb42d30 | 73,997 | cpp | C++ | catboost/libs/model/model.cpp | notimesea/catboost | 1d3e0744f1d6c6d74d724878dc9fe92076c8b1ce | [
"Apache-2.0"
] | null | null | null | catboost/libs/model/model.cpp | notimesea/catboost | 1d3e0744f1d6c6d74d724878dc9fe92076c8b1ce | [
"Apache-2.0"
] | null | null | null | catboost/libs/model/model.cpp | notimesea/catboost | 1d3e0744f1d6c6d74d724878dc9fe92076c8b1ce | [
"Apache-2.0"
] | null | null | null | #include "model.h"
#include "flatbuffers_serializer_helper.h"
#include "model_import_interface.h"
#include "model_build_helper.h"
#include "static_ctr_provider.h"
#include <catboost/libs/model/flatbuffers/model.fbs.h>
#include <catboost/libs/cat_feature/cat_feature.h>
#include <catboost/libs/helpers/borders_io.h>
#i... | 40.792172 | 154 | 0.672392 | notimesea |
28524420cfa7183d7514ffa340993f720ee587fe | 4,255 | cc | C++ | quic/quic_transport/quic_transport_stream.cc | fawdlstty/quiche | dfabdfb6884bf8ccd92c6f818aa8764a84f5a984 | [
"BSD-3-Clause"
] | 1 | 2021-10-17T09:43:24.000Z | 2021-10-17T09:43:24.000Z | quic/quic_transport/quic_transport_stream.cc | fawdlstty/quiche | dfabdfb6884bf8ccd92c6f818aa8764a84f5a984 | [
"BSD-3-Clause"
] | null | null | null | quic/quic_transport/quic_transport_stream.cc | fawdlstty/quiche | dfabdfb6884bf8ccd92c6f818aa8764a84f5a984 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019 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 "net/third_party/quiche/src/quic/quic_transport/quic_transport_stream.h"
#include <sys/types.h>
#include "net/third_party/quiche/src/quic/c... | 29.964789 | 81 | 0.682961 | fawdlstty |
28530a40e5accd8f31daea09b54aff0474526fb5 | 3,707 | hpp | C++ | src/ui/AboutDialog/AboutDialog.hpp | ATiltedTree/APASSTools | 1702e082ae3b95ec10f3c5c084ef9396de5c3833 | [
"MIT"
] | null | null | null | src/ui/AboutDialog/AboutDialog.hpp | ATiltedTree/APASSTools | 1702e082ae3b95ec10f3c5c084ef9396de5c3833 | [
"MIT"
] | 4 | 2020-02-25T00:21:58.000Z | 2020-07-03T11:12:03.000Z | src/ui/AboutDialog/AboutDialog.hpp | ATiltedTree/APASSTools | 1702e082ae3b95ec10f3c5c084ef9396de5c3833 | [
"MIT"
] | null | null | null | #pragma once
#include "common/Icon.hpp"
#include <QApplication>
#include <QDialog>
#include <QDialogButtonBox>
#include <QGridLayout>
#include <QIcon>
#include <QLabel>
#include <QLayout>
#include <config.hpp>
constexpr int ICON_SIZE = 100;
namespace Ui {
class AboutDialog {
public:
QGridLayout *gridLayout;
... | 34.64486 | 80 | 0.626113 | ATiltedTree |
2853a4fae21d10d113c59f1e5e720e1c399ab643 | 3,304 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcActuatorTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 426 | 2015-04-12T10:00:46.000Z | 2022-03-29T11:03:02.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcActuatorTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 124 | 2015-05-15T05:51:00.000Z | 2022-02-09T15:25:12.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcActuatorTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 214 | 2015-05-06T07:30:37.000Z | 2022-03-26T16:14:04.000Z | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/IFC4/include/IfcActu... | 39.807229 | 172 | 0.740315 | AlexVlk |
2853bc1c7cf0246f945c77713f29bb9cdbda037c | 2,067 | cpp | C++ | GOOGLETEST/AccountTest/main.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | GOOGLETEST/AccountTest/main.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | GOOGLETEST/AccountTest/main.cpp | Amit-Khobragade/Google-Test-And-Mock-Examples-Using-Cmake | f1a3951c5fb9c29cc3de7deadb34caea5c8829d0 | [
"MIT"
] | null | null | null | #include <iostream>
#include <gtest/gtest.h>
#include <stdexcept>
#include "account.h"
///////////////////////////////////////////////////////////////////
//fixture class for Account
class AccountTestFixtures: public testing::Test
{
public:
AccountTestFixtures();
static void SetUpTestCase();
void SetUp() override;
... | 27.197368 | 67 | 0.507499 | Amit-Khobragade |
285412303ff4ca73ddb2bcb65033969e40b6acab | 32,986 | cpp | C++ | src/mongo/db/query/lite_parsed_query_test.cpp | joprice/mongo | c8171e7f969519af8b87a43425ae291ee69a0191 | [
"Apache-2.0"
] | 1 | 2015-11-06T05:55:10.000Z | 2015-11-06T05:55:10.000Z | src/mongo/db/query/lite_parsed_query_test.cpp | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/query/lite_parsed_query_test.cpp | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2013 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... | 41.078456 | 99 | 0.518008 | joprice |
28547d18f64675f20e099d4d409b3a5608668593 | 2,434 | hpp | C++ | VNFs/DPPD-PROX/tools/flow_extract/stream.hpp | plvisiondevs/samplevnf | ffdcfa6b834d3ad00188ee9805370d6aefc44b4b | [
"Apache-2.0"
] | 19 | 2017-10-13T11:14:19.000Z | 2022-02-13T12:26:42.000Z | VNFs/DPPD-PROX/tools/flow_extract/stream.hpp | plvisiondevs/samplevnf | ffdcfa6b834d3ad00188ee9805370d6aefc44b4b | [
"Apache-2.0"
] | 1 | 2022-01-25T12:33:52.000Z | 2022-01-25T12:33:52.000Z | VNFs/DPPD-PROX/tools/flow_extract/stream.hpp | plvisiondevs/samplevnf | ffdcfa6b834d3ad00188ee9805370d6aefc44b4b | [
"Apache-2.0"
] | 22 | 2017-09-21T01:54:35.000Z | 2021-11-07T06:40:11.000Z | /*
// Copyright (c) 2010-2017 Intel Corporation
//
// 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 la... | 25.621053 | 80 | 0.741988 | plvisiondevs |
2854d4ff3ddbc2c5e17ae5989f6087554f272d9f | 2,183 | hpp | C++ | lib/STL+/containers/matrix.hpp | knela96/Game-Engine | 06659d933c4447bd8d6c8536af292825ce4c2ab1 | [
"Unlicense"
] | 65 | 2021-01-06T12:36:22.000Z | 2021-06-21T10:30:09.000Z | deps/stlplus/containers/matrix.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | 4 | 2021-12-06T16:00:00.000Z | 2022-03-18T07:40:33.000Z | deps/stlplus/containers/matrix.hpp | evpo/libencryptmsg | fa1ea59c014c0a9ce339d7046642db4c80fc8701 | [
"BSD-2-Clause-FreeBSD",
"BSD-3-Clause"
] | 11 | 2021-01-07T02:57:02.000Z | 2021-05-31T06:10:56.000Z | #ifndef STLPLUS_MATRIX
#define STLPLUS_MATRIX
////////////////////////////////////////////////////////////////////////////////
// Author: Andy Rushton
// Copyright: (c) Southampton University 1999-2004
// (c) Andy Rushton 2004 onwards
// License: BSD License, see ../docs/license.html
... | 30.319444 | 82 | 0.55016 | knela96 |
2855669ef1d39b987605349694dc6e7653d21e67 | 4,667 | hpp | C++ | src/buffer_cache/evicter.hpp | zadcha/rethinkdb | bb4f5cc28242dc1e29e9a46a8a931ec54420070c | [
"Apache-2.0"
] | 21,684 | 2015-01-01T03:42:20.000Z | 2022-03-30T13:32:44.000Z | src/buffer_cache/evicter.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 4,067 | 2015-01-01T00:04:51.000Z | 2022-03-30T13:42:56.000Z | src/buffer_cache/evicter.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 1,901 | 2015-01-01T21:05:59.000Z | 2022-03-21T08:14:25.000Z | #ifndef BUFFER_CACHE_EVICTER_HPP_
#define BUFFER_CACHE_EVICTER_HPP_
#include <stdint.h>
#include <functional>
#include "buffer_cache/eviction_bag.hpp"
#include "concurrency/auto_drainer.hpp"
#include "concurrency/cache_line_padded.hpp"
#include "concurrency/pubsub.hpp"
#include "threading.hpp"
#include "time.hpp"
c... | 29.726115 | 84 | 0.719091 | zadcha |
2855cd96d30b58bbd0de294310c725c9e760088b | 6,641 | cc | C++ | mojo/edk/system/dispatcher.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | mojo/edk/system/dispatcher.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | mojo/edk/system/dispatcher.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "mojo/edk/system/dispatcher.h"
#include "base/logging.h"
#include "mojo/edk/system/configuration.h"
#include "mojo/edk/system/data_pipe_consumer... | 33.205 | 79 | 0.660593 | metux |
2857e6515c8cc11801506a908c7252d93ba529c1 | 62 | hpp | C++ | modules/jip/functions/JIP/script_component.hpp | Bear-Cave-ArmA/Olsen-Framework-ArmA-3 | 1c1715f0e4ed8f2b655a66999754256fa42ca6bf | [
"MIT"
] | 4 | 2020-05-04T18:03:59.000Z | 2020-05-06T19:40:27.000Z | modules/jip/functions/JIP/script_component.hpp | Bear-Cave-ArmA/Olsen-Framework-ArmA-3 | 1c1715f0e4ed8f2b655a66999754256fa42ca6bf | [
"MIT"
] | 13 | 2020-05-06T19:02:06.000Z | 2020-08-24T08:16:43.000Z | modules/jip/functions/JIP/script_component.hpp | Bear-Cave-ArmA/Olsen-Framework-ArmA-3 | 1c1715f0e4ed8f2b655a66999754256fa42ca6bf | [
"MIT"
] | 5 | 2020-05-04T18:04:05.000Z | 2020-05-14T16:53:13.000Z | #define COMPONENT JIP
#include "..\..\script_component.hpp"
| 20.666667 | 38 | 0.709677 | Bear-Cave-ArmA |
285b157bd91e1f11fa4f4c0c4a349bb4c69b3637 | 1,988 | cpp | C++ | prototypes/misc_tests/cv_test4.cpp | andrewjouffray/HyperAugment | cc7a675a1dac65ce31666e59dfd468c15293024f | [
"MIT"
] | null | null | null | prototypes/misc_tests/cv_test4.cpp | andrewjouffray/HyperAugment | cc7a675a1dac65ce31666e59dfd468c15293024f | [
"MIT"
] | null | null | null | prototypes/misc_tests/cv_test4.cpp | andrewjouffray/HyperAugment | cc7a675a1dac65ce31666e59dfd468c15293024f | [
"MIT"
] | null | null | null | #include <opencv2/opencv.hpp>
#include <iostream>
#include <omp.h>
#include <fstream>
#include <string>
#include <filesystem>
#include <chrono>
namespace fs = std::filesystem;
using namespace std;
// goal load a video file and process it with multithearding
vector<string> getFiles(string path){
//cout << "adding ... | 18.238532 | 131 | 0.622233 | andrewjouffray |
285ba9ea9a30d009e31a5906e49bc6cbc8bb45c0 | 2,203 | cpp | C++ | src/base/ProxyAllocator.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 675 | 2019-05-28T19:00:55.000Z | 2022-03-31T16:44:28.000Z | src/base/ProxyAllocator.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 13 | 2020-03-29T06:46:32.000Z | 2022-01-29T03:19:30.000Z | src/base/ProxyAllocator.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 53 | 2019-06-02T03:04:10.000Z | 2022-03-11T06:17:50.000Z | #include <ncine/common_macros.h>
#include <nctl/ProxyAllocator.h>
namespace nctl {
///////////////////////////////////////////////////////////
// CONSTRUCTORS and DESTRUCTOR
///////////////////////////////////////////////////////////
ProxyAllocator::ProxyAllocator(const char *name, IAllocator &allocator)
: IAllo... | 29.77027 | 120 | 0.684521 | bigplayszn |
286048f8b0629f4e1171e3411031b2ca73a38f01 | 1,784 | cc | C++ | experiments/efficiency/runtime_test.cc | Fytch/lehrfempp | c804b3e350aa893180f1a02ce57a93b3d7686e91 | [
"MIT"
] | 16 | 2018-08-30T19:55:43.000Z | 2022-02-16T16:38:06.000Z | experiments/efficiency/runtime_test.cc | Fytch/lehrfempp | c804b3e350aa893180f1a02ce57a93b3d7686e91 | [
"MIT"
] | 151 | 2018-05-27T13:01:50.000Z | 2021-08-04T14:50:50.000Z | experiments/efficiency/runtime_test.cc | Fytch/lehrfempp | c804b3e350aa893180f1a02ce57a93b3d7686e91 | [
"MIT"
] | 20 | 2018-11-13T13:46:38.000Z | 2022-02-18T17:33:52.000Z | /** @file runtime_test.cc
* @brief Some tests for runtime behavior of certain C++ constructs
*/
#include <iostream>
#include "lf/base/base.h"
static const int N = 10;
static double stat_tmp[N]; // NOLINT
std::vector<double> getData_VEC(double offset) {
std::vector<double> tmp(10);
for (int j = 0; j < N; j+... | 22.582278 | 69 | 0.538677 | Fytch |
28617c6019b7bdfdb91bc6e8d63550ad8afaac6a | 4,390 | hpp | C++ | include/xwidgets/xvideo.hpp | SylvainCorlay/xwidgets | f21198f5934c90b034afee9b36c47b0e7b456c6b | [
"BSD-3-Clause"
] | 1 | 2020-01-10T04:13:44.000Z | 2020-01-10T04:13:44.000Z | include/xwidgets/xvideo.hpp | SylvainCorlay/xwidgets | f21198f5934c90b034afee9b36c47b0e7b456c6b | [
"BSD-3-Clause"
] | null | null | null | include/xwidgets/xvideo.hpp | SylvainCorlay/xwidgets | f21198f5934c90b034afee9b36c47b0e7b456c6b | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
* Copyright (c) 2017, Sylvain Corlay and Johan Mabille *
* *
* Distributed under the terms of the BSD 3-Clause License. *
* ... | 32.043796 | 99 | 0.550797 | SylvainCorlay |
2864b7d13c542879e010c7d2fb375e9f194c14e1 | 4,259 | hxx | C++ | com/ole32/stg/async/layoutui/layoutui.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/ole32/stg/async/layoutui/layoutui.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/ole32/stg/async/layoutui/layoutui.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1996.
//
// File: layoutui.hxx
//
// Contents: Common header file Layout Tool UI
//
// Classes: CLayoutApp
// COleClientSite
//
// History:... | 26.128834 | 95 | 0.565391 | npocmaka |
28652391a9f68b49c85f7080f7cf3b649c33dabc | 6,641 | cc | C++ | net/base/directory_lister.cc | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/base/directory_lister.cc | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/base/directory_lister.cc | 7kbird/chrome | f56688375530f1003e34c34f441321977c5af3c3 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:23:37.000Z | 2020-11-04T07:23:37.000Z | // Copyright (c) 2012 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 "net/base/directory_lister.h"
#include <algorithm>
#include <vector>
#include "base/bind.h"
#include "base/file_util.h"
#include "base/file... | 30.888372 | 78 | 0.680319 | 7kbird |
286930b7251bfb77d9c4612c785b52db98fecc5d | 506 | cpp | C++ | test/test_runner.cpp | jmalkin/hll-cpp | 0522f03473352fe50afb85e823e395253ea80532 | [
"Apache-2.0"
] | null | null | null | test/test_runner.cpp | jmalkin/hll-cpp | 0522f03473352fe50afb85e823e395253ea80532 | [
"Apache-2.0"
] | null | null | null | test/test_runner.cpp | jmalkin/hll-cpp | 0522f03473352fe50afb85e823e395253ea80532 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018, Oath Inc. Licensed under the terms of the
* Apache License 2.0. See LICENSE file at the project root for terms.
*/
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
int main(int argc, char **argv) {
CppUnit::TextUi::TestRunner runner;
CppUnit::Test... | 31.625 | 87 | 0.741107 | jmalkin |
286a928b8661ddedc4fa3d34e5e5227d5e0e4d76 | 7,310 | cpp | C++ | hihope_neptune-oh_hid/00_src/v0.1/foundation/graphic/ui/frameworks/components/ui_digital_clock.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | 1 | 2022-02-15T08:51:55.000Z | 2022-02-15T08:51:55.000Z | hihope_neptune-oh_hid/00_src/v0.1/foundation/graphic/ui/frameworks/components/ui_digital_clock.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | hihope_neptune-oh_hid/00_src/v0.1/foundation/graphic/ui/frameworks/components/ui_digital_clock.cpp | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020-2021 Huawei Device Co., Ltd.
* 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... | 29.24 | 107 | 0.61368 | dawmlight |
286c5ecf38d03a1dd8d219ba69cecda5722795ee | 1,415 | cpp | C++ | 1.Top Interview Questions/C++/2.Strings/ReverseString.cpp | HanumantappaBudihal/LeetCode-Solutions | d46ad49f59e14798ff1716f1259a3e04c7aa3d17 | [
"MIT"
] | null | null | null | 1.Top Interview Questions/C++/2.Strings/ReverseString.cpp | HanumantappaBudihal/LeetCode-Solutions | d46ad49f59e14798ff1716f1259a3e04c7aa3d17 | [
"MIT"
] | null | null | null | 1.Top Interview Questions/C++/2.Strings/ReverseString.cpp | HanumantappaBudihal/LeetCode-Solutions | d46ad49f59e14798ff1716f1259a3e04c7aa3d17 | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
#include <cstring>
#include <bits/stdc++.h>
using namespace std;
/************************************************************************************************************
* Problem statement : https://leetcode.com/explore/interview/card/top-interview-questions-easy/... | 26.203704 | 114 | 0.497527 | HanumantappaBudihal |
286cb47acae02dcb7f8fce48320957ed50ad5f44 | 16,597 | cpp | C++ | wwivconfig/wwivconfig.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | wwivconfig/wwivconfig.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | wwivconfig/wwivconfig.cpp | k5jat/wwiv | b390e476c75f68e0f4f28c66d4a2eecd74753b7c | [
"Apache-2.0"
] | null | null | null | /**************************************************************************/
/* */
/* WWIV Initialization Utility Version 5 */
/* Copyright (C)1998-2017, WWIV Software Services */
/* ... | 31.433712 | 105 | 0.607519 | k5jat |
286ef9f4e191c1ea6fcfc7ba46470f3ba04df768 | 499 | hpp | C++ | tools/converter/include/cli.hpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 3 | 2019-12-27T01:10:32.000Z | 2021-05-14T08:10:40.000Z | tools/converter/include/cli.hpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 10 | 2019-07-04T01:40:13.000Z | 2019-10-30T02:38:42.000Z | tools/converter/include/cli.hpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 1 | 2021-01-15T06:28:11.000Z | 2021-01-15T06:28:11.000Z | //
// cli.hpp
// MNNConverter
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef CLI_HPP
#define CLI_HPP
#include <iostream>
#include "config.hpp"
#include "cxxopts.hpp"
class Cli {
public:
static void printProjectBanner();
static cxxopts::Options initialize... | 16.633333 | 100 | 0.709419 | xhuan28 |
2870ca201c9d033ac2921ff82a4d3509719167a1 | 2,492 | hpp | C++ | api/CPP/fully_connected_grad_input.hpp | liyuming1978/clDNN | 05e19dd2229dc977c2902ec360f3165ecb925b50 | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | api/CPP/fully_connected_grad_input.hpp | liyuming1978/clDNN | 05e19dd2229dc977c2902ec360f3165ecb925b50 | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | api/CPP/fully_connected_grad_input.hpp | liyuming1978/clDNN | 05e19dd2229dc977c2902ec360f3165ecb925b50 | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | /*
// Copyright (c) 2016 Intel Corporation
//
// 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... | 31.544304 | 135 | 0.668941 | liyuming1978 |
287383cba67d98a84142fed9f734d6bae19a47fa | 2,432 | hpp | C++ | android-28/android/os/storage/StorageManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/os/storage/StorageManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-28/android/os/storage/StorageManager.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../../JObject.hpp"
namespace android::os
{
class Handler;
}
namespace android::os
{
class ParcelFileDescriptor;
}
namespace android::os
{
class ProxyFileDescriptorCallback;
}
namespace android::os::storage
{
class OnObbStateChangeListener;
}
namespace android::os::storage
{
class Storag... | 30.4 | 155 | 0.759457 | YJBeetle |
2874ba54b9cc00fb38738fe05b1f3ff4d4663b63 | 2,458 | hpp | C++ | include/hipSYCL/compiler/cbs/LoopsParallelMarker.hpp | mfkiwl/hipSYCL | baf07483f5f5061b4c5ae73c8ddb0c83786dca3c | [
"BSD-2-Clause"
] | null | null | null | include/hipSYCL/compiler/cbs/LoopsParallelMarker.hpp | mfkiwl/hipSYCL | baf07483f5f5061b4c5ae73c8ddb0c83786dca3c | [
"BSD-2-Clause"
] | null | null | null | include/hipSYCL/compiler/cbs/LoopsParallelMarker.hpp | mfkiwl/hipSYCL | baf07483f5f5061b4c5ae73c8ddb0c83786dca3c | [
"BSD-2-Clause"
] | null | null | null | /*
* This file is part of hipSYCL, a SYCL implementation based on CUDA/HIP
*
* Copyright (c) 2021 Aksel Alpay and contributors
* 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. Redis... | 37.815385 | 95 | 0.772986 | mfkiwl |
2875d539af4ea6d77cd798d56a8caaa28fc4a3f2 | 878 | cpp | C++ | routing/junction_visitor.cpp | swaitw/organicmaps | ab34d4d405ed22a5af94afa932b841b9ee6f6fd1 | [
"Apache-2.0"
] | null | null | null | routing/junction_visitor.cpp | swaitw/organicmaps | ab34d4d405ed22a5af94afa932b841b9ee6f6fd1 | [
"Apache-2.0"
] | null | null | null | routing/junction_visitor.cpp | swaitw/organicmaps | ab34d4d405ed22a5af94afa932b841b9ee6f6fd1 | [
"Apache-2.0"
] | null | null | null | #include "junction_visitor.hpp"
#include "routing/joint_segment.hpp"
#include "routing/route_weight.hpp"
#include "base/logging.hpp"
namespace routing
{
#ifdef DEBUG
void DebugRoutingState(JointSegment const & vertex, std::optional<JointSegment> const & parent,
RouteWeight const & heuristic, ... | 25.823529 | 95 | 0.626424 | swaitw |
287a82b966168a85726b83082e51688a7df03935 | 6,669 | cpp | C++ | EpicForceEngine/MagnumEngineLib/MagnumCore/AudioSourceBase.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | 1 | 2021-03-30T06:28:32.000Z | 2021-03-30T06:28:32.000Z | EpicForceEngine/MagnumEngineLib/MagnumCore/AudioSourceBase.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | null | null | null | EpicForceEngine/MagnumEngineLib/MagnumCore/AudioSourceBase.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////////
// Copyright(c) 2016, Lin Koon Wing Macgyver, macgyvercct@yahoo.com.hk //
// //
// Author : Mac Lin //
// Module : Magnum Engine v1.0.0 //
// Date : 14/Jun/2016 ... | 20.027027 | 87 | 0.690508 | MacgyverLin |
287b22e519dd780eb231663c37e9b63ca68a8796 | 753 | cpp | C++ | src/scene/light.cpp | nolmoonen/pbr | c5ed37795c8e67de1716762206fe7c58e9079ac0 | [
"MIT"
] | null | null | null | src/scene/light.cpp | nolmoonen/pbr | c5ed37795c8e67de1716762206fe7c58e9079ac0 | [
"MIT"
] | null | null | null | src/scene/light.cpp | nolmoonen/pbr | c5ed37795c8e67de1716762206fe7c58e9079ac0 | [
"MIT"
] | null | null | null | #include "light.hpp"
#include "../util/nm_math.hpp"
#include "../system/renderer.hpp"
Light::Light(
Scene *scene, Renderer *renderer, glm::vec3 position, glm::vec3 color
) :
SceneObject(scene, renderer, position), color(color)
{}
void Light::render(bool debug_mode)
{
SceneObject::render(debug_mod... | 25.965517 | 77 | 0.564409 | nolmoonen |
287d5513210df00735b4bdf41df40e8f8c8b77b1 | 1,399 | cpp | C++ | algorithm/SSSP-on-unweight-graph.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | algorithm/SSSP-on-unweight-graph.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | algorithm/SSSP-on-unweight-graph.cpp | AREA44/competitive-programming | 00cede478685bf337193bce4804f13c4ff170903 | [
"MIT"
] | null | null | null | #include "iostream"
#include "stdio.h"
#include "string"
#include "string.h"
#include "algorithm"
#include "math.h"
#include "vector"
#include "map"
#include "queue"
#include "stack"
#include "deque"
#include "set"
using namespace std;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
const in... | 20.573529 | 58 | 0.50965 | AREA44 |
287f40965278d62cc02152fb361085318976bba3 | 26,955 | hpp | C++ | include/barry/barray-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | 8 | 2020-07-21T01:30:35.000Z | 2022-03-09T15:51:14.000Z | include/barry/barray-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | 2 | 2022-01-24T20:51:46.000Z | 2022-03-16T23:08:40.000Z | include/barry/barray-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | null | null | null | // #include <stdexcept>
#include "barray-bones.hpp"
#ifndef BARRY_BARRAY_MEAT_HPP
#define BARRY_BARRAY_MEAT_HPP
#define BARRAY_TYPE() BArray<Cell_Type, Data_Type>
#define BARRAY_TEMPLATE_ARGS() <typename Cell_Type, typename Data_Type>
#define BARRAY_TEMPLATE(a,b) \
template BARRAY_TEMPLATE_ARGS() inline a BARR... | 21.968215 | 113 | 0.506733 | USCbiostats |
287f82ec982f80d5bf005edffbe89f3e874bde45 | 5,060 | cxx | C++ | Charts/vtkContextActor.cxx | Lin1225/vtk_v5.10.0 | b54ac74f4716572862365fbff28cd0ecb8d08c3d | [
"BSD-3-Clause"
] | 2 | 2020-01-07T20:50:53.000Z | 2020-01-29T18:22:02.000Z | Charts/vtkContextActor.cxx | Armand0s/homemade_vtk | 6bc7b595a4a7f86e8fa969d067360450fa4e0a6a | [
"BSD-3-Clause"
] | null | null | null | Charts/vtkContextActor.cxx | Armand0s/homemade_vtk | 6bc7b595a4a7f86e8fa969d067360450fa4e0a6a | [
"BSD-3-Clause"
] | 5 | 2015-03-23T21:13:19.000Z | 2022-01-03T11:15:39.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkContextActor.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software ... | 28.268156 | 78 | 0.588735 | Lin1225 |
287f86cc257f7c6803d7226c36014d060a9e76fb | 4,800 | hxx | C++ | src/bp/Config.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | 1 | 2022-03-15T22:54:39.000Z | 2022-03-15T22:54:39.000Z | src/bp/Config.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | null | null | null | src/bp/Config.hxx | nn6n/beng-proxy | 2cf351da656de6fbace3048ee90a8a6a72f6165c | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2007-2021 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 abo... | 24.742268 | 82 | 0.74375 | nn6n |
2880119cd99ce85a00042ad784d2634da983d136 | 3,381 | cpp | C++ | MidiBlocksPlugins/ChordBankBlock/chordbankblock.cpp | millerthegorilla/midi-blocks | b7fc0c49b93b5d9cdd39358bfa6974fd2d0df7ac | [
"MIT"
] | null | null | null | MidiBlocksPlugins/ChordBankBlock/chordbankblock.cpp | millerthegorilla/midi-blocks | b7fc0c49b93b5d9cdd39358bfa6974fd2d0df7ac | [
"MIT"
] | null | null | null | MidiBlocksPlugins/ChordBankBlock/chordbankblock.cpp | millerthegorilla/midi-blocks | b7fc0c49b93b5d9cdd39358bfa6974fd2d0df7ac | [
"MIT"
] | null | null | null | /*
Copyright (C) 2013 Adam Nash
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program ... | 25.421053 | 87 | 0.645075 | millerthegorilla |
2884713e818f042a181b5f03563ddcc2d3315a69 | 1,652 | cc | C++ | garnet/lib/ui/gfx/tests/stereo_camera_unittest.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 1 | 2019-04-21T18:02:26.000Z | 2019-04-21T18:02:26.000Z | garnet/lib/ui/gfx/tests/stereo_camera_unittest.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | garnet/lib/ui/gfx/tests/stereo_camera_unittest.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Fuchsia 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 "garnet/lib/ui/gfx/resources/stereo_camera.h"
#include <lib/ui/scenic/cpp/commands.h>
#include <gtest/gtest.h>
#include "garnet/lib/ui/gfx/test... | 33.714286 | 100 | 0.746368 | OpenTrustGroup |
288511bf23e83f6efbf7f5bcf6be5bee633d6b90 | 8,823 | cpp | C++ | sources/Platform/Linux/LinuxWindow.cpp | NoFr1ends/LLGL | 837fa70f151e2caeb1bd4122fcd4eb672080efa5 | [
"BSD-3-Clause"
] | null | null | null | sources/Platform/Linux/LinuxWindow.cpp | NoFr1ends/LLGL | 837fa70f151e2caeb1bd4122fcd4eb672080efa5 | [
"BSD-3-Clause"
] | null | null | null | sources/Platform/Linux/LinuxWindow.cpp | NoFr1ends/LLGL | 837fa70f151e2caeb1bd4122fcd4eb672080efa5 | [
"BSD-3-Clause"
] | null | null | null | /*
* LinuxWindow.cpp
*
* This file is part of the "LLGL" project (Copyright (c) 2015 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include <LLGL/Platform/NativeHandle.h>
#include <LLGL/Display.h>
#include "LinuxWindow.h"
#include "MapKey.h"
#include <exception>
namespace LLGL
{
static Of... | 24.714286 | 139 | 0.613737 | NoFr1ends |
2885e7fa9c064cb4a5913f9b8f8db37177f0bb98 | 323 | cpp | C++ | src/kits/debugger/source_language/c_family/CppLanguage.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/kits/debugger/source_language/c_family/CppLanguage.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/kits/debugger/source_language/c_family/CppLanguage.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
* Copyright 2012-2013, Rene Gollent, rene@gollent.com.
* Distributed under the terms of the MIT License.
*/
#include "CppLanguage.h"
CppLanguage::CppLanguage()
{
}
CppLanguage::~CppLanguage()
{
}
const char*
CppLanguage::Name() const
{
return "C++";... | 12.423077 | 55 | 0.690402 | Kirishikesan |
28860ae214f32e95d2218a6f6437461182ed6b67 | 872 | cxx | C++ | painty/core/test/src/KubelkaMunkTest.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 15 | 2020-04-22T15:18:28.000Z | 2022-03-24T07:48:28.000Z | painty/core/test/src/KubelkaMunkTest.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 25 | 2020-04-18T18:55:50.000Z | 2021-05-30T21:26:39.000Z | painty/core/test/src/KubelkaMunkTest.cxx | lindemeier/painty | 792cac6655b3707805ffc68d902f0e675a7770b8 | [
"MIT"
] | 2 | 2020-09-16T05:55:54.000Z | 2021-01-09T12:09:43.000Z | /**
* @file KubelkaMunkTest.cxx
* @author thomas lindemeier
*
* @brief
*
* @date 2020-05-14
*
*/
#include "gtest/gtest.h"
#include "painty/core/KubelkaMunk.hxx"
TEST(KubelkaMunk, Reflectance) {
constexpr auto Eps = 0.00001;
const auto d = 0.5;
const painty::vec<double, 3U> k = {0.2... | 27.25 | 79 | 0.598624 | lindemeier |
2887edc208ada4e07f89e8459df6bc8b4032330b | 6,198 | cpp | C++ | test/json2sql/enum_record_set.cpp | slotix/json2sql | bed76cad843a11dcee6d96b58ee6b4a84f4f67a3 | [
"BSD-3-Clause"
] | 8 | 2018-03-05T04:14:44.000Z | 2021-12-22T03:18:16.000Z | test/json2sql/enum_record_set.cpp | slotix/json2sql | bed76cad843a11dcee6d96b58ee6b4a84f4f67a3 | [
"BSD-3-Clause"
] | 10 | 2018-02-23T22:09:07.000Z | 2019-06-06T17:29:26.000Z | test/json2sql/enum_record_set.cpp | slotix/json2sql | bed76cad843a11dcee6d96b58ee6b4a84f4f67a3 | [
"BSD-3-Clause"
] | 7 | 2018-04-06T00:16:43.000Z | 2020-06-26T13:32:47.000Z | //
// Created by sn0w1eo on 26.02.18.
//
#include <gtest/gtest.h>
#include <hash_table.hpp>
#include <enum_table.hpp>
#include "enum_record_set.hpp"
namespace {
using rapidjson::Value;
using namespace DBConvert::Structures;
class EnumRecordSetTest : public ::testing::Test {
protected:
void Se... | 38.496894 | 132 | 0.647306 | slotix |
288bc24fb2022d139bf8d20be6b86508c0df0c25 | 12,073 | cc | C++ | src/rm/RequestManagerVirtualRouter.cc | vidister/one | 3baad262f81694eb182f9accb5dd576f5596f3b0 | [
"Apache-2.0"
] | 1 | 2019-11-21T09:33:40.000Z | 2019-11-21T09:33:40.000Z | src/rm/RequestManagerVirtualRouter.cc | vidister/one | 3baad262f81694eb182f9accb5dd576f5596f3b0 | [
"Apache-2.0"
] | null | null | null | src/rm/RequestManagerVirtualRouter.cc | vidister/one | 3baad262f81694eb182f9accb5dd576f5596f3b0 | [
"Apache-2.0"
] | 2 | 2020-03-09T09:11:41.000Z | 2020-04-01T13:38:20.000Z | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2019, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | 28.745238 | 83 | 0.455562 | vidister |
288cfffdcaf3e3d50d5fe581c917ddd589663956 | 2,955 | cpp | C++ | Engine/databaseadmincsvformat.cpp | vadkasevas/BAS | 657f62794451c564c77d6f92b2afa9f5daf2f517 | [
"MIT"
] | 302 | 2016-05-20T12:55:23.000Z | 2022-03-29T02:26:14.000Z | Engine/databaseadmincsvformat.cpp | chulakshana/BAS | 955f5a41bd004bcdd7d19725df6ab229b911c09f | [
"MIT"
] | 9 | 2016-07-21T09:04:50.000Z | 2021-05-16T07:34:42.000Z | Engine/databaseadmincsvformat.cpp | chulakshana/BAS | 955f5a41bd004bcdd7d19725df6ab229b911c09f | [
"MIT"
] | 113 | 2016-05-18T07:48:37.000Z | 2022-02-26T12:59:39.000Z | #include "databaseadmincsvformat.h"
#include "ui_databaseadmincsvformat.h"
#include <QDir>
#include <QFileDialog>
#include <QDebug>
DatabaseAdminCsvFormat::DatabaseAdminCsvFormat(QWidget *parent) :
QDialog(parent),
ui(new Ui::DatabaseAdminCsvFormat)
{
ui->setupUi(this);
connect(ui->DragSectionCombo,SI... | 21.727941 | 120 | 0.643316 | vadkasevas |
288dbd960d6e8f1e0ae0e8e9da6520c15f44affb | 11,530 | cpp | C++ | src/VS/vlib/Hand.cpp | valet-bridge/valet | 8e20da1b496cb6fa42894b9ef420375cb7a5d2cd | [
"Apache-2.0"
] | null | null | null | src/VS/vlib/Hand.cpp | valet-bridge/valet | 8e20da1b496cb6fa42894b9ef420375cb7a5d2cd | [
"Apache-2.0"
] | 1 | 2015-11-15T08:20:33.000Z | 2018-03-04T09:48:23.000Z | src/VS/vlib/Hand.cpp | valet-bridge/valet | 8e20da1b496cb6fa42894b9ef420375cb7a5d2cd | [
"Apache-2.0"
] | null | null | null | /*
Valet, a generalized Butler scorer for bridge.
Copyright (C) 2015 by Soren Hein.
See LICENSE and README.
*/
#include "stdafx.h"
#include <assert.h>
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
#include "valet.h"
#include "Pairs.h"
#include "Hand.h"
#include "scoring... | 23.06 | 71 | 0.590286 | valet-bridge |
288f0fa771c4bfca6b7fab038801fc88bed55bd2 | 2,603 | hpp | C++ | include/eve/module/math/diff/impl/hypot.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | include/eve/module/math/diff/impl/hypot.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | include/eve/module/math/diff/impl/hypot.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 29.91954 | 100 | 0.48713 | clayne |
2890a085007d30e34ab174ff9d044ef698241adf | 2,340 | hpp | C++ | include/range/v3/algorithm/copy.hpp | morinmorin/range-v3 | d911614f40dcbc05062cd3a398007270c86b2d65 | [
"MIT"
] | null | null | null | include/range/v3/algorithm/copy.hpp | morinmorin/range-v3 | d911614f40dcbc05062cd3a398007270c86b2d65 | [
"MIT"
] | null | null | null | include/range/v3/algorithm/copy.hpp | morinmorin/range-v3 | d911614f40dcbc05062cd3a398007270c86b2d65 | [
"MIT"
] | null | null | null | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-present
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.com/ericniebler... | 28.536585 | 94 | 0.631624 | morinmorin |
2891692a139096ff3c00c7d928507f9dadc410ae | 1,338 | cpp | C++ | obs-studio/plugins/win-dshow/dshow-plugin.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | obs-studio/plugins/win-dshow/dshow-plugin.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | obs-studio/plugins/win-dshow/dshow-plugin.cpp | noelemahcz/libobspp | 029472b973e5a1985f883242f249848385df83a3 | [
"MIT"
] | null | null | null | #include <obs-module.h>
#include <strsafe.h>
#include <strmif.h>
#include "virtualcam-guid.h"
OBS_DECLARE_MODULE()
OBS_MODULE_USE_DEFAULT_LOCALE("win-dshow", "en-US")
MODULE_EXPORT const char *obs_module_description(void)
{
return "Windows DirectShow source/encoder";
}
extern void RegisterDShowSource();
extern void ... | 22.3 | 73 | 0.775037 | noelemahcz |
28937011bddc59ba74593117e770a2f406a5a089 | 13,827 | cpp | C++ | src/MIP_deamon.cpp | SaivNator/MIPTP_cpp | c830b875c47cad742f0e0ed07649e9322865b02e | [
"MIT"
] | 1 | 2018-07-29T17:53:50.000Z | 2018-07-29T17:53:50.000Z | src/MIP_deamon.cpp | SaivNator/MIPTP_cpp | c830b875c47cad742f0e0ed07649e9322865b02e | [
"MIT"
] | null | null | null | src/MIP_deamon.cpp | SaivNator/MIPTP_cpp | c830b875c47cad742f0e0ed07649e9322865b02e | [
"MIT"
] | null | null | null | //MIP_deamon.cpp
//Author: Sivert Andresen Cubedo
//C++
#include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <algorithm>
#include <cstdlib>
#include <exception>
#include <stdexcept>
#include <queue>
//LINUX
#include <signal.h>
//Local
#include "../include/LinuxException.hpp"
#include ".... | 24.300527 | 150 | 0.697621 | SaivNator |
28937fbfa133d011eabee2e20eb392f70358a729 | 1,533 | cc | C++ | third_party/blink/renderer/core/xml/document_xml_tree_viewer.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/core/xml/document_xml_tree_viewer.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | third_party/blink/renderer/core/xml/document_xml_tree_viewer.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"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 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.
#include "third_party/blink/renderer/core/xml/document_xml_tree_viewer.h"
#include "third_party/blink/public/resources/grit/blink_resources.h"
#include "... | 40.342105 | 80 | 0.782779 | chromium |
28944b8ff24d177b9155a38b7480e3264003a45e | 1,571 | hpp | C++ | src/libs/server_common/include/keto/server_common/EventUtils.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:00.000Z | 2020-03-04T10:38:00.000Z | src/libs/server_common/include/keto/server_common/EventUtils.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | null | null | null | src/libs/server_common/include/keto/server_common/EventUtils.hpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:01.000Z | 2020-03-04T10:38:01.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: EventUtils.hpp
* Author: ubuntu
*
* Created on February 17, 2018, 10:33 AM
*/
#ifndef EVENTUTILS_HPP
#define EVENT... | 25.754098 | 93 | 0.721833 | burntjam |
28965e844bd40bf2ec2d3b1d670fa2188ec31509 | 16,473 | cc | C++ | third_party/blink/renderer/modules/webtransport/outgoing_stream_test.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 | third_party/blink/renderer/modules/webtransport/outgoing_stream_test.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | third_party/blink/renderer/modules/webtransport/outgoing_stream_test.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 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 "third_party/blink/renderer/modules/webtransport/outgoing_stream.h"
#include <utility>
#include "testing/gmock/include/gmock/gmock.h"
#include ... | 36.44469 | 83 | 0.742002 | zealoussnow |
28978548b1829e7a11224ceb2e8f5153185fe842 | 1,972 | cpp | C++ | Editor/gui/InspectorWidget/widget/impl/Texture2DComponentWidget.cpp | obivan43/pawnengine | ec092fa855d41705f3fb55fcf1aa5e515d093405 | [
"MIT"
] | null | null | null | Editor/gui/InspectorWidget/widget/impl/Texture2DComponentWidget.cpp | obivan43/pawnengine | ec092fa855d41705f3fb55fcf1aa5e515d093405 | [
"MIT"
] | null | null | null | Editor/gui/InspectorWidget/widget/impl/Texture2DComponentWidget.cpp | obivan43/pawnengine | ec092fa855d41705f3fb55fcf1aa5e515d093405 | [
"MIT"
] | null | null | null | #include "Texture2DComponentWidget.h"
#include <QVBoxLayout>
#include <QHBoxLayout>
namespace editor::impl {
Texture2DComponentWidget::Texture2DComponentWidget(QWidget* parent)
: QWidget(parent)
, m_Entity(nullptr)
, m_Texture2D(nullptr)
, m_Color(nullptr)
, m_Texture2DLineEdit(nullptr)
, m... | 24.04878 | 92 | 0.704868 | obivan43 |
2899c2100506c2105260479f6240a9baee92e541 | 652 | cpp | C++ | Src/SimRobotCore2/Simulation/Axis.cpp | bhuman/SimRobot | f7b2039e7b8c801cdbd74ea25346cf86b298ab06 | [
"MIT"
] | 3 | 2021-11-05T21:09:09.000Z | 2021-11-15T22:48:10.000Z | Src/SimRobotCore2/Simulation/Axis.cpp | bhuman/SimRobot | f7b2039e7b8c801cdbd74ea25346cf86b298ab06 | [
"MIT"
] | null | null | null | Src/SimRobotCore2/Simulation/Axis.cpp | bhuman/SimRobot | f7b2039e7b8c801cdbd74ea25346cf86b298ab06 | [
"MIT"
] | null | null | null | /**
* @file Simulation/Axis.cpp
* Implementation of class Axis
* @author Colin Graf
*/
#include "Axis.h"
#include "Platform/Assert.h"
#include "Simulation/Actuators/Joint.h"
#include "Simulation/Motors/Motor.h"
#include <cmath>
Axis::~Axis()
{
delete deflection;
delete motor;
}
void Axis::create()
{
// nor... | 16.3 | 53 | 0.613497 | bhuman |
289e451ffa00b08f3d822915b75dff6d0df64895 | 7,873 | cpp | C++ | ext/botan/src/lib/hash/sha3/sha3.cpp | usdot-fhwa-OPS/V2X-Hub | c38f9ea0b5b4c7be60539c92c8ac3fd218edcd0c | [
"Apache-2.0"
] | 56 | 2019-04-25T19:06:11.000Z | 2022-03-25T20:26:25.000Z | ext/botan/src/lib/hash/sha3/sha3.cpp | usdot-fhwa-OPS/V2X-Hub | c38f9ea0b5b4c7be60539c92c8ac3fd218edcd0c | [
"Apache-2.0"
] | 184 | 2019-04-24T18:20:08.000Z | 2022-03-22T18:56:45.000Z | ext/botan/src/lib/hash/sha3/sha3.cpp | usdot-fhwa-OPS/V2X-Hub | c38f9ea0b5b4c7be60539c92c8ac3fd218edcd0c | [
"Apache-2.0"
] | 34 | 2019-04-03T15:21:16.000Z | 2022-03-20T04:26:53.000Z | /*
* SHA-3
* (C) 2010,2016 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/sha3.h>
#include <botan/loadstor.h>
#include <botan/rotate.h>
#include <botan/exceptn.h>
#include <botan/cpuid.h>
#include <tuple>
namespace Botan {
namespace {
// This is a workaround ... | 26.778912 | 90 | 0.572717 | usdot-fhwa-OPS |
289ef8c8180d743574707a78d0201eb1a99f0e90 | 16,630 | cpp | C++ | editor/osm_auth.cpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | 1 | 2021-06-27T05:41:23.000Z | 2021-06-27T05:41:23.000Z | editor/osm_auth.cpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | null | null | null | editor/osm_auth.cpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | null | null | null | #include "editor/osm_auth.hpp"
#include "platform/http_client.hpp"
#include "coding/url.hpp"
#include "base/assert.hpp"
#include "base/logging.hpp"
#include "base/string_utils.hpp"
#include <iostream>
#include <map>
#include "private.h"
#include "3party/liboauthcpp/include/liboauthcpp/liboauthcpp.h"
using namesp... | 37.881549 | 122 | 0.725797 | smartyw |
80bcde2c3c2754065b9a3d053ef6b1e9273b93b7 | 2,410 | cpp | C++ | RadeonGPUAnalyzerGUI/Src/rgSourceEditorTitlebar.cpp | jeongjoonyoo/AMD_RGA | 26c6bfdf83f372eeadb1874420aa2ed55569d50f | [
"MIT"
] | 2 | 2019-05-18T11:39:59.000Z | 2019-05-18T11:40:05.000Z | RadeonGPUAnalyzerGUI/Src/rgSourceEditorTitlebar.cpp | Acidburn0zzz/RGA | 35cd028602e21f6b8853fdc86b16153b693acb72 | [
"MIT"
] | null | null | null | RadeonGPUAnalyzerGUI/Src/rgSourceEditorTitlebar.cpp | Acidburn0zzz/RGA | 35cd028602e21f6b8853fdc86b16153b693acb72 | [
"MIT"
] | null | null | null | // C++.
#include <cassert>
#include <sstream>
// Local
#include <RadeonGPUAnalyzerGUI/Include/Qt/rgSourceEditorTitlebar.h>
#include <RadeonGPUAnalyzerGUI/Include/rgStringConstants.h>
#include <RadeonGPUAnalyzerGUI/Include/rgUtils.h>
rgSourceEditorTitlebar::rgSourceEditorTitlebar(QWidget* pParent) :
QFrame(pParent... | 33.013699 | 153 | 0.777178 | jeongjoonyoo |
80bd855e82392e09fc83f2c2ad73beb0cbcd3730 | 9,648 | cpp | C++ | src/test/fixtures.cpp | KuroGuo/firo | dbce40b3c7edb21fbebb014e6fe7ab700e649b6f | [
"MIT"
] | null | null | null | src/test/fixtures.cpp | KuroGuo/firo | dbce40b3c7edb21fbebb014e6fe7ab700e649b6f | [
"MIT"
] | null | null | null | src/test/fixtures.cpp | KuroGuo/firo | dbce40b3c7edb21fbebb014e6fe7ab700e649b6f | [
"MIT"
] | null | null | null | #include "util.h"
#include "clientversion.h"
#include "primitives/transaction.h"
#include "random.h"
#include "sync.h"
#include "utilstrencodings.h"
#include "utilmoneystr.h"
#include "test/test_bitcoin.h"
#include <stdint.h>
#include <vector>
#include <iostream>
#include "chainparams.h"
#include "consensus/consensu... | 31.42671 | 122 | 0.671953 | KuroGuo |
80be5327b4a40ed528ee97850b6ce595bc80ce65 | 17,311 | cpp | C++ | test/test_file.cpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 977 | 2016-09-27T12:54:24.000Z | 2022-03-29T08:08:47.000Z | test/test_file.cpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 2,265 | 2016-09-27T13:01:26.000Z | 2022-03-31T17:55:37.000Z | test/test_file.cpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 154 | 2016-09-27T14:02:56.000Z | 2022-03-27T14:51:00.000Z | /*************************************************************************
*
* Copyright 2016 Realm 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/lice... | 31.190991 | 114 | 0.621455 | aleyooop |
80be77e6041f1ac2db954c1ec238a0dc33252bf1 | 3,186 | cpp | C++ | Gui/VtkVis/VtkCompositeThresholdFilter.cpp | WenjieXu/ogs | 0cd1b72ec824833bf949a8bbce073c82158ee443 | [
"BSD-4-Clause"
] | 1 | 2021-11-21T17:29:38.000Z | 2021-11-21T17:29:38.000Z | Gui/VtkVis/VtkCompositeThresholdFilter.cpp | WenjieXu/ogs | 0cd1b72ec824833bf949a8bbce073c82158ee443 | [
"BSD-4-Clause"
] | null | null | null | Gui/VtkVis/VtkCompositeThresholdFilter.cpp | WenjieXu/ogs | 0cd1b72ec824833bf949a8bbce073c82158ee443 | [
"BSD-4-Clause"
] | null | null | null | /**
* \file
* \author Lars Bilke
* \date 2010-10-25
* \brief Implementation of the VtkCompositeThresholdFilter class.
*
* \copyright
* Copyright (c) 2013, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt ... | 33.1875 | 95 | 0.752982 | WenjieXu |
80bfc03dca82f82722b71c57beed4f51541cc900 | 4,805 | cpp | C++ | alloctrace/test_main.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | alloctrace/test_main.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | alloctrace/test_main.cpp | crutchwalkfactory/jaikuengine-mobile-client | c47100ec009d47a4045b3d98addc9b8ad887b132 | [
"MIT"
] | null | null | null | // Copyright (c) 2007-2009 Google Inc.
// Copyright (c) 2006-2007 Jaiku Ltd.
// Copyright (c) 2002-2006 Mika Raento and Renaud Petit
//
// This software is licensed at your choice under either 1 or 2 below.
//
// 1. MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of thi... | 25.972973 | 82 | 0.690739 | crutchwalkfactory |
80c24217e0114cb19af7e90b9f5d29c34d9537ad | 5,933 | cc | C++ | net/cert/jwk_serializer_unittest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/cert/jwk_serializer_unittest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/cert/jwk_serializer_unittest.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "net/cert/jwk_serializer.h"
#include "base/base64.h"
#include "base/values.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
#... | 39.553333 | 79 | 0.707062 | nagineni |
80c24b7d826a1b034e18ffa62ce8661006267914 | 5,300 | cpp | C++ | PersistentDSU.cpp | RohitTheBoss007/CodeforcesSolutions | 4025270fb22a6c5c5276569b42e839f35b9ce09b | [
"MIT"
] | 2 | 2020-06-15T09:20:26.000Z | 2020-10-01T19:24:07.000Z | PersistentDSU.cpp | RohitTheBoss007/Coding-Algorithms | 4025270fb22a6c5c5276569b42e839f35b9ce09b | [
"MIT"
] | null | null | null | PersistentDSU.cpp | RohitTheBoss007/Coding-Algorithms | 4025270fb22a6c5c5276569b42e839f35b9ce09b | [
"MIT"
] | null | null | null | // Problem: Persistent UnionFind (https://judge.yosupo.jp/problem/persistent_unionfind)
// Contest: Library Checker
// Time: 2020-12-16 23:45:07
// 私に忍び寄るのをやめてください、ありがとう
#include<bits/stdc++.h>
using namespace std;
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-... | 25.603865 | 118 | 0.558113 | RohitTheBoss007 |
80c5a2a27d50f3aa69dc4866d2f39309eece010a | 3,440 | hpp | C++ | include/tao/json/events/debug.hpp | mallexxx/json | da7ae64ef1af13949a9983a92fddac44390c4951 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | include/tao/json/events/debug.hpp | mallexxx/json | da7ae64ef1af13949a9983a92fddac44390c4951 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | include/tao/json/events/debug.hpp | mallexxx/json | da7ae64ef1af13949a9983a92fddac44390c4951 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (c) 2016-2018 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/
#ifndef TAO_JSON_EVENTS_DEBUG_HPP
#define TAO_JSON_EVENTS_DEBUG_HPP
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <ostream>
#include <string>
#include "../binary_vi... | 22.193548 | 82 | 0.371802 | mallexxx |
80c73e13996af716a05b3761f690bd9a902903d4 | 9,090 | cpp | C++ | src/translation_unit_base.cpp | achreto/fm-translation-framework | a46afcc43f94c8a224f32fcad988a830689a9256 | [
"MIT"
] | null | null | null | src/translation_unit_base.cpp | achreto/fm-translation-framework | a46afcc43f94c8a224f32fcad988a830689a9256 | [
"MIT"
] | null | null | null | src/translation_unit_base.cpp | achreto/fm-translation-framework | a46afcc43f94c8a224f32fcad988a830689a9256 | [
"MIT"
] | null | null | null | /**
* Translation Unit Base class implementation
*
* SPDX-License-Identifier: MIT
*
* Copyright (C) 2022, Reto Achermann (The University of British Columbia)
*/
#include "pv/PVBusMaster.h"
#include "pv/PVAccessWidth.h"
#include <framework/translation_unit_base.hpp>
#include <framework/interface_base.hpp>
#inclu... | 30.199336 | 100 | 0.562376 | achreto |
80c7e24023da4a49c724c3ff8c1fd74df3d9528b | 5,459 | cpp | C++ | cppLib/code/dep/G3D/source/UprightFrame.cpp | DrYaling/ProcedureContentGenerationForUnity | 3c4f1e70b01e4fe2b9f847324b60b15016b9a740 | [
"MIT"
] | 3 | 2019-05-14T07:19:59.000Z | 2019-05-14T08:08:25.000Z | cppLib/code/dep/G3D/source/UprightFrame.cpp | DrYaling/ProcedureContentGenerationForUnity | 3c4f1e70b01e4fe2b9f847324b60b15016b9a740 | [
"MIT"
] | null | null | null | cppLib/code/dep/G3D/source/UprightFrame.cpp | DrYaling/ProcedureContentGenerationForUnity | 3c4f1e70b01e4fe2b9f847324b60b15016b9a740 | [
"MIT"
] | 1 | 2018-08-08T07:39:16.000Z | 2018-08-08T07:39:16.000Z | /**
\file UprightFrame.cpp
\maintainer Morgan McGuire, http://graphics.cs.williams.edu
*/
#include "G3D/UprightFrame.h"
#include "G3D/BinaryInput.h"
#include "G3D/BinaryOutput.h"
namespace G3D {
UprightFrame::UprightFrame(const CoordinateFrame& cframe) {
Vector3 look = cframe.lookVector();
yaw = (float... | 25.390698 | 95 | 0.599744 | DrYaling |
80c7ebb1fcac1999f8ba5ef57dd73c1c11ecc57f | 68,985 | cpp | C++ | src/drivers/mcr3.cpp | pierrelouys/PSP-MAME4ALL | 54374b0579b7e2377f015ac155d8f519addfaa1a | [
"Unlicense"
] | 1 | 2021-01-25T20:16:33.000Z | 2021-01-25T20:16:33.000Z | src/drivers/mcr3.cpp | pierrelouys/PSP-MAME4ALL | 54374b0579b7e2377f015ac155d8f519addfaa1a | [
"Unlicense"
] | 1 | 2021-05-24T20:28:35.000Z | 2021-05-25T14:44:54.000Z | src/drivers/mcr3.cpp | PSP-Archive/PSP-MAME4ALL | 54374b0579b7e2377f015ac155d8f519addfaa1a | [
"Unlicense"
] | null | null | null | /***************************************************************************
MCR/III memory map (preliminary)
0000-3fff ROM 0
4000-7fff ROM 1
8000-cfff ROM 2
c000-dfff ROM 3
e000-e7ff RAM
e800-e9ff spriteram
f000-f7ff tiles
f800-f8ff palette ram
IN0
bit 0 : left coin
bit 1 : right coin
bit 2 : 1 player
bit 3 : 2 pl... | 29.543897 | 186 | 0.681757 | pierrelouys |
80c98983d664cca7b9dc656ae9f59552415a5233 | 118 | cpp | C++ | project653/src/component723/cpp/lib2.cpp | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:25:24.000Z | 2016-11-23T17:25:27.000Z | project653/src/component723/cpp/lib2.cpp | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 15 | 2016-09-15T03:19:32.000Z | 2016-09-17T09:15:32.000Z | project653/src/component723/cpp/lib2.cpp | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2019-11-09T16:26:55.000Z | 2021-01-13T10:51:09.000Z | #include <stdio.h>
#include <component723/lib1.h>
int component723_2 () {
printf("Hello world!\n");
return 0;
}
| 13.111111 | 30 | 0.661017 | gradle |
80ca1ab3449e46af8d331c9fade430d018de3345 | 17,343 | cc | C++ | third_party/incubator-tvm/nnvm/src/top/nn/pooling.cc | KnowingNothing/akg-test | 114d8626b824b9a31af50a482afc07ab7121862b | [
"Apache-2.0"
] | 286 | 2020-06-23T06:40:44.000Z | 2022-03-30T01:27:49.000Z | third_party/incubator-tvm/nnvm/src/top/nn/pooling.cc | KnowingNothing/akg-test | 114d8626b824b9a31af50a482afc07ab7121862b | [
"Apache-2.0"
] | 10 | 2020-07-31T03:26:59.000Z | 2021-12-27T15:00:54.000Z | third_party/incubator-tvm/nnvm/src/top/nn/pooling.cc | KnowingNothing/akg-test | 114d8626b824b9a31af50a482afc07ab7121862b | [
"Apache-2.0"
] | 30 | 2020-07-17T01:04:14.000Z | 2021-12-27T14:05:19.000Z | /*
* 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 ... | 39.777523 | 91 | 0.659056 | KnowingNothing |
80ca4c1fac04ac410563ed7d8aa939c84589ad08 | 7,349 | cpp | C++ | libs/settings/tests/unit/setting_tests.cpp | jinmannwong/ledger | f3b129c127e107603e08bb192eb695d23eb17dbc | [
"Apache-2.0"
] | null | null | null | libs/settings/tests/unit/setting_tests.cpp | jinmannwong/ledger | f3b129c127e107603e08bb192eb695d23eb17dbc | [
"Apache-2.0"
] | null | null | null | libs/settings/tests/unit/setting_tests.cpp | jinmannwong/ledger | f3b129c127e107603e08bb192eb695d23eb17dbc | [
"Apache-2.0"
] | 2 | 2019-11-13T10:55:24.000Z | 2019-11-13T11:37:09.000Z | //------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 29.753036 | 87 | 0.68608 | jinmannwong |
80ccef118362e7a49e597bc41752dd6e1eba9513 | 1,022 | cpp | C++ | Solutions/Construct Binary Tree from Preorder and Inorder/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | 1 | 2015-04-13T10:58:30.000Z | 2015-04-13T10:58:30.000Z | Solutions/Construct Binary Tree from Preorder and Inorder/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | Solutions/Construct Binary Tree from Preorder and Inorder/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x): val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
TreeNode *buildTree(vector<int> &preorder, vector<int> &inorder) {
return f(preorder, 0, pr... | 29.2 | 116 | 0.605675 | Crayzero |
80cfaf2424afefc32430d5f4d5443d473de4894f | 2,922 | cpp | C++ | generator/opentable_dataset.cpp | ToshUxanoff/omim | a8acb5821c72bd78847d1c49968b14d15b1e06ee | [
"Apache-2.0"
] | 1 | 2019-03-13T08:21:40.000Z | 2019-03-13T08:21:40.000Z | generator/opentable_dataset.cpp | MohammadMoeinfar/omim | 7b7d1990143bc3cbe218ea14b5428d0fc02d78fc | [
"Apache-2.0"
] | null | null | null | generator/opentable_dataset.cpp | MohammadMoeinfar/omim | 7b7d1990143bc3cbe218ea14b5428d0fc02d78fc | [
"Apache-2.0"
] | null | null | null | #include "generator/opentable_dataset.hpp"
#include "generator/feature_builder.hpp"
#include "generator/sponsored_scoring.hpp"
#include "indexer/classificator.hpp"
#include "indexer/ftypes_matcher.hpp"
#include "base/logging.hpp"
#include "base/string_utils.hpp"
#include <iomanip>
#include <iostream>
#include "boo... | 33.586207 | 103 | 0.675565 | ToshUxanoff |
80d0265eea34fb6d29f59358db1b032017bedec2 | 539 | cc | C++ | net/http/http_status_code.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-05-03T06:33:56.000Z | 2021-11-14T18:39:42.000Z | net/http/http_status_code.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/http/http_status_code.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "net/http/http_status_code.h"
#include "base/logging.h"
namespace net {
const char* GetHttpReasonPhrase(HttpStatusCode code) {
switch (code)... | 20.730769 | 76 | 0.719852 | pozdnyakov |
80d0dc49bf7c748cde25fa9974b35878fe8d6bde | 10,047 | hpp | C++ | src/3rd party/boost/boost/spirit/debug/debug_node.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/spirit/debug/debug_node.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/spirit/debug/debug_node.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | /*=============================================================================
Spirit v1.6.0
Copyright (c) 2001-2003 Joel de Guzman
Copyright (c) 2002-2003 Hartmut Kaiser
Copyright (c) 2003 Gustavo Guerra
http://spirit.sourceforge.net/
Permission to copy, use, modify, sell and distribute this ... | 32.099042 | 87 | 0.542052 | OLR-xray |
80d1daf65975d4ba1be7f6e8b285cceed09f71e9 | 1,605 | cpp | C++ | logger.cpp | chenyoujie/GeoDa | 87504344512bd0da2ccadfb160ecd1e918a52f06 | [
"BSL-1.0"
] | null | null | null | logger.cpp | chenyoujie/GeoDa | 87504344512bd0da2ccadfb160ecd1e918a52f06 | [
"BSL-1.0"
] | null | null | null | logger.cpp | chenyoujie/GeoDa | 87504344512bd0da2ccadfb160ecd1e918a52f06 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2005, 2006
// Seweryn Habdank-Wojewodzki
// Distributed under the Boost Software License,
// Version 1.0.
// (copy at http://www.boost.org/LICENSE_1_0.txt)
#include "logger.h"
#if !defined(CLEANLOG)
#define FTLOG
#if !defined(DEBUG)
#undef FTLOG
#undef TLOG
#endif
//#if defined (FTLOG)
//#include ... | 24.692308 | 70 | 0.721495 | chenyoujie |
80d25aae65572a296eec5063154ff3838cf4b360 | 7,058 | cpp | C++ | shared/test/unit_test/helpers/bit_helpers_tests.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 778 | 2017-09-29T20:02:43.000Z | 2022-03-31T15:35:28.000Z | shared/test/unit_test/helpers/bit_helpers_tests.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 478 | 2018-01-26T16:06:45.000Z | 2022-03-30T10:19:10.000Z | shared/test/unit_test/helpers/bit_helpers_tests.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 215 | 2018-01-30T08:39:32.000Z | 2022-03-29T11:08:51.000Z | /*
* Copyright (C) 2019-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/bit_helpers.h"
#include "gtest/gtest.h"
using namespace NEO;
TEST(IsBitSetTests, givenDifferentValuesWhenTestingIsBitSetThenCorrectValueIsReturned) {
size_t field1 = 0;
size_t field2 = 0... | 35.29 | 96 | 0.726693 | troels |
80d44a51c750cbd6805e532bfbf036a23be0346d | 4,283 | cpp | C++ | src/qt/qtbase/tests/manual/gestures/graphicsview/gestures.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | src/qt/qtbase/tests/manual/gestures/graphicsview/gestures.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/tests/manual/gestures/graphicsview/gestures.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercia... | 34.540323 | 114 | 0.646276 | power-electro |
80d62f7474f6918680b328a909d7424fc487703b | 47,022 | cxx | C++ | swig-2.0.4/Source/Modules/chicken.cxx | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | swig-2.0.4/Source/Modules/chicken.cxx | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | swig-2.0.4/Source/Modules/chicken.cxx | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | /* -----------------------------------------------------------------------------
* This file is part of SWIG, which is licensed as a whole under version 3
* (or any later version) of the GNU General Public License. Some additional
* terms also apply to certain portions of SWIG. The full details of the SWIG
* licen... | 30.494163 | 152 | 0.624304 | vidkidz |
80d88d4fa9985eeb6a8132df0ff0bd361615a33b | 1,966 | hpp | C++ | include/solaire/parallel/thread_pool_executor.hpp | SolaireLibrary/solaire_parallel | eed82815215e1eb60b7ca29e19720f6707966383 | [
"Apache-2.0"
] | null | null | null | include/solaire/parallel/thread_pool_executor.hpp | SolaireLibrary/solaire_parallel | eed82815215e1eb60b7ca29e19720f6707966383 | [
"Apache-2.0"
] | null | null | null | include/solaire/parallel/thread_pool_executor.hpp | SolaireLibrary/solaire_parallel | eed82815215e1eb60b7ca29e19720f6707966383 | [
"Apache-2.0"
] | null | null | null | #ifndef SOLAIRE_PARALEL_THREAD_POOL_EXECUTOR_HPP
#define SOLAIRE_PARALEL_THREAD_POOL_EXECUTOR_HPP
//Copyright 2016 Adam G. Smith
//
//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 :/... | 26.931507 | 88 | 0.706002 | SolaireLibrary |
80d950eacccf88a798578ce38845f2308be757aa | 757 | hpp | C++ | src/include/duckdb/planner/operator/logical_copy_to_file.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | 2 | 2020-01-07T17:19:02.000Z | 2020-01-09T22:04:04.000Z | src/include/duckdb/planner/operator/logical_copy_to_file.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | src/include/duckdb/planner/operator/logical_copy_to_file.hpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// DuckDB
//
// planner/operator/logical_copy_to_file.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/parser/parsed_data/copy_info.hpp"
#inc... | 23.65625 | 80 | 0.569353 | RelationalAI-oss |
80dac28b65282292b53ef42d11aebcca5f92f82d | 1,664 | cpp | C++ | implementations/ugene/src/corelibs/U2Lang/src/library/BaseThroughWorker.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/corelibs/U2Lang/src/library/BaseThroughWorker.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/corelibs/U2Lang/src/library/BaseThroughWorker.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2020 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the L... | 29.714286 | 97 | 0.736178 | r-barnes |
80db0115de030b7e18548330d48487d3542a06e7 | 3,336 | cpp | C++ | vnext/Desktop.UnitTests/WebSocketMocks.cpp | harinikmsft/react-native-windows | c73ecd0ffb8fb4ee5205ec610ab4b6dbc7f6ee21 | [
"MIT"
] | null | null | null | vnext/Desktop.UnitTests/WebSocketMocks.cpp | harinikmsft/react-native-windows | c73ecd0ffb8fb4ee5205ec610ab4b6dbc7f6ee21 | [
"MIT"
] | null | null | null | vnext/Desktop.UnitTests/WebSocketMocks.cpp | harinikmsft/react-native-windows | c73ecd0ffb8fb4ee5205ec610ab4b6dbc7f6ee21 | [
"MIT"
] | null | null | null | #include "WebSocketMocks.h"
using std::exception;
using std::function;
using std::string;
namespace Microsoft::React::Test {
MockWebSocketResource::~MockWebSocketResource() {}
#pragma region IWebSocketResource overrides
void MockWebSocketResource::Connect(const Protocols &protocols, const Options &opti... | 25.272727 | 114 | 0.711331 | harinikmsft |
80dbdafa854a5fc9ea6377dadef58a78acdda782 | 1,299 | cpp | C++ | level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp | 8tab/compute-runtime | 71bd96ad7184df83c7af04ffa8e0d6678ab26f99 | [
"MIT"
] | null | null | null | level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp | 8tab/compute-runtime | 71bd96ad7184df83c7af04ffa8e0d6678ab26f99 | [
"MIT"
] | null | null | null | level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp | 8tab/compute-runtime | 71bd96ad7184df83c7af04ffa8e0d6678ab26f99 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/tools/source/sysman/engine/linux/os_engine_imp.h"
namespace L0 {
const std::string LinuxEngineImp::computeEngineGroupFile("engine/rcs0/name");
const std::string LinuxEngineImp::computeEngineGroupName("rcs0");
ze_... | 29.522727 | 79 | 0.744419 | 8tab |
80def142bb58b6c555024ff734b0fbd06536ef52 | 484 | cpp | C++ | test/lib/BookmarkSerializer_test.cpp | alepez/bmrk | 04db2646b42662b976b4f4a1a5fb414ca73df163 | [
"MIT"
] | null | null | null | test/lib/BookmarkSerializer_test.cpp | alepez/bmrk | 04db2646b42662b976b4f4a1a5fb414ca73df163 | [
"MIT"
] | null | null | null | test/lib/BookmarkSerializer_test.cpp | alepez/bmrk | 04db2646b42662b976b4f4a1a5fb414ca73df163 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <BookmarkSerializer.hpp>
#include "helpers.hpp"
namespace bmrk {
struct BookmarkSerializerTest: public testing::Test {
BookmarkSerializer bs;
};
TEST_F(BookmarkSerializerTest, CanSerialize) {
auto bookmark = createMockBookmark(
"http://pezzato.net", "one", Tags({"foo", "bar... | 22 | 69 | 0.700413 | alepez |
80e113e820b3058dd2e1b49d6c010ebe45526857 | 7,582 | cc | C++ | src/net/third_party/quiche/src/http2/adapter/test_utils.cc | kvmb/naiveproxy | 8bbb7526b927cbaa82870a4c81a08ccf5e8e9c1d | [
"BSD-3-Clause"
] | 3 | 2020-05-31T16:20:21.000Z | 2021-09-05T20:39:50.000Z | src/net/third_party/quiche/src/http2/adapter/test_utils.cc | LImboing/naiveproxy | 8bbb7526b927cbaa82870a4c81a08ccf5e8e9c1d | [
"BSD-3-Clause"
] | 11 | 2019-10-15T23:03:57.000Z | 2020-06-14T16:10:12.000Z | src/net/third_party/quiche/src/http2/adapter/test_utils.cc | LImboing/naiveproxy | 8bbb7526b927cbaa82870a4c81a08ccf5e8e9c1d | [
"BSD-3-Clause"
] | 7 | 2019-07-04T14:23:54.000Z | 2020-04-27T08:52:51.000Z | #include "http2/adapter/test_utils.h"
#include <ostream>
#include "absl/strings/str_format.h"
#include "common/quiche_endian.h"
#include "spdy/core/hpack/hpack_encoder.h"
#include "spdy/core/spdy_frame_reader.h"
namespace http2 {
namespace adapter {
namespace test {
TestDataFrameSource::TestDataFrameSource(Http2Vis... | 34.779817 | 80 | 0.667106 | kvmb |
80e2abd0223a3786643b9a2322a3e8e55291ed23 | 9,383 | cpp | C++ | drv/sd/sd_spi.cpp | yhsb2k/omef | 7425b62dd4b5d0af4e320816293f69d16d39f57a | [
"MIT"
] | null | null | null | drv/sd/sd_spi.cpp | yhsb2k/omef | 7425b62dd4b5d0af4e320816293f69d16d39f57a | [
"MIT"
] | null | null | null | drv/sd/sd_spi.cpp | yhsb2k/omef | 7425b62dd4b5d0af4e320816293f69d16d39f57a | [
"MIT"
] | null | null | null | #include <stddef.h>
#include <cstring>
#include <assert.h>
#include "sd_spi.hpp"
#include "FreeRTOS.h"
#include "task.h"
using namespace drv;
using namespace hal;
#define WAIT_RESPONSE_CNT 10
#define TRANSMITTER_BIT 6
#define END_BIT 0
#define DATA_TOKEN_CMD17_18_24 0xFE
#define DATA_TOKEN_CMD25 0xFC
#... | 27.925595 | 81 | 0.685175 | yhsb2k |
80e393e0915fb4f27ac5d70395ba2130857a7d8e | 261 | cpp | C++ | c++/factorial.cpp | ujwal475/Data-Structures-And-Algorithms | eab5d4b4011effac409cccde486280d8f8cebd32 | [
"MIT"
] | 26 | 2021-05-26T04:20:09.000Z | 2022-03-06T15:26:56.000Z | c++/factorial.cpp | ujwal475/Data-Structures-And-Algorithms | eab5d4b4011effac409cccde486280d8f8cebd32 | [
"MIT"
] | 47 | 2021-10-06T07:22:48.000Z | 2021-10-21T10:57:15.000Z | c++/factorial.cpp | ujwal475/Data-Structures-And-Algorithms | eab5d4b4011effac409cccde486280d8f8cebd32 | [
"MIT"
] | 61 | 2021-10-06T07:33:59.000Z | 2021-11-27T15:54:25.000Z | #include <iostream>
using namespace std;
int fact(int n){
int i=n;
while(n>1){
i = i*(n-1);
--n;
}
return i;
}
int main(){
int n;
cout << "Please enter a number:";
cin >> n;
cout << fact(n) << endl;
return 0;
} | 13.05 | 37 | 0.475096 | ujwal475 |
80e3ea2d47c9b4227e4937d7cdcf9a6c8886b16c | 9,278 | cxx | C++ | panda/src/putil/typedWritable_ext.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | panda/src/putil/typedWritable_ext.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/putil/typedWritable_ext.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: typedWritable_ext.cxx
// Created by: rdb (10Dec13)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You s... | 36.101167 | 116 | 0.604656 | kestred |
80e4db6830eb49c5da5e145f6b0ede663193c0df | 1,688 | cpp | C++ | tests/graph/traversal/discovered_flag.cpp | AlCash07/ACTL | 15de4e2783d8e39dbd8e10cd635aaab328ca4f5b | [
"BSL-1.0"
] | 17 | 2018-08-22T06:48:20.000Z | 2022-02-22T21:20:09.000Z | tests/graph/traversal/discovered_flag.cpp | AlCash07/ACTL | 15de4e2783d8e39dbd8e10cd635aaab328ca4f5b | [
"BSL-1.0"
] | null | null | null | tests/graph/traversal/discovered_flag.cpp | AlCash07/ACTL | 15de4e2783d8e39dbd8e10cd635aaab328ca4f5b | [
"BSL-1.0"
] | null | null | null | // Copyright 2018 Oleksandr Bacherikov.
//
// Distributed under the Boost Software License, Version 1.0
// (see accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
#include <actl/graph/default_map.hpp>
#include <actl/graph/traversal/breadth_first_search.hpp>
#include <actl/graph/traver... | 26.375 | 71 | 0.543839 | AlCash07 |
80e670f7c00b65cb090fa7cd8b7eb8eed5df787c | 33,813 | cpp | C++ | indires_macro_actions/src/Indires_macro_actions.cpp | Tutorgaming/indires_navigation | 830097ac0a3e3a64da9026518419939b509bbe71 | [
"BSD-3-Clause"
] | 90 | 2019-07-19T13:44:35.000Z | 2022-02-17T21:39:15.000Z | indires_macro_actions/src/Indires_macro_actions.cpp | Tutorgaming/indires_navigation | 830097ac0a3e3a64da9026518419939b509bbe71 | [
"BSD-3-Clause"
] | 13 | 2019-12-02T07:32:18.000Z | 2021-08-10T09:38:44.000Z | indires_macro_actions/src/Indires_macro_actions.cpp | Tutorgaming/indires_navigation | 830097ac0a3e3a64da9026518419939b509bbe71 | [
"BSD-3-Clause"
] | 26 | 2019-05-27T14:43:43.000Z | 2022-02-17T21:39:19.000Z | #include <indires_macro_actions/Indires_macro_actions.h>
/*
Status can take this values:
uint8 PENDING = 0 # The goal has yet to be processed by the action server
uint8 ACTIVE = 1 # The goal is currently being processed by the action server
uint8 PREEMPTED = 2 # The goal received a cancel... | 30.683303 | 107 | 0.658001 | Tutorgaming |
80e6d38c87acd8605315d45b0d400b2a3bd80526 | 49,223 | cpp | C++ | agent/agent.cpp | MatthewPowley/cppagent | fccb7794723ba71025dfd1ea633332422f99a3dd | [
"Apache-2.0"
] | null | null | null | agent/agent.cpp | MatthewPowley/cppagent | fccb7794723ba71025dfd1ea633332422f99a3dd | [
"Apache-2.0"
] | null | null | null | agent/agent.cpp | MatthewPowley/cppagent | fccb7794723ba71025dfd1ea633332422f99a3dd | [
"Apache-2.0"
] | null | null | null | /*
* Copyright Copyright 2012, System Insights, 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 requi... | 31.232868 | 124 | 0.572639 | MatthewPowley |
80eadfcfb890ab9d53fee493019fbde5087937fb | 14,756 | cc | C++ | google/cloud/bigtable/internal/logging_instance_admin_client_test.cc | utgarda/google-cloud-cpp | c4fd446d2c9e1428bcec10917f269f8e5c0a8bc0 | [
"Apache-2.0"
] | null | null | null | google/cloud/bigtable/internal/logging_instance_admin_client_test.cc | utgarda/google-cloud-cpp | c4fd446d2c9e1428bcec10917f269f8e5c0a8bc0 | [
"Apache-2.0"
] | null | null | null | google/cloud/bigtable/internal/logging_instance_admin_client_test.cc | utgarda/google-cloud-cpp | c4fd446d2c9e1428bcec10917f269f8e5c0a8bc0 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google 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 applicable law or agreed to in ... | 33.309255 | 79 | 0.756506 | utgarda |
80eb98790843ae825cc31caf05545e7d7fc50507 | 1,382 | hpp | C++ | src/frontmatter/frontmatter.hpp | foo-dogsquared/automate-md | c278c7ab93d34da198ce409556a8e2df287f4b17 | [
"MIT"
] | 4 | 2018-09-29T17:00:16.000Z | 2022-01-23T14:53:04.000Z | src/frontmatter/frontmatter.hpp | foo-dogsquared/automate-md | c278c7ab93d34da198ce409556a8e2df287f4b17 | [
"MIT"
] | 5 | 2018-11-06T15:45:17.000Z | 2018-12-11T13:39:31.000Z | src/frontmatter/frontmatter.hpp | foo-dogsquared/automate-md | c278c7ab93d34da198ce409556a8e2df287f4b17 | [
"MIT"
] | null | null | null | #include <map>
#include <regex>
#define MAX_ARR_LENGTH 16
#define MAX_DATE_LENGTH 26
#define MAX_TITLE_LENGTH 64
#define MAX_AUTHOR_LENGTH 32
typedef struct _frontmatter
{
std::map<std::string, std::string> list;
int categories_length;
int tags_length;
std::string type;
std::string __open_divider;... | 23.827586 | 82 | 0.631693 | foo-dogsquared |