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 float64 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 float64 1 77k ⌀ | 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 float64 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 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
105fe483961cb78caa1f8d264789e68c31b7447f | 6,327 | cpp | C++ | src/VAC/VectorAnimationComplex/ProperCycle.cpp | CELLINKAB/VPaint | 7f415b54bdaeff8b0bbd11f101d4aa34135a4404 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/VAC/VectorAnimationComplex/ProperCycle.cpp | CELLINKAB/VPaint | 7f415b54bdaeff8b0bbd11f101d4aa34135a4404 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2022-01-16T22:33:35.000Z | 2022-03-25T07:27:52.000Z | src/VAC/VectorAnimationComplex/ProperCycle.cpp | CELLINKAB/VPaint | 7f415b54bdaeff8b0bbd11f101d4aa34135a4404 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // Copyright (C) 2012-2019 The VPaint Developers.
// See the COPYRIGHT file at the top-level directory of this distribution
// and at https://github.com/dalboris/vpaint/blob/master/COPYRIGHT
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the ... | 28.245536 | 117 | 0.549708 |
106028bea8c96f4985efaf4ab67d71352f11a2f7 | 1,473 | cpp | C++ | SDK/ARKSurvivalEvolved_PlayerPawnTest_Male_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_PlayerPawnTest_Male_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_PlayerPawnTest_Male_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PlayerPawnTest_Male_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------------... | 25.842105 | 140 | 0.700611 |
10602be24a2497a4266315d313a235479c764566 | 5,441 | cpp | C++ | l-ten/optimizer.cpp | adeobootpin/light-tensor | dfc2d19495848e773b7367427cf848e4ac30b29d | [
"MIT"
] | null | null | null | l-ten/optimizer.cpp | adeobootpin/light-tensor | dfc2d19495848e773b7367427cf848e4ac30b29d | [
"MIT"
] | null | null | null | l-ten/optimizer.cpp | adeobootpin/light-tensor | dfc2d19495848e773b7367427cf848e4ac30b29d | [
"MIT"
] | null | null | null | #include <cmath>
#include <string.h>
#include "tensor.h"
#include "layers.h"
#include "net.h"
#include "optimizer.h"
#include "error.h"
namespace lten {
void SGDOptimizer::setup_optimizer()
{
int i;
uint64_t numels;
for (i = 0; i < num_params_; i++)
{
numels = network_params_ptr_[i].param_->get_numels();... | 28.78836 | 187 | 0.679287 |
1060d8c918966a41ece1a66555cd052063418fbf | 46,376 | cpp | C++ | compiler/src/iree/compiler/Codegen/LLVMCPU/KernelDispatch.cpp | mariecwhite/iree | 6031ff4080f5755bcc52826a8d41ae7360106ffd | [
"Apache-2.0"
] | null | null | null | compiler/src/iree/compiler/Codegen/LLVMCPU/KernelDispatch.cpp | mariecwhite/iree | 6031ff4080f5755bcc52826a8d41ae7360106ffd | [
"Apache-2.0"
] | null | null | null | compiler/src/iree/compiler/Codegen/LLVMCPU/KernelDispatch.cpp | mariecwhite/iree | 6031ff4080f5755bcc52826a8d41ae7360106ffd | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The IREE Authors
//
// Licensed 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
#include "iree/compiler/Codegen/LLVMCPU/KernelDispatch.h"
#include <numeric>
#include "iree-dia... | 41.518353 | 80 | 0.697149 |
106272359d63eaacfdb71a1a111401c3f2153631 | 5,015 | cpp | C++ | src/bwtransform.cpp | Mathtin/mazip | 5d06f7934c801dc7d9433511fa0eb84225792a0a | [
"MIT"
] | null | null | null | src/bwtransform.cpp | Mathtin/mazip | 5d06f7934c801dc7d9433511fa0eb84225792a0a | [
"MIT"
] | null | null | null | src/bwtransform.cpp | Mathtin/mazip | 5d06f7934c801dc7d9433511fa0eb84225792a0a | [
"MIT"
] | null | null | null | #include "bwtransform.h"
/*
* Author: Daniil [Mathtin] Shigapov
* Copyright (c) 2017 Mathtin <wdaniil@mail.ru>
* This file is released under the MIT license.
*/
size_t sa[L_PAGE];
size_t tmp[L_PAGE];
size_t tmp2[L_PAGE];
size_t count[L_PAGE];
size_t *cl, *workTmp;
#define REP(i, n) for (size_t i = 0; i < n; ++... | 23.434579 | 80 | 0.485543 |
1062ce617d1f9a3bdc8442fd27d859de02c7627b | 5,990 | cpp | C++ | src/array_list.cpp | Algorithms-and-Data-Structures-2021/h02_data_structures-DRIbaev004 | 8f61838429414fec507b26db48d2546d31066e94 | [
"MIT"
] | null | null | null | src/array_list.cpp | Algorithms-and-Data-Structures-2021/h02_data_structures-DRIbaev004 | 8f61838429414fec507b26db48d2546d31066e94 | [
"MIT"
] | null | null | null | src/array_list.cpp | Algorithms-and-Data-Structures-2021/h02_data_structures-DRIbaev004 | 8f61838429414fec507b26db48d2546d31066e94 | [
"MIT"
] | null | null | null | #include "array_list.hpp" // подключаем заголовочный файл с объявлениями
#include <algorithm> // copy, fill
#include <cassert> // assert
#include <stdexcept> // out_of_range, invalid_argument
#include "private/internal.hpp" // вспомогательные функции
namespace itis {
ArrayList::ArrayList(int capacity) : capa... | 31.197917 | 106 | 0.676294 |
106323492a98902789dfeb47937ab53fcc9a0397 | 74,686 | hpp | C++ | packages/kokkos/core/unit_test/TestViewSubview.hpp | mathstuf/seacas | 49b3466e3bba12ec6597e364ce0f0f149f9ca909 | [
"BSD-3-Clause",
"NetCDF",
"Zlib",
"MIT"
] | null | null | null | packages/kokkos/core/unit_test/TestViewSubview.hpp | mathstuf/seacas | 49b3466e3bba12ec6597e364ce0f0f149f9ca909 | [
"BSD-3-Clause",
"NetCDF",
"Zlib",
"MIT"
] | null | null | null | packages/kokkos/core/unit_test/TestViewSubview.hpp | mathstuf/seacas | 49b3466e3bba12ec6597e364ce0f0f149f9ca909 | [
"BSD-3-Clause",
"NetCDF",
"Zlib",
"MIT"
] | null | null | null | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this softw... | 57.494996 | 206 | 0.619808 |
10657de129cf0bec27e58132bad7f2a326edd139 | 17,327 | cpp | C++ | third/3rd_qwt/qwt_plot_spectrogram.cpp | alexwang815/QWidgetDemo | 293a8d9c40d686397829c5d415fc531b6956883e | [
"MulanPSL-1.0"
] | 3,095 | 2019-10-11T03:00:33.000Z | 2022-03-31T08:15:13.000Z | third/3rd_qwt/qwt_plot_spectrogram.cpp | alexwang815/QWidgetDemo | 293a8d9c40d686397829c5d415fc531b6956883e | [
"MulanPSL-1.0"
] | 28 | 2019-11-12T07:24:06.000Z | 2022-02-28T02:04:48.000Z | third/3rd_qwt/qwt_plot_spectrogram.cpp | alexwang815/QWidgetDemo | 293a8d9c40d686397829c5d415fc531b6956883e | [
"MulanPSL-1.0"
] | 1,023 | 2019-10-09T12:54:07.000Z | 2022-03-30T04:02:07.000Z | /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
* Qwt Widget Library
* Copyright (C) 1997 Josef Wilgen
* Copyright (C) 2002 Uwe Rathmann
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Qwt License, Version 1.0
**************... | 25.593796 | 80 | 0.638656 |
1065eeaf318f78ed4feed93033341be6eec19c41 | 1,077 | hpp | C++ | libs/core/include/fcppt/math/from_array.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/math/from_array.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/math/from_array.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_MATH_FROM_ARRAY_HPP_INCLUDED
#define FCPPT_MATH_FROM_ARRAY_HPP_INCLUDED
#include <f... | 13.987013 | 68 | 0.702878 |
10677ee5952433bf423e50d1f02b932be93f7c50 | 2,067 | cpp | C++ | logdevice/common/configuration/nodes/ServiceDiscoveryConfig.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | 1 | 2021-05-19T23:01:58.000Z | 2021-05-19T23:01:58.000Z | logdevice/common/configuration/nodes/ServiceDiscoveryConfig.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | null | null | null | logdevice/common/configuration/nodes/ServiceDiscoveryConfig.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ServiceDiscoveryConfig.h"
#include <folly/Range.h>
#include "logdevice/common/debug.h"
#include... | 27.56 | 78 | 0.652637 |
1069154212618384b2b5d27c09594afb0fdf6f97 | 32,407 | cpp | C++ | filament/src/Engine.cpp | tombsar/filament | 20dadf06f1399fc03aaa7c8796daaf237f96416d | [
"Apache-2.0"
] | 1 | 2021-06-12T21:17:58.000Z | 2021-06-12T21:17:58.000Z | filament/src/Engine.cpp | tombsar/filament | 20dadf06f1399fc03aaa7c8796daaf237f96416d | [
"Apache-2.0"
] | null | null | null | filament/src/Engine.cpp | tombsar/filament | 20dadf06f1399fc03aaa7c8796daaf237f96416d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 31.160577 | 100 | 0.654612 |
106d74f8240eaa35c87f3ee5222180f298987580 | 5,684 | cc | C++ | chrome/browser/android/metrics/launch_metrics.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/android/metrics/launch_metrics.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/android/metrics/launch_metrics.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 2015 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/android/jni_string.h"
#include "base/metrics/histogram_macros.h"
#include "base/time/time.h"
#include "chrome/browser/android/shortcut_... | 42.103704 | 80 | 0.725897 |
106df08aa4f507ae607ea7a170e973388c577b8a | 651 | cc | C++ | src/include/XESystem/Entityx/help/Timer.cc | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 11 | 2017-01-17T15:02:25.000Z | 2020-11-27T16:54:42.000Z | src/include/XESystem/Entityx/help/Timer.cc | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 9 | 2016-10-23T20:15:38.000Z | 2018-02-06T11:23:17.000Z | src/include/XESystem/Entityx/help/Timer.cc | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 2 | 2019-08-29T10:23:51.000Z | 2020-04-03T06:08:34.000Z | /*
* Copyright (C) 2013 Antony Woods <antony@teamwoods.org>
* All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution.
*
* Author: Antony Woods <antony@teamwoods.org>
*/
#include "Timer.h"
namespace entityx {
namespace ... | 19.727273 | 90 | 0.680492 |
106fcd2a33ec80a78031de9eb0249697b6a62f28 | 2,634 | cpp | C++ | src/test/coinstatsindex_tests.cpp | manie42/MergeCoin | f4c68e19d3b01eeacfd9d32450252c81eddc6481 | [
"MIT"
] | 2 | 2021-07-06T11:58:02.000Z | 2022-01-27T08:07:36.000Z | src/test/coinstatsindex_tests.cpp | manie42/MergeCoin | f4c68e19d3b01eeacfd9d32450252c81eddc6481 | [
"MIT"
] | null | null | null | src/test/coinstatsindex_tests.cpp | manie42/MergeCoin | f4c68e19d3b01eeacfd9d32450252c81eddc6481 | [
"MIT"
] | 1 | 2021-06-11T17:17:28.000Z | 2021-06-11T17:17:28.000Z | // Copyright (c) 2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <index/coinstatsindex.h>
#include <test/util/setup_common.h>
#include <util/time.h>
#include <validation.h>
#include <bo... | 32.925 | 100 | 0.736143 |
106ffdd4c86ffa7dbfe8caeeb09fa5fa4ef75185 | 3,644 | hpp | C++ | Math/include/Extended/AABB3.hpp | C-And-Cpp-Libraries/handycpp | 85f4e4f93856988e729e1e81512eab99a02b5a5a | [
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 25 | 2017-12-28T22:09:11.000Z | 2020-04-02T15:49:51.000Z | Math/include/Extended/AABB3.hpp | C-And-Cpp-Libraries/handycpp | 85f4e4f93856988e729e1e81512eab99a02b5a5a | [
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 1 | 2019-07-30T08:59:00.000Z | 2019-07-30T21:35:50.000Z | Math/include/Extended/AABB3.hpp | C-And-Cpp-Libraries/handycpp | 85f4e4f93856988e729e1e81512eab99a02b5a5a | [
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 1 | 2021-12-26T14:14:09.000Z | 2021-12-26T14:14:09.000Z |
/// See ../../License.txt for license info.
#pragma once
#include <cmath>
#include <vector>
#include "../Core/Vector3.hpp"
namespace HANDYMATH_NS
{
struct AABB3
{
Vector3 Min;
Vector3 Max;
AABB3();
AABB3(Vector3 const & point);
AABB3(std::vector<Vector3> const & points);
AABB3(Vector3 const & min, Vector3 ... | 25.843972 | 130 | 0.642975 |
1070bbf3129de3ef4d95b717b3dfc2a17c271a58 | 923 | cpp | C++ | 4_findMedianSortedArrays.cpp | gangbeigg/leetcode | cc892f22e9a40f3144f85cee1ce64f35ff982c31 | [
"MIT"
] | null | null | null | 4_findMedianSortedArrays.cpp | gangbeigg/leetcode | cc892f22e9a40f3144f85cee1ce64f35ff982c31 | [
"MIT"
] | null | null | null | 4_findMedianSortedArrays.cpp | gangbeigg/leetcode | cc892f22e9a40f3144f85cee1ce64f35ff982c31 | [
"MIT"
] | null | null | null | class Solution {
public:
double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) {
int i = nums1.size() + nums2.size();
int a = 0, b = 0;
int res1 = 0, res2 = 0;
while (a < nums1.size() && b < nums2.size() && (a + b) <= i/2) {
if (nums1[a] < nums2[b]) {
... | 27.969697 | 75 | 0.355363 |
10719b53b8cce6cf10b9b0a139d37b6637b560a4 | 6,660 | cpp | C++ | examples/Cpp/RealSense.cpp | fangchuan/Open3D | 61f991ba5d9fe3ee1e4e195a607bf48f4695d821 | [
"MIT"
] | null | null | null | examples/Cpp/RealSense.cpp | fangchuan/Open3D | 61f991ba5d9fe3ee1e4e195a607bf48f4695d821 | [
"MIT"
] | null | null | null | examples/Cpp/RealSense.cpp | fangchuan/Open3D | 61f991ba5d9fe3ee1e4e195a607bf48f4695d821 | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... | 41.886792 | 80 | 0.572823 |
10727506f5e0bdde87cb655c781abe724f11ae6c | 2,090 | cpp | C++ | clib/RecursiveMutex.cpp | dehilsterlexis/eclide-1 | 0c1685cc7165191b5033d450c59aec479f01010a | [
"Apache-2.0"
] | 8 | 2016-08-29T13:34:18.000Z | 2020-12-04T15:20:36.000Z | clib/RecursiveMutex.cpp | dehilsterlexis/eclide-1 | 0c1685cc7165191b5033d450c59aec479f01010a | [
"Apache-2.0"
] | 221 | 2016-06-20T19:51:48.000Z | 2022-03-29T20:46:46.000Z | clib/RecursiveMutex.cpp | dehilsterlexis/eclide-1 | 0c1685cc7165191b5033d450c59aec479f01010a | [
"Apache-2.0"
] | 13 | 2016-06-24T15:59:31.000Z | 2022-01-01T11:48:20.000Z | #include "StdAfx.h"
#include ".\recursivemutex.h"
#include "atlsync.h"
namespace clib
{
recursive_mutex::recursive_mutex() : m_lockCount(0)
{
}
recursive_mutex::~recursive_mutex()
{
}
LONG recursive_mutex::GetLockCount()
{
return m_lockCount;
}
void recursive_mutex::do_lock()
{
::InterlockedIncrement(&m_lo... | 17.131148 | 74 | 0.669378 |
107329f5ce381018f781bb18961bc0a19004c420 | 7,386 | cpp | C++ | src/ObservableVectorUnitTest.cpp | k2snowman69/threadily-sample-cpp-test | 2edf49d11032ff8efa2dc77ea67cf7092c60b0b8 | [
"MIT"
] | null | null | null | src/ObservableVectorUnitTest.cpp | k2snowman69/threadily-sample-cpp-test | 2edf49d11032ff8efa2dc77ea67cf7092c60b0b8 | [
"MIT"
] | null | null | null | src/ObservableVectorUnitTest.cpp | k2snowman69/threadily-sample-cpp-test | 2edf49d11032ff8efa2dc77ea67cf7092c60b0b8 | [
"MIT"
] | null | null | null | // Main test framework
#include <bandit/bandit.h>
// std includes
#include <iostream>
#include <memory>
// Threadily includes
#include <ReadyEvent.h>
#include <Observable.h>
#include <ThreadManager.h>
#include <ThreadQueueItem.h>
#include <ThreadIds.h>
using namespace snowhouse;
using namespace bandit;
namespace thre... | 34.514019 | 149 | 0.69537 |
1076475f1860606c70a4de5c9685e6ccf0440147 | 46,677 | cpp | C++ | ocv/text/ocr_hmm_decoder.cpp | privet56/qRabbifier | 4289016f9ba40658ad444580818292456574ffb5 | [
"Apache-2.0"
] | 16 | 2016-07-04T10:32:22.000Z | 2021-11-10T11:26:45.000Z | ocv/text/ocr_hmm_decoder.cpp | privet56/qRabbifier | 4289016f9ba40658ad444580818292456574ffb5 | [
"Apache-2.0"
] | null | null | null | ocv/text/ocr_hmm_decoder.cpp | privet56/qRabbifier | 4289016f9ba40658ad444580818292456574ffb5 | [
"Apache-2.0"
] | 22 | 2015-10-23T19:36:18.000Z | 2021-02-02T12:20:32.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 36.869668 | 182 | 0.546715 |
1076b2333ef3bf8cc319dbab583179a11e05836c | 4,376 | cpp | C++ | test/mafCoreTest/mafObjectFactoryTest.cpp | tartarini/MAF3 | f9614d36591754544b23e3a670980799254dfd2c | [
"Apache-2.0"
] | 1 | 2021-05-10T19:01:48.000Z | 2021-05-10T19:01:48.000Z | test/mafCoreTest/mafObjectFactoryTest.cpp | examyes/MAF3 | f9614d36591754544b23e3a670980799254dfd2c | [
"Apache-2.0"
] | null | null | null | test/mafCoreTest/mafObjectFactoryTest.cpp | examyes/MAF3 | f9614d36591754544b23e3a670980799254dfd2c | [
"Apache-2.0"
] | 1 | 2018-02-06T03:51:57.000Z | 2018-02-06T03:51:57.000Z | /*
* mafObjectFactoryTest.cpp
* mafCoreTest
*
* Created by Paolo Quadrani on 22/09/09.
* Copyright 2009 SCS-B3C. All rights reserved.
*
* See Licence at: http://tiny.cc/QXJ4D
*
*/
#include <mafTestSuite.h>
#include <mafObjectBase.h>
#include <mafObject.h>
#include <mafSmartPointer.h>
using namespace maf... | 28.415584 | 130 | 0.714808 |
10774cef6d1870a500580c378f09a70b58456ebe | 5,943 | cc | C++ | tensorflow/compiler/tf2xla/side_effect_util.cc | yage99/tensorflow | c7fa71b32a3635eb25596ae80d007b41007769c4 | [
"Apache-2.0"
] | 78 | 2020-08-04T12:36:25.000Z | 2022-03-25T04:23:40.000Z | tensorflow/compiler/tf2xla/side_effect_util.cc | sseung0703/tensorflow | be084bd7a4dd241eb781fc704f57bcacc5c9b6dd | [
"Apache-2.0"
] | 203 | 2019-06-14T23:53:10.000Z | 2022-02-10T02:27:23.000Z | tensorflow/compiler/tf2xla/side_effect_util.cc | sseung0703/tensorflow | be084bd7a4dd241eb781fc704f57bcacc5c9b6dd | [
"Apache-2.0"
] | 66 | 2020-05-15T10:05:12.000Z | 2022-02-14T07:28:18.000Z | /* Copyright 2018 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... | 37.377358 | 80 | 0.639071 |
10780f16b1b92e9d72ac1ac15e2bda4b0a7ddae8 | 1,645 | cpp | C++ | proxygen/lib/http/codec/compress/test/HPACKHeaderTests.cpp | rhzx3519/proxygen | ad1f5dc3c90d6215e322360d77bbd920f846d27b | [
"BSD-3-Clause"
] | 8 | 2015-09-05T14:24:38.000Z | 2019-09-02T05:48:28.000Z | proxygen/lib/http/codec/compress/test/HPACKHeaderTests.cpp | Yeolar/coral-proxygen | 345b69711852698326634c295266c1823a9c668b | [
"BSD-3-Clause"
] | null | null | null | proxygen/lib/http/codec/compress/test/HPACKHeaderTests.cpp | Yeolar/coral-proxygen | 345b69711852698326634c295266c1823a9c668b | [
"BSD-3-Clause"
] | 1 | 2021-09-19T12:13:52.000Z | 2021-09-19T12:13:52.000Z | /*
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#include <gl... | 25.307692 | 79 | 0.674772 |
1079356793ededa288a040e9c60eda37a3c91ca1 | 6,989 | cpp | C++ | src/Master/Interface/GridCtrlSource/GridCell.cpp | averkhaturau/Tarificator | 90a976d16ecab8c6a1cd75f4cb6a860dc4c76ce5 | [
"MIT"
] | null | null | null | src/Master/Interface/GridCtrlSource/GridCell.cpp | averkhaturau/Tarificator | 90a976d16ecab8c6a1cd75f4cb6a860dc4c76ce5 | [
"MIT"
] | null | null | null | src/Master/Interface/GridCtrlSource/GridCell.cpp | averkhaturau/Tarificator | 90a976d16ecab8c6a1cd75f4cb6a860dc4c76ce5 | [
"MIT"
] | null | null | null | // GridCell.cpp : implementation file
//
// MFC Grid Control - Main grid cell class
//
// Provides the implementation for the "default" cell type of the
// grid control. Adds in cell editing.
//
// Written by Chris Maunder <cmaunder@mail.com>
// Copyright (c) 1998-2001. All Rights Reserved.
//
// This code ma... | 25.050179 | 95 | 0.586922 |
1079bd8161b38341748a734f38734f58fe95344f | 472 | cpp | C++ | leetcode_archived_cpp/LeetCode_402.cpp | Sean10/Algorithm_code | 46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb | [
"BSD-3-Clause"
] | null | null | null | leetcode_archived_cpp/LeetCode_402.cpp | Sean10/Algorithm_code | 46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb | [
"BSD-3-Clause"
] | 7 | 2021-03-19T04:41:21.000Z | 2021-10-19T15:46:36.000Z | leetcode_archived_cpp/LeetCode_402.cpp | Sean10/Algorithm_code | 46ff1cb5b81400cbcc324dabdf4298bf7a55e5eb | [
"BSD-3-Clause"
] | null | null | null | class Solution {
public:
string removeKdigits(string num, int k) {
string ans = "";
for (char i: num)
{
while (ans.length() && ans.back() > i && k)
{
ans.pop_back();
k--;
}
if (ans.length() || i != '0')
... | 19.666667 | 55 | 0.372881 |
107a40d24c606582780a0f24666762bf478b59ff | 8,094 | cpp | C++ | src/MySimple3D.cpp | Qt-Widgets/EasyQPainter | 328d4fc22dc96f8219cb7153f140327c66417b5a | [
"MIT"
] | 4 | 2021-01-10T06:31:11.000Z | 2021-09-07T23:16:19.000Z | src/MySimple3D.cpp | Qt-Widgets/EasyQPainter | 328d4fc22dc96f8219cb7153f140327c66417b5a | [
"MIT"
] | null | null | null | src/MySimple3D.cpp | Qt-Widgets/EasyQPainter | 328d4fc22dc96f8219cb7153f140327c66417b5a | [
"MIT"
] | 2 | 2020-12-16T03:20:38.000Z | 2021-02-24T05:26:03.000Z | #include "MySimple3D.h"
#include <QPaintEvent>
#include <QResizeEvent>
#include <QPainter>
#include <QPainterPath>
#include <QtMath>
#include <algorithm>
#include <QTimer>
#include <QtConcurrent>
#include <QDebug>
MySimple3D::MySimple3D(QWidget *parent)
: QWidget(parent)
{
initItems();
//异步处理结束,获取结果并刷新窗... | 35.5 | 119 | 0.578453 |
107b6ea10ec0c7ffabde63763b40b16f15bb4380 | 12,809 | hpp | C++ | include/GlobalNamespace/TutorialPause.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/TutorialPause.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/TutorialPause.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: IGamePause
#include "Global... | 50.231373 | 190 | 0.727145 |
107ba00900206a88c11f64b4bcb2d22ec3d73aa0 | 7,117 | cpp | C++ | gen/blink/bindings/core/v8/V8TrackEvent.cpp | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | gen/blink/bindings/core/v8/V8TrackEvent.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | gen/blink/bindings/core/v8/V8TrackEvent.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | // 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.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8TrackEvent.h"
#include "bindings/c... | 42.363095 | 515 | 0.739216 |
107d7ec8a92c6a27de175150a6be5eda68ed18cc | 797 | cpp | C++ | nowcoder/9799B.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | nowcoder/9799B.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | nowcoder/9799B.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int main()
{
int n; cin >> n;
vector<vector<int> > arr(n, vector<int>());
for(int i = 0; i < n; i++)
{
int nums = 0; cin >> nums;
for(int j = 0; j < nums; j++)
{
int v; cin >> v; arr[i].push... | 22.771429 | 68 | 0.410289 |
107f6df51b35e8832aebde8a1aa3c9fb6ee01894 | 2,885 | cpp | C++ | src/palette.cpp | Michael-Liao/clrprint | 0ab0e51966007cf1a3948bab532001668e22213c | [
"MIT"
] | null | null | null | src/palette.cpp | Michael-Liao/clrprint | 0ab0e51966007cf1a3948bab532001668e22213c | [
"MIT"
] | null | null | null | src/palette.cpp | Michael-Liao/clrprint | 0ab0e51966007cf1a3948bab532001668e22213c | [
"MIT"
] | null | null | null | #include "palette.h"
Palette::Palette() {
int pat1[16] = {0,128,128,128,128,128,128,192,128,255,255,255,255,255,255,255};
int pat2[6] = {0,95,135,175,215,255};
short t=0, j=0, k=0;
int gray = 8;
// vector version
rgb_table.resize(256, std::vector<int>(3,0)); // 256x3 w/ value 0
int rgb[] = {0,0,0};
fo... | 30.691489 | 82 | 0.529636 |
107fa58a6b11c81278fd518782e586f36ea81e45 | 52,694 | cpp | C++ | XMPCore/source/XMPUtils-FileInfo.cpp | freedesktop-unofficial-mirror/exempi | 2f6450de4e8e02003b8fb27ace5cf802571b761e | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | XMPCore/source/XMPUtils-FileInfo.cpp | freedesktop-unofficial-mirror/exempi | 2f6450de4e8e02003b8fb27ace5cf802571b761e | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | XMPCore/source/XMPUtils-FileInfo.cpp | freedesktop-unofficial-mirror/exempi | 2f6450de4e8e02003b8fb27ace5cf802571b761e | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | // =================================================================================================
// Copyright 2003 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying i... | 35.270415 | 150 | 0.626978 |
108070f6094b0b08212bb82111a07086e41f5b00 | 16,332 | cc | C++ | src/algorithms/RSAPI.cc | litlpoet/beliefbox | 6b303e49017f8054f43c6c840686fcc632205e4e | [
"OLDAP-2.3"
] | null | null | null | src/algorithms/RSAPI.cc | litlpoet/beliefbox | 6b303e49017f8054f43c6c840686fcc632205e4e | [
"OLDAP-2.3"
] | null | null | null | src/algorithms/RSAPI.cc | litlpoet/beliefbox | 6b303e49017f8054f43c6c840686fcc632205e4e | [
"OLDAP-2.3"
] | null | null | null | /* -*- Mode: C++; -*- */
// copyright (c) 2010 by Christos Dimitrakakis <christos.dimitrakakis@gmail.com>
/***************************************************************************
* *
* This program is free software; you can redistribute it ... | 31.712621 | 80 | 0.604274 |
10808f845b91b608644aec96cdbbfe9f9e0ebbc0 | 2,929 | cpp | C++ | implementations/bowtie2/presets.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/bowtie2/presets.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/bowtie2/presets.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | /*
* Copyright 2011, Ben Langmead <langmea@cs.jhu.edu>
*
* This file is part of Bowtie 2.
*
* Bowtie 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... | 30.510417 | 72 | 0.567771 |
10838fc9048120c9519b496bbca4dc7ae3f0560d | 102,010 | cpp | C++ | external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmCrossStageInterfaceTests.cpp | jingpad-bsp/android_external_deqp | 50f948294cb12f5384633efc9327c571feb0fa21 | [
"Apache-2.0"
] | 1 | 2021-02-25T09:06:00.000Z | 2021-02-25T09:06:00.000Z | external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmCrossStageInterfaceTests.cpp | jingpad-bsp/android_external_deqp | 50f948294cb12f5384633efc9327c571feb0fa21 | [
"Apache-2.0"
] | null | null | null | external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmCrossStageInterfaceTests.cpp | jingpad-bsp/android_external_deqp | 50f948294cb12f5384633efc9327c571feb0fa21 | [
"Apache-2.0"
] | null | null | null | /*-------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | 36.933382 | 342 | 0.659867 |
10845e1302b9122a421d8ccdce499eab41c65933 | 18,919 | cpp | C++ | sources/modules/contrib/src/fuzzymeanshifttracker.cpp | ovb197310/opencv_2.4.13.2 | 940159dab8ea8f5ee019d2038b59e1daf4119d1c | [
"BSD-3-Clause"
] | null | null | null | sources/modules/contrib/src/fuzzymeanshifttracker.cpp | ovb197310/opencv_2.4.13.2 | 940159dab8ea8f5ee019d2038b59e1daf4119d1c | [
"BSD-3-Clause"
] | null | null | null | sources/modules/contrib/src/fuzzymeanshifttracker.cpp | ovb197310/opencv_2.4.13.2 | 940159dab8ea8f5ee019d2038b59e1daf4119d1c | [
"BSD-3-Clause"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, i... | 26.239945 | 175 | 0.543052 |
1084b2d9e3d1eb38da6196c82593f51170b5a413 | 1,608 | cpp | C++ | src/poc/ncpp_build_exceptions.cpp | grendello/notcurses | a2cc5f096adb3991f264d96657b45a050fa8df2a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/poc/ncpp_build_exceptions.cpp | grendello/notcurses | a2cc5f096adb3991f264d96657b45a050fa8df2a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/poc/ncpp_build_exceptions.cpp | grendello/notcurses | a2cc5f096adb3991f264d96657b45a050fa8df2a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #define NCPP_EXCEPTIONS_PLEASE
//
// This is a **build** test - it does nothing else except ensure that all the C++ wrapper classes are included and that
// the program builds.
//
// Once there are demos which exercise all the C++ classes this "test" can be removed
//
#include <cstdlib>
#include <clocale>
#include <ios... | 22.971429 | 119 | 0.648632 |
10877d675c15c3c8cfefafef2d33944208f23b0d | 11,047 | cpp | C++ | be/test/olap/rowset/rowset_converter_test.cpp | lingbin/incubator-doris | f4b028915ba071fb110e681fa337d59d3571f1b4 | [
"Apache-2.0"
] | 1 | 2021-09-10T17:45:12.000Z | 2021-09-10T17:45:12.000Z | be/test/olap/rowset/rowset_converter_test.cpp | lingbin/incubator-doris | f4b028915ba071fb110e681fa337d59d3571f1b4 | [
"Apache-2.0"
] | null | null | null | be/test/olap/rowset/rowset_converter_test.cpp | lingbin/incubator-doris | f4b028915ba071fb110e681fa337d59d3571f1b4 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 39.173759 | 114 | 0.7383 |
10881826d9401c0b6c63184528df5f059833ca13 | 5,429 | hxx | C++ | Modules/Filtering/AnisotropicSmoothing/include/itkCurvatureNDAnisotropicDiffusionFunction.hxx | HongdaZ/ITK | f5d004fa3607b8e11edc30f1ba299df35af8aff8 | [
"Apache-2.0"
] | 1 | 2021-01-10T14:19:08.000Z | 2021-01-10T14:19:08.000Z | Modules/Filtering/AnisotropicSmoothing/include/itkCurvatureNDAnisotropicDiffusionFunction.hxx | HongdaZ/ITK | f5d004fa3607b8e11edc30f1ba299df35af8aff8 | [
"Apache-2.0"
] | 1 | 2017-03-19T12:56:50.000Z | 2018-10-24T10:40:21.000Z | Modules/Filtering/AnisotropicSmoothing/include/itkCurvatureNDAnisotropicDiffusionFunction.hxx | HongdaZ/ITK | f5d004fa3607b8e11edc30f1ba299df35af8aff8 | [
"Apache-2.0"
] | 1 | 2020-07-24T22:58:19.000Z | 2020-07-24T22:58:19.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 32.90303 | 111 | 0.620556 |
1088318220664097cf7016c1710c3dd20f6a2ace | 3,346 | hpp | C++ | include/bit/stl/utilities/monostate.hpp | bitwizeshift/bit-stl | cec555fbda2ea1b6e126fa719637dde8d3f2ddd3 | [
"MIT"
] | 6 | 2017-03-29T07:20:30.000Z | 2021-12-28T20:17:33.000Z | include/bit/stl/utilities/monostate.hpp | bitwizeshift/bit-stl | cec555fbda2ea1b6e126fa719637dde8d3f2ddd3 | [
"MIT"
] | 6 | 2017-10-11T02:26:07.000Z | 2018-04-16T03:09:48.000Z | include/bit/stl/utilities/monostate.hpp | bitwizeshift/bit-stl | cec555fbda2ea1b6e126fa719637dde8d3f2ddd3 | [
"MIT"
] | 1 | 2018-08-27T15:03:47.000Z | 2018-08-27T15:03:47.000Z | /*****************************************************************************
* \file
* \brief This header defines the type 'monotype'
*****************************************************************************/
/*
The MIT License (MIT)
Bit Standard Template Library.
https://github.com/bitwizeshift/bit-st... | 38.906977 | 79 | 0.558279 |
c80604d80e3dcda59957c5edb6dc48ca03cc44c1 | 18,607 | cpp | C++ | server/api/src/rsQuerySpecColl.cpp | JustinKyleJames/irods | 59e9db75200e95796ec51ec20eb3b185d9e4b5f5 | [
"BSD-3-Clause"
] | 333 | 2015-01-15T15:42:29.000Z | 2022-03-19T19:16:15.000Z | server/api/src/rsQuerySpecColl.cpp | JustinKyleJames/irods | 59e9db75200e95796ec51ec20eb3b185d9e4b5f5 | [
"BSD-3-Clause"
] | 3,551 | 2015-01-02T19:55:40.000Z | 2022-03-31T21:24:56.000Z | server/api/src/rsQuerySpecColl.cpp | JustinKyleJames/irods | 59e9db75200e95796ec51ec20eb3b185d9e4b5f5 | [
"BSD-3-Clause"
] | 148 | 2015-01-31T16:13:46.000Z | 2022-03-23T20:23:43.000Z | /*** Copyright (c), The Unregents of the University of California ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/* rsQuerySpecColl.c
*/
#include "querySpecColl.h"
#include "rcMisc.h"
#include "fileOpendir.h"
#include "fileReaddir.h"
#include "fileClosedir.h"
#include "... | 35.714012 | 104 | 0.599291 |
c8066f8a93d79afc2b8617619e8c4a6373223281 | 609 | cpp | C++ | Sistem Bilangan Digital/05_Decimal_to_Hexa.cpp | wardimanxixv/CPP-Basic | 332adde53ebc73bef20080a7cf7f195820394c37 | [
"MIT"
] | null | null | null | Sistem Bilangan Digital/05_Decimal_to_Hexa.cpp | wardimanxixv/CPP-Basic | 332adde53ebc73bef20080a7cf7f195820394c37 | [
"MIT"
] | null | null | null | Sistem Bilangan Digital/05_Decimal_to_Hexa.cpp | wardimanxixv/CPP-Basic | 332adde53ebc73bef20080a7cf7f195820394c37 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
long int decimalNumber, remainder, quotient;
int i = 1, j, temp;
char hexadecimalNumber[100];
cout << "Masukkan Bilangan Decimal : "; cin >> decimalNumber;
quotient = decimalNumber;
while (quotient != 0)
{
temp = quotient % 16;
if (temp < 10)... | 19.03125 | 63 | 0.584565 |
c807bd8d0fbb1cc985db83edcbc2d5d1384e1cf9 | 5,697 | hpp | C++ | include/engine/Logger.hpp | Mathieu-Lala/NewDimension | 9200692e79dc1d983f51043f3c195eb1b865a74d | [
"0BSD"
] | 4 | 2019-11-19T23:53:26.000Z | 2019-12-10T11:19:28.000Z | include/engine/Logger.hpp | Mathieu-Lala/NewDimension | 9200692e79dc1d983f51043f3c195eb1b865a74d | [
"0BSD"
] | null | null | null | include/engine/Logger.hpp | Mathieu-Lala/NewDimension | 9200692e79dc1d983f51043f3c195eb1b865a74d | [
"0BSD"
] | null | null | null | /*
** EPITECH PROJECT, 2019
** NewDimension
** File description:
** Logger
*/
#ifndef LOGGER_HPP_
# define LOGGER_HPP_
# include <ostream>
# include <iostream>
# include <array>
# include <ctime>
# include <functional>
# include "config/config.hpp"
namespace nd {
namespace engine {
class Logger {
public:
Logger... | 35.385093 | 111 | 0.610848 |
c807e185b44fcba37d206a60d9a6e874368e4074 | 16,032 | cpp | C++ | common.cpp | SBcodework/Minesweeper-in-C- | e2ca6364f5afc6faa3ca723a926c64603d0f4ffc | [
"BSD-2-Clause"
] | null | null | null | common.cpp | SBcodework/Minesweeper-in-C- | e2ca6364f5afc6faa3ca723a926c64603d0f4ffc | [
"BSD-2-Clause"
] | 4 | 2019-06-28T18:08:49.000Z | 2019-07-04T03:41:32.000Z | common.cpp | SBcodework/Minesweeper-in-C- | e2ca6364f5afc6faa3ca723a926c64603d0f4ffc | [
"BSD-2-Clause"
] | null | null | null | /**
BSD 2-Clause License
Copyright (c) 2019, SBcodework
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list ... | 31.130097 | 162 | 0.515594 |
c808a321f8cdb343a50a97fd6a0744fea37e4fd2 | 37,360 | cpp | C++ | llvm/lib/MC/MCContext.cpp | lxbndr/llvm-project | 2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34 | [
"Apache-2.0"
] | null | null | null | llvm/lib/MC/MCContext.cpp | lxbndr/llvm-project | 2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34 | [
"Apache-2.0"
] | null | null | null | llvm/lib/MC/MCContext.cpp | lxbndr/llvm-project | 2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34 | [
"Apache-2.0"
] | null | null | null | //===- lib/MC/MCContext.cpp - Machine Code Context ------------------------===//
//
// 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
//
//===---------------------------... | 37.66129 | 82 | 0.641247 |
c808ab04bf668e3806d4b1e55823bf4a3b80a69c | 1,731 | cpp | C++ | ui/widget/ChangeFrontBackColorWidget.cpp | shinehanx/openphoto | e4466e5e80829385d2aa84813f2d5a8960053845 | [
"Apache-2.0"
] | 5 | 2021-03-11T00:30:25.000Z | 2021-07-28T00:31:20.000Z | ui/widget/ChangeFrontBackColorWidget.cpp | shinehanx/openphoto | e4466e5e80829385d2aa84813f2d5a8960053845 | [
"Apache-2.0"
] | null | null | null | ui/widget/ChangeFrontBackColorWidget.cpp | shinehanx/openphoto | e4466e5e80829385d2aa84813f2d5a8960053845 | [
"Apache-2.0"
] | 1 | 2021-09-14T16:28:26.000Z | 2021-09-14T16:28:26.000Z | #include "ChangeFrontBackColorWidget.h"
#include <QDebug>
#define CHANGEFRONTBACKCOLORWIDGET_MARGIN 3
#define CHANGEFRONTBACKCOLORWIDGET_BTN_W 12
#define CHANGEFRONTBACKCOLORWIDGET_BTN_H 12
ChangeFrontBackColorWidget::ChangeFrontBackColorWidget(QWidget *parent) : QWidget(parent)
{
setAutoFillBackground(true);
}
/... | 36.829787 | 92 | 0.732525 |
c8099b2256aebf8a3509591002e9b9250ca25ede | 42,691 | cc | C++ | src/monodroid/jni/embedded-assemblies.cc | eidech/xamarin-android | f3de57d4ee26f2aa68ebb415d828c5d0abde2ec7 | [
"MIT"
] | 1,959 | 2016-04-27T13:29:49.000Z | 2022-03-26T05:05:42.000Z | src/monodroid/jni/embedded-assemblies.cc | eidech/xamarin-android | f3de57d4ee26f2aa68ebb415d828c5d0abde2ec7 | [
"MIT"
] | 4,565 | 2016-04-28T15:24:09.000Z | 2022-03-31T20:49:46.000Z | src/monodroid/jni/embedded-assemblies.cc | eidech/xamarin-android | f3de57d4ee26f2aa68ebb415d828c5d0abde2ec7 | [
"MIT"
] | 639 | 2016-04-27T13:28:24.000Z | 2022-03-28T09:05:28.000Z | #include <host-config.h>
#if !defined (__MINGW32__) || (defined (__MINGW32__) && __GNUC__ >= 10)
#include <compare>
#endif
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <cctype>
#include <libgen.h>
#include <cerrno>
#include <unistd.h>
... | 34.345133 | 236 | 0.732941 |
c809e3589cfc1978c63cd92586504509d741b649 | 9,270 | cpp | C++ | rviz_default_plugins/test/rviz_default_plugins/displays/path/path_display_test.cpp | Tobias-Fischer/rviz-1 | 2d84e191873befa86c1b4060ddf7e25b39d095c1 | [
"BSD-3-Clause-Clear"
] | 108 | 2017-08-29T11:01:08.000Z | 2022-03-31T06:07:52.000Z | rviz_default_plugins/test/rviz_default_plugins/displays/path/path_display_test.cpp | Tobias-Fischer/rviz-1 | 2d84e191873befa86c1b4060ddf7e25b39d095c1 | [
"BSD-3-Clause-Clear"
] | 741 | 2017-08-29T06:30:27.000Z | 2022-03-29T14:46:07.000Z | rviz_default_plugins/test/rviz_default_plugins/displays/path/path_display_test.cpp | Tobias-Fischer/rviz-1 | 2d84e191873befa86c1b4060ddf7e25b39d095c1 | [
"BSD-3-Clause-Clear"
] | 141 | 2017-08-31T08:31:26.000Z | 2022-03-31T14:46:36.000Z | /*
* Copyright (c) 2018, Bosch Software Innovations GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the disclaimer
* below) provided that the following conditions are met:
*
* * Redistributions o... | 38.46473 | 98 | 0.763323 |
c80b8970465cd21883aa8b06d13425182124e32c | 233 | cpp | C++ | test/po/gtest.cpp | JieDing/WasmEdge | b2f17c807ba2b4b6294af9e15113cca04919906e | [
"Apache-2.0"
] | 2,084 | 2021-04-30T11:20:17.000Z | 2022-03-31T21:31:47.000Z | test/po/gtest.cpp | JieDing/WasmEdge | b2f17c807ba2b4b6294af9e15113cca04919906e | [
"Apache-2.0"
] | 990 | 2021-04-29T18:43:51.000Z | 2022-03-31T15:32:51.000Z | test/po/gtest.cpp | JieDing/WasmEdge | b2f17c807ba2b4b6294af9e15113cca04919906e | [
"Apache-2.0"
] | 343 | 2021-05-04T20:27:10.000Z | 2022-03-29T03:31:26.000Z | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2019-2022 Second State INC
#include "gtest/gtest.h"
GTEST_API_ int main(int argc, char **argv) {
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| 23.3 | 53 | 0.729614 |
c80c61f83383dd0e7ad4570bcc5265a725ed5d94 | 13,390 | cpp | C++ | SDK/BP_Mast_functions.cpp | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | 3 | 2021-03-27T08:30:37.000Z | 2021-04-18T19:32:53.000Z | SDK/BP_Mast_functions.cpp | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | null | null | null | SDK/BP_Mast_functions.cpp | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | 1 | 2021-06-01T03:05:50.000Z | 2021-06-01T03:05:50.000Z | // Name: SeaOfThieves, Version: 2.0.23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------... | 36.785714 | 274 | 0.776699 |
c80cf7b6a374680e884cff2ef4acdb1c77deae35 | 794 | hpp | C++ | test-suite/generated-src/cwrapper/dh__foo_some_other_record.hpp | trafi/trafi-djinni | 47cd2c849782e2ab4b38e5dc6a5a3104cc87f673 | [
"Apache-2.0"
] | 3 | 2019-11-07T03:38:03.000Z | 2020-03-28T10:24:40.000Z | test-suite/generated-src/cwrapper/dh__foo_some_other_record.hpp | trafi/trafi-djinni | 47cd2c849782e2ab4b38e5dc6a5a3104cc87f673 | [
"Apache-2.0"
] | null | null | null | test-suite/generated-src/cwrapper/dh__foo_some_other_record.hpp | trafi/trafi-djinni | 47cd2c849782e2ab4b38e5dc6a5a3104cc87f673 | [
"Apache-2.0"
] | 2 | 2020-12-01T18:39:26.000Z | 2021-02-04T03:55:31.000Z | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from foo_client_interface.djinni
#pragma once
#include <atomic>
#include <experimental/optional>
#include "foo_some_other_record.hpp"
#ifdef __cplusplus
extern "C" {
#endif
#include "dh__foo_some_other_record.h"
#ifdef __cplusplus
}
#endif
stru... | 33.083333 | 127 | 0.789673 |
c80eb117a88136d8a488b4d0ae220c3ce70ceb17 | 5,486 | cc | C++ | src/Core/Algorithms/Field/Tests/GetFieldBoundaryTests.cc | Haydelj/SCIRun | f7ee04d85349b946224dbff183438663e54b9413 | [
"MIT"
] | 92 | 2015-02-09T22:42:11.000Z | 2022-03-25T09:14:50.000Z | src/Core/Algorithms/Field/Tests/GetFieldBoundaryTests.cc | Haydelj/SCIRun | f7ee04d85349b946224dbff183438663e54b9413 | [
"MIT"
] | 1,618 | 2015-01-05T19:39:13.000Z | 2022-03-27T20:28:45.000Z | src/Core/Algorithms/Field/Tests/GetFieldBoundaryTests.cc | Haydelj/SCIRun | f7ee04d85349b946224dbff183438663e54b9413 | [
"MIT"
] | 64 | 2015-02-20T17:51:23.000Z | 2021-11-19T07:08:08.000Z | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... | 34.503145 | 153 | 0.644185 |
c81028836b3520283ef874f8e452541d01b699db | 5,695 | cc | C++ | chrome/browser/chromeos/file_system_provider/throttled_file_system_unittest.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | chrome/browser/chromeos/file_system_provider/throttled_file_system_unittest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2016-07-11T15:19:20.000Z | 2017-04-02T20:38:55.000Z | chrome/browser/chromeos/file_system_provider/throttled_file_system_unittest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2015 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/file_system_provider/throttled_file_system.h"
#include <stddef.h>
#include <memory>
#include <vector>
#include "base/... | 34.93865 | 117 | 0.731168 |
c811c8e0527012cbdded435ce014a7ac3b332128 | 967 | cc | C++ | src/media/audio/audio_core/pipeline_config_unittest.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/media/audio/audio_core/pipeline_config_unittest.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/media/audio/audio_core/pipeline_config_unittest.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/media/audio/audio_core/pipeline_config.h"
#include <gtest/gtest.h>
namespace media::audio {
namespace {
TEST(PipelineConfigTest, Calculate... | 34.535714 | 93 | 0.715615 |
c81318664086f895c7665d7bece4e25cd0ec40f8 | 8,272 | cpp | C++ | src/GPU/pair_beck_gpu.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | 1 | 2018-11-28T15:04:55.000Z | 2018-11-28T15:04:55.000Z | src/GPU/pair_beck_gpu.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | src/GPU/pair_beck_gpu.cpp | luwei0917/GlpG_Nature_Communication | a7f4f8b526e633b158dc606050e8993d70734943 | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | 33.763265 | 84 | 0.525145 |
c813490b6f20955ac18a0b771bb4fc7c506fa4ef | 3,157 | cpp | C++ | test/src/thd/monitor_test.cpp | CppPhil/philslib | 9d60d7f3a43b9de62f7e5d9550541293e0b15333 | [
"Unlicense"
] | 3 | 2017-10-29T09:36:18.000Z | 2022-03-07T20:04:08.000Z | test/src/thd/monitor_test.cpp | CppPhil/philslib | 9d60d7f3a43b9de62f7e5d9550541293e0b15333 | [
"Unlicense"
] | 1 | 2018-02-13T16:07:30.000Z | 2018-02-13T16:07:30.000Z | test/src/thd/monitor_test.cpp | CppPhil/philslib | 9d60d7f3a43b9de62f7e5d9550541293e0b15333 | [
"Unlicense"
] | 3 | 2017-10-29T09:24:20.000Z | 2018-11-03T09:53:46.000Z | /* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictions ... | 31.888889 | 80 | 0.649351 |
c813af4fe5af344c979ee5bb7ec4f8f332ea8838 | 7,886 | cpp | C++ | testsams/sams_crypto/software/DLLDemo.cpp | quchunguang/test | dd1dde14a69d9e8b2c9ed3efbf536df7840f0487 | [
"MIT"
] | 1 | 2021-05-06T02:02:59.000Z | 2021-05-06T02:02:59.000Z | testsams/sams_crypto/software/DLLDemo.cpp | SrikanthParsha14/test | 8cee69e09c8557d53d8d30382cec8ea5c1f82f6e | [
"MIT"
] | null | null | null | testsams/sams_crypto/software/DLLDemo.cpp | SrikanthParsha14/test | 8cee69e09c8557d53d8d30382cec8ea5c1f82f6e | [
"MIT"
] | 1 | 2019-06-17T13:20:39.000Z | 2019-06-17T13:20:39.000Z | // DLLDemo.cpp : Defines the entry point for the DLL application.
//
#include "sense4.h"
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include "common.h"
#include "..\inc\sample_26.h"
#include "DLLDemo.h"
/* global variables definition */
SENSE4_CONTEXT stS4Ctx = {0};
unsigned long dwBytesR... | 24.490683 | 107 | 0.644433 |
c8143f4acce02eb5866bb688628c0da88133b559 | 10,360 | cpp | C++ | src/sim/airframe/atmos.cpp | Terebinth/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 117 | 2015-01-13T14:48:49.000Z | 2022-03-16T01:38:19.000Z | src/sim/airframe/atmos.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 4 | 2015-05-01T13:09:53.000Z | 2017-07-22T09:11:06.000Z | src/sim/airframe/atmos.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 78 | 2015-01-13T09:27:47.000Z | 2022-03-18T14:39:09.000Z | /******************************************************************************/
/* */
/* Unit Name : atmos.cpp */
/* ... | 35.479452 | 207 | 0.415444 |
c815d1e6895510162db703d82cf0f2cf848efa33 | 3,661 | cpp | C++ | Worms/src/InGame/Entity/World/World.cpp | GearEngine/GearEngine | fa5ed49ca6289a215799a7b84ece1241eb33bd36 | [
"Apache-2.0"
] | 3 | 2020-03-05T06:56:51.000Z | 2020-03-12T09:36:20.000Z | Worms/src/InGame/Entity/World/World.cpp | GearEngine/GearEngine | fa5ed49ca6289a215799a7b84ece1241eb33bd36 | [
"Apache-2.0"
] | 2 | 2020-03-05T15:40:28.000Z | 2020-03-11T16:04:44.000Z | Worms/src/InGame/Entity/World/World.cpp | GearEngine/GearEngine | fa5ed49ca6289a215799a7b84ece1241eb33bd36 | [
"Apache-2.0"
] | null | null | null | #include "wmpch.h"
#include "World.h"
namespace InGame {
float World::s_LimitTurnTime = 0;
int World::s_LimitSuddenDeathTurn = 0;
int World::s_CurrentTurn = 0;
World::World(const InitiateData& initData)
{
s_LimitSuddenDeathTurn = initData.LimitSuddenDeathTurn;
s_LimitTurnTime = initData.LimitTurnTime;
s_C... | 40.677778 | 153 | 0.734772 |
c81825bda8ba08b264adf5b80f6e9a3c5fe6a9d4 | 8,739 | cpp | C++ | src/mfx/pi/nzbl/FilterBank.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | null | null | null | src/mfx/pi/nzbl/FilterBank.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | null | null | null | src/mfx/pi/nzbl/FilterBank.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | null | null | null | /*****************************************************************************
FilterBank.cpp
Author: Laurent de Soras, 2017
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the ... | 26.164671 | 86 | 0.594347 |
c8182c8564f7b2f7088cae92ac19ea7d58a7bc76 | 10,958 | cc | C++ | tensorflow/core/kernels/sparse_concat_op_gpu.cu.cc | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 190,993 | 2015-11-09T13:17:30.000Z | 2022-03-31T23:05:27.000Z | tensorflow/core/kernels/sparse_concat_op_gpu.cu.cc | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 48,461 | 2015-11-09T14:21:11.000Z | 2022-03-31T23:17:33.000Z | tensorflow/core/kernels/sparse_concat_op_gpu.cu.cc | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 104,981 | 2015-11-09T13:40:17.000Z | 2022-03-31T19:51:54.000Z | /* Copyright 2021 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... | 41.195489 | 80 | 0.68069 |
c81837dae4682ad8850e3ba09f8a8c66b637ee29 | 176,374 | cpp | C++ | src/SOS/Strike/util.cpp | jorive/diagnostics | b23802ae91bdac99d82c937105e460a5e451881f | [
"MIT"
] | 1 | 2021-12-10T18:27:58.000Z | 2021-12-10T18:27:58.000Z | src/SOS/Strike/util.cpp | jorive/diagnostics | b23802ae91bdac99d82c937105e460a5e451881f | [
"MIT"
] | null | null | null | src/SOS/Strike/util.cpp | jorive/diagnostics | b23802ae91bdac99d82c937105e460a5e451881f | [
"MIT"
] | null | null | null | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// ==++==
//
//
// ==--==
#include "sos.h"
#include "disasm.h"
#include <dbghelp.h>
#include "corhdr.h"
#include... | 29.975187 | 175 | 0.533525 |
c81a8400836f894b503597b48b8c795fc7afccd0 | 36,032 | cxx | C++ | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoESDTrackCut.cxx | Tingchenxi/AliPhysics | 16ea676341c0d417efa849673baa54bed717cd54 | [
"BSD-3-Clause"
] | null | null | null | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoESDTrackCut.cxx | Tingchenxi/AliPhysics | 16ea676341c0d417efa849673baa54bed717cd54 | [
"BSD-3-Clause"
] | null | null | null | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoESDTrackCut.cxx | Tingchenxi/AliPhysics | 16ea676341c0d417efa849673baa54bed717cd54 | [
"BSD-3-Clause"
] | 1 | 2018-09-22T01:09:25.000Z | 2018-09-22T01:09:25.000Z | /*
***************************************************************************
*
* $Id$
*
*
***************************************************************************
*
*
*
*
***************************************************************************
*
* $Log$
* Revision 1.3 2007/05/22 09:01:42 akisiel
* Add the pos... | 29.437908 | 136 | 0.578264 |
c81d02b987611180df979fc2e4d959b222069e79 | 4,595 | hpp | C++ | vm/builtin/float.hpp | godfat/rubinius | d6a7a3323af0348800118ccd0b13fdf80adbbcef | [
"BSD-3-Clause"
] | 3 | 2015-02-02T01:21:27.000Z | 2016-04-29T22:30:01.000Z | vm/builtin/float.hpp | godfat/rubinius | d6a7a3323af0348800118ccd0b13fdf80adbbcef | [
"BSD-3-Clause"
] | null | null | null | vm/builtin/float.hpp | godfat/rubinius | d6a7a3323af0348800118ccd0b13fdf80adbbcef | [
"BSD-3-Clause"
] | 1 | 2018-03-04T03:19:02.000Z | 2018-03-04T03:19:02.000Z | #ifndef RBX_FLOAT_HPP
#define RBX_FLOAT_HPP
#include "builtin/class.hpp"
#include "builtin/object.hpp"
#include "type_info.hpp"
/* Begin borrowing from MRI 1.8.6 stable */
#if defined(__FreeBSD__) && __FreeBSD__ < 4
#include <floatingpoint.h>
#endif
#include <math.h>
#include <float.h>
namespace rubinius {
class ... | 28.899371 | 68 | 0.663765 |
c81d408903f8057f36faf3dace43172b0bced3b4 | 1,253 | cpp | C++ | MMOCoreORB/src/server/zone/objects/tangible/sign/SignObjectImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/server/zone/objects/tangible/sign/SignObjectImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/server/zone/objects/tangible/sign/SignObjectImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
* SignObjectImplementation.cpp
*
* Created on: Nov 20, 2010
* Author: crush
*/
#include "server/zone/objects/tangible/sign/SignObject.h"
#include "server/zone/objects/creature/CreatureObject.h"
#include "server/zone/objects/player/sui/messagebox/SuiMessageBox.h"
#include "server/zone/objects/building/Bu... | 29.139535 | 97 | 0.782123 |
c81e7a2bdc8f3d46e5e2b0358aa0644afae5a269 | 4,919 | cpp | C++ | src/devices/bus/nes/cne.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/devices/bus/nes/cne.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/devices/bus/nes/cne.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Fabio Priuli
/***********************************************************************************************************
NES/Famicom cartridge emulation for C&E PCBs
Here we emulate the following PCBs
* C&E Decathlon [mapper 244]
* C&E Feng Shen Bang [mapper 246]
... | 22.257919 | 127 | 0.603985 |
c81f7ec1089411b0df479216d500b675ca1b6ff4 | 399 | cpp | C++ | docs/parallel/concrt/codesnippet/CPP/best-practices-in-the-parallel-patterns-library_8.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/parallel/concrt/codesnippet/CPP/best-practices-in-the-parallel-patterns-library_8.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/parallel/concrt/codesnippet/CPP/best-practices-in-the-parallel-patterns-library_8.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // Performs the given work function on the data element of the tree and
// on each child.
template<class Function>
void tree::for_all(Function& action)
{
// Perform the action on each child.
parallel_for_each(begin(_children), end(_children), [&](tree& child) {
child.for_all(action);... | 30.692308 | 76 | 0.626566 |
c81fe98c66e0a10ea0fb3ed08c3f4a34de5072df | 2,545 | cpp | C++ | Online Judges/Huxley/955OLabirintoDoKruskaltauro.cpp | NelsonGomesNeto/ProgramC | e743b1b869f58f7f3022d18bac00c5e0b078562e | [
"MIT"
] | 3 | 2018-12-18T13:39:42.000Z | 2021-06-23T18:05:18.000Z | Online Judges/Huxley/955OLabirintoDoKruskaltauro.cpp | NelsonGomesNeto/ProgramC | e743b1b869f58f7f3022d18bac00c5e0b078562e | [
"MIT"
] | 1 | 2018-11-02T21:32:40.000Z | 2018-11-02T22:47:12.000Z | Online Judges/Huxley/955OLabirintoDoKruskaltauro.cpp | NelsonGomesNeto/ProgramC | e743b1b869f58f7f3022d18bac00c5e0b078562e | [
"MIT"
] | 6 | 2018-10-27T14:07:52.000Z | 2019-11-14T13:49:29.000Z | #include <bits/stdc++.h>
#include <limits.h>
using namespace std;
#define pb(a) push_back(a)
#define mp(a,b) make_pair(a,b)
#define inf INT_MAX
int waitTime(int period, int tempo)
{
return(period - tempo % period);
}
void dijkstra(vector<vector<pair<int, int> > > graph, int **cost, int start, int period)
{
for (i... | 25.969388 | 88 | 0.489194 |
c820581005b20220c023f536b9d1545fd55bf07a | 5,608 | cpp | C++ | modules/juce_dsp/processors/juce_ProcessorChain_test.cpp | luzpaz/JUCE | 2b16c1b94c90d0db3072f6dc9da481a9484d0435 | [
"ISC"
] | null | null | null | modules/juce_dsp/processors/juce_ProcessorChain_test.cpp | luzpaz/JUCE | 2b16c1b94c90d0db3072f6dc9da481a9484d0435 | [
"ISC"
] | null | null | null | modules/juce_dsp/processors/juce_ProcessorChain_test.cpp | luzpaz/JUCE | 2b16c1b94c90d0db3072f6dc9da481a9484d0435 | [
"ISC"
] | null | null | null | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2022 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of... | 33.380952 | 100 | 0.532275 |
c821041336f42b23b4131c3abccb6bced4e64d39 | 7,363 | cpp | C++ | winston/external/asio/src/examples/cpp11/operations/composed_3.cpp | danie1kr/winston | 18fe865dc59e8315cb1d85c6fa60c4ddeaf83202 | [
"MIT"
] | 172 | 2018-10-31T13:47:10.000Z | 2022-02-21T12:08:20.000Z | winston/external/asio/src/examples/cpp11/operations/composed_3.cpp | danie1kr/winston | 18fe865dc59e8315cb1d85c6fa60c4ddeaf83202 | [
"MIT"
] | 51 | 2018-11-01T12:46:25.000Z | 2021-12-14T15:16:15.000Z | winston/external/asio/src/examples/cpp11/operations/composed_3.cpp | danie1kr/winston | 18fe865dc59e8315cb1d85c6fa60c4ddeaf83202 | [
"MIT"
] | 72 | 2018-10-31T13:50:02.000Z | 2022-03-14T09:10:35.000Z | //
// composed_3.cpp
// ~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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 <asio/bind_executor.hpp>
#incl... | 38.150259 | 80 | 0.682602 |
c82275b68ae3cee945f5187d4807aef8b105eea5 | 10,641 | cc | C++ | src/msgpass/GlobalSynchronizeDevThr.cc | cea-hpc/pattern4gpu | bf606708b6a8bad1041369814e8443b7f1dedcef | [
"Apache-2.0"
] | 1 | 2022-03-23T10:33:16.000Z | 2022-03-23T10:33:16.000Z | src/msgpass/GlobalSynchronizeDevThr.cc | cea-hpc/pattern4gpu | bf606708b6a8bad1041369814e8443b7f1dedcef | [
"Apache-2.0"
] | null | null | null | src/msgpass/GlobalSynchronizeDevThr.cc | cea-hpc/pattern4gpu | bf606708b6a8bad1041369814e8443b7f1dedcef | [
"Apache-2.0"
] | null | null | null | #include "msgpass/VarSyncMng.h"
#include "msgpass/PackTransfer.h"
#include <arcane/IParallelMng.h>
#include <arcane/MeshVariableScalarRef.h>
#include <arcane/MeshVariableArrayRef.h>
#include <arcane/VariableBuildInfo.h>
#include <thread>
#include <mpi.h>
/*------------------------------------------------------------... | 36.56701 | 106 | 0.698807 |
c8245b625b2a04fe2ef7633a9e62ec7ca9165138 | 15,750 | cpp | C++ | src/Adafruit_BMP280.cpp | NorbertDudek/Smogomierz | 24febc31771106bd105c135287ea937ca08ab784 | [
"Apache-2.0"
] | 118 | 2019-03-27T02:15:59.000Z | 2022-03-18T16:42:42.000Z | src/Adafruit_BMP280.cpp | NorbertDudek/Smogomierz | 24febc31771106bd105c135287ea937ca08ab784 | [
"Apache-2.0"
] | 107 | 2018-02-15T14:38:30.000Z | 2022-03-02T19:17:43.000Z | src/Adafruit_BMP280.cpp | NorbertDudek/Smogomierz | 24febc31771106bd105c135287ea937ca08ab784 | [
"Apache-2.0"
] | 58 | 2019-04-16T06:52:45.000Z | 2022-03-08T01:57:08.000Z | /*!
* @file Adafruit_BMP280.cpp
*
* This is a library for the BMP280 orientation sensor
*
* Designed specifically to work with the Adafruit BMP280 Sensor.
*
* Pick one up today in the adafruit shop!
* ------> https://www.adafruit.com/product/2651
*
* These sensors use I2C to communicate, 2 pins are requ... | 29.494382 | 80 | 0.627302 |
c824e57865e8752c5e9f6a7d37207b4e21d82cee | 1,095 | cpp | C++ | coj.uci.cu/TobbyandSequence.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 6 | 2016-09-10T03:16:34.000Z | 2020-04-07T14:45:32.000Z | coj.uci.cu/TobbyandSequence.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | null | null | null | coj.uci.cu/TobbyandSequence.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 2 | 2018-08-11T20:55:35.000Z | 2020-01-15T23:23:11.000Z | /*
By: facug91
From: http://coj.uci.cu/24h/problem.xhtml?abb=2972
Name: Tobby and Sequence
Number: 2972
Date: 11/07/2014
*/
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <vector>
#include <queue>
#inclu... | 17.95082 | 52 | 0.627397 |
c825e7f6b100bab1168fd79d5f5f1a856dc46b24 | 2,232 | cpp | C++ | OVFP426/Plugins/OVFPPlugin/Source/OVFPPlugin/Private/OVFPPluginStyle.cpp | ACaesuraIsStillMusic/Open-Virtual-Film-Project | f4cfb901da32d8101b7635aa5caed3fc075d6dd7 | [
"Unlicense",
"MIT"
] | 15 | 2020-12-11T17:00:02.000Z | 2022-03-08T04:43:56.000Z | OVFP425/Plugins/OVFPPlugin/Source/OVFPPlugin/Private/OVFPPluginStyle.cpp | ACaesuraIsStillMusic/Open-Virtual-Film-Project | f4cfb901da32d8101b7635aa5caed3fc075d6dd7 | [
"Unlicense",
"MIT"
] | null | null | null | OVFP425/Plugins/OVFPPlugin/Source/OVFPPlugin/Private/OVFPPluginStyle.cpp | ACaesuraIsStillMusic/Open-Virtual-Film-Project | f4cfb901da32d8101b7635aa5caed3fc075d6dd7 | [
"Unlicense",
"MIT"
] | 2 | 2020-12-10T22:54:05.000Z | 2021-07-22T10:25:22.000Z | // Copyright Dan Corrigan 2020 All Rights Reserved.
#include "OVFPPluginStyle.h"
#include "OVFPPlugin.h"
#include "Framework/Application/SlateApplication.h"
#include "Styling/SlateStyleRegistry.h"
#include "Slate/SlateGameResources.h"
#include "Interfaces/IPluginManager.h"
TSharedPtr< FSlateStyleSet > FOVFPPluginStyl... | 31 | 129 | 0.765681 |
c826867517354d4f1c4da53834c26f2709b20b43 | 1,615 | cpp | C++ | Sample14_1/app/src/main/cpp/bndev/ThreadTask.cpp | luopan007/Vulkan_Develpment_Samples | 1be40631e3b2d44aae7140f0ef17c5643a86545e | [
"Unlicense"
] | 5 | 2020-11-20T00:06:30.000Z | 2021-12-07T11:39:17.000Z | Sample15_2/app/src/main/cpp/bndev/ThreadTask.cpp | luopan007/Vulkan_Develpment_Samples | 1be40631e3b2d44aae7140f0ef17c5643a86545e | [
"Unlicense"
] | null | null | null | Sample15_2/app/src/main/cpp/bndev/ThreadTask.cpp | luopan007/Vulkan_Develpment_Samples | 1be40631e3b2d44aae7140f0ef17c5643a86545e | [
"Unlicense"
] | 7 | 2021-01-01T10:54:58.000Z | 2022-01-13T02:21:54.000Z | #include "ThreadTask.h"
#include "MyVulkanManager.h"
#include "ShaderQueueSuit_CommonTexLight.h"
void ThreadTask::doTask()
{
MyVulkanManager::init_vulkan_instance();
MyVulkanManager::enumerate_vulkan_phy_devices();
MyVulkanManager::create_vulkan_devices();
MyVulkanManager::create_vulkan_CommandBuffer();... | 37.55814 | 54 | 0.778947 |
c82831f16eef38e0e073485241d80aa03272da99 | 78 | cxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.2.8-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 3 | 2019-11-19T09:47:25.000Z | 2022-02-24T00:32:31.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.2.8-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2019-03-18T14:19:49.000Z | 2020-01-11T13:54:33.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.2.8-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2022-02-24T00:32:36.000Z | 2022-02-24T00:32:36.000Z | #include <vnl/vnl_matrix_fixed.hxx>
VNL_MATRIX_FIXED_INSTANTIATE(double,2,8);
| 26 | 41 | 0.833333 |
c829ca837e3e275e946ac03ba0341d1c7314fdec | 919 | cpp | C++ | ch16/ex16.5/main.cpp | regconfi/Cpp-Primer | 6e59f24f4c7f3be4f679b7d29084d9d859a463d9 | [
"CC0-1.0"
] | 46 | 2015-07-07T11:13:12.000Z | 2022-03-27T10:20:54.000Z | ch16/ex16.5/main.cpp | lafener/Cpp-Primer | 8cf1568f2d27622bce2d41493158f58527e5072f | [
"CC0-1.0"
] | 11 | 2015-03-10T12:52:06.000Z | 2015-04-20T12:24:00.000Z | ch16/ex16.5/main.cpp | lafener/Cpp-Primer | 8cf1568f2d27622bce2d41493158f58527e5072f | [
"CC0-1.0"
] | 65 | 2015-07-01T14:15:48.000Z | 2021-04-10T08:44:19.000Z | /***************************************************************************
* @file main.cpp
* @author Alan.W
* @date 02 Feb 2014
* 13 Oct 2014
* @remark This code is for the exercises from C++ Primer 5th Edition
* @note
***************************************************... | 24.184211 | 77 | 0.460283 |
c829db6408df02dec00f6c8868b7671672578f89 | 6,263 | cc | C++ | mindspore/core/ops/dynamic_resize_nearest_neighbor.cc | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | mindspore/core/ops/dynamic_resize_nearest_neighbor.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | mindspore/core/ops/dynamic_resize_nearest_neighbor.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 44.735714 | 120 | 0.695673 |
c82ad37e70c228f2baedd5caa9553d6d07b8d2fa | 277 | cpp | C++ | benchmark/raycast.cilk.cpp | mikerainey/taskparts | 27d4bdda15a5c370c25df6ce8be1233362107cc8 | [
"MIT"
] | null | null | null | benchmark/raycast.cilk.cpp | mikerainey/taskparts | 27d4bdda15a5c370c25df6ce8be1233362107cc8 | [
"MIT"
] | null | null | null | benchmark/raycast.cilk.cpp | mikerainey/taskparts | 27d4bdda15a5c370c25df6ce8be1233362107cc8 | [
"MIT"
] | null | null | null | #include "cilk.hpp"
#include "raycast.hpp"
int main() {
taskparts::benchmark_cilk([&] { // benchmark
benchmark();
}, [&] { // setup
gen_input();
}, [&] { // teardown
// later: write results to outfile
}, [&] { // reset
reset();
});
return 0;
}
| 17.3125 | 46 | 0.519856 |
c82bbdfa543410901a5507226ae6a2c12e406136 | 3,292 | cc | C++ | cplusplus/leetcode/valid_parentheses/valid_parentheses.cc | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 22 | 2015-05-18T07:04:36.000Z | 2021-08-02T03:01:43.000Z | cplusplus/leetcode/valid_parentheses/valid_parentheses.cc | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 1 | 2017-08-31T22:13:57.000Z | 2017-09-05T15:00:25.000Z | cplusplus/leetcode/valid_parentheses/valid_parentheses.cc | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 6 | 2015-06-06T07:16:12.000Z | 2021-07-06T13:45:56.000Z | // Copyright (c) 2020 ASMlover. 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 ofconditions and... | 28.877193 | 81 | 0.648542 |
c82bd1b45b8f3949576cb1a37c6c04ea1f32bbb7 | 21,098 | cpp | C++ | src/vm/contractimpl.cpp | danmosemsft/coreclr | 04a3d11e4eecec2a4b7dcc81ab1575a57e30e3e2 | [
"MIT"
] | 6 | 2017-09-22T06:55:45.000Z | 2021-07-02T07:07:08.000Z | src/vm/contractimpl.cpp | danmosemsft/coreclr | 04a3d11e4eecec2a4b7dcc81ab1575a57e30e3e2 | [
"MIT"
] | 3 | 2018-01-03T00:57:25.000Z | 2018-10-05T16:17:52.000Z | src/vm/contractimpl.cpp | danmosemsft/coreclr | 04a3d11e4eecec2a4b7dcc81ab1575a57e30e3e2 | [
"MIT"
] | 2 | 2017-06-04T15:47:12.000Z | 2020-03-16T07:01:47.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
// File: contractimpl.cpp
//
// Keeps track of contract implementations, used primarily in stub dispatch.
//
//
... | 29.46648 | 130 | 0.545218 |
c82c23f20625dffba354f9c06231149dcfc6c66d | 1,236 | cpp | C++ | Bison C Compiler Source/instructions.cpp | kpatel122/Bison-C-Compiler | 42d6ddf6389f0125578ae1a45cecb94496a4e6f1 | [
"MIT"
] | null | null | null | Bison C Compiler Source/instructions.cpp | kpatel122/Bison-C-Compiler | 42d6ddf6389f0125578ae1a45cecb94496a4e6f1 | [
"MIT"
] | null | null | null | Bison C Compiler Source/instructions.cpp | kpatel122/Bison-C-Compiler | 42d6ddf6389f0125578ae1a45cecb94496a4e6f1 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <stdio.h>
#include <malloc.h>
#include <string.h>
#include "token.h"
#include "instructions.h"
CInstrTable::CInstrTable()
{
currInstr = 0;
}
CInstrTable::~CInstrTable()
{
}
int CInstrTable::AddInstr(char *name,int token,int numParams)
{
if(strlen(name) >= MAX_INSTR_NAME)
re... | 16.263158 | 67 | 0.66343 |
c82e52aa23432987d4cbbe6b0d8d793b8d94b1f2 | 388 | cpp | C++ | ModbusReadCoils.cpp | joluxer/modbus-master-cxx | 787ea5994b2a21b7f46fbf6c400b2d93c62b7271 | [
"Zlib"
] | null | null | null | ModbusReadCoils.cpp | joluxer/modbus-master-cxx | 787ea5994b2a21b7f46fbf6c400b2d93c62b7271 | [
"Zlib"
] | null | null | null | ModbusReadCoils.cpp | joluxer/modbus-master-cxx | 787ea5994b2a21b7f46fbf6c400b2d93c62b7271 | [
"Zlib"
] | null | null | null | /*
* ModbusReadCoils.cpp
*
* Created on: 09.02.2016
* Author: lode
*/
#include "ModbusReadCoils.h"
namespace Modbus
{
ReadCoils2Array::ReadCoils2Array(unsigned* array, uint16_t numOfBits, TxnReturnPath* rp)
: ReadBits2Array(FunctionCode, array, numOfBits, rp)
{}
//ReadCoils2Array::~ReadCoils2Array()
//{
... | 16.869565 | 88 | 0.701031 |
c82fd5620635ae8ed4c1da27a2daff3cb8b49a08 | 779 | cpp | C++ | libneuralnet/nalu.cpp | Rufaim/Filtering-Clouds | 5703884a55f449ed737a3350d5276e29a69372f2 | [
"MIT"
] | null | null | null | libneuralnet/nalu.cpp | Rufaim/Filtering-Clouds | 5703884a55f449ed737a3350d5276e29a69372f2 | [
"MIT"
] | null | null | null | libneuralnet/nalu.cpp | Rufaim/Filtering-Clouds | 5703884a55f449ed737a3350d5276e29a69372f2 | [
"MIT"
] | null | null | null | #include "nalu.h"
//#include <cmath>
#include "math.h"
Nalu::Nalu(int input_dim, int out_dim, float *weight, float *gate) :
weights_(weight),
gate_(gate),
Layer ( input_dim, out_dim)
{}
void Nalu::process(float* input,float* output) {
for(int i = 0; i < out_dim_; i++) {
float lin = 0;
... | 25.129032 | 79 | 0.526316 |
c830df2e62804911cb559d62bbc6ec3fd8f12ea9 | 1,523 | hpp | C++ | core/runtime/core.hpp | iceseer/kagome | a405921659cc19e9fdb851e5f13f1e607fdf8af4 | [
"Apache-2.0"
] | null | null | null | core/runtime/core.hpp | iceseer/kagome | a405921659cc19e9fdb851e5f13f1e607fdf8af4 | [
"Apache-2.0"
] | null | null | null | core/runtime/core.hpp | iceseer/kagome | a405921659cc19e9fdb851e5f13f1e607fdf8af4 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_RUNTIME_CORE_HPP
#define KAGOME_RUNTIME_CORE_HPP
#include <outcome/outcome.hpp>
#include <vector>
#include "primitives/authority.hpp"
#include "primitives/block.hpp"
#include "primitives/block_id.hpp"
... | 25.813559 | 78 | 0.682206 |
c83288fdd7892d0a685ab3eb3de7a91456d2e06e | 22,923 | cc | C++ | descriptor/reader/vehicle_reader.cc | chris-nada/simutrans-extended | 71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f | [
"Artistic-1.0"
] | 38 | 2017-07-26T14:48:12.000Z | 2022-03-24T23:48:55.000Z | descriptor/reader/vehicle_reader.cc | chris-nada/simutrans-extended | 71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f | [
"Artistic-1.0"
] | 74 | 2017-03-15T21:07:34.000Z | 2022-03-18T07:53:11.000Z | descriptor/reader/vehicle_reader.cc | chris-nada/simutrans-extended | 71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f | [
"Artistic-1.0"
] | 43 | 2017-03-10T15:27:28.000Z | 2022-03-05T10:55:38.000Z | /*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#include <stdio.h>
#include "../../simdebug.h"
#include "../../simconst.h"
#include "../../bauer/vehikelbauer.h"
#include "../sound_desc.h"
#include "../vehicle_desc.h"
#include "../intro_dates.h"
#include "... | 29.886571 | 130 | 0.687781 |
c836c9307d38132c8e2b76b00aca51eb6fd1a0bb | 22 | cpp | C++ | tests/Issue127.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 1,853 | 2018-05-13T21:49:17.000Z | 2022-03-30T10:34:45.000Z | tests/Issue127.cpp | tiandaoafei/cppinsights | af78ac299121354101a5e506dafccaac95d27a77 | [
"MIT"
] | 398 | 2018-05-15T14:48:51.000Z | 2022-03-24T12:14:33.000Z | tests/Issue127.cpp | SammyEnigma/cppinsights | c984b8e68139bbcc244c094fd2463eeced8fd997 | [
"MIT"
] | 104 | 2018-05-15T04:00:59.000Z | 2022-03-17T02:04:15.000Z | auto f = [](auto) {};
| 11 | 21 | 0.409091 |
c836e6e739f6b0b920ecaab7bcd3dd297cb2bfbe | 1,014 | cpp | C++ | 21/dfuvcomp.cpp | johnoel/tagest | be0a6b164683c448c90f0c3952343f5963eece3d | [
"BSD-2-Clause"
] | 3 | 2015-08-26T17:14:02.000Z | 2015-11-17T04:18:56.000Z | 21/dfuvcomp.cpp | johnoel/tagest | be0a6b164683c448c90f0c3952343f5963eece3d | [
"BSD-2-Clause"
] | 10 | 2015-08-20T00:51:05.000Z | 2016-11-16T19:14:48.000Z | 21/dfuvcomp.cpp | johnoel/tagest | be0a6b164683c448c90f0c3952343f5963eece3d | [
"BSD-2-Clause"
] | 3 | 2016-11-16T00:52:23.000Z | 2021-09-10T02:17:40.000Z | #include "precomp.h"
#undef TRACE
#define TRACE(object) clogf << "line " << __LINE__ << ", file "\
<< __FILE__ << ", " << #object " = " << object << endl;
/* John: I think we should remove boundary references. P. */
extern ofstream clogf;
void dfuvcomp(par_t& param, par_t_reg& dfparam, dmatrix& dfu, dmatrix& ... | 24.731707 | 79 | 0.548323 |
c83704ba0ce11494af1fa548d82c86c5c4ebde9b | 473 | cpp | C++ | src/layer.cpp | shugaa/florb | 85d2be7d851f83db8a289fd2018832aec295d526 | [
"MIT"
] | 16 | 2015-03-26T22:44:23.000Z | 2021-05-09T12:31:24.000Z | src/layer.cpp | pekdon/florb | 85d2be7d851f83db8a289fd2018832aec295d526 | [
"MIT"
] | 3 | 2018-09-01T13:03:29.000Z | 2020-11-29T09:37:31.000Z | src/layer.cpp | pekdon/florb | 85d2be7d851f83db8a289fd2018832aec295d526 | [
"MIT"
] | 6 | 2017-02-12T05:46:32.000Z | 2020-08-31T06:48:11.000Z | #include <string>
#include <FL/Fl.H>
#include "layer.hpp"
florb::layer::layer() :
m_name("N/A"),
m_enabled(true)
{
add_instance(this);
};
florb::layer::~layer()
{
del_instance(this);
};
const std::string& florb::layer::name() const
{
return m_name;
};
bool florb::layer::enabled() const
{
ret... | 13.138889 | 48 | 0.617336 |
c838b9c3c72a457c98bdcff04fa3c0431c9170ff | 10,361 | cpp | C++ | be/test/storage/persistent_index_test.cpp | zhangboya1/starrocks | ec7b4f622cf4341dbc8776ed5c8cc55552c44f4e | [
"Zlib",
"PSF-2.0",
"Apache-2.0",
"MIT",
"ECL-2.0"
] | null | null | null | be/test/storage/persistent_index_test.cpp | zhangboya1/starrocks | ec7b4f622cf4341dbc8776ed5c8cc55552c44f4e | [
"Zlib",
"PSF-2.0",
"Apache-2.0",
"MIT",
"ECL-2.0"
] | null | null | null | be/test/storage/persistent_index_test.cpp | zhangboya1/starrocks | ec7b4f622cf4341dbc8776ed5c8cc55552c44f4e | [
"Zlib",
"PSF-2.0",
"Apache-2.0",
"MIT",
"ECL-2.0"
] | null | null | null | // This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
#include "storage/persistent_index.h"
#include <gtest/gtest.h>
#include "env/env_memory.h"
#include "storage/fs/file_block_manager.h"
#include "storage/fs/fs_util.h"
#include "storage/storage_engine.h"
#include "testut... | 37.136201 | 120 | 0.633144 |
c83a0d23657c910d8910539eee91fb66ae803d86 | 528 | cpp | C++ | introduction/file/file.cpp | egorkaGubarev/modeling_2021_egorkaGubarev | cca05950c0455c4a378fd6ca3b399a6d9c277968 | [
"Unlicense"
] | null | null | null | introduction/file/file.cpp | egorkaGubarev/modeling_2021_egorkaGubarev | cca05950c0455c4a378fd6ca3b399a6d9c277968 | [
"Unlicense"
] | null | null | null | introduction/file/file.cpp | egorkaGubarev/modeling_2021_egorkaGubarev | cca05950c0455c4a378fd6ca3b399a6d9c277968 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
typedef unsigned int uint;
void write_file(std::string path, uint number)
{
std::ofstream file;
file.open(path, std::ios::app);
if (file.is_open()){
file << number << ' ';
file.close();
}else{
std::cerr << "File isn't ope... | 18.206897 | 50 | 0.560606 |
c83a88d0419cf2edc1feef83733fdff75625f036 | 13,156 | cpp | C++ | Engine/Core/Source/Molten/Renderer/OpenGL/OpenGLWin32Renderer.cpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 2 | 2019-11-11T21:17:14.000Z | 2019-11-11T22:07:26.000Z | Engine/Core/Source/Molten/Renderer/OpenGL/OpenGLWin32Renderer.cpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | null | null | null | Engine/Core/Source/Molten/Renderer/OpenGL/OpenGLWin32Renderer.cpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 1 | 2020-04-05T03:50:57.000Z | 2020-04-05T03:50:57.000Z | /*
* MIT License
*
* Copyright (c) 2021 Jimmie Bergmann
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 28.537961 | 187 | 0.617741 |
c83aeaa0239ea2a65bf9cc59b2846a10d9afe78a | 3,919 | cpp | C++ | dev/Tools/Wwise/SDK/samples/Plugins/AkDelay/Sources/AudioEngineFX/AkDelayFX.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 2 | 2020-08-20T03:40:24.000Z | 2021-02-07T20:31:43.000Z | dev/Tools/Wwise/SDK/samples/Plugins/AkDelay/Sources/AudioEngineFX/AkDelayFX.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | null | null | null | dev/Tools/Wwise/SDK/samples/Plugins/AkDelay/Sources/AudioEngineFX/AkDelayFX.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.000Z | /*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC W... | 32.38843 | 100 | 0.70222 |
c83b37f18ec5a50cf411341f48e5efc86ab7b2e8 | 298 | cpp | C++ | tcp-plugin-qnx/plugin_lifecycle.cpp | mager-m/ietf-tcp-research-project | d4480d4dbec4f35ea61782c25bbe0a7dd05006bc | [
"MIT"
] | 2 | 2021-08-10T13:55:05.000Z | 2021-10-21T10:14:24.000Z | tcp-plugin-ubuntu/plugin_lifecycle.cpp | mager-m/ietf-tcp-research-project | d4480d4dbec4f35ea61782c25bbe0a7dd05006bc | [
"MIT"
] | null | null | null | tcp-plugin-ubuntu/plugin_lifecycle.cpp | mager-m/ietf-tcp-research-project | d4480d4dbec4f35ea61782c25bbe0a7dd05006bc | [
"MIT"
] | null | null | null | #include <cligen/cligen.h>
#include <clixon/clixon.h>
#include "plugin_lifecycle.h"
int LifecycleManager::plugin_start(clicon_handle h) {
return 0;
}
int LifecycleManager::plugin_exit(clicon_handle h) {
return 0;
}
int LifecycleManager::plugin_daemon(clicon_handle h) {
return 0;
}
| 17.529412 | 54 | 0.738255 |
c83c63f95f9a64f606c336de55d9627b161721e2 | 504 | cpp | C++ | codes/moderncpp/nodiscard/nodiscard01/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | 3 | 2022-01-25T07:33:43.000Z | 2022-03-30T10:25:09.000Z | codes/moderncpp/nodiscard/nodiscard01/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | null | null | null | codes/moderncpp/nodiscard/nodiscard01/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | 2 | 2022-01-17T13:39:12.000Z | 2022-03-30T10:25:12.000Z | #include <iostream>
struct [[nodiscard]] error_info { /*...*/ };
error_info enable_missile_safety_mode() { /*...*/ return {}; }
void launch_missiles() { /*...*/ }
void test_missiles()
{
enable_missile_safety_mode(); // compiler may warn on discarding a nodiscard value
launch_missiles();
}
// nodiscard( string-l... | 19.384615 | 85 | 0.621032 |
c83d447f34dfa877f0e0b330ca08fcee7449fca4 | 1,882 | cpp | C++ | unittest/meta/TestNotificationFdbEvent.cpp | vmittal-msft/sonic-sairedis | 6baff35880005aee2854fdcde105c4322c28d04f | [
"Apache-2.0"
] | 50 | 2016-03-23T08:04:44.000Z | 2022-03-25T05:06:16.000Z | unittest/meta/TestNotificationFdbEvent.cpp | vmittal-msft/sonic-sairedis | 6baff35880005aee2854fdcde105c4322c28d04f | [
"Apache-2.0"
] | 589 | 2016-04-01T04:09:09.000Z | 2022-03-31T00:38:10.000Z | unittest/meta/TestNotificationFdbEvent.cpp | vmittal-msft/sonic-sairedis | 6baff35880005aee2854fdcde105c4322c28d04f | [
"Apache-2.0"
] | 234 | 2016-03-28T20:59:21.000Z | 2022-03-23T09:26:22.000Z | #include "NotificationFdbEvent.h"
#include "Meta.h"
#include "MetaTestSaiInterface.h"
#include "sairediscommon.h"
#include "sai_serialize.h"
#include <gtest/gtest.h>
#include <memory>
using namespace sairedis;
using namespace saimeta;
static std::string s =
"[{\"fdb_entry\":\"{\\\"bvid\\\":\\\"oid:0x260000000005be... | 27.275362 | 175 | 0.675345 |
c83da0b0eb7e41bcb75a2418ba5e99f647d7d64a | 38,689 | cc | C++ | bench/f32-gemm-e2e.cc | 8thwall/XNNPACK | 6e03011a0fd74ff0b3bba3a874e452543ccbaa86 | [
"BSD-3-Clause"
] | null | null | null | bench/f32-gemm-e2e.cc | 8thwall/XNNPACK | 6e03011a0fd74ff0b3bba3a874e452543ccbaa86 | [
"BSD-3-Clause"
] | null | null | null | bench/f32-gemm-e2e.cc | 8thwall/XNNPACK | 6e03011a0fd74ff0b3bba3a874e452543ccbaa86 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <algorithm>
#include <cmath>
#include <functional>
#include <random>
#include <vector>
#include <xnnpack.h>
#include <benchmark/benchmark.h>
#i... | 42.468716 | 118 | 0.758975 |
c83f0ec3181b13beda046594d829a86dfa6ac4c9 | 4,139 | cpp | C++ | private/shell/ext/intern/ftp.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/shell/ext/intern/ftp.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/shell/ext/intern/ftp.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | /*****************************************************************************
*
* ftp.cpp - FTP folder bookkeeping
*
*****************************************************************************/
#include "priv.h"
//#include "ftpinet.h"
//#include "ftpsite.h"
//#include "ftplist.h"
//#include "msieftp.h... | 26.876623 | 100 | 0.51051 |
c840e17677b80dd0f1995495c012c9b35d16fa86 | 18,358 | cpp | C++ | src/dawn_native/CopyTextureForBrowserHelper.cpp | AlexVestin/dawn-mirror | 2025d05accdb5b5de972ab50d0a3f68408280543 | [
"Apache-2.0"
] | null | null | null | src/dawn_native/CopyTextureForBrowserHelper.cpp | AlexVestin/dawn-mirror | 2025d05accdb5b5de972ab50d0a3f68408280543 | [
"Apache-2.0"
] | null | null | null | src/dawn_native/CopyTextureForBrowserHelper.cpp | AlexVestin/dawn-mirror | 2025d05accdb5b5de972ab50d0a3f68408280543 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Dawn 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 t... | 44.995098 | 107 | 0.586229 |
c841fb02182b1c93aa3d7548881729add5e6f835 | 2,824 | cpp | C++ | Architecture2019/third_omp.cpp | teppoyev/Architecture-tasks | ed1f055a5efade930119ea2ffeb2935d06dd7c7f | [
"Apache-2.0"
] | null | null | null | Architecture2019/third_omp.cpp | teppoyev/Architecture-tasks | ed1f055a5efade930119ea2ffeb2935d06dd7c7f | [
"Apache-2.0"
] | null | null | null | Architecture2019/third_omp.cpp | teppoyev/Architecture-tasks | ed1f055a5efade930119ea2ffeb2935d06dd7c7f | [
"Apache-2.0"
] | null | null | null | /*#include <omp.h>
#include <stdio.h>
#include <cmath>
void byRows(double** A, double* V, int n, int m, double* result) {
#pragma omp parallel for schedule(static) shared(result)
for (int i = 0; i < n; ++i) {
double sum = 0.0;
for (int j = 0; j < m; ++j) {
sum += A[i][j] * V[j];
}
result[i] = sum;
}
}
v... | 20.463768 | 120 | 0.517351 |
c846a6d1428fec3fcb4b87b37d69b531a43feb7c | 12,533 | cc | C++ | chrome/browser/ui/webui/options/search_engine_manager_handler.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | chrome/browser/ui/webui/options/search_engine_manager_handler.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/webui/options/search_engine_manager_handler.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/options/search_engine_manager_handler.h"
#include "base/bind.h"
#include "base/strings/string_number_conversions.h"... | 37.523952 | 80 | 0.740844 |