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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4b52441f2280f91d325afc5e7a6fc73c0a008256 | 3,588 | cpp | C++ | aws-cpp-sdk-email/source/model/BounceType.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-email/source/model/BounceType.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-email/source/model/BounceType.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 33.222222 | 94 | 0.63155 | ambasta |
4b52aef3e4d512e34d4542bbaa0a89a472d31c52 | 3,589 | hpp | C++ | Geometry/Point.hpp | 7bnx/Embedded | afb83151500b27066b571336c32aaddd9fa97fd7 | [
"MIT"
] | null | null | null | Geometry/Point.hpp | 7bnx/Embedded | afb83151500b27066b571336c32aaddd9fa97fd7 | [
"MIT"
] | null | null | null | Geometry/Point.hpp | 7bnx/Embedded | afb83151500b27066b571336c32aaddd9fa97fd7 | [
"MIT"
] | null | null | null | //----------------------------------------------------------------------------------
// Author: Semyon Ivanov
// e-mail: agreement90@mail.ru
// github: https://github.com/7bnx/Embedded
// Description: Point structures
// TODO:
//----------------------------------------------------------... | 22.71519 | 84 | 0.575369 | 7bnx |
4b52c63d437ff984e6859841b5003722386dc005 | 3,669 | cc | C++ | y3_cluster_cpp/modules/sigma_miscent_y1_scalarintegrand.cc | marcpaterno/gpuintegration | 79144c35f05ad99879d06b571291ac1700dd9026 | [
"BSD-3-Clause"
] | 2 | 2020-04-16T13:34:28.000Z | 2020-05-09T17:11:25.000Z | y3_cluster_cpp/modules/sigma_miscent_y1_scalarintegrand.cc | marcpaterno/gpuintegration | 79144c35f05ad99879d06b571291ac1700dd9026 | [
"BSD-3-Clause"
] | null | null | null | y3_cluster_cpp/modules/sigma_miscent_y1_scalarintegrand.cc | marcpaterno/gpuintegration | 79144c35f05ad99879d06b571291ac1700dd9026 | [
"BSD-3-Clause"
] | 1 | 2019-07-19T19:18:07.000Z | 2019-07-19T19:18:07.000Z | #include "modules/sigma_miscent_y1_scalarintegrand.hh"
#include <fstream>
#include <utility>
//using namespace y3_cluster;
using cosmosis::DataBlock;
using cosmosis::ndarray;
using cubacpp::integration_result;
using cosmosis::DataBlock;
using cubacpp::integration_result;
void
SigmaMiscentY1ScalarIntegrand::set_sampl... | 29.352 | 90 | 0.660943 | marcpaterno |
4b547d52105799683954a0aa5aa79d42053cfcf3 | 4,135 | cc | C++ | chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/policy/device_policy_cros_browser_test.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h"
#include <string>
#include <vector>
#include "base/file_util.h"
#include... | 39.380952 | 80 | 0.76977 | pozdnyakov |
4b56be2d124039934eb73ce3f39e9ae8a03a916a | 2,415 | cpp | C++ | WLMatrix/src/wlmatrix/api/soap/handlers/auth/RST2Handler.cpp | aeoncl/wlmatrix | da936eaec37f06f0e379c6009962dc69bfe07eb3 | [
"MIT"
] | null | null | null | WLMatrix/src/wlmatrix/api/soap/handlers/auth/RST2Handler.cpp | aeoncl/wlmatrix | da936eaec37f06f0e379c6009962dc69bfe07eb3 | [
"MIT"
] | null | null | null | WLMatrix/src/wlmatrix/api/soap/handlers/auth/RST2Handler.cpp | aeoncl/wlmatrix | da936eaec37f06f0e379c6009962dc69bfe07eb3 | [
"MIT"
] | null | null | null | #pragma once
#include "RST2Handler.h"
#include "AuthResponse.h"
#include "MatrixBackend.h"
#include <iostream>
#include "MatrixRestServiceException.h"
#include "AbstractSoapEndpointHandler.h"
#include "RST2Response.h"
#include "RST2TokenFactory.h"
#include "UUID.h"
#include "DateTime.h"
#include "RST2Request.h"
#includ... | 38.333333 | 209 | 0.721325 | aeoncl |
4b57d36e0e5a856a9ce41e5dd00de59f4ae823d8 | 2,912 | cxx | C++ | Modules/IO/GDCM/test/itkGDCMImageIONoCrashTest.cxx | abpwrs/ITK | 826921e9d3b3a9668010a55beb40076b949fa64f | [
"Apache-2.0"
] | 2 | 2019-09-15T10:17:06.000Z | 2019-09-15T10:19:06.000Z | Modules/IO/GDCM/test/itkGDCMImageIONoCrashTest.cxx | AndyJMR/ITK | 81c14ce858a530699ee2fbf7fa48b884ad26b984 | [
"Apache-2.0"
] | null | null | null | Modules/IO/GDCM/test/itkGDCMImageIONoCrashTest.cxx | AndyJMR/ITK | 81c14ce858a530699ee2fbf7fa48b884ad26b984 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 34.666667 | 112 | 0.648008 | abpwrs |
4b584f6323c6af6b49488976f81a6182c228e453 | 1,971 | inl | C++ | Source/Core/Engine/Tweakables.inl | andraantariksa/PlasmaEngine | 481ea008ed15b531476533a6f675bc9bfdfa7db2 | [
"MIT"
] | 70 | 2020-10-19T15:17:36.000Z | 2022-03-29T06:23:20.000Z | Source/Core/Engine/Tweakables.inl | andraantariksa/PlasmaEngine | 481ea008ed15b531476533a6f675bc9bfdfa7db2 | [
"MIT"
] | 90 | 2020-10-21T09:56:03.000Z | 2022-02-19T18:36:37.000Z | Source/Core/Engine/Tweakables.inl | andraantariksa/PlasmaEngine | 481ea008ed15b531476533a6f675bc9bfdfa7db2 | [
"MIT"
] | 13 | 2020-12-28T20:18:57.000Z | 2022-01-20T08:43:29.000Z | // MIT Licensed (see LICENSE.md).
template <typename type>
TweakableVar<type>::TweakableVar(type defaultValue, cstr name, cstr location)
{
// Initialize it to the default value
mValue = defaultValue;
// Make sure the root object is initialized
Tweakables::Initialize();
// Register the tweakable
PL::gTweak... | 31.790323 | 113 | 0.683917 | andraantariksa |
4b5a518c18da304e3c69d4bde7b1ce1cc09ac48e | 178,338 | cpp | C++ | cpp/unittest/render/weighted_pointmap_test.cpp | yxm1536/arctern | ef88ffd23bd91cb4fa9c5e8524a5e6ab53008117 | [
"Apache-2.0"
] | null | null | null | cpp/unittest/render/weighted_pointmap_test.cpp | yxm1536/arctern | ef88ffd23bd91cb4fa9c5e8524a5e6ab53008117 | [
"Apache-2.0"
] | null | null | null | cpp/unittest/render/weighted_pointmap_test.cpp | yxm1536/arctern | ef88ffd23bd91cb4fa9c5e8524a5e6ab53008117 | [
"Apache-2.0"
] | null | null | null |
/*
* Copyright (C) 2019-2020 Zilliz. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | 32.891553 | 85 | 0.515179 | yxm1536 |
4b5a7ef857f01118558a6edfdd717beffc318411 | 8,895 | cpp | C++ | build/px4_sitl_default/msg/topics_sources/ulog_stream.cpp | amilearning/PX4-Autopilot | c1b997fbc48492689a5f6d0a090d1ea2c7d6c272 | [
"BSD-3-Clause"
] | null | null | null | build/px4_sitl_default/msg/topics_sources/ulog_stream.cpp | amilearning/PX4-Autopilot | c1b997fbc48492689a5f6d0a090d1ea2c7d6c272 | [
"BSD-3-Clause"
] | null | null | null | build/px4_sitl_default/msg/topics_sources/ulog_stream.cpp | amilearning/PX4-Autopilot | c1b997fbc48492689a5f6d0a090d1ea2c7d6c272 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
*
* Copyright (C) 2013-2016 PX4 Development Team. 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. Red... | 121.849315 | 5,645 | 0.667454 | amilearning |
4b5b42db7b056ad995e2b3e2d10e30c3b04c962a | 5,848 | cc | C++ | chrome/browser/ui/extensions/extension_message_bubble_bridge_unittest.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | chrome/browser/ui/extensions/extension_message_bubble_bridge_unittest.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/extensions/extension_message_bubble_bridge_unittest.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/values.h"
#include "chrome/browser/extensions/exten... | 40.054795 | 80 | 0.782148 | xzhan96 |
4b5c63fe2fdbe744c951d392bfc09e1b5c739316 | 1,569 | cpp | C++ | test_suite/src/error_recovery_tests.cpp | avacore/jsoncons | 0fa3104b6237b3323a749c38ebeaaaebf55e9e48 | [
"BSL-1.0"
] | null | null | null | test_suite/src/error_recovery_tests.cpp | avacore/jsoncons | 0fa3104b6237b3323a749c38ebeaaaebf55e9e48 | [
"BSL-1.0"
] | null | null | null | test_suite/src/error_recovery_tests.cpp | avacore/jsoncons | 0fa3104b6237b3323a749c38ebeaaaebf55e9e48 | [
"BSL-1.0"
] | null | null | null |
// Copyright 2013 Daniel Parker
// Distributed under Boost license
#include <boost/test/unit_test.hpp>
#include "jsoncons/json.hpp"
#include "jsoncons/json_serializer.hpp"
#include "jsoncons/json_reader.hpp"
#include <sstream>
#include <vector>
#include <utility>
#include <ctime>
using jsoncons::parsing_context;
usi... | 27.051724 | 147 | 0.699809 | avacore |
4b5c9706d26f960c1494e18184a2baf766faf03b | 2,412 | hpp | C++ | IGC/common/debug/TeeOutputStream.hpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | IGC/common/debug/TeeOutputStream.hpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | IGC/common/debug/TeeOutputStream.hpp | bader/intel-graphics-compiler | 04f51dc2f3d5047f334da5cb5eebe568480622f5 | [
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (c) 2000-2021 Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, inc... | 33.5 | 107 | 0.674129 | bader |
4b5e0e4db85d889b312a5f126bf82c9cad6b87b3 | 16,069 | cpp | C++ | src/engine/shared/storage.cpp | teeworldsCNFun/HMod | 2e7bc23c1496fa74a030811756dd5d14b12edf80 | [
"Zlib"
] | 6 | 2018-02-04T16:22:53.000Z | 2021-07-20T23:47:02.000Z | src/engine/shared/storage.cpp | teeworldsCNFun/HMod | 2e7bc23c1496fa74a030811756dd5d14b12edf80 | [
"Zlib"
] | 24 | 2018-03-25T19:44:17.000Z | 2019-01-03T17:43:01.000Z | src/engine/shared/storage.cpp | teeworldsCNFun/HMod-CKRemake | 2e7bc23c1496fa74a030811756dd5d14b12edf80 | [
"Zlib"
] | 2 | 2018-01-20T23:21:01.000Z | 2022-01-22T09:35:38.000Z | /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#include <string>
#include <vector>
#include <base/system.h>
#include <base/system++/system++.h>
#include <engine/storage.h>
#... | 26.472817 | 191 | 0.665443 | teeworldsCNFun |
4b5ecaa6c3bf46afb4bf7bee5f0f94aba0637f22 | 6,419 | cpp | C++ | UnitTests/Sweep.cpp | louis-langholtz/Box2D | 7c74792bf177cf36640d735de2bba0225bf7f852 | [
"Zlib"
] | 32 | 2016-10-20T05:55:04.000Z | 2021-11-25T16:34:41.000Z | UnitTests/Sweep.cpp | louis-langholtz/Box2D | 7c74792bf177cf36640d735de2bba0225bf7f852 | [
"Zlib"
] | 50 | 2017-01-07T21:40:16.000Z | 2018-01-31T10:04:05.000Z | UnitTests/Sweep.cpp | louis-langholtz/Box2D | 7c74792bf177cf36640d735de2bba0225bf7f852 | [
"Zlib"
] | 7 | 2017-02-09T10:02:02.000Z | 2020-07-23T22:49:04.000Z | /*
* Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/Box2D
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this sof... | 41.954248 | 105 | 0.642156 | louis-langholtz |
4b5f4b9741ade0830dbee63338d04a67682027aa | 27,235 | cc | C++ | chrome/browser/media/router/discovery/mdns/cast_media_sink_service_impl.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/media/router/discovery/mdns/cast_media_sink_service_impl.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/media/router/discovery/mdns/cast_media_sink_service_impl.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/router/discovery/mdns/cast_media_sink_service_impl.h"
#include "base/bind.h"
#include "base/rand_util.h"
#include "base/st... | 39.018625 | 84 | 0.726308 | sarang-apps |
4b5fc0774a6d2312d9c2ff17683c21d82ec18016 | 46,964 | cpp | C++ | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | AlexisPerry/kitsune-1 | 29c278e74f167613b8413b3c23277cdc13a656d7 | [
"MIT"
] | 3 | 2021-08-04T02:54:47.000Z | 2021-11-06T08:30:00.000Z | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | AlexisPerry/kitsune-1 | 29c278e74f167613b8413b3c23277cdc13a656d7 | [
"MIT"
] | 2 | 2022-02-19T07:12:22.000Z | 2022-02-27T11:21:53.000Z | llvm-project/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp | ananthdurbha/llvm-mlir | a5e0b8903b83c777fa40a0fa538fbdb8176fd5ac | [
"MIT"
] | 1 | 2022-03-31T12:52:01.000Z | 2022-03-31T12:52:01.000Z | //===-- GDBRemoteCommunicationServerCommon.cpp ------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 35.741248 | 90 | 0.709671 | AlexisPerry |
4b6066d14848f3f00d999b136b5b8496a01524a1 | 662 | cpp | C++ | Framework/GeomMath/cpp/MatrixUtil.cpp | kiorisyshen/newbieGameEngine | d1e68fbd75884fdf0f171212396d8bc5fec8ad9e | [
"MIT"
] | 3 | 2019-06-07T15:29:45.000Z | 2019-11-11T01:26:12.000Z | Framework/GeomMath/cpp/MatrixUtil.cpp | kiorisyshen/newbieGameEngine | d1e68fbd75884fdf0f171212396d8bc5fec8ad9e | [
"MIT"
] | null | null | null | Framework/GeomMath/cpp/MatrixUtil.cpp | kiorisyshen/newbieGameEngine | d1e68fbd75884fdf0f171212396d8bc5fec8ad9e | [
"MIT"
] | null | null | null | #include <cstdint>
#include <cstring>
using namespace std;
namespace Dummy {
void BuildIdentityMatrix(float *data, const int32_t n) {
memset(data, 0x00, sizeof(float) * n * n);
for (int32_t i = 0; i < n; i++) {
*(data + i * n + i) = 1.0f;
}
}
void MatrixExchangeYandZ(float *data, const int32_t r... | 26.48 | 79 | 0.570997 | kiorisyshen |
4b60946d823051ed34ed6725fddf185aa0bd06ca | 8,059 | cpp | C++ | root/engine/manager.cpp | wooandrew/boomerang | f70d813f7a9264481b91e081f418343980c5108a | [
"Unlicense"
] | null | null | null | root/engine/manager.cpp | wooandrew/boomerang | f70d813f7a9264481b91e081f418343980c5108a | [
"Unlicense"
] | 1 | 2020-12-04T21:46:04.000Z | 2020-12-05T18:03:49.000Z | root/engine/manager.cpp | wooandrew/boomerang | f70d813f7a9264481b91e081f418343980c5108a | [
"Unlicense"
] | 1 | 2020-11-08T06:49:24.000Z | 2020-11-08T06:49:24.000Z | // Project Boomerang : engine/manager.cpp (c) 2020-2021 Andrew Woo, Porter Squires, Brandon Yau, and Awrish Khan
/* Modified MIT License
*
* Copyright 2020-2021 Andrew Woo, Porter Squires, Brandon Yau, and Awrish Khan
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software... | 36.96789 | 164 | 0.625264 | wooandrew |
4b60b9ffc4dd60b787c1c7fb49d63cc3fb65ad8e | 14,062 | cc | C++ | chromeos/dbus/kerberos/fake_kerberos_client.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chromeos/dbus/kerberos/fake_kerberos_client.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chromeos/dbus/kerberos/fake_kerberos_client.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 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 "chromeos/dbus/kerberos/fake_kerberos_client.h"
#include <utility>
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/loca... | 33.087059 | 80 | 0.722728 | sarang-apps |
4b60e90719143a376cc97b5a9912d9d49dcd3d3d | 2,805 | cpp | C++ | lib/mayaUsd/ufe/UsdSceneItemOps.cpp | sun-frog/maya-usd | 561fc867e192e426749c9df59807cc836d16a2c2 | [
"Apache-2.0"
] | null | null | null | lib/mayaUsd/ufe/UsdSceneItemOps.cpp | sun-frog/maya-usd | 561fc867e192e426749c9df59807cc836d16a2c2 | [
"Apache-2.0"
] | null | null | null | lib/mayaUsd/ufe/UsdSceneItemOps.cpp | sun-frog/maya-usd | 561fc867e192e426749c9df59807cc836d16a2c2 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2019 Autodesk
//
// 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 ... | 28.333333 | 82 | 0.687344 | sun-frog |
4b61999960d490ddf3ec717ec8f743066ac849a2 | 2,973 | cpp | C++ | test/twod_test/demo/demo.cpp | billyquith/bq-twod | 81d5d35cf3db22145fb4dd14cfe6b8dd927373b6 | [
"MIT"
] | null | null | null | test/twod_test/demo/demo.cpp | billyquith/bq-twod | 81d5d35cf3db22145fb4dd14cfe6b8dd927373b6 | [
"MIT"
] | null | null | null | test/twod_test/demo/demo.cpp | billyquith/bq-twod | 81d5d35cf3db22145fb4dd14cfe6b8dd927373b6 | [
"MIT"
] | null | null | null |
#include "demo.hpp"
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/CircleShape.hpp>
#include <cassert>
void InteractiveDemo::processEvent(const sf::Event &evt)
{
}
void InteractiveDemo::draw(sf::RenderTarget &rt) {}
void DemoPoints::drawLine(sf::RenderTarget &rt)
{
const int nb = points_.s... | 27.275229 | 82 | 0.447023 | billyquith |
4b631ec94347c10979996cf2c6228b3b3408c70d | 3,463 | cc | C++ | diagnostics/cros_healthd/fetchers/storage/emmc_device_adapter_test.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | diagnostics/cros_healthd/fetchers/storage/emmc_device_adapter_test.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | diagnostics/cros_healthd/fetchers/storage/emmc_device_adapter_test.cc | strassek/chromiumos-platform2 | 12c953f41f48b8a6b0bd1c181d09bdb1de38325c | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright 2020 The Chromium OS 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 <base/files/file_path.h>
#include <gtest/gtest.h>
#include "diagnostics/common/statusor.h"
#include "diagnostics/cros_healthd/fetchers/stora... | 39.804598 | 78 | 0.742997 | strassek |
4b63c2a7106869a5b11e16d0822abc1a2b76583a | 40,778 | cc | C++ | chrome/installer/setup/install_worker.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/installer/setup/install_worker.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/installer/setup/install_worker.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.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.
//
// This file contains the definitions of the installer functions that build
// the WorkItemList used to install the application.
#include "chrome/i... | 44.959206 | 80 | 0.640419 | google-ar |
4b64a1c25d06e716e3a861449c8ae3d89136069b | 4,975 | hpp | C++ | include/AppStandards.hpp | john-fotis/SysPro3 | 79066d516edd345220d0f1cf0e83647edacfcc23 | [
"MIT"
] | 1 | 2021-08-20T11:19:46.000Z | 2021-08-20T11:19:46.000Z | include/AppStandards.hpp | john-fotis/SysPro3 | 79066d516edd345220d0f1cf0e83647edacfcc23 | [
"MIT"
] | null | null | null | include/AppStandards.hpp | john-fotis/SysPro3 | 79066d516edd345220d0f1cf0e83647edacfcc23 | [
"MIT"
] | null | null | null | #ifndef APPSTANDARDS_HPP
#define APPSTANDARDS_HPP
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <string>
#include <iostream>
#include "List.hpp"
typedef std::string string;
// travelClient parameters
#define PERMS 0775
#define LOGS_PATH "logs/"
// monitorServer param... | 36.050725 | 165 | 0.722814 | john-fotis |
4b64ef1e857fae1172aadf20742e5d722fc59c49 | 2,184 | cpp | C++ | dep/acelite/ace/Intrusive_List.cpp | muscnx/Mangos021SD2 | 695bb6a4822bb9173ab8e9077cb6259869ca2f32 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | 42 | 2015-01-05T10:00:07.000Z | 2022-02-18T14:51:33.000Z | dep/ACE_wrappers/ace/Intrusive_List.cpp | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | 20 | 2017-04-10T18:41:58.000Z | 2017-04-10T19:01:12.000Z | dep/ACE_wrappers/ace/Intrusive_List.cpp | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: Intrusive_List.cpp 92069 2010-09-28 11:38:59Z johnnyw $
#ifndef ACE_INTRUSIVE_LIST_CPP
#define ACE_INTRUSIVE_LIST_CPP
#include "ace/Intrusive_List.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if !defined (__ACE_INLINE__)
#include "ace/Intrusive_List.inl"
#endif /... | 17.756098 | 63 | 0.590659 | muscnx |
4b64f252529591b0628a76d5c7afce335b30356d | 14,844 | cpp | C++ | Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheComponent.cpp | greenrainstudios/AlembicUtilities | 3970988065aef6861898a5185495e784a0c43ecb | [
"MIT"
] | null | null | null | Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheComponent.cpp | greenrainstudios/AlembicUtilities | 3970988065aef6861898a5185495e784a0c43ecb | [
"MIT"
] | null | null | null | Plugins/GeometryCache/Source/GeometryCache/Private/GeometryCacheComponent.cpp | greenrainstudios/AlembicUtilities | 3970988065aef6861898a5185495e784a0c43ecb | [
"MIT"
] | 1 | 2021-01-22T09:11:51.000Z | 2021-01-22T09:11:51.000Z | // Copyright Epic Games, Inc. All Rights Reserved.
#include "GeometryCacheComponent.h"
#include "GeometryCache.h"
#include "Logging/MessageLog.h"
#include "ContentStreaming.h"
#include "GeometryCacheSceneProxy.h"
#include "GeometryCacheTrack.h"
#include "GeometryCacheMeshData.h"
#include "GeometryCacheStr... | 28.879377 | 168 | 0.744139 | greenrainstudios |
4b65432f20efdfc0c817f6daea917fc0288933a0 | 3,671 | hpp | C++ | boost/geometry/policies/relate/tupled.hpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | ios/Pods/boost-for-react-native/boost/geometry/policies/relate/tupled.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | ios/Pods/boost-for-react-native/boost/geometry/policies/relate/tupled.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// 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)
#ifnd... | 31.376068 | 90 | 0.57641 | cpp-pm |
b49d4eb424dba7825b4fdd66b6bf10b611d14eef | 12,688 | cpp | C++ | kernel/vds_network/udp_socket.cpp | iv-soft/vds | 8baea0831fe4aff7815d63f8a1df8491d5620678 | [
"MIT"
] | null | null | null | kernel/vds_network/udp_socket.cpp | iv-soft/vds | 8baea0831fe4aff7815d63f8a1df8491d5620678 | [
"MIT"
] | null | null | null | kernel/vds_network/udp_socket.cpp | iv-soft/vds | 8baea0831fe4aff7815d63f8a1df8491d5620678 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "udp_socket.h"
#include "private/udp_socket_p.h"
vds::udp_datagram::udp_datagram()
: impl_(nullptr)
{
}
vds::udp_datagram::udp_datagram(const udp_datagram& other)
: impl_(new _udp_datagram(*other.impl_)){
}
vds::udp_datagram::udp_datagram(udp_datagram && other)
: impl_(other.impl_) {... | 30.066351 | 153 | 0.653373 | iv-soft |
b49e923365adbd73fb4b00949db00d6808520a66 | 7,537 | cc | C++ | FWCore/Framework/test/stubs/RunLumiEventAnalyzer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | FWCore/Framework/test/stubs/RunLumiEventAnalyzer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | FWCore/Framework/test/stubs/RunLumiEventAnalyzer.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z |
#include "FWCore/Framework/test/stubs/RunLumiEventAnalyzer.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/Common/interface/TriggerResults.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/LuminosityBlock.h"
#include "FWCore/Framework/interface/MakerMacros... | 44.076023 | 120 | 0.606342 | ckamtsikis |
b49f3438e5b7e406c9d3e3626969d6b45956e5b0 | 928 | hpp | C++ | pythran/pythonic/numpy/sum.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/numpy/sum.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/numpy/sum.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_NUMPY_SUM_HPP
#define PYTHONIC_NUMPY_SUM_HPP
#include "pythonic/include/numpy/sum.hpp"
#include "pythonic/utils/proxy.hpp"
#include "pythonic/numpy/reduce.hpp"
#ifdef USE_BOOST_SIMD
#include <boost/simd/include/functions/sum.hpp>
#endif
#include <algorithm>
namespace pythonic
{
namespace numpy
... | 22.095238 | 75 | 0.592672 | artas360 |
b4a643893e18b3d26423a68c7d0c6f4bbf4d1174 | 1,630 | cpp | C++ | test/module/vendor/rxcpp_subject_usage.cpp | truongnmt/iroha | e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1 | [
"Apache-2.0"
] | null | null | null | test/module/vendor/rxcpp_subject_usage.cpp | truongnmt/iroha | e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1 | [
"Apache-2.0"
] | 2 | 2020-07-07T19:31:15.000Z | 2021-06-01T22:29:48.000Z | test/module/vendor/rxcpp_subject_usage.cpp | truongnmt/iroha | e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved.
* http://soramitsu.co.jp
*
* 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/LICENS... | 29.107143 | 75 | 0.69816 | truongnmt |
b4a66d0d27aee22e9ea5f4d8686077e3af0e4312 | 23,380 | cpp | C++ | src/condor_gridmanager/unicorejob.cpp | sridish123/htcondor | 481d975fd8602242f6a052aab04e20b0b560db89 | [
"Apache-2.0"
] | null | null | null | src/condor_gridmanager/unicorejob.cpp | sridish123/htcondor | 481d975fd8602242f6a052aab04e20b0b560db89 | [
"Apache-2.0"
] | null | null | null | src/condor_gridmanager/unicorejob.cpp | sridish123/htcondor | 481d975fd8602242f6a052aab04e20b0b560db89 | [
"Apache-2.0"
] | null | null | null | /***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... | 27.53828 | 89 | 0.659666 | sridish123 |
b4a67675f06ce8ad3972a1d5628e59d250964783 | 9,638 | cpp | C++ | src/blockindexer.cpp | LaplaceKorea/blockchain-indexer | f2ae12d3afe68ea599198cfa24334fe71293f97c | [
"MIT"
] | 12 | 2018-02-06T00:54:15.000Z | 2021-07-04T21:56:48.000Z | src/blockindexer.cpp | Lattice-Trade/blockchain-indexer | f2ae12d3afe68ea599198cfa24334fe71293f97c | [
"MIT"
] | 5 | 2018-02-05T18:56:12.000Z | 2022-01-27T16:09:20.000Z | src/blockindexer.cpp | Lattice-Trade/blockchain-indexer | f2ae12d3afe68ea599198cfa24334fe71293f97c | [
"MIT"
] | 8 | 2018-02-05T19:00:56.000Z | 2022-01-27T17:07:10.000Z | /* VTC Blockindexer - A utility to build additional indexes to the
Vertcoin blockchain by scanning and indexing the blockfiles
downloaded by Vertcoin Core.
Copyright (C) 2017 Gert-Jaap Glasbergen
This program is free software: you can redistribute it and/or modify
it under the terms of the ... | 40.666667 | 145 | 0.623055 | LaplaceKorea |
b4a80f8d8083ea0aad624723d8e217bd98d80f0c | 854 | hpp | C++ | listener.hpp | LAGonauta/Alure-C-Interface | d6eb94a0bedd68ee076b084b6736dfee8ff95d0e | [
"Zlib"
] | 1 | 2019-07-19T03:37:33.000Z | 2019-07-19T03:37:33.000Z | listener.hpp | LAGonauta/Alure-C-Interface | d6eb94a0bedd68ee076b084b6736dfee8ff95d0e | [
"Zlib"
] | null | null | null | listener.hpp | LAGonauta/Alure-C-Interface | d6eb94a0bedd68ee076b084b6736dfee8ff95d0e | [
"Zlib"
] | null | null | null | #include "common.h"
#ifndef __WRAP_LISTENER_H__
#define __WRAP_LISTENER_H__
#ifdef __cplusplus
extern "C"
{
#endif
DLL_PUBLIC listener_t* listener_set(alure::Listener ctx);
DLL_PUBLIC void listener_destroy(listener_t* dm);
DLL_PUBLIC void listener_setGain(listener_t* dm, ALfloat gain);
DLL_PUBLIC void listener_set3D... | 34.16 | 160 | 0.82904 | LAGonauta |
b4a867f18321bb6736a3c209cde87ab847b74035 | 9,186 | cpp | C++ | src/win32window.cpp | ousttrue/Nvy | 7a3e65f31a3130bdc6f49306eae515469175cad8 | [
"MIT"
] | null | null | null | src/win32window.cpp | ousttrue/Nvy | 7a3e65f31a3130bdc6f49306eae515469175cad8 | [
"MIT"
] | null | null | null | src/win32window.cpp | ousttrue/Nvy | 7a3e65f31a3130bdc6f49306eae515469175cad8 | [
"MIT"
] | null | null | null | #include "win32window.h"
#include <Windows.h>
#include <dwmapi.h>
#include <shellscalingapi.h>
WINDOWPLACEMENT saved_window_placement = {.length = sizeof(WINDOWPLACEMENT)};
static LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wparam,
LPARAM lparam) {
if (msg == WM_CREATE) {
... | 33.772059 | 79 | 0.598846 | ousttrue |
b4a89388fb4204b0dbededb35c4ac8fb844dc136 | 16,563 | cpp | C++ | code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_to_number.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_to_number.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_to_number.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | 1 | 2020-10-18T12:59:31.000Z | 2020-10-18T12:59:31.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | 33.940574 | 118 | 0.645596 | wangcy6 |
b4abeef3cdecc07e35c5c9b7a7c7066e516ff8de | 6,393 | cc | C++ | content/shell/browser/shell_devtools_frontend.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2015-08-13T21:04:58.000Z | 2015-08-13T21:04:58.000Z | content/shell/browser/shell_devtools_frontend.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/shell/browser/shell_devtools_frontend.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T06:34:36.000Z | 2020-11-04T06:34:36.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/shell/browser/shell_devtools_frontend.h"
#include "base/command_line.h"
#include "base/json/json_reader.h"
#include "base/path_service.... | 34.005319 | 80 | 0.714844 | Fusion-Rom |
b4ac1ea8256a3905dfb93005d0a35643e94ac152 | 863 | hpp | C++ | src/leaker/global.hpp | tigrangh/leaker | cb07f22184e5d58bc2abdd41b68800106c59baa9 | [
"MIT"
] | null | null | null | src/leaker/global.hpp | tigrangh/leaker | cb07f22184e5d58bc2abdd41b68800106c59baa9 | [
"MIT"
] | null | null | null | src/leaker/global.hpp | tigrangh/leaker | cb07f22184e5d58bc2abdd41b68800106c59baa9 | [
"MIT"
] | null | null | null | #pragma once
#if defined _MSC_VER
#define B_OS_WINDOWS
#define UNICODE
#define _UNICODE
#ifdef BUILD_SHARED_LIBS
#define LEAKER_EXPORT __declspec(dllexport)
#define LEAKER_IMPORT __declspec(dllimport)
#else
#define LEAKER_EXPORT
#define LEAKER_IMPORT
#endif
#define LEAKER_LOCAL
#elif defined __APPLE__
#define B_... | 17.979167 | 62 | 0.811124 | tigrangh |
b4ac6674a8b36d8f121188d42dc1c55b2ac1d2c7 | 2,856 | cc | C++ | cpp/src/ray/runtime/task/native_task_submitter.cc | lharri73/ray | 3e42f54910ee8fecdd09a9a69e4852d6fb946e6d | [
"Apache-2.0"
] | null | null | null | cpp/src/ray/runtime/task/native_task_submitter.cc | lharri73/ray | 3e42f54910ee8fecdd09a9a69e4852d6fb946e6d | [
"Apache-2.0"
] | 53 | 2021-10-09T07:09:35.000Z | 2022-03-19T07:09:08.000Z | cpp/src/ray/runtime/task/native_task_submitter.cc | akern40/ray | d4f9d3620eecefeffc890ecf5193582bf667512e | [
"Apache-2.0"
] | null | null | null | // Copyright 2020-2021 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 36.151899 | 88 | 0.634454 | lharri73 |
b4ae23fda8ac077dab656bfda197bab903311961 | 24,573 | cc | C++ | chromium/content/browser/frame_host/render_widget_host_view_guest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/content/browser/frame_host/render_widget_host_view_guest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/content/browser/frame_host/render_widget_host_view_guest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 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 "content/browser/frame_host/render_widget_host_view_guest.h"
#include <utility>
#include "base/bind_helpers.h"
#include "base/command_line.h"
#... | 34.464236 | 87 | 0.736988 | wedataintelligence |
b4ae6880d36e9a795c8569ad80720c668e0088b8 | 4,729 | cpp | C++ | Cthulhu/src/StreamType.cpp | Yunusbcr/labgraph | a00ae7098b7b0e0eda8ce2e7e62dae86854616fb | [
"MIT"
] | 124 | 2021-07-14T21:25:59.000Z | 2022-03-08T20:40:16.000Z | Cthulhu/src/StreamType.cpp | VanEdward/labgraph | 9488feac59f9ef86091befdeaddb69d84e4d6fb3 | [
"MIT"
] | 46 | 2021-07-16T18:41:11.000Z | 2022-03-31T20:53:00.000Z | Cthulhu/src/StreamType.cpp | VanEdward/labgraph | 9488feac59f9ef86091befdeaddb69d84e4d6fb3 | [
"MIT"
] | 22 | 2021-07-16T18:34:56.000Z | 2022-03-31T15:12:06.000Z | // Copyright 2004-present Facebook. All Rights Reserved.
#include <cthulhu/StreamType.h>
#include <cthulhu/Framework.h>
namespace cthulhu {
StreamConfig& ConfigAccessor::config(AutoStreamConfig* wrapper) {
return wrapper->config_;
}
StreamSample& SampleAccessor::sample(AutoStreamSample* wrapper) {
return wrapp... | 27.178161 | 97 | 0.755974 | Yunusbcr |
b4afc82639a8fbc7a315b5c24f290c7e08a32b96 | 4,201 | cpp | C++ | src/libs/glut/glutCallback.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/libs/glut/glutCallback.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/libs/glut/glutCallback.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /***********************************************************
* Copyright (C) 1997, Be Inc. Copyright (C) 1999, Jake Hamby.
*
* This program is freely distributable without licensing fees
* and is provided without guarantee or warrantee expressed or
* implied. This program is -not- in the public domain.
*
*... | 22.227513 | 89 | 0.672221 | Kirishikesan |
b4b031b7e3918a6a4dfce0fba57a8cb0b5361691 | 5,342 | cpp | C++ | 1001-1500/1044-longest-duplicate-string/main.cpp | janreggie/leetcode | c59718e127b598c4de7d07c9c93064eb12b2e5c9 | [
"MIT",
"Unlicense"
] | null | null | null | 1001-1500/1044-longest-duplicate-string/main.cpp | janreggie/leetcode | c59718e127b598c4de7d07c9c93064eb12b2e5c9 | [
"MIT",
"Unlicense"
] | null | null | null | 1001-1500/1044-longest-duplicate-string/main.cpp | janreggie/leetcode | c59718e127b598c4de7d07c9c93064eb12b2e5c9 | [
"MIT",
"Unlicense"
] | null | null | null | // Well, this does a TLE. But it shoould work!
#include <iostream>
#include <string>
#include <unordered_map>
#include <vector>
class Solution
{
public:
std::string longestDupSubstring(const std::string& s)
{
if (s.size() <= 1) {
return "";
}
if (s.size() == 2) {
if (s.at(0) == s.at(1)) {
return s.... | 45.271186 | 1,008 | 0.777424 | janreggie |
b4b3dbbf631e9dacb1bf273dd5aa440b5a84cc84 | 2,922 | cpp | C++ | contests/hack_the_interview_5/rerouting.cpp | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | 1 | 2017-07-02T01:35:39.000Z | 2017-07-02T01:35:39.000Z | contests/hack_the_interview_5/rerouting.cpp | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | null | null | null | contests/hack_the_interview_5/rerouting.cpp | delaanthonio/hackerrank | b1f2e1e93b3260be90eb3b8cb8e86e9a700acf27 | [
"MIT"
] | 1 | 2018-04-03T15:11:56.000Z | 2018-04-03T15:11:56.000Z | #include <bits/stdc++.h>
using namespace std;
string ltrim(const string &);
string rtrim(const string &);
vector<string> split(const string &);
/*
* Complete the 'getMinConnectionChange' function below.
*
* The function is expected to return an INTEGER.
* The function accepts INTEGER_ARRAY connection as paramete... | 20.433566 | 79 | 0.583847 | delaanthonio |
b4b42cc225e39ebdb7795d0a7565331bc17a87b6 | 4,233 | cpp | C++ | src/bench/chacha_poly_aead.cpp | devcoin/devcoin | a5a65936e31a63041434f3fce31270c518d44ebc | [
"MIT"
] | null | null | null | src/bench/chacha_poly_aead.cpp | devcoin/devcoin | a5a65936e31a63041434f3fce31270c518d44ebc | [
"MIT"
] | null | null | null | src/bench/chacha_poly_aead.cpp | devcoin/devcoin | a5a65936e31a63041434f3fce31270c518d44ebc | [
"MIT"
] | null | null | null | // Copyright (c) 2019-2020 The Bitcoin Core and Devcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bench/bench.h>
#include <crypto/chacha_poly_aead.h>
#include <crypto/poly1305.h> // for the POLY1... | 33.330709 | 135 | 0.72927 | devcoin |
b4b4650636f32cfc5189cf62e03fba2d8b5db3a3 | 6,874 | hpp | C++ | libs/full/async_colocated/include/hpx/async_colocated/async_colocated.hpp | gonidelis/hpx | 8f608a97ae4f765cb8fdd166b478097267d65c4b | [
"BSL-1.0"
] | null | null | null | libs/full/async_colocated/include/hpx/async_colocated/async_colocated.hpp | gonidelis/hpx | 8f608a97ae4f765cb8fdd166b478097267d65c4b | [
"BSL-1.0"
] | null | null | null | libs/full/async_colocated/include/hpx/async_colocated/async_colocated.hpp | gonidelis/hpx | 8f608a97ae4f765cb8fdd166b478097267d65c4b | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2015 Hartmut Kaiser
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <hpx/config.hpp>
#include <hpx/actions_base/actions_base_s... | 44.064103 | 80 | 0.616526 | gonidelis |
b4b51129f1e2c579d079116b5ee3dfb6940a7fdb | 58,609 | cpp | C++ | src/ports/SkFontHost_FreeType_common.cpp | lirongfei123/skia | ca5c3363596b91ce75f381dfde15985a71e20626 | [
"BSD-3-Clause"
] | 1 | 2021-08-07T03:44:46.000Z | 2021-08-07T03:44:46.000Z | src/ports/SkFontHost_FreeType_common.cpp | blvd20/skia | fdf7b3c41f8ede5cb7f8b160f73695e9a1682e46 | [
"BSD-3-Clause"
] | null | null | null | src/ports/SkFontHost_FreeType_common.cpp | blvd20/skia | fdf7b3c41f8ede5cb7f8b160f73695e9a1682e46 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2006-2012 The Android Open Source Project
* Copyright 2012 Mozilla Foundation
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include ... | 40.336545 | 127 | 0.569725 | lirongfei123 |
b4b5c319ce7869031b763ef43519c14599bb0983 | 137,497 | cpp | C++ | lib/Runtime/Library/TypedArray.cpp | wbhsm/ChakraCore | d542c725a673260f0ebeb8051d154045b46d521f | [
"MIT"
] | 1 | 2020-06-12T14:24:25.000Z | 2020-06-12T14:24:25.000Z | lib/Runtime/Library/TypedArray.cpp | wbhsm/ChakraCore | d542c725a673260f0ebeb8051d154045b46d521f | [
"MIT"
] | 1 | 2018-10-16T15:16:09.000Z | 2018-10-16T15:16:09.000Z | lib/Runtime/Library/TypedArray.cpp | wbhsm/ChakraCore | d542c725a673260f0ebeb8051d154045b46d521f | [
"MIT"
] | 6 | 2018-09-07T05:16:47.000Z | 2021-03-23T20:30:38.000Z | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | 39.544722 | 203 | 0.65312 | wbhsm |
b4b75b05c7057100cda215950de1a6f6ab14ab17 | 8,493 | cpp | C++ | SensorKinect/Source/XnDDK/XnDDK.cpp | CVLAB-Unibo/Slam-Dunk-Android | 28343eb7d92cfd884e025dbaf510f4115199f58f | [
"Apache-2.0"
] | 27 | 2018-01-18T15:50:36.000Z | 2022-02-11T23:07:15.000Z | SensorKinect-unstable/Source/XnDDK/XnDDK.cpp | jeremywrnr/life-of-the-party | b29310a1fcc31d5c0e8b93c18ab0fc91bb316613 | [
"MIT"
] | 3 | 2019-01-31T05:53:49.000Z | 2019-02-26T14:06:53.000Z | SensorKinect-unstable/Source/XnDDK/XnDDK.cpp | jeremywrnr/life-of-the-party | b29310a1fcc31d5c0e8b93c18ab0fc91bb316613 | [
"MIT"
] | 9 | 2017-08-08T12:18:02.000Z | 2020-04-07T08:07:55.000Z | /****************************************************************************
* *
* PrimeSense Sensor 5.x Alpha *
* Copyright (C) 2011 PrimeSense Ltd. *
* ... | 31.10989 | 118 | 0.611562 | CVLAB-Unibo |
b4b7f0c32acdf0be651be1b9ef899697140ad84b | 13,855 | cpp | C++ | src/test/fork_kore_from_blockinfo.cpp | Kore-Core/Kore | d0bb166f6ad69b09ef305cdedc2a799cd3f874c3 | [
"MIT"
] | 13 | 2018-02-02T15:18:53.000Z | 2019-09-27T06:00:26.000Z | src/test/fork_kore_from_blockinfo.cpp | Kore-Core/Kore | d0bb166f6ad69b09ef305cdedc2a799cd3f874c3 | [
"MIT"
] | 7 | 2018-07-05T12:05:49.000Z | 2020-03-09T06:25:45.000Z | src/test/fork_kore_from_blockinfo.cpp | Kore-Core/Kore | d0bb166f6ad69b09ef305cdedc2a799cd3f874c3 | [
"MIT"
] | 23 | 2018-01-14T14:14:59.000Z | 2019-08-16T03:39:05.000Z | // Copyright (c) 2011-2014 The Bitcoin Core developers
// Copyright (c) 2016 The KORE developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h"
#include "checkpoints.h"
#include "init.h"
#include "m... | 41.358209 | 119 | 0.693829 | Kore-Core |
b4bb5b1b0fa9bf3f208a5316aef7a780b655e94a | 1,617 | cpp | C++ | testsuite/test_mutex/createmutex.cpp | eebenson/haggle | c461667b079934fa03b1ebb472ca67641a3d1140 | [
"Apache-2.0"
] | null | null | null | testsuite/test_mutex/createmutex.cpp | eebenson/haggle | c461667b079934fa03b1ebb472ca67641a3d1140 | [
"Apache-2.0"
] | null | null | null | testsuite/test_mutex/createmutex.cpp | eebenson/haggle | c461667b079934fa03b1ebb472ca67641a3d1140 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2008 Uppsala University
*
* 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 applica... | 23.779412 | 78 | 0.64564 | eebenson |
b4bd4a499f2ad52f65baf7d80274dcd42921277a | 2,571 | cpp | C++ | Glitter/Sources/BoundingBox.cpp | jalexanderqed/RayTracer | 58de9f07b0c0f88292c3760402e29a70e1805af9 | [
"MIT"
] | null | null | null | Glitter/Sources/BoundingBox.cpp | jalexanderqed/RayTracer | 58de9f07b0c0f88292c3760402e29a70e1805af9 | [
"MIT"
] | null | null | null | Glitter/Sources/BoundingBox.cpp | jalexanderqed/RayTracer | 58de9f07b0c0f88292c3760402e29a70e1805af9 | [
"MIT"
] | null | null | null | #include "BoundingBox.h"
BoundingBox::BoundingBox() : vMin{ glm::vec3(INFINITY) },
vMax{ glm::vec3(-1 * INFINITY) } { }
BoundingBox::BoundingBox(const PolygonIO* poly) {
for (int i = 0; i < 3; i++) {
vMax[i] = max(poly->vert[0].pos[i],
max(poly->vert[1].pos[i], poly->vert[2].pos[i]));
vMin[i] = min(poly->vert... | 25.455446 | 92 | 0.610657 | jalexanderqed |
b4bd7b2898a364459917651140396212213c1234 | 17,964 | hpp | C++ | include/universal/verification/bfloat_test_suite.hpp | jtodd440/universal | 3d8c946691be0dca091579da34f91ced82e1136a | [
"MIT"
] | null | null | null | include/universal/verification/bfloat_test_suite.hpp | jtodd440/universal | 3d8c946691be0dca091579da34f91ced82e1136a | [
"MIT"
] | null | null | null | include/universal/verification/bfloat_test_suite.hpp | jtodd440/universal | 3d8c946691be0dca091579da34f91ced82e1136a | [
"MIT"
] | null | null | null | #pragma once
// real_test_helpers.hpp : arbitrary real verification functions
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#include <vector>
#include <iostream>
#include <typeinfo>
#include <r... | 48.948229 | 150 | 0.488032 | jtodd440 |
b4be9e8c0a4a9cf12e621e982e4bcd997fc42b80 | 1,299 | hpp | C++ | include/controller/cpp/webots/Radar.hpp | Justin-Fisher/webots | 8a39e8e4390612919a8d82c7815aa914f4c079a4 | [
"Apache-2.0"
] | 1,561 | 2019-09-04T11:32:32.000Z | 2022-03-31T18:00:09.000Z | include/controller/cpp/webots/Radar.hpp | Justin-Fisher/webots | 8a39e8e4390612919a8d82c7815aa914f4c079a4 | [
"Apache-2.0"
] | 2,184 | 2019-09-03T11:35:02.000Z | 2022-03-31T10:01:44.000Z | include/controller/cpp/webots/Radar.hpp | Justin-Fisher/webots | 8a39e8e4390612919a8d82c7815aa914f4c079a4 | [
"Apache-2.0"
] | 1,013 | 2019-09-07T05:09:32.000Z | 2022-03-31T13:01:28.000Z | // Copyright 1996-2021 Cyberbotics 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 law or agr... | 31.682927 | 95 | 0.719784 | Justin-Fisher |
b4c0c367220e00b5bd7deb307dddbb7b3c46d97f | 3,403 | cpp | C++ | src/picotorrent/mainmenu.cpp | kk7945287/pictorr | 09bf9ccbd89f0b459cb07e3012ced9c35bea005c | [
"MIT"
] | null | null | null | src/picotorrent/mainmenu.cpp | kk7945287/pictorr | 09bf9ccbd89f0b459cb07e3012ced9c35bea005c | [
"MIT"
] | null | null | null | src/picotorrent/mainmenu.cpp | kk7945287/pictorr | 09bf9ccbd89f0b459cb07e3012ced9c35bea005c | [
"MIT"
] | null | null | null | #include "mainmenu.hpp"
#include "addtorrentdlg.hpp"
#include "addtorrentproc.hpp"
#include "applicationupdater.hpp"
#include "buildinfo.hpp"
#include "config.hpp"
#include "environment.hpp"
#include "preferencesdlg.hpp"
#include "sessionstate.hpp"
#include "taskbaricon.hpp"
#include "translator.hpp"
#include "http/h... | 29.850877 | 84 | 0.727887 | kk7945287 |
b4c1cd8abe323938cc2d3cf894217390128fccb6 | 7,726 | cpp | C++ | src/pitts_tensortrain_operator_pybind.cpp | melven/pitts | 491f503a99a7d1161a27672955ae53ca6b5d3412 | [
"BSD-3-Clause"
] | 2 | 2021-12-31T08:28:17.000Z | 2022-01-12T14:48:49.000Z | src/pitts_tensortrain_operator_pybind.cpp | melven/pitts | 491f503a99a7d1161a27672955ae53ca6b5d3412 | [
"BSD-3-Clause"
] | null | null | null | src/pitts_tensortrain_operator_pybind.cpp | melven/pitts | 491f503a99a7d1161a27672955ae53ca6b5d3412 | [
"BSD-3-Clause"
] | null | null | null | /*! @file pitts_tensortrain_operator_pybind.cpp
* @brief python binding for PITTS::TensorTrainOperator
* @author Melven Roehrig-Zoellner <Melven.Roehrig-Zoellner@DLR.de>
* @date 2021-02-12
* @copyright Deutsches Zentrum fuer Luft- und Raumfahrt e. V. (DLR), German Aerospace Center
*
**/
// includes
#include <pybind11/... | 49.845161 | 201 | 0.631504 | melven |
b4c2f78c5fba2ddf48c12f86064df1daf823b796 | 322 | cpp | C++ | CookieEngine/src/ECS/ComponentScript.cpp | qbleuse/Cookie-Engine | 705d19d9e4c79e935e32244759ab63523dfbe6c4 | [
"CC-BY-4.0"
] | null | null | null | CookieEngine/src/ECS/ComponentScript.cpp | qbleuse/Cookie-Engine | 705d19d9e4c79e935e32244759ab63523dfbe6c4 | [
"CC-BY-4.0"
] | null | null | null | CookieEngine/src/ECS/ComponentScript.cpp | qbleuse/Cookie-Engine | 705d19d9e4c79e935e32244759ab63523dfbe6c4 | [
"CC-BY-4.0"
] | null | null | null | #include "ECS/ComponentScript.hpp"
using namespace Cookie::ECS;
void ComponentScript::ToDefault()
{
scripts.clear();
}
void ComponentScript::Start()
{
for (int i = 0; i < scripts.size(); ++i)
scripts[i].Start();
}
void ComponentScript::Update()
{
for (int i = 0; i < scripts.size(); ++i)
scripts[i].Update();
}... | 16.947368 | 41 | 0.649068 | qbleuse |
b4c4a9dd0fb9cab56374be204c37ac7a7600943d | 14,129 | cpp | C++ | Extensions/ZilchShaders/ArithmeticInstructions.cpp | jayrulez/ZeroCore | 5da0e2537bc520c3b7ad461e676482382dd5a3e8 | [
"MIT"
] | 1 | 2022-03-26T21:08:19.000Z | 2022-03-26T21:08:19.000Z | Extensions/ZilchShaders/ArithmeticInstructions.cpp | jodavis42/PhysicsSandbox | 3119caaa77721041440cdc1b3cf96d4bd9e2d98b | [
"MIT"
] | null | null | null | Extensions/ZilchShaders/ArithmeticInstructions.cpp | jodavis42/PhysicsSandbox | 3119caaa77721041440cdc1b3cf96d4bd9e2d98b | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
///
/// Authors: Joshua Davis
/// Copyright 2018, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#include "Precompiled.hpp"
namespace Zero
{
// Resolves a bin... | 59.868644 | 195 | 0.774011 | jayrulez |
b4c4eb3f6b6ee5f4686fa41532033aeb38efe746 | 145 | cpp | C++ | src/general/common/consoleinput.cpp | eth-cscs/PASC_inference | de66682f07b65dd21c7ada2fda05f21156e8cf6d | [
"MIT"
] | 8 | 2016-11-26T10:54:34.000Z | 2019-05-24T06:50:04.000Z | src/general/common/consoleinput.cpp | eth-cscs/PASC_inference | de66682f07b65dd21c7ada2fda05f21156e8cf6d | [
"MIT"
] | null | null | null | src/general/common/consoleinput.cpp | eth-cscs/PASC_inference | de66682f07b65dd21c7ada2fda05f21156e8cf6d | [
"MIT"
] | 2 | 2017-11-21T16:58:29.000Z | 2021-04-25T12:47:19.000Z | #include "general/common/consoleinput.h"
namespace pascinference {
namespace common {
ConsoleArgClass consoleArg;
}
} /* end of namespace */
| 13.181818 | 40 | 0.751724 | eth-cscs |
b4c4efcb9d63170c8a6b9548d893c4760b45b62a | 1,109 | cpp | C++ | test/context_ops/main.cpp | MerlinXYoung/azmq | 80100b054a090a25529e6accea4ddcf37c776bdf | [
"BSL-1.0"
] | null | null | null | test/context_ops/main.cpp | MerlinXYoung/azmq | 80100b054a090a25529e6accea4ddcf37c776bdf | [
"BSL-1.0"
] | null | null | null | test/context_ops/main.cpp | MerlinXYoung/azmq | 80100b054a090a25529e6accea4ddcf37c776bdf | [
"BSL-1.0"
] | null | null | null | /*
Copyright (c) 2013-2014 Contributors as noted in the AUTHORS file
This file is part of azmq
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#include <azmq/detail/context_ops.hpp>
#include <string... | 27.04878 | 80 | 0.682597 | MerlinXYoung |
b4c66782bb52ce3940309a465d2528c56109347a | 19,490 | hpp | C++ | sources/Common/Xml.hpp | palchukovsky/TunnelEx | ec645271ab8b79225e378345ff108795110c57de | [
"Apache-2.0"
] | null | null | null | sources/Common/Xml.hpp | palchukovsky/TunnelEx | ec645271ab8b79225e378345ff108795110c57de | [
"Apache-2.0"
] | null | null | null | sources/Common/Xml.hpp | palchukovsky/TunnelEx | ec645271ab8b79225e378345ff108795110c57de | [
"Apache-2.0"
] | null | null | null | /**************************************************************************
* Created: 2007/10/29 13:38
* Author: Eugene V. Palchukovsky
* E-mail: eugene@palchukovsky.com
* -------------------------------------------------------------------
* Project: TunnelEx
* URL: http://tunnelex.net
********... | 26.091031 | 94 | 0.659877 | palchukovsky |
b4c7daef89d1e3a7b5d3138023e1f9173c0681a0 | 6,554 | cc | C++ | engines/ep/src/connmap.cc | paolococchi/kv_engine | 40256dca6bf77fb4bcc18e8ef7d9b8f991bf4e45 | [
"BSD-3-Clause"
] | 1 | 2019-06-13T07:33:09.000Z | 2019-06-13T07:33:09.000Z | engines/ep/src/connmap.cc | paolococchi/kv_engine | 40256dca6bf77fb4bcc18e8ef7d9b8f991bf4e45 | [
"BSD-3-Clause"
] | null | null | null | engines/ep/src/connmap.cc | paolococchi/kv_engine | 40256dca6bf77fb4bcc18e8ef7d9b8f991bf4e45 | [
"BSD-3-Clause"
] | null | null | null | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2010 Couchbase, 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
*
* h... | 31.509615 | 80 | 0.632438 | paolococchi |
b4c82553d1ae5d3f4e0fd9a708b68d10df9a68cc | 11,595 | cpp | C++ | LifeBrush/Source/LifeBrush/Visualization/EventVisualizationTool.cpp | timdecode/LifeBrush | dbc65bcc0ec77f9168e08cf7b39539af94420725 | [
"MIT"
] | 33 | 2019-04-23T23:00:09.000Z | 2021-11-09T11:44:09.000Z | LifeBrush/Source/LifeBrush/Visualization/EventVisualizationTool.cpp | MyelinsheathXD/LifeBrush | dbc65bcc0ec77f9168e08cf7b39539af94420725 | [
"MIT"
] | 1 | 2019-10-09T15:57:56.000Z | 2020-03-05T20:01:01.000Z | LifeBrush/Source/LifeBrush/Visualization/EventVisualizationTool.cpp | MyelinsheathXD/LifeBrush | dbc65bcc0ec77f9168e08cf7b39539af94420725 | [
"MIT"
] | 6 | 2019-04-25T00:10:55.000Z | 2021-04-12T05:16:28.000Z | // Copyright (c) 2018 Timothy Davison. All rights reserved.
#include "LifeBrush.h"
#include "Simulation/FlexElements.h"
#include "Visualization/Timeline.h"
#include "EventVisualizationTool.h"
void UEventVisualizationTool::gainFocus()
{
Super::gainFocus();
UTimelineSimulation * timeline = _flexSimulation->simu... | 27.091121 | 151 | 0.759983 | timdecode |
b4c90ab4dbea4c3cae05fe6758906e2d1c57059d | 1,933 | hpp | C++ | vlc_linux/vlc-3.0.16/modules/demux/adaptive/playlist/SegmentChunk.hpp | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/modules/demux/adaptive/playlist/SegmentChunk.hpp | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/modules/demux/adaptive/playlist/SegmentChunk.hpp | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | /*
* SegmentChunk.hpp
*****************************************************************************
* Copyright (C) 2014 - 2015 VideoLAN Authors
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Softwa... | 32.216667 | 79 | 0.620279 | Brook1711 |
b4cbdb72b04e32b49b299cd8c896f7555ce9d822 | 59,458 | cpp | C++ | src/Core/BlockChain.cpp | VaultB/vaultb | de41b954ea4d8a4f54a5ab95adf14af85809f55e | [
"MIT"
] | null | null | null | src/Core/BlockChain.cpp | VaultB/vaultb | de41b954ea4d8a4f54a5ab95adf14af85809f55e | [
"MIT"
] | null | null | null | src/Core/BlockChain.cpp | VaultB/vaultb | de41b954ea4d8a4f54a5ab95adf14af85809f55e | [
"MIT"
] | null | null | null | <<<<<<< HEAD
// Copyright (c) 2012-2018, The CryptoNote developers, The Bytecoin developers, [ ] developers.
// Licensed under the GNU Lesser General Public License. See LICENSE for details.
#include "BlockChain.hpp"
#include <boost/lexical_cast.hpp>
#include <chrono>
#include <iostream>
#include "CryptoNoteT... | 38.114103 | 119 | 0.690874 | VaultB |
b4cc463f97ec4280691dde0e084521663ec17ebf | 6,627 | cc | C++ | third_party/blink/renderer/core/loader/resource/multipart_image_resource_parser.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | third_party/blink/renderer/core/loader/resource/multipart_image_resource_parser.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/renderer/core/loader/resource/multipart_image_resource_parser.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.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/loader/resource/multipart_image_resource_parser.h"
#include "third_party/blink/renderer/platform/network/http_p... | 34.515625 | 92 | 0.660329 | zealoussnow |
b4cc50ea1311cbb24c0892b7021121e0d8c0970c | 12,034 | cpp | C++ | applications/incompressible_fluid_application/custom_conditions/monolithic3d_neumann.cpp | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 2 | 2020-04-30T19:13:08.000Z | 2021-04-14T19:40:47.000Z | applications/incompressible_fluid_application/custom_conditions/monolithic3d_neumann.cpp | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 13 | 2019-10-07T12:06:51.000Z | 2020-02-18T08:48:33.000Z | applications/incompressible_fluid_application/custom_conditions/monolithic3d_neumann.cpp | lcirrott/Kratos | 8406e73e0ad214c4f89df4e75e9b29d0eb4a47ea | [
"BSD-4-Clause"
] | 1 | 2020-06-12T08:51:24.000Z | 2020-06-12T08:51:24.000Z | /*
==============================================================================
KratosPFEMApplication
A library based on:
Kratos
A General Purpose Software for Multi-Physics Finite Element Analysis
Version 1.0 (Released on march 05, 2007).
Copyright 2007
Pooyan Dadvand, Riccardo Rossi
pooyan@cimne.upc.edu
rrossi@c... | 37.141975 | 155 | 0.595646 | lcirrott |
b4ce0fb6e22ba67e30700744a0a1cc7076f8171f | 323 | cpp | C++ | 08_abstract_class/main.cpp | acc-cosc-1337-spring-2019/final-exam-spring-2019-carolinekim510 | 78f4b05d76feaa9d2dba9af2c457ea5c15654057 | [
"MIT"
] | null | null | null | 08_abstract_class/main.cpp | acc-cosc-1337-spring-2019/final-exam-spring-2019-carolinekim510 | 78f4b05d76feaa9d2dba9af2c457ea5c15654057 | [
"MIT"
] | null | null | null | 08_abstract_class/main.cpp | acc-cosc-1337-spring-2019/final-exam-spring-2019-carolinekim510 | 78f4b05d76feaa9d2dba9af2c457ea5c15654057 | [
"MIT"
] | null | null | null | #include "08_abstract_class/checking_account.h"
#include "08_abstract_class/savings_account.h"
#include<vector>
#include<iostream>
int main()
{
std::vector<Account*> accounts = { new CheckingAccount(50),
new SavingsAccount(100) };
for (auto& a : accounts)
{
std::cout << a->get_balance() << "\n";
}
return 0... | 19 | 60 | 0.690402 | acc-cosc-1337-spring-2019 |
b4d24771b313c9df85ccb52fe59aed874c0627da | 10,496 | cc | C++ | libbrillo/brillo/http/http_transport_fake.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | libbrillo/brillo/http/http_transport_fake.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | libbrillo/brillo/http/http_transport_fake.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium OS 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 <base/check.h>
#include <brillo/http/http_transport_fake.h>
#include <utility>
#include <base/bind.h>
#include <base/json/json_reader.h>
#in... | 32.097859 | 80 | 0.642816 | Toromino |
b4d4246c3f6010bcaf5021d4cd9681abfc393db5 | 9,742 | cpp | C++ | external/webkit/Source/WebKit/chromium/src/WebPopupMenuImpl.cpp | ghsecuritylab/android_platform_sony_nicki | 526381be7808e5202d7865aa10303cb5d249388a | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | Source/WebKit/chromium/src/WebPopupMenuImpl.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | Source/WebKit/chromium/src/WebPopupMenuImpl.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-17T06:02:42.000Z | 2018-09-19T10:08:38.000Z | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 27.676136 | 97 | 0.695853 | ghsecuritylab |
b4d51c78d1277b4ce24e9a58817c46c702f47142 | 5,344 | hpp | C++ | src/AFQMC/Matrix/coo_matrix.hpp | prckent/qmcpack | 127caf219ee99c2449b803821fcc8b1304b66ee1 | [
"NCSA"
] | null | null | null | src/AFQMC/Matrix/coo_matrix.hpp | prckent/qmcpack | 127caf219ee99c2449b803821fcc8b1304b66ee1 | [
"NCSA"
] | null | null | null | src/AFQMC/Matrix/coo_matrix.hpp | prckent/qmcpack | 127caf219ee99c2449b803821fcc8b1304b66ee1 | [
"NCSA"
] | null | null | null | #if COMPILATION_INSTRUCTIONS
(echo "#include<"$0">" > $0x.cpp) && time clang++ -O3 -std=c++1z -Wall `#-Wfatal-errors` -I.. -D_TEST_SPARSE_COO_MATRIX $0x.cpp -lstdc++fs -lboost_system -lboost_timer -o $0x.x && time $0x.x $@ && rm -f $0x.cpp; exit
#endif
//////////////////////////////////////////////////////////////////... | 28.126316 | 216 | 0.657373 | prckent |
b4d5877b5a40c89db6a1b395035e4b1408f99e63 | 2,605 | hpp | C++ | src/holosuite-lib/holoutils/HoloUtils.hpp | itsermo/holosuite | 16659efec910a4050ddd6548b1310e3ed09636e0 | [
"BSD-3-Clause"
] | null | null | null | src/holosuite-lib/holoutils/HoloUtils.hpp | itsermo/holosuite | 16659efec910a4050ddd6548b1310e3ed09636e0 | [
"BSD-3-Clause"
] | null | null | null | src/holosuite-lib/holoutils/HoloUtils.hpp | itsermo/holosuite | 16659efec910a4050ddd6548b1310e3ed09636e0 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "../holocommon/CommonDefs.hpp"
namespace holo
{
namespace utils
{
//converts rgba + z pictures into a point cloud and reprojects to real-world coordinates quickly
void ReprojectToRealWorld(HoloCloudPtr& cloudOut, HoloRGBAZMat& rgbaz, holo::capture::WorldConvertCache& worldConvertCache);
... | 31.768293 | 126 | 0.714012 | itsermo |
b4d6910812849c32f57cf07f6bbf3711ca2f0fcf | 13,957 | cc | C++ | src/atlas/redistribution/detail/StructuredColumnsToStructuredColumns.cc | wdeconinck/atlas | 8949d2b362b9b5431023a967bcf4ca84f6b8ce05 | [
"Apache-2.0"
] | null | null | null | src/atlas/redistribution/detail/StructuredColumnsToStructuredColumns.cc | wdeconinck/atlas | 8949d2b362b9b5431023a967bcf4ca84f6b8ce05 | [
"Apache-2.0"
] | null | null | null | src/atlas/redistribution/detail/StructuredColumnsToStructuredColumns.cc | wdeconinck/atlas | 8949d2b362b9b5431023a967bcf4ca84f6b8ce05 | [
"Apache-2.0"
] | null | null | null | /*
* (C) Crown Copyright 2021 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
#include <algorithm>
#include <numeric>
#include "atlas/array/MakeView.h"
#include "atlas/field.h"
#include "atlas/fie... | 38.769444 | 120 | 0.643978 | wdeconinck |
b4d6ee1e5b1961d1aa0c6c0fdf106d3db28ee615 | 15,867 | hpp | C++ | vertex/test/TestOffLatticeSimulationWithMinimumMaximumCellCount.hpp | ThomasPak/cell-competition | bb058d67e297d95c4c8ff2a0aea5b1fe5a82be09 | [
"BSD-3-Clause"
] | null | null | null | vertex/test/TestOffLatticeSimulationWithMinimumMaximumCellCount.hpp | ThomasPak/cell-competition | bb058d67e297d95c4c8ff2a0aea5b1fe5a82be09 | [
"BSD-3-Clause"
] | null | null | null | vertex/test/TestOffLatticeSimulationWithMinimumMaximumCellCount.hpp | ThomasPak/cell-competition | bb058d67e297d95c4c8ff2a0aea5b1fe5a82be09 | [
"BSD-3-Clause"
] | null | null | null | #ifndef TESTOFFLATTICESIMULATIONWITHCELLCOUNTLIMIT_HPP
#define TESTOFFLATTICESIMULATIONWITHCELLCOUNTLIMIT_HPP
#include <cxxtest/TestSuite.h>
#include <cstdio>
#include <cmath>
#include <unordered_map>
#include "CheckpointArchiveTypes.hpp"
#include "OffLatticeSimulation.hpp"
#include "HoneycombVertexMeshGenerator.hp... | 36.559908 | 102 | 0.659671 | ThomasPak |
b4d7a12efbbaada1e8d1842b602c2236557a9e63 | 4,304 | cpp | C++ | sources/middle_layer/dispatcher/hw_dispatcher.cpp | jinjunzh/DML | 0c5103dce053fc75f007bc4761359b03cff0c1dc | [
"MIT"
] | null | null | null | sources/middle_layer/dispatcher/hw_dispatcher.cpp | jinjunzh/DML | 0c5103dce053fc75f007bc4761359b03cff0c1dc | [
"MIT"
] | null | null | null | sources/middle_layer/dispatcher/hw_dispatcher.cpp | jinjunzh/DML | 0c5103dce053fc75f007bc4761359b03cff0c1dc | [
"MIT"
] | null | null | null | /*
* Copyright 2021 Intel Corporation.
*
* This software and the related documents are Intel copyrighted materials,
* and your use of them is governed by the express license under which they
* were provided to you ("License"). Unless the License provides otherwise,
* you may not use, modify, copy, publish, distri... | 26.9 | 105 | 0.701208 | jinjunzh |
b4d921f31528318194bea3a8a82fea4b174ff952 | 12,241 | cpp | C++ | backend/applications/utilities/sheep-cl.cpp | vkurilin/SHEEP | 2ccaef32c16efcf5dbc8eefd1dc243bed4ac2fbb | [
"MIT"
] | 40 | 2018-12-03T13:01:06.000Z | 2022-02-23T13:04:12.000Z | backend/applications/utilities/sheep-cl.cpp | vkurilin/SHEEP | 2ccaef32c16efcf5dbc8eefd1dc243bed4ac2fbb | [
"MIT"
] | 63 | 2018-09-11T14:13:31.000Z | 2020-01-14T16:12:39.000Z | backend/applications/utilities/sheep-cl.cpp | vkurilin/SHEEP | 2ccaef32c16efcf5dbc8eefd1dc243bed4ac2fbb | [
"MIT"
] | 7 | 2019-07-10T14:48:31.000Z | 2022-03-23T09:12:11.000Z | ////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
/// This is the main executable that is used by the frontend to:
/// 1) run a benchmark test on a specified circuit file
/// ./benchmark <circuit_file> <context_n... | 36.870482 | 81 | 0.642921 | vkurilin |
b4d9434d4fdd48b603a27783dfe62abcd8a8af45 | 5,273 | cc | C++ | tensorflow/core/util/util.cc | massimobernava/tensorflow | 0a68ff9a205e14dd80fa0c51a0f6954d965f825e | [
"Apache-2.0"
] | 1 | 2022-03-29T11:36:50.000Z | 2022-03-29T11:36:50.000Z | tensorflow/core/util/util.cc | massimobernava/tensorflow | 0a68ff9a205e14dd80fa0c51a0f6954d965f825e | [
"Apache-2.0"
] | 1 | 2020-08-01T05:40:12.000Z | 2020-08-01T05:40:12.000Z | tensorflow/core/util/util.cc | massimobernava/tensorflow | 0a68ff9a205e14dd80fa0c51a0f6954d965f825e | [
"Apache-2.0"
] | null | null | null | /* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 29.623596 | 80 | 0.626019 | massimobernava |
b4db6998ace96669f00f870874526c7c12a44618 | 164 | cpp | C++ | GraphicsProject/main.cpp | JosephPena1/BootstrapPhysics | ce8d9ed1a7bcbc7160c37c41f9033eb68ba3acd6 | [
"MIT"
] | null | null | null | GraphicsProject/main.cpp | JosephPena1/BootstrapPhysics | ce8d9ed1a7bcbc7160c37c41f9033eb68ba3acd6 | [
"MIT"
] | null | null | null | GraphicsProject/main.cpp | JosephPena1/BootstrapPhysics | ce8d9ed1a7bcbc7160c37c41f9033eb68ba3acd6 | [
"MIT"
] | null | null | null | #include "Application.h"
int main()
{
Application* game = new Application(1280,720,"Graphics");
int exitCode = game->run();
delete game;
return exitCode;
}
| 12.615385 | 58 | 0.682927 | JosephPena1 |
b4ddf5c63f0ac5b0157cee68dd6db431040e5d7b | 2,621 | cc | C++ | elements/grid/lirmetric.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 129 | 2015-10-08T14:38:35.000Z | 2022-03-06T14:54:44.000Z | elements/grid/lirmetric.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 241 | 2016-02-17T16:17:58.000Z | 2022-03-15T09:08:33.000Z | elements/grid/lirmetric.cc | MacWR/Click-changed-for-ParaGraph | 18285e5da578fbb7285d10380836146e738dee6e | [
"Apache-2.0"
] | 61 | 2015-12-17T01:46:58.000Z | 2022-02-07T22:25:19.000Z | /*
* lirmetric.{cc,hh} -- end-to-end delivery ratio metric
*
* Copyright (c) 2003 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restri... | 28.48913 | 107 | 0.716139 | MacWR |
b4dedf820a2a9f1c8a8d434c0c7bddc4c1a858fa | 6,122 | hpp | C++ | filters/include/pcl/filters/impl/approximate_voxel_grid.hpp | yxlao/StanfordPCL | 98a8663f896c1ba880d14efa2338b7cfbd01b6ef | [
"MIT"
] | null | null | null | filters/include/pcl/filters/impl/approximate_voxel_grid.hpp | yxlao/StanfordPCL | 98a8663f896c1ba880d14efa2338b7cfbd01b6ef | [
"MIT"
] | null | null | null | filters/include/pcl/filters/impl/approximate_voxel_grid.hpp | yxlao/StanfordPCL | 98a8663f896c1ba880d14efa2338b7cfbd01b6ef | [
"MIT"
] | null | null | null | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | 42.513889 | 114 | 0.59523 | yxlao |
b4dfc211b6432a00e68ea5c188b80cdde97333b6 | 5,112 | cpp | C++ | deploy_test/road_finder_dlcrf/src/DlcrfCore.cpp | caolele/road-discovery | 9f810dd9fe876369a86a3ba4897595579ad6d3c3 | [
"MIT"
] | 10 | 2018-06-04T20:59:11.000Z | 2021-12-24T09:34:02.000Z | deploy_test/road_finder_dlcrf/src/DlcrfCore.cpp | caolele/road-discovery | 9f810dd9fe876369a86a3ba4897595579ad6d3c3 | [
"MIT"
] | 1 | 2021-05-27T11:30:40.000Z | 2021-05-27T11:30:40.000Z | deploy_test/road_finder_dlcrf/src/DlcrfCore.cpp | caolele/road-discovery | 9f810dd9fe876369a86a3ba4897595579ad6d3c3 | [
"MIT"
] | 1 | 2021-09-01T12:05:10.000Z | 2021-09-01T12:05:10.000Z | //
// DlcrfCore.cpp
// road-discovery: deploy_test
//
// Created by Larry Cao on 18/3/8.
//
#include "DlcrfCore.hpp"
const UInt DlcrfCore::channels = 3;
const float DlcrfCore::meanval_ch1 = 104.008;
const float DlcrfCore::meanval_ch2 = 116.669;
const float DlcrfCore::meanval_ch3 = 122.675;
DlcrfCore::DlcrfCore(c... | 29.894737 | 81 | 0.581182 | caolele |
b4e0263378b26ddfa369ef18a1ebc80bdb59ba6a | 6,328 | hpp | C++ | Lib/Chip/CM4/Freescale/MK21D5WS/RFVBAT.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/CM4/Freescale/MK21D5WS/RFVBAT.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/CM4/Freescale/MK21D5WS/RFVBAT.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//VBAT register file
namespace RfvbatReg0{ ///<VBAT register file register
using Addr = Register::Address<0x4003e000,0x00000000,0x00000000,std::uint32_t>;
///no description available
constexpr Register::FieldLocation<Addr,Re... | 67.319149 | 120 | 0.719659 | operativeF |
b4e0361cbf557e899aad224c78833afdd0d958bc | 881 | cpp | C++ | cpp/LinkedList/reverseLL.cpp | saanyalall/Hacktoberfest2021-2 | 3b9aea4ff320976e7c2bcb85f5265be87b0c33be | [
"MIT"
] | null | null | null | cpp/LinkedList/reverseLL.cpp | saanyalall/Hacktoberfest2021-2 | 3b9aea4ff320976e7c2bcb85f5265be87b0c33be | [
"MIT"
] | null | null | null | cpp/LinkedList/reverseLL.cpp | saanyalall/Hacktoberfest2021-2 | 3b9aea4ff320976e7c2bcb85f5265be87b0c33be | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
using namespace std;
class Node{
public:
int data;
Node* next;
Node(int data){
this->data = data;
this->next = NULL;
}
};
void printList(Node* head){
while(head!=NULL){
cout<<head->data<<" ";
head = head->next;
}
}
Node* reverse(Node* hea... | 14.683333 | 46 | 0.574347 | saanyalall |
b4e0e92d35ddb386fcbe11133539c4c69aab2f81 | 1,037 | hpp | C++ | lib/lib/iterator.hpp | XzoRit/cpp_test_eq_op | 32abe7949499fd81bd82aefccc6b4ccf550f0628 | [
"BSL-1.0"
] | null | null | null | lib/lib/iterator.hpp | XzoRit/cpp_test_eq_op | 32abe7949499fd81bd82aefccc6b4ccf550f0628 | [
"BSL-1.0"
] | null | null | null | lib/lib/iterator.hpp | XzoRit/cpp_test_eq_op | 32abe7949499fd81bd82aefccc6b4ccf550f0628 | [
"BSL-1.0"
] | null | null | null | #pragma once
#include <lib/tuple.hpp>
#include <iterator>
#include <utility>
namespace xzr
{
namespace iterator
{
template <typename Container>
class back_emplace_iterator : public std::iterator<std::output_iterator_tag, void, void, void, void>
{
public:
using container_type = Container;
explicit back_emp... | 18.517857 | 100 | 0.66731 | XzoRit |
b4e189bac3eb5d693bcc2f37afe57e38de527850 | 4,101 | cc | C++ | live/src/model/ModifyCasterVideoResourceRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | live/src/model/ModifyCasterVideoResourceRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | live/src/model/ModifyCasterVideoResourceRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 25.63125 | 90 | 0.775421 | sdk-team |
b4e18b74a35f4731fd81c613a72c45980faeff16 | 8,184 | cc | C++ | src/base/platform/condition-variable.cc | lihuibng/v8 | c455e582b0a5061db950f0010a58b73476cd83ed | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 1 | 2015-06-02T04:50:59.000Z | 2015-06-02T04:50:59.000Z | src/base/platform/condition-variable.cc | lihuibng/v8 | c455e582b0a5061db950f0010a58b73476cd83ed | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | src/base/platform/condition-variable.cc | lihuibng/v8 | c455e582b0a5061db950f0010a58b73476cd83ed | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 the V8 project 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 "src/base/platform/condition-variable.h"
#include <errno.h>
#include <time.h>
#include "src/base/platform/time.h"
namespace v8 {
namespace b... | 25.337461 | 75 | 0.677542 | lihuibng |
b4e19388b8879701f3ac685d4e1b177ab99ed4d6 | 2,334 | cpp | C++ | data/transcoder_evaluation_gfg/cpp/PROGRAM_PAGE_REPLACEMENT_ALGORITHMS_SET_2_FIFO.cpp | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 241 | 2021-07-20T08:35:20.000Z | 2022-03-31T02:39:08.000Z | data/transcoder_evaluation_gfg/cpp/PROGRAM_PAGE_REPLACEMENT_ALGORITHMS_SET_2_FIFO.cpp | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 49 | 2021-07-22T23:18:42.000Z | 2022-03-24T09:15:26.000Z | data/transcoder_evaluation_gfg/cpp/PROGRAM_PAGE_REPLACEMENT_ALGORITHMS_SET_2_FIFO.cpp | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 71 | 2021-07-21T05:17:52.000Z | 2022-03-29T23:49:28.000Z | // Copyright (c) 2019-present, Facebook, Inc.
// All rights reserved.
//
// This source code is licensed under the license found in the
// LICENSE file in the root directory of this source tree.
//
#include <iostream>
#include <cstdlib>
#include <string>
#include <vector>
#include <fstream>
#include <iomanip>
#include... | 38.262295 | 846 | 0.532562 | mxl1n |
b4e223452d6207add24ef4824e8b8ed3c12cb40b | 12,212 | hpp | C++ | src/ArraySlice.hpp | GEOSX/LvArray | 3ad0795f10023bd9a2fd8a41f0de0caa376845c0 | [
"BSD-3-Clause"
] | 16 | 2020-07-10T00:04:08.000Z | 2022-03-28T03:59:51.000Z | src/ArraySlice.hpp | GEOSX/LvArray | 3ad0795f10023bd9a2fd8a41f0de0caa376845c0 | [
"BSD-3-Clause"
] | 55 | 2020-06-30T06:26:49.000Z | 2022-03-29T18:21:47.000Z | src/ArraySlice.hpp | GEOSX/LvArray | 3ad0795f10023bd9a2fd8a41f0de0caa376845c0 | [
"BSD-3-Clause"
] | 5 | 2021-02-03T02:00:20.000Z | 2022-03-21T20:37:51.000Z | /*
* Copyright (c) 2021, Lawrence Livermore National Security, LLC and LvArray contributors.
* All rights reserved.
* See the LICENSE file for details.
* SPDX-License-Identifier: (BSD-3-Clause)
*/
/**
* @file ArraySlice.hpp
* @brief Contains the implementation of LvArray::ArraySlice
*/
#pragma once
#if !defi... | 32.221636 | 141 | 0.674746 | GEOSX |
b4e2b4390f6b6396c9073c43a39b3ced7f504869 | 774 | cc | C++ | test/main.cc | asia-lab-sustech/ScaleSim | 614869fe9ff2092e6c1f219cbcf44391118517d5 | [
"MIT"
] | 3 | 2019-06-26T15:11:26.000Z | 2022-03-29T14:38:47.000Z | test/main.cc | asia-lab-sustech/ScaleSim | 614869fe9ff2092e6c1f219cbcf44391118517d5 | [
"MIT"
] | null | null | null | test/main.cc | asia-lab-sustech/ScaleSim | 614869fe9ff2092e6c1f219cbcf44391118517d5 | [
"MIT"
] | 3 | 2019-05-02T12:21:25.000Z | 2022-02-16T07:45:07.000Z | /*
* main.cc
*
* Copyright (c) 2015 Masatoshi Hanai
*
* This software is released under MIT License.
* See LICENSE.
*
*/
#include "glog/logging.h"
#include "gflags/gflags.h"
#include "gtest/gtest.h"
#include "leveldb/db.h"
#include "leveldb/options.h"
/* test files */
#include "medium/com_test.cc"
#include ... | 22.114286 | 52 | 0.717054 | asia-lab-sustech |
b4e2c3c1f0e465bbac4c346e8af0db47360a1655 | 38,757 | cpp | C++ | SnM/SnM_Util.cpp | jtackaberry/sws | 5d31e552ad3bcec8e03b0344d1833ea4d2f5fbf6 | [
"MIT"
] | null | null | null | SnM/SnM_Util.cpp | jtackaberry/sws | 5d31e552ad3bcec8e03b0344d1833ea4d2f5fbf6 | [
"MIT"
] | 2 | 2019-11-24T03:47:18.000Z | 2020-12-05T19:50:54.000Z | SnM/SnM_Util.cpp | jtackaberry/sws | 5d31e552ad3bcec8e03b0344d1833ea4d2f5fbf6 | [
"MIT"
] | null | null | null | /******************************************************************************
/ SnM_Util.cpp
/
/ Copyright (c) 2012 and later Jeffos
/
/
/ Permission is hereby granted, free of charge, to any person obtaining a copy
/ of this software and associated documentation files (the "Software"), to deal
/ in the Software with... | 32.136816 | 174 | 0.664499 | jtackaberry |
b4e40cabd6477eadf3c882c6412e69063d004063 | 19,806 | cpp | C++ | src/mongo/s/catalog/dist_lock_catalog_impl.cpp | hobinyoon/mongo | f1b767ff814dbe26fc68f6fdc42716542f0909ee | [
"Apache-2.0"
] | null | null | null | src/mongo/s/catalog/dist_lock_catalog_impl.cpp | hobinyoon/mongo | f1b767ff814dbe26fc68f6fdc42716542f0909ee | [
"Apache-2.0"
] | null | null | null | src/mongo/s/catalog/dist_lock_catalog_impl.cpp | hobinyoon/mongo | f1b767ff814dbe26fc68f6fdc42716542f0909ee | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2015 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... | 39.771084 | 100 | 0.633242 | hobinyoon |
b4e46e911df7ab00f710bf1f391e4aecbd1445c7 | 15,361 | cpp | C++ | src/vidhrdw/atarisy2.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 33 | 2015-08-10T11:13:47.000Z | 2021-08-30T10:00:46.000Z | src/vidhrdw/atarisy2.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 13 | 2015-08-25T03:53:08.000Z | 2022-03-30T18:02:35.000Z | src/vidhrdw/atarisy2.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 40 | 2015-08-25T05:09:21.000Z | 2022-02-08T05:02:30.000Z | /***************************************************************************
Atari System 2 hardware
****************************************************************************/
#include "driver.h"
#include "machine/atarigen.h"
#include "vidhrdw/generic.h"
#define XCHARS 64
#define YCHARS 48
#define XDIM (XCHAR... | 25.601667 | 153 | 0.605429 | gameblabla |
b4e6a57cffeb9caa6d6bb1b159a47c73eb4e7afe | 535 | hpp | C++ | interp/InterpMakedata.hpp | cjang/chai | 7faba752cc4491d1b30590abef21edc4efffa0f6 | [
"Unlicense"
] | 11 | 2015-06-12T19:54:14.000Z | 2021-11-26T10:45:18.000Z | interp/InterpMakedata.hpp | cjang/chai | 7faba752cc4491d1b30590abef21edc4efffa0f6 | [
"Unlicense"
] | null | null | null | interp/InterpMakedata.hpp | cjang/chai | 7faba752cc4491d1b30590abef21edc4efffa0f6 | [
"Unlicense"
] | null | null | null | // Copyright 2011 Chris Jang (fastkor@gmail.com) under The Artistic License 2.0
#ifndef _CHAI_INTERP_MAKEDATA_HPP_
#define _CHAI_INTERP_MAKEDATA_HPP_
#include "BaseInterp.hpp"
namespace chai_internal {
////////////////////////////////////////
// make1_u32, make1_i64
// make1_f32, make1_f64
// make2_u32, make2_i64
/... | 19.107143 | 79 | 0.695327 | cjang |
b4e828316bce4e664e60b67238b40e2b5f52cac8 | 3,875 | cpp | C++ | fire/fireticker.cpp | highfestiva/life | b05b592502d72980ab55e13e84330b74a966f377 | [
"BSD-3-Clause"
] | 9 | 2019-09-03T18:33:31.000Z | 2022-02-04T04:00:02.000Z | fire/fireticker.cpp | highfestiva/life | b05b592502d72980ab55e13e84330b74a966f377 | [
"BSD-3-Clause"
] | null | null | null | fire/fireticker.cpp | highfestiva/life | b05b592502d72980ab55e13e84330b74a966f377 | [
"BSD-3-Clause"
] | null | null | null |
// Author: Jonas Byström
// Copyright (c) Pixel Doctrine
#include "pch.h"
#include "../lepra/include/lepratarget.h"
#include "fireticker.h"
#include "../lepra/include/systemmanager.h"
#include "../uicure/include/uigameuimanager.h"
#include "../uicure/include/uimusicplayer.h"
#include "../uicure/include/uiparticlelo... | 25.662252 | 168 | 0.735742 | highfestiva |
b4ea52037452f403da64d74bee2731307500e558 | 209 | cpp | C++ | Courses/C++ Without Fear (3rd Ed.) Brian Overland/Chap_1/square.cpp | mccrudd3n/practise | 26a65c0515c9bea7583bcb8f4c0022659b48dcf5 | [
"Unlicense"
] | null | null | null | Courses/C++ Without Fear (3rd Ed.) Brian Overland/Chap_1/square.cpp | mccrudd3n/practise | 26a65c0515c9bea7583bcb8f4c0022659b48dcf5 | [
"Unlicense"
] | null | null | null | Courses/C++ Without Fear (3rd Ed.) Brian Overland/Chap_1/square.cpp | mccrudd3n/practise | 26a65c0515c9bea7583bcb8f4c0022659b48dcf5 | [
"Unlicense"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
double x = 0.0;
cout << "Input number then press ENTER: " << endl;
cin >> x;
cout << "The square is: " << x * x << endl;
return 0;
} | 16.076923 | 54 | 0.54067 | mccrudd3n |
b4eb6ee745e9ab27d148be9ed8e88c4a4eaceeea | 1,909 | cpp | C++ | src/timers/TimerWin.cpp | borisblizzard/april | 924a4fd770508bc87ac67b49b022c9905f94db32 | [
"BSD-3-Clause"
] | null | null | null | src/timers/TimerWin.cpp | borisblizzard/april | 924a4fd770508bc87ac67b49b022c9905f94db32 | [
"BSD-3-Clause"
] | null | null | null | src/timers/TimerWin.cpp | borisblizzard/april | 924a4fd770508bc87ac67b49b022c9905f94db32 | [
"BSD-3-Clause"
] | null | null | null | /// @file
/// @version 5.2
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
#ifdef _WIN32
#define __HL_INCLUDE_PLATFORM_HEADERS
#include <hltypes/hlog.h>
#include <hltypes/hltyp... | 23.280488 | 163 | 0.679937 | borisblizzard |
b4ec5d0e31859f9c980ce412e43e797fce2f9b08 | 363 | cpp | C++ | CS203/Lab 7/D_baoli.cpp | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 22 | 2018-08-07T06:55:10.000Z | 2021-06-12T02:12:19.000Z | CS203/Lab 7/D_baoli.cpp | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 28 | 2020-03-04T23:47:22.000Z | 2022-02-26T18:50:00.000Z | CS203/Lab 7/D_baoli.cpp | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 4 | 2019-11-09T15:41:26.000Z | 2021-10-10T08:56:57.000Z | #include <cstdio>
#include <algorithm>
using namespace std;
const int N = 1e5 + 10;
int a[N];
int solve()
{
int n, m;
scanf("%d%d", &n, &m);
for (int i = 1; i <= n; ++i)
scanf("%d", a + i);
sort(a + 1, a + n + 1);
printf("%d\n", a[n - m + 1]);
}
int main()
{
int T; scanf("%d", &T);
w... | 17.285714 | 33 | 0.449036 | Wycers |
b4ed3adfd1126b7428ed5e56ddcae59232575366 | 22,991 | cpp | C++ | src/transaction.cpp | AlphaX-Projects/swippcore-2.1.7 | 4e1aee2154999ec896a3d3db9f117cd33b29a748 | [
"MIT"
] | 8 | 2017-12-31T13:41:49.000Z | 2022-01-23T07:31:25.000Z | src/transaction.cpp | AlphaX-Projects/swippcore-2.1.7 | 4e1aee2154999ec896a3d3db9f117cd33b29a748 | [
"MIT"
] | 16 | 2017-11-19T22:57:50.000Z | 2019-01-21T01:20:07.000Z | src/transaction.cpp | AlphaX-Projects/swippcore-2.1.7 | 4e1aee2154999ec896a3d3db9f117cd33b29a748 | [
"MIT"
] | 11 | 2018-01-07T13:55:23.000Z | 2020-06-17T18:44:31.000Z | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2017-2018 The Swipp developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "checkpoints.h"
#include ... | 36.149371 | 129 | 0.594667 | AlphaX-Projects |
b4ed3fe52706d6534d0c446b78ba020dbf81fd34 | 260 | cpp | C++ | Labs/4/test 1/hello.cpp | HudaFiqri/belajarCPP | cf4d50115d18ecc16244ca7da98febbd8591a0e2 | [
"Apache-2.0"
] | null | null | null | Labs/4/test 1/hello.cpp | HudaFiqri/belajarCPP | cf4d50115d18ecc16244ca7da98febbd8591a0e2 | [
"Apache-2.0"
] | null | null | null | Labs/4/test 1/hello.cpp | HudaFiqri/belajarCPP | cf4d50115d18ecc16244ca7da98febbd8591a0e2 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
class Main_Class_1{
void func1( string str1, string str2){
string str3 = str1 + str2;
cout << str3;
}
};
int main(){
Main_Class_1 class_Obj;
class_Obj.func1("hello ", "world");
}
| 12.380952 | 42 | 0.6 | HudaFiqri |
b4ee1ed3603edd10866b5a120dad8fda43931f1b | 2,810 | cpp | C++ | Actions/CopyFile.cpp | clockworkengineer/difference_engine | 4b0278f61aaba5cfdd11df2e54bd9493cd205922 | [
"MIT"
] | 1 | 2022-01-29T08:18:52.000Z | 2022-01-29T08:18:52.000Z | Actions/CopyFile.cpp | clockworkengineer/DifferenceEngine | 4b0278f61aaba5cfdd11df2e54bd9493cd205922 | [
"MIT"
] | null | null | null | Actions/CopyFile.cpp | clockworkengineer/DifferenceEngine | 4b0278f61aaba5cfdd11df2e54bd9493cd205922 | [
"MIT"
] | null | null | null | //
// Module: CopyFile
//
// Description: Copy passed file to destination directory keeping the
// sources directory structure.
//
// Dependencies:
//
// C11++ : Use of C11++ features.
// Antik Classes : CFile, CPath.
// Linux : Target platform
//
// =============
// INCLUDE FILES
// ... | 24.649123 | 130 | 0.504982 | clockworkengineer |