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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
67a4d8676287f3c315828cb7820aa0f6a0c32cf1 | 13,406 | cpp | C++ | print/XPSDrvSmpl/src/filters/booklet/bkflt.cpp | ixjf/Windows-driver-samples | 38985ba91feb685095754775e101389ad90c2aa6 | [
"MS-PL"
] | 3,084 | 2015-03-18T04:40:32.000Z | 2019-05-06T17:14:33.000Z | print/XPSDrvSmpl/src/filters/booklet/bkflt.cpp | ixjf/Windows-driver-samples | 38985ba91feb685095754775e101389ad90c2aa6 | [
"MS-PL"
] | 275 | 2015-03-19T18:44:41.000Z | 2019-05-06T14:13:26.000Z | print/XPSDrvSmpl/src/filters/booklet/bkflt.cpp | ixjf/Windows-driver-samples | 38985ba91feb685095754775e101389ad90c2aa6 | [
"MS-PL"
] | 3,091 | 2015-03-19T00:08:54.000Z | 2019-05-06T16:42:01.000Z | /*++
Copyright (c) 2005 Microsoft Corporation
All rights reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
File Name:
bkfl... | 22.64527 | 109 | 0.518425 | ixjf |
67a4fa120a52db19fe68dd92cc03e67e9f09811b | 9,495 | cc | C++ | src/ArtificialViscosity/TensorCRKSPHViscosity.cc | jmikeowen/Spheral | 3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 22 | 2018-07-31T21:38:22.000Z | 2020-06-29T08:58:33.000Z | src/ArtificialViscosity/TensorCRKSPHViscosity.cc | jmikeowen/Spheral | 3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 41 | 2020-09-28T23:14:27.000Z | 2022-03-28T17:01:33.000Z | src/ArtificialViscosity/TensorCRKSPHViscosity.cc | jmikeowen/Spheral | 3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 7 | 2019-12-01T07:00:06.000Z | 2020-09-15T21:12:39.000Z | //---------------------------------Spheral++----------------------------------//
// ArtificialViscosity -- The base class for all ArtificialViscosities in
// Spheral++.
//----------------------------------------------------------------------------//
#include "FileIO/FileIO.hh"
#include "Hydro/HydroFieldNames.hh"
#incl... | 39.39834 | 123 | 0.635071 | jmikeowen |
67a57f1e230da950109c4536ffd684d3ca0ea070 | 13,732 | cpp | C++ | modules/gles2/functional/es2fTextureSizeTests.cpp | billkris-ms/VK-GL-CTS | fbd32b9e48d981580e40c6e4b54d30ddb4980867 | [
"Apache-2.0"
] | 1 | 2017-09-20T12:24:13.000Z | 2017-09-20T12:24:13.000Z | modules/gles2/functional/es2fTextureSizeTests.cpp | billkris-ms/VK-GL-CTS | fbd32b9e48d981580e40c6e4b54d30ddb4980867 | [
"Apache-2.0"
] | null | null | null | modules/gles2/functional/es2fTextureSizeTests.cpp | billkris-ms/VK-GL-CTS | fbd32b9e48d981580e40c6e4b54d30ddb4980867 | [
"Apache-2.0"
] | null | null | null | /*-------------------------------------------------------------------------
* drawElements Quality Program OpenGL ES 2.0 Module
* -------------------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not ... | 32.084112 | 224 | 0.696257 | billkris-ms |
67a7ddb373e541a806d5fe3435dd83853e771c82 | 122 | cpp | C++ | doc/TRUST/exercices/equation_convection_diffusion/src/Ref_Constituant_Avec_Vitesse.cpp | cea-trust-platform/trust-code | c4f42d8f8602a8cc5e0ead0e29dbf0be8ac52f72 | [
"BSD-3-Clause"
] | 12 | 2021-06-30T18:50:38.000Z | 2022-03-23T09:03:16.000Z | doc/TRUST/exercices/equation_convection_diffusion/src/Ref_Constituant_Avec_Vitesse.cpp | pledac/trust-code | 46ab5c5da3f674185f53423090f526a38ecdbad1 | [
"BSD-3-Clause"
] | null | null | null | doc/TRUST/exercices/equation_convection_diffusion/src/Ref_Constituant_Avec_Vitesse.cpp | pledac/trust-code | 46ab5c5da3f674185f53423090f526a38ecdbad1 | [
"BSD-3-Clause"
] | 2 | 2021-10-04T09:19:39.000Z | 2021-12-15T14:21:04.000Z | #include <Ref_Constituant_Avec_Vitesse.h>
#include <Constituant_Avec_Vitesse.h>
Implemente_ref(Constituant_Avec_Vitesse);
| 30.5 | 41 | 0.868852 | cea-trust-platform |
67aa285653f4260035aaf5f8727e431a230c3307 | 6,575 | cpp | C++ | 3rdparty/GPSTk/core/tests/FileHandling/Binex_Attrs_T.cpp | mfkiwl/ICE | e660d031bb1bcea664db1de4946fd8781be5b627 | [
"MIT"
] | 50 | 2019-10-12T01:22:20.000Z | 2022-02-15T23:28:26.000Z | 3rdparty/GPSTk/core/tests/FileHandling/Binex_Attrs_T.cpp | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | [
"MIT"
] | null | null | null | 3rdparty/GPSTk/core/tests/FileHandling/Binex_Attrs_T.cpp | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | [
"MIT"
] | 14 | 2019-11-05T01:50:29.000Z | 2021-08-06T06:23:44.000Z | //============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk 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 Software Foundation; ei... | 27.860169 | 89 | 0.626464 | mfkiwl |
67ab99e4ba08264d6738fc7f2d6d1f8ad3bcdf03 | 10,260 | cc | C++ | modules/congestion_controller/goog_cc/goog_cc_network_control_slowtest.cc | Numbrs/WebRTC | d9348ec831b8a1f178ce1a92877f04b1fbd27a04 | [
"BSD-3-Clause"
] | 4 | 2019-11-26T07:08:00.000Z | 2021-06-20T08:53:50.000Z | modules/congestion_controller/goog_cc/goog_cc_network_control_slowtest.cc | Numbrs/WebRTC | d9348ec831b8a1f178ce1a92877f04b1fbd27a04 | [
"BSD-3-Clause"
] | null | null | null | modules/congestion_controller/goog_cc/goog_cc_network_control_slowtest.cc | Numbrs/WebRTC | d9348ec831b8a1f178ce1a92877f04b1fbd27a04 | [
"BSD-3-Clause"
] | 4 | 2020-07-10T13:45:23.000Z | 2021-06-03T03:44:14.000Z | /*
* Copyright (c) 2018 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 43.474576 | 80 | 0.699025 | Numbrs |
67ad3a3b3743c8589aff3f4d2694c3f739d977b0 | 5,557 | cc | C++ | power_manager/powerd/system/dbus_wrapper.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | power_manager/powerd/system/dbus_wrapper.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | power_manager/powerd/system/dbus_wrapper.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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 "power_manager/powerd/system/dbus_wrapper.h"
#include <memory>
#include <utility>
#include <base/bind.h>
#include <base/check.h>
#include <b... | 31.573864 | 80 | 0.711535 | Toromino |
67ad54db2302bb014f877cd80fc4905d41ff9f64 | 2,350 | cpp | C++ | aws-cpp-sdk-glue/source/model/LongColumnStatisticsData.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-glue/source/model/LongColumnStatisticsData.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-glue/source/model/LongColumnStatisticsData.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-03-23T15:17:18.000Z | 2022-03-23T15:17:18.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/glue/model/LongColumnStatisticsData.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{... | 20.79646 | 82 | 0.745532 | Neusoft-Technology-Solutions |
67af7a36c1718a383f6b9ca5e5e38cb6004ba8ed | 363 | hpp | C++ | mod04/ex03/ICharacter.hpp | paozer/piscine_cpp | 449d4a60b3c50c7ba6d94e38a7b632b5f447a438 | [
"Unlicense"
] | null | null | null | mod04/ex03/ICharacter.hpp | paozer/piscine_cpp | 449d4a60b3c50c7ba6d94e38a7b632b5f447a438 | [
"Unlicense"
] | null | null | null | mod04/ex03/ICharacter.hpp | paozer/piscine_cpp | 449d4a60b3c50c7ba6d94e38a7b632b5f447a438 | [
"Unlicense"
] | 2 | 2021-01-31T13:52:11.000Z | 2021-05-19T18:36:17.000Z | #ifndef ICHARACTER_HPP
#define ICHARACTER_HPP
#include <string>
class AMateria;
class ICharacter
{
public:
virtual ~ICharacter() {};
virtual std::string const & getName() const = 0;
virtual void equip(AMateria* m) = 0;
virtual void unequip(int idx) = 0;
virtual void use(in... | 19.105263 | 58 | 0.636364 | paozer |
67b00a5dc92c58c08d5213df692d56e1eb4bcd19 | 1,144 | cpp | C++ | src/sx_serie_cronologia.cpp | D33pBlue/Cinenote-3.0 | 7dd871b40c537fdf73e7489919c4bfef391864c2 | [
"MIT"
] | null | null | null | src/sx_serie_cronologia.cpp | D33pBlue/Cinenote-3.0 | 7dd871b40c537fdf73e7489919c4bfef391864c2 | [
"MIT"
] | null | null | null | src/sx_serie_cronologia.cpp | D33pBlue/Cinenote-3.0 | 7dd871b40c537fdf73e7489919c4bfef391864c2 | [
"MIT"
] | null | null | null | #include "sx_serie_cronologia.h"
#include "form_serie_mese.h"
#include <QtSql>
#include <iostream>
using namespace std;
sx_serie_cronologia::sx_serie_cronologia(QWidget *parent) :
QWidget(parent)
{
lay=new QVBoxLayout(this);
tit=new QLabel("Cronologia serie",this);
tit->setFont(QFont("Times",15));
... | 27.238095 | 94 | 0.671329 | D33pBlue |
67b60a8d79680c45917ae52f7688ec00c7534bbf | 16,907 | cpp | C++ | src/mlpack/methods/kmeans/kmeans_main.cpp | oblanchet/mlpack | e02ab3be544694294d2f73bd12a98d0d162ef3af | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4,216 | 2015-01-01T02:06:12.000Z | 2022-03-31T19:12:06.000Z | src/mlpack/methods/kmeans/kmeans_main.cpp | oblanchet/mlpack | e02ab3be544694294d2f73bd12a98d0d162ef3af | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,621 | 2015-01-01T01:41:47.000Z | 2022-03-31T19:01:26.000Z | src/mlpack/methods/kmeans/kmeans_main.cpp | oblanchet/mlpack | e02ab3be544694294d2f73bd12a98d0d162ef3af | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,972 | 2015-01-01T23:37:13.000Z | 2022-03-28T06:03:41.000Z | /**
* @file methods/kmeans/kmeans_main.cpp
* @author Ryan Curtin
*
* Executable for running K-Means.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause BSD license. You should have received a copy of the
* 3-clause BSD license along with mlpack. If not, see... | 40.350835 | 80 | 0.684273 | oblanchet |
67b6b67284e1c04aadcc357ddfa90519f056b94b | 3,450 | cpp | C++ | Source/NewtonPhysics/Newton6DOFConstraint.cpp | TrevorCash/rbfx-newton | a8465870a85d69386709a4d65d758fa28b69918b | [
"MIT"
] | 9 | 2019-05-07T00:23:10.000Z | 2022-03-15T20:54:03.000Z | Source/NewtonPhysics/Newton6DOFConstraint.cpp | TrevorCash/rbfx-newton | a8465870a85d69386709a4d65d758fa28b69918b | [
"MIT"
] | null | null | null | Source/NewtonPhysics/Newton6DOFConstraint.cpp | TrevorCash/rbfx-newton | a8465870a85d69386709a4d65d758fa28b69918b | [
"MIT"
] | 2 | 2019-11-10T06:56:14.000Z | 2020-07-05T11:32:21.000Z | #include "Newton6DOFConstraint.h"
#include "NewtonPhysicsWorld.h"
#include "UrhoNewtonConversions.h"
#include "dCustomSixdof.h"
#include "Urho3D/Core/Context.h"
namespace Urho3D {
NewtonSixDofConstraint::NewtonSixDofConstraint(Context* context) : NewtonConstraint(context)
{
}
NewtonSixDofConstr... | 29.237288 | 181 | 0.656812 | TrevorCash |
67bc50a40b2e0bebd13a71c214d38e24f8dad1eb | 1,247 | cpp | C++ | test/MathTest.cpp | helmertz/noxoscope | 2c663e12ef5a54e61eae7b60f4efa934f84a1814 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | test/MathTest.cpp | helmertz/noxoscope | 2c663e12ef5a54e61eae7b60f4efa934f84a1814 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | test/MathTest.cpp | helmertz/noxoscope | 2c663e12ef5a54e61eae7b60f4efa934f84a1814 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// This file is part of the Noxoscope project
//
// Copyright (c) 2016 Niklas Helmertz
//
//===----------------------------------------------------------------------===//
#include "TestShared.h"
#include <Logging.h>
#include <Geometry... | 30.414634 | 106 | 0.614274 | helmertz |
67bdb2c9ac5fa996f5b6f89308f2fe7b25c86705 | 2,376 | cpp | C++ | cpp/test/sg/fnv_hash_test.cpp | Nicholas-7/cuml | 324d4490dc5254e1188d1678e704622eb69678cb | [
"Apache-2.0"
] | 2,743 | 2018-10-11T17:28:58.000Z | 2022-03-31T19:20:50.000Z | cpp/test/sg/fnv_hash_test.cpp | Nicholas-7/cuml | 324d4490dc5254e1188d1678e704622eb69678cb | [
"Apache-2.0"
] | 4,280 | 2018-10-11T22:29:57.000Z | 2022-03-31T22:02:44.000Z | cpp/test/sg/fnv_hash_test.cpp | Nicholas-7/cuml | 324d4490dc5254e1188d1678e704622eb69678cb | [
"Apache-2.0"
] | 454 | 2018-10-11T17:40:56.000Z | 2022-03-25T17:07:09.000Z | /*
* Copyright (c) 2021, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 37.714286 | 84 | 0.715488 | Nicholas-7 |
67be146857546dffe08c50450f7a2e344235fa03 | 5,506 | cpp | C++ | Game/Source/GameObjects/Trainer.cpp | Crewbee/Pokemon-Clone-DX12 | 188bdde03d5078899a1532305a87d15c611c6c13 | [
"CC0-1.0"
] | null | null | null | Game/Source/GameObjects/Trainer.cpp | Crewbee/Pokemon-Clone-DX12 | 188bdde03d5078899a1532305a87d15c611c6c13 | [
"CC0-1.0"
] | null | null | null | Game/Source/GameObjects/Trainer.cpp | Crewbee/Pokemon-Clone-DX12 | 188bdde03d5078899a1532305a87d15c611c6c13 | [
"CC0-1.0"
] | null | null | null | #include "GamePCH.h"
#include "GameObjects/GameObject.h"
#include "Trainer.h"
#include "Controllers/PlayerController.h"
#include "Sprites/AnimatedSprite.h"
#include "GameplayHelpers/ResourceManager.h"
#include "GameplayHelpers/TileMap.h"
#include "Mesh/Mesh.h"
#include "GameplayHelpers/SceneManager.h"
#include "Sce... | 23.429787 | 144 | 0.689248 | Crewbee |
67bee141c7cf9e3b007eac22c03c6430698db2f2 | 4,104 | cxx | C++ | TRD/TRDbase/AliTRDUshortInfo.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | TRD/TRDbase/AliTRDUshortInfo.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | TRD/TRDbase/AliTRDUshortInfo.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 27 | 79 | 0.560916 | AllaMaevskaya |
67bf9fd281c5a33d46fc6ad91bcc93eba4fd8984 | 497 | hpp | C++ | src/ipmiblob/test/crc_mock.hpp | openbmc/ipmi-blob-tool | d46530fd76038ba22298155047e07f14f7f8793f | [
"Apache-2.0"
] | null | null | null | src/ipmiblob/test/crc_mock.hpp | openbmc/ipmi-blob-tool | d46530fd76038ba22298155047e07f14f7f8793f | [
"Apache-2.0"
] | null | null | null | src/ipmiblob/test/crc_mock.hpp | openbmc/ipmi-blob-tool | d46530fd76038ba22298155047e07f14f7f8793f | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <cstdint>
#include <vector>
#include <gmock/gmock.h>
namespace ipmiblob
{
class CrcInterface
{
public:
virtual ~CrcInterface() = default;
virtual std::uint16_t
generateCrc(const std::vector<std::uint8_t>& data) const = 0;
};
class CrcMock : public CrcInterface
{
public:
... | 17.137931 | 79 | 0.65996 | openbmc |
67c2ed22ce772cf5cae511a18773d95cee84490c | 9,458 | cpp | C++ | cpp/atomsciflow/src/atomsciflow/abinit/variable_v1.cpp | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | cpp/atomsciflow/src/atomsciflow/abinit/variable_v1.cpp | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | cpp/atomsciflow/src/atomsciflow/abinit/variable_v1.cpp | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z | /************************************************************************
> File Name: variable_v1.cpp
> Author: deqi
> Mail: deqi_tang@163.com
> Created Time: Sat 30 Jan 2021 01:11:54 PM CST
************************************************************************/
//#include "atomsciflow/abinit/utils... | 29.01227 | 102 | 0.457813 | DeqiTang |
67c46a12c1c714b253ed223108bbbf49550c0c9a | 3,744 | cc | C++ | algo/acm/codeforces/1-14/2b.cc | seckcoder/lang-learn | 1e0d6f412bbd7f89b1af00293fd907ddb3c1b571 | [
"Unlicense"
] | 1 | 2017-10-14T04:23:45.000Z | 2017-10-14T04:23:45.000Z | algo/acm/codeforces/1-14/2b.cc | seckcoder/lang-learn | 1e0d6f412bbd7f89b1af00293fd907ddb3c1b571 | [
"Unlicense"
] | null | null | null | algo/acm/codeforces/1-14/2b.cc | seckcoder/lang-learn | 1e0d6f412bbd7f89b1af00293fd907ddb3c1b571 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <string>
#include <iomanip>
#include <cmath>
#include <map>
#include <set>
using std::cout;
using std::endl;
using std::vector;
using std::set;
using std::cin;
using std::string;
using std::map;
#define PI 3.14159265359
#define N 1000
#define M 2*N+1
... | 20.571429 | 77 | 0.497062 | seckcoder |
67c481fe1199d336a5cfdd36015c7ab76c7987bd | 23,649 | cpp | C++ | src/libSBML/src/sbml/packages/multi/sbml/InSpeciesTypeBond.cpp | copasi/copasi-dependencies | c01dd455c843522375c32c2989aa8675f59bb810 | [
"Unlicense"
] | 5 | 2015-04-16T14:27:38.000Z | 2021-11-30T14:54:39.000Z | src/libSBML/src/sbml/packages/multi/sbml/InSpeciesTypeBond.cpp | copasi/copasi-dependencies | c01dd455c843522375c32c2989aa8675f59bb810 | [
"Unlicense"
] | 8 | 2017-05-30T16:58:39.000Z | 2022-02-22T16:51:34.000Z | src/libSBML/src/sbml/packages/multi/sbml/InSpeciesTypeBond.cpp | copasi/copasi-dependencies | c01dd455c843522375c32c2989aa8675f59bb810 | [
"Unlicense"
] | 7 | 2016-05-29T08:12:59.000Z | 2019-05-02T13:39:25.000Z | /**
* @file: InSpeciesTypeBond.cpp
* @brief: Implementation of the InSpeciesTypeBond class
* @author: SBMLTeam
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, and the latest versio... | 21.557885 | 113 | 0.687471 | copasi |
67c679ada7f5c2e8d2abfd8dc0dd3e79bd7377de | 23,992 | cpp | C++ | codes/algorithms/a_search/cpp/a_star.cpp | shuvamkumar/first-pr-Hacktoberfest--2019 | 39a4c2e64fca58ea530263f9c4f50cbf55aaf883 | [
"MIT"
] | 8 | 2019-10-09T18:55:05.000Z | 2020-09-18T05:44:00.000Z | codes/algorithms/a_search/cpp/a_star.cpp | shuvamkumar/first-pr-Hacktoberfest--2019 | 39a4c2e64fca58ea530263f9c4f50cbf55aaf883 | [
"MIT"
] | 2 | 2019-10-18T14:22:30.000Z | 2020-09-30T08:36:36.000Z | codes/algorithms/a_search/cpp/a_star.cpp | shuvamkumar/first-pr-Hacktoberfest--2019 | 39a4c2e64fca58ea530263f9c4f50cbf55aaf883 | [
"MIT"
] | 55 | 2019-10-09T18:11:17.000Z | 2021-02-01T18:06:20.000Z | // A C++ Program to implement A* Search Algorithm
#include <bits/stdc++.h>
using namespace std;
#define ROW 9
#define COL 10
// Creating a shortcut for int, int pair type
typedef pair<int, int> Pair;
// Creating a shortcut for pair<int, pair<int, int>> type
typedef pair<double, pair<int, int>> pPair;
// A struc... | 36.13253 | 77 | 0.463238 | shuvamkumar |
67c806d8a39ec9e25270f85d3196f021d26e8bc7 | 6,824 | cpp | C++ | dev/Code/Sandbox/Plugins/EditorAnimation/CharacterTool/EffectPlayer.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/Sandbox/Plugins/EditorAnimation/CharacterTool/EffectPlayer.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/Sandbox/Plugins/EditorAnimation/CharacterTool/EffectPlayer.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 33.126214 | 244 | 0.579132 | jeikabu |
67cb0da9678791c31d058a4b20a418820681f81e | 9,190 | cpp | C++ | states/editor/editoroptions.cpp | Adriqun/Ninja2 | 98aff59bcb63928dd6894ea45e00bfe12e46e6bc | [
"MIT"
] | 5 | 2018-06-10T09:14:37.000Z | 2022-01-24T10:08:12.000Z | states/editor/editoroptions.cpp | Adriqun/Ninja2 | 98aff59bcb63928dd6894ea45e00bfe12e46e6bc | [
"MIT"
] | 2 | 2016-11-01T14:39:28.000Z | 2017-02-12T20:54:29.000Z | states/editor/editoroptions.cpp | Adriqun/Ninja2 | 98aff59bcb63928dd6894ea45e00bfe12e46e6bc | [
"MIT"
] | 1 | 2016-12-27T05:06:07.000Z | 2016-12-27T05:06:07.000Z | #include "editoroptions.h"
#include "loading.h"
#include "colors.h"
#include "definitions.h"
EditorOptions::EditorOptions()
{
free();
}
EditorOptions::~EditorOptions()
{
free();
}
void EditorOptions::free()
{
if (!keytextvec.empty())
{
for (auto &it : keytextvec)
{
delete it;
it = nullptr;
}
keyte... | 28.990536 | 169 | 0.685528 | Adriqun |
67cd38053c8305cacf6016b1184626d00aa1151b | 3,160 | cpp | C++ | Nummerical Methods for CSE/PS14/solutions_ps14/sdirk.cpp | valentinjacot/backupETHZ | 36605c4f532eb65efb4a391ed0f17a07102f7d5b | [
"MIT"
] | 1 | 2019-12-25T10:21:30.000Z | 2019-12-25T10:21:30.000Z | Nummerical Methods for CSE/PS14/solutions_ps14/sdirk.cpp | valentinjacot/backupETHZ | 36605c4f532eb65efb4a391ed0f17a07102f7d5b | [
"MIT"
] | null | null | null | Nummerical Methods for CSE/PS14/solutions_ps14/sdirk.cpp | valentinjacot/backupETHZ | 36605c4f532eb65efb4a391ed0f17a07102f7d5b | [
"MIT"
] | null | null | null | #include <Eigen/Dense>
#include <iostream>
#include <iomanip>
#include <cmath>
//! \brief One step of autonomous IVP y'' + y' + y = 0, [y(0), y'(0)] = z0 using SDIRK method
//! Use SDIRK method for first order ode z' = f(z). Steps of size h.
//! \tparam StateType type of solution space y and initial data y0
//! \par... | 32.916667 | 107 | 0.556646 | valentinjacot |
67cdc0ae701a82aad41c54182971e8d68e8d7057 | 6,580 | cpp | C++ | src/c_dd.cpp | andry81/orbittools--qd | 04be70aa8d42a34ff97e8e3a438dbbf9dc0da087 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/c_dd.cpp | andry81/orbittools--qd | 04be70aa8d42a34ff97e8e3a438dbbf9dc0da087 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/c_dd.cpp | andry81/orbittools--qd | 04be70aa8d42a34ff97e8e3a438dbbf9dc0da087 | [
"BSD-3-Clause-LBNL"
] | null | null | null | /*
* src/c_dd.cc
*
* This work was supported by the Director, Office of Science, Division
* of Mathematical, Information, and Computational Sciences of the
* U.S. Department of Energy under contract number DE-AC03-76SF00098.
*
* Copyright (c) 2000-2001
*
* Contains the C wrapper functions for double-double pre... | 20.888889 | 75 | 0.632371 | andry81 |
67cf47456fe54c8787600f8656b4bd933938254f | 7,007 | cpp | C++ | mptrack/ModDocTemplate.cpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 335 | 2017-02-25T16:39:27.000Z | 2022-03-29T17:45:42.000Z | mptrack/ModDocTemplate.cpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 7 | 2018-02-05T18:22:38.000Z | 2022-02-15T19:35:24.000Z | mptrack/ModDocTemplate.cpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 69 | 2017-04-10T00:48:09.000Z | 2022-03-20T10:24:45.000Z | /*
* ModDocTemplate.cpp
* ------------------
* Purpose: CDocTemplate and CModDocManager specialization for CModDoc.
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "FolderScanner.h"
#... | 29.074689 | 158 | 0.692736 | ford442 |
67cff565a26fd1a11e1ec60ffe60331abb38a9f1 | 680 | hpp | C++ | phoenix/cocoa/widget/viewport.hpp | vgmtool/vgm2pre | f4f917df35d531512292541234a5c1722b8af96f | [
"MIT"
] | 21 | 2015-04-13T03:07:12.000Z | 2021-11-20T00:27:00.000Z | phoenix/cocoa/widget/viewport.hpp | apollolux/hello-phoenix | 71510b5f329804c525a9576fb0367fe8ab2487cd | [
"MIT"
] | 2 | 2015-10-06T14:59:48.000Z | 2022-01-27T08:57:57.000Z | phoenix/cocoa/widget/viewport.hpp | apollolux/hello-phoenix | 71510b5f329804c525a9576fb0367fe8ab2487cd | [
"MIT"
] | 2 | 2021-11-19T08:36:57.000Z | 2022-03-04T16:03:16.000Z | @interface CocoaViewport : NSView {
@public
phoenix::Viewport* viewport;
}
-(id) initWith:(phoenix::Viewport&)viewport;
-(void) drawRect:(NSRect)rect;
-(BOOL) acceptsFirstResponder;
-(NSDragOperation) draggingEntered:(id<NSDraggingInfo>)sender;
-(BOOL) performDragOperation:(id<NSDraggingInfo>)sender;
-(void) keyDown:... | 23.448276 | 74 | 0.741176 | vgmtool |
67d071a55a5a9cab05bf9668523ed5eb8f689b6f | 967 | hpp | C++ | libs/core/include/fcppt/time/output_tm.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/time/output_tm.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/time/output_tm.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_TIME_OUTPUT_TM_HPP_INCLUDED
#define FCPPT_TIME_OUTPUT_TM_HPP_INCLUDED
#include <fcp... | 20.145833 | 77 | 0.737332 | pmiddend |
67d13caf40a7f6af65e2308488ea2268fc4c30d1 | 3,873 | cc | C++ | cc/output/renderer_unittest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | cc/output/renderer_unittest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | cc/output/renderer_unittest.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"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 "cc/output/delegating_renderer.h"
#include "cc/output/gl_renderer.h"
#include "cc/output/output_surface.h"
#include "cc/test/fake_output_surface_... | 33.387931 | 78 | 0.734573 | maidiHaitai |
67d18e210a6c18d52aa2452e3ae727efa0b958f8 | 3,739 | cpp | C++ | src/systemc/tests/systemc/kernel/dynamic_processes/sc_spawn_options/test01/test01.cpp | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 765 | 2015-01-14T16:17:04.000Z | 2022-03-28T07:46:28.000Z | src/systemc/tests/systemc/kernel/dynamic_processes/sc_spawn_options/test01/test01.cpp | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 148 | 2018-07-20T00:58:36.000Z | 2021-11-16T01:52:33.000Z | src/systemc/tests/systemc/kernel/dynamic_processes/sc_spawn_options/test01/test01.cpp | hyu-iot/gem5 | aeccc8bd8e9a86f96fc7a6f40d978f8494337fc5 | [
"BSD-3-Clause"
] | 807 | 2015-01-06T09:55:38.000Z | 2022-03-30T10:23:36.000Z | /*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | 26.707143 | 79 | 0.595881 | hyu-iot |
67d2a2c727b58a793eaee3e1242769335aa297da | 11,379 | cpp | C++ | display/test/unittest/standard/display_gralloc/display_gralloc_test.cpp | openharmony-gitee-mirror/drivers_peripheral | 4ee6d41befdf54a97afeb5838be5fcd0b4888d56 | [
"Apache-2.0"
] | null | null | null | display/test/unittest/standard/display_gralloc/display_gralloc_test.cpp | openharmony-gitee-mirror/drivers_peripheral | 4ee6d41befdf54a97afeb5838be5fcd0b4888d56 | [
"Apache-2.0"
] | null | null | null | display/test/unittest/standard/display_gralloc/display_gralloc_test.cpp | openharmony-gitee-mirror/drivers_peripheral | 4ee6d41befdf54a97afeb5838be5fcd0b4888d56 | [
"Apache-2.0"
] | 2 | 2021-09-13T10:12:47.000Z | 2021-09-13T11:16:31.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 30.58871 | 112 | 0.544336 | openharmony-gitee-mirror |
67d366bce444367b0765be6a054c21b16dd31253 | 50,218 | cc | C++ | language/examples/pennant.cc | mmccarty/legion | 30e00fa6016527c4cf60025a461fb7865f8def6b | [
"Apache-2.0"
] | 555 | 2015-01-19T07:50:27.000Z | 2022-03-22T11:35:48.000Z | language/examples/pennant.cc | mmccarty/legion | 30e00fa6016527c4cf60025a461fb7865f8def6b | [
"Apache-2.0"
] | 1,157 | 2015-01-07T18:34:23.000Z | 2022-03-31T19:45:27.000Z | language/examples/pennant.cc | mmccarty/legion | 30e00fa6016527c4cf60025a461fb7865f8def6b | [
"Apache-2.0"
] | 145 | 2015-02-03T02:31:42.000Z | 2022-02-28T12:03:51.000Z | /* Copyright 2021 Stanford 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 applicable law or agree... | 36.735918 | 113 | 0.58941 | mmccarty |
67d6ad2490edc8e8690bb1c5773f33069e3f920e | 1,233 | cpp | C++ | third_party/boost/libs/parameter/test/macros.cpp | Jackarain/tinyrpc | 07060e3466776aa992df8574ded6c1616a1a31af | [
"BSL-1.0"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | third_party/boost/libs/parameter/test/macros.cpp | avplayer/cxxrpc | 7049b4079fac78b3828e68f787d04d699ce52f6d | [
"BSL-1.0"
] | 1 | 2019-04-04T18:00:00.000Z | 2019-04-04T18:00:00.000Z | third_party/boost/libs/parameter/test/macros.cpp | avplayer/cxxrpc | 7049b4079fac78b3828e68f787d04d699ce52f6d | [
"BSL-1.0"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | // Copyright David Abrahams, Daniel Wallin 2003. 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)
#include <boost/parameter.hpp>
#include <boost/parameter/macros.hpp>
#inc... | 21.258621 | 72 | 0.583131 | Jackarain |
67d6bac0c85022d2e8fd437d316295bf8d10c947 | 1,222 | hpp | C++ | android-31/java/security/cert/PKIXRevocationChecker.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/security/cert/PKIXRevocationChecker.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/security/cert/PKIXRevocationChecker.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "./PKIXCertPathChecker.hpp"
class JObject;
namespace java::net
{
class URI;
}
namespace java::security::cert
{
class X509Certificate;
}
namespace java::security::cert
{
class PKIXRevocationChecker : public java::security::cert::PKIXCertPathChecker
{
public:
// Fields
// QJniObject f... | 27.772727 | 196 | 0.748773 | YJBeetle |
67d8635bbbf5b70ada4b6515f338ef69d251bfab | 1,591 | cpp | C++ | v1/Lewcid/OSBinding_SDL.cpp | Jess-Stuart/FreedGames | a8f1dcb9daa8063740f9875a1615500ad8ca9498 | [
"BSL-1.0"
] | 2 | 2020-12-05T08:35:17.000Z | 2021-03-06T20:32:28.000Z | v1/Lewcid/OSBinding_SDL.cpp | Jess-Stuart/FreedGames | a8f1dcb9daa8063740f9875a1615500ad8ca9498 | [
"BSL-1.0"
] | 1 | 2021-04-05T21:58:09.000Z | 2021-04-06T00:18:26.000Z | v1/Lewcid/OSBinding_SDL.cpp | Jess-Stuart/FreedGames | a8f1dcb9daa8063740f9875a1615500ad8ca9498 | [
"BSL-1.0"
] | 3 | 2021-04-02T03:55:53.000Z | 2021-04-09T20:18:04.000Z |
#include <stdio.h>
#include <math.h>
#include <time.h>
#ifdef WIN32
#include <windows.h>
#include <iostream.h>
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include <math.h>
#include <fstream.h>
void SetRandomSeed()
{
LARGE_INTEGER la;
QueryPerformanceCounter( &la );
srand( (unsign... | 16.747368 | 59 | 0.610937 | Jess-Stuart |
67ddc59593676eb432301ab3fd9bbe98badc48e0 | 612 | hpp | C++ | include/vsim/env/rigid_body.hpp | malasiot/vsim | 2a69e27364bab29194328af3d050e34f907e226b | [
"MIT"
] | null | null | null | include/vsim/env/rigid_body.hpp | malasiot/vsim | 2a69e27364bab29194328af3d050e34f907e226b | [
"MIT"
] | null | null | null | include/vsim/env/rigid_body.hpp | malasiot/vsim | 2a69e27364bab29194328af3d050e34f907e226b | [
"MIT"
] | null | null | null | #ifndef __VSIM_RIGID_BODY_HPP__
#define __VSIM_RIGID_BODY_HPP__
#include <string>
#include <vector>
#include <memory>
#include <Eigen/Core>
#include <vsim/env/scene_fwd.hpp>
#include <vsim/env/pose.hpp>
#include <vsim/env/base_element.hpp>
namespace vsim {
class RigidBody ;
typedef std::shared_ptr<RigidBody> BodyP... | 15.3 | 50 | 0.72549 | malasiot |
67df8c576a6fe8065b2fd920603ad28a3fda09ae | 746 | cc | C++ | utils/sv_test.cc | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | null | null | null | utils/sv_test.cc | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | null | null | null | utils/sv_test.cc | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | null | null | null | #define BOOST_TEST_MODULE WeightsTest
#include <boost/test/unit_test.hpp>
#include <boost/test/floating_point_comparison.hpp>
#include "sparse_vector.h"
using namespace std;
BOOST_AUTO_TEST_CASE(Dot) {
SparseVector<double> x;
SparseVector<double> y;
x.set_value(1,0.8);
y.set_value(1,5);
x.set_value(2,-2);
... | 20.722222 | 51 | 0.690349 | kho |
67e09e5b3f18ed4386cdb803bd7258239866a7e4 | 1,938 | cpp | C++ | tools/ltsview/savepicturedialog.cpp | gijskant/mcrl2-pmc | 9ea75755081b20623bc8fc7db27124d084e781fe | [
"BSL-1.0"
] | null | null | null | tools/ltsview/savepicturedialog.cpp | gijskant/mcrl2-pmc | 9ea75755081b20623bc8fc7db27124d084e781fe | [
"BSL-1.0"
] | null | null | null | tools/ltsview/savepicturedialog.cpp | gijskant/mcrl2-pmc | 9ea75755081b20623bc8fc7db27124d084e781fe | [
"BSL-1.0"
] | null | null | null | // Author(s): Bas Ploeger, Carst Tankink, Ruud Koolen
// Copyright: see the accompanying file COPYING or copy at
// https://svn.win.tue.nl/trac/MCRL2/browser/trunk/COPYING
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENS... | 23.634146 | 91 | 0.69453 | gijskant |
67e25b4e5ea794a026bfdd70c04c254d66f5ac0a | 337 | cpp | C++ | hackerrank/Algorithms/Warmup/HalloweenParty/HalloweenParty.cpp | everyevery/programming_study | ff35e97e13953e4d7a26591f7cdb301d3e8e36c6 | [
"MIT"
] | null | null | null | hackerrank/Algorithms/Warmup/HalloweenParty/HalloweenParty.cpp | everyevery/programming_study | ff35e97e13953e4d7a26591f7cdb301d3e8e36c6 | [
"MIT"
] | null | null | null | hackerrank/Algorithms/Warmup/HalloweenParty/HalloweenParty.cpp | everyevery/programming_study | ff35e97e13953e4d7a26591f7cdb301d3e8e36c6 | [
"MIT"
] | 1 | 2017-04-01T21:34:23.000Z | 2017-04-01T21:34:23.000Z | // HACKERRANK - Halloween Party
// https://www.hackerrank.com/challenges/halloween-party
#include <iostream>
using namespace std;
int main (int argc, char *argv[]) {
int N;
cin >> N;
while (N--) {
long long input;
long long x, y;
cin >> input;
x = input / 2;
y = input - x;
cout << x * y << endl;
... | 12.481481 | 56 | 0.590504 | everyevery |
67e2738ca714e1aef79e4f33a4df272ff188782e | 3,473 | hpp | C++ | src/libs/optframe/src/OptFrame/MultiMoveCost.hpp | fellipessanha/LMRRC-Team-AIDA | 8076599427df0e35890caa7301972a53ae327edb | [
"MIT"
] | 1 | 2021-08-19T13:31:29.000Z | 2021-08-19T13:31:29.000Z | src/libs/optframe/src/OptFrame/MultiMoveCost.hpp | fellipessanha/LMRRC-Team-AIDA | 8076599427df0e35890caa7301972a53ae327edb | [
"MIT"
] | null | null | null | src/libs/optframe/src/OptFrame/MultiMoveCost.hpp | fellipessanha/LMRRC-Team-AIDA | 8076599427df0e35890caa7301972a53ae327edb | [
"MIT"
] | null | null | null | // OptFrame - Optimization Framework
// Copyright (C) 2009-2015
// http://optframe.sourceforge.net/
//
// This file is part of the OptFrame optimization framework. This framework
// is free software; you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License v3 as published by... | 21.306748 | 97 | 0.708033 | fellipessanha |
67e31c601d860a04539d998362e8d1659aee1477 | 3,871 | hpp | C++ | include/wprofile.hpp | aegistudio/wdedup | 686af391347418991260d421f33316171047fe95 | [
"MIT"
] | null | null | null | include/wprofile.hpp | aegistudio/wdedup | 686af391347418991260d421f33316171047fe95 | [
"MIT"
] | null | null | null | include/wprofile.hpp | aegistudio/wdedup | 686af391347418991260d421f33316171047fe95 | [
"MIT"
] | null | null | null | /* Copyright © 2019 Haoran Luo
*
* 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, merge, publis... | 35.513761 | 75 | 0.727977 | aegistudio |
67e393d34739298ca0dddd343152d7fbf7d26048 | 1,691 | hpp | C++ | server/api/include/irods/rs_set_delay_server_migration_info.hpp | stefan-wolfsheimer/irods | f6eb6c72786288878706e2562a370b91b7d0802e | [
"BSD-3-Clause"
] | null | null | null | server/api/include/irods/rs_set_delay_server_migration_info.hpp | stefan-wolfsheimer/irods | f6eb6c72786288878706e2562a370b91b7d0802e | [
"BSD-3-Clause"
] | null | null | null | server/api/include/irods/rs_set_delay_server_migration_info.hpp | stefan-wolfsheimer/irods | f6eb6c72786288878706e2562a370b91b7d0802e | [
"BSD-3-Clause"
] | null | null | null | #ifndef IRODS_RS_SET_DELAY_SERVER_MIGRATION_INFO_HPP
#define IRODS_RS_SET_DELAY_SERVER_MIGRATION_INFO_HPP
/// \file
#include "irods/plugins/api/delay_server_migration_types.h"
struct RsComm;
#ifdef __cplusplus
extern "C" {
#endif
/// Atomically sets the leader and successor hostnames for delay server migration in ... | 33.156863 | 103 | 0.754583 | stefan-wolfsheimer |
67e538aa22d0282fc0866f9438d1c45e28b6a41e | 2,050 | cpp | C++ | tests/transport/test_send_multi.cpp | boeschf/GHEX-OLD | a1c8e12e50b4781cc6d0b0314f17bd3f91ac3769 | [
"BSD-3-Clause"
] | null | null | null | tests/transport/test_send_multi.cpp | boeschf/GHEX-OLD | a1c8e12e50b4781cc6d0b0314f17bd3f91ac3769 | [
"BSD-3-Clause"
] | null | null | null | tests/transport/test_send_multi.cpp | boeschf/GHEX-OLD | a1c8e12e50b4781cc6d0b0314f17bd3f91ac3769 | [
"BSD-3-Clause"
] | null | null | null | #include <ghex/transport_layer/callback_communicator.hpp>
#include <ghex/transport_layer/mpi/communicator.hpp>
#include <iostream>
#include <iomanip>
#include <gtest/gtest.h>
template<typename Comm, typename Alloc>
using callback_comm_t = gridtools::ghex::tl::callback_communicator<Comm,Alloc>;
//using callback_comm_t... | 23.295455 | 86 | 0.603415 | boeschf |
67e9695533fd6b9311054129b64516ea00c82d5f | 2,172 | hpp | C++ | raintk/RainTkRow.hpp | preet/raintk | 9cbd596d9cec9aca7d3bbf3994a2931bac87e98d | [
"Apache-2.0"
] | 4 | 2016-05-03T20:47:51.000Z | 2021-04-15T09:33:34.000Z | raintk/RainTkRow.hpp | preet/raintk | 9cbd596d9cec9aca7d3bbf3994a2931bac87e98d | [
"Apache-2.0"
] | null | null | null | raintk/RainTkRow.hpp | preet/raintk | 9cbd596d9cec9aca7d3bbf3994a2931bac87e98d | [
"Apache-2.0"
] | 1 | 2017-07-26T07:31:35.000Z | 2017-07-26T07:31:35.000Z | /*
Copyright (C) 2015 Preet Desai (preet.desai@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applic... | 23.868132 | 75 | 0.609576 | preet |
67ed639ec8b8b650b8ab257ea157ae5fcf47165e | 3,662 | cpp | C++ | dev/Basic/long/database/entity/PopulationPerPlanningArea.cpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 50 | 2018-12-21T08:21:38.000Z | 2022-01-24T09:47:59.000Z | dev/Basic/long/database/entity/PopulationPerPlanningArea.cpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 2 | 2018-12-19T13:42:47.000Z | 2019-05-13T04:11:45.000Z | dev/Basic/long/database/entity/PopulationPerPlanningArea.cpp | gusugusu1018/simmobility-prod | d30a5ba353673f8fd35f4868c26994a0206a40b6 | [
"MIT"
] | 27 | 2018-11-28T07:30:34.000Z | 2022-02-05T02:22:26.000Z | /*
* PopulationPerPlanningArea.cpp
*
* Created on: 13 Aug, 2015
* Author: Chetan Rogbeer <chetan.rogbeer@smart.mit.edu>
*/
#include "database/entity/PopulationPerPlanningArea.hpp"
#include <boost/serialization/vector.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
... | 25.255172 | 187 | 0.704533 | gusugusu1018 |
67edfb7331705c47a3716d32060942916c63a84b | 1,044 | cc | C++ | 3rdParty/V8/v5.7.492.77/test/unittests/unicode-unittest.cc | sita1999/arangodb | 6a4f462fa209010cd064f99e63d85ce1d432c500 | [
"Apache-2.0"
] | 16 | 2017-08-24T14:53:25.000Z | 2021-08-19T04:49:23.000Z | test/unittests/unicode-unittest.cc | Acidburn0zzz/v8-1 | 0dd6885de60fdba36532e068a31693c870d8b50b | [
"BSD-3-Clause"
] | null | null | null | test/unittests/unicode-unittest.cc | Acidburn0zzz/v8-1 | 0dd6885de60fdba36532e068a31693c870d8b50b | [
"BSD-3-Clause"
] | 10 | 2017-09-21T07:40:42.000Z | 2020-03-31T05:53:42.000Z | // Copyright 2016 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 <memory>
#include <string>
#include "src/unicode-decoder.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal ... | 26.1 | 75 | 0.706897 | sita1999 |
67f1dfdf029eca8007ff8503aee3d11bee123f0e | 2,644 | cpp | C++ | clang-tools-extra/unittests/clang-tidy/ClangTidyDiagnosticConsumerTest.cpp | tkf/opencilk-project | 48265098754b785d1b06cb08d8e22477a003efcd | [
"MIT"
] | 1 | 2020-09-25T23:33:05.000Z | 2020-09-25T23:33:05.000Z | clang-tools-extra/unittests/clang-tidy/ClangTidyDiagnosticConsumerTest.cpp | tkf/opencilk-project | 48265098754b785d1b06cb08d8e22477a003efcd | [
"MIT"
] | 2 | 2021-10-06T22:33:18.000Z | 2022-02-19T07:00:39.000Z | clang-tools-extra/unittests/clang-tidy/ClangTidyDiagnosticConsumerTest.cpp | tkf/opencilk-project | 48265098754b785d1b06cb08d8e22477a003efcd | [
"MIT"
] | 1 | 2020-07-30T11:23:41.000Z | 2020-07-30T11:23:41.000Z | #include "ClangTidy.h"
#include "ClangTidyTest.h"
#include "gtest/gtest.h"
namespace clang {
namespace tidy {
namespace test {
class TestCheck : public ClangTidyCheck {
public:
TestCheck(StringRef Name, ClangTidyContext *Context)
: ClangTidyCheck(Name, Context) {}
void registerMatchers(ast_matchers::MatchFi... | 27.831579 | 86 | 0.687216 | tkf |
67f810d0c8717bb0d3ab7d45802bde1ee0e9c04b | 3,460 | cc | C++ | src/cameras/camera.cc | BlurryLight/DiRender | 1ea55ff8a10bb76993ce9990b200ee8ed173eb3e | [
"MIT"
] | 20 | 2020-06-28T03:55:40.000Z | 2022-03-08T06:00:31.000Z | src/cameras/camera.cc | BlurryLight/DiRender | 1ea55ff8a10bb76993ce9990b200ee8ed173eb3e | [
"MIT"
] | null | null | null | src/cameras/camera.cc | BlurryLight/DiRender | 1ea55ff8a10bb76993ce9990b200ee8ed173eb3e | [
"MIT"
] | 1 | 2020-06-29T08:47:21.000Z | 2020-06-29T08:47:21.000Z | //
// Created by panda on 2021/2/26.
//
#include <cameras/camera.h>
#include <cores/scene.h>
using namespace DR;
void Film::write_ppm(const std::string &filename) {
auto fp = std::unique_ptr<FILE, decltype(&fclose)>(
fopen(filename.c_str(), "wb"), &fclose);
(void)fprintf(fp.get(), "P6\n%d %d\n255\n", height,... | 34.257426 | 119 | 0.592486 | BlurryLight |
67fcac273c5d64e4b5d88d8de1e0ade6c11005d5 | 123 | hpp | C++ | src/FSNG/Forge/Ticket.hpp | ChristofferGreen/Forsoning | 838b35587c00227f2f5cdd91ba78bc63b76835fe | [
"BSD-2-Clause"
] | null | null | null | src/FSNG/Forge/Ticket.hpp | ChristofferGreen/Forsoning | 838b35587c00227f2f5cdd91ba78bc63b76835fe | [
"BSD-2-Clause"
] | null | null | null | src/FSNG/Forge/Ticket.hpp | ChristofferGreen/Forsoning | 838b35587c00227f2f5cdd91ba78bc63b76835fe | [
"BSD-2-Clause"
] | null | null | null | #pragma once
namespace FSNG {
using Ticket = uint64_t;
inline Ticket InvalidTicket = 0;
inline Ticket FirstTicket = 1;
} | 17.571429 | 32 | 0.747967 | ChristofferGreen |
67fd44fc2d6c2574114b00eb498c782013bf0656 | 4,331 | cpp | C++ | tests/Transaction/CountCacheTest.cpp | Mu-L/arangodb | a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | tests/Transaction/CountCacheTest.cpp | Mu-L/arangodb | a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | tests/Transaction/CountCacheTest.cpp | Mu-L/arangodb | a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 26.248485 | 80 | 0.688063 | Mu-L |
67fd5c5d44da68fae86afeac9f5450e67686a413 | 449 | cxx | C++ | src/Comment.cxx | astrorigin/html5xx | cbaaeb232597a713630df7425752051036cf0cb2 | [
"MIT"
] | null | null | null | src/Comment.cxx | astrorigin/html5xx | cbaaeb232597a713630df7425752051036cf0cb2 | [
"MIT"
] | null | null | null | src/Comment.cxx | astrorigin/html5xx | cbaaeb232597a713630df7425752051036cf0cb2 | [
"MIT"
] | null | null | null | /*
*
*/
#include "Comment.hxx"
using namespace std;
namespace html
{
string Comment::toString() const
{
string s = m_text;
size_t found, pos = 0;
const string ind = indent();
const string nl = "\n" + ind + ' ';
while ((found = s.find('\n', pos)) != string::npos) {
s.replace(found, 1, nl);
pos =... | 14.966667 | 55 | 0.545657 | astrorigin |
67ff43d0f01815e59fc6e059a1bf127ed6f16095 | 107,073 | cc | C++ | SimG4CMS/Calo/src/HFFibreFiducial.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | SimG4CMS/Calo/src/HFFibreFiducial.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | SimG4CMS/Calo/src/HFFibreFiducial.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | #include "SimG4CMS/Calo/interface/HFFibreFiducial.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "CLHEP/Units/GlobalPhysicalConstants.h"
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include<iostream>
//#define DebugLog
int HFFibreFiducial::PMTNumber(const G4ThreeVector& pe_effect)
{
double... | 67.81064 | 91 | 0.515695 | nistefan |
db03db9c6f2d304382cc2bffa20cb53179e96c65 | 265 | cpp | C++ | Chapter 06/q03.cpp | altugbakan/accelerated-cpp-solutions | 0087c12cf853c143a301c44eeedd041a0dc7ecfc | [
"MIT"
] | 4 | 2021-10-29T18:45:48.000Z | 2022-02-08T16:12:45.000Z | Chapter 06/q03.cpp | altugbakan/accelerated-cpp-solutions | 0087c12cf853c143a301c44eeedd041a0dc7ecfc | [
"MIT"
] | null | null | null | Chapter 06/q03.cpp | altugbakan/accelerated-cpp-solutions | 0087c12cf853c143a301c44eeedd041a0dc7ecfc | [
"MIT"
] | 1 | 2021-12-21T21:46:49.000Z | 2021-12-21T21:46:49.000Z | #include <iostream>
#include <vector>
using std::vector;
using std::cout;
using std::endl;
int main()
{
vector<int> u(10, 100);
vector<int> v;
// the code throws an error if we use v.begin()
// copy(u.begin(), u.end(), v.begin());
return 0;
} | 16.5625 | 51 | 0.596226 | altugbakan |
db04a7e1932d0b8918ed32457086bac25c9720d9 | 4,842 | cpp | C++ | src/CryptoLib/crypto_ecdsa.cpp | naishai/private-transaction-families | da2bf22650e6cab43c53c9b34a8a78bc0b432394 | [
"Apache-2.0"
] | 13 | 2019-01-30T17:51:19.000Z | 2021-03-12T02:32:41.000Z | src/CryptoLib/crypto_ecdsa.cpp | naishai/private-transaction-families | da2bf22650e6cab43c53c9b34a8a78bc0b432394 | [
"Apache-2.0"
] | 7 | 2019-06-12T06:34:40.000Z | 2019-09-24T19:11:26.000Z | src/CryptoLib/crypto_ecdsa.cpp | naishai/private-transaction-families | da2bf22650e6cab43c53c9b34a8a78bc0b432394 | [
"Apache-2.0"
] | 8 | 2019-01-29T17:01:11.000Z | 2022-03-20T07:32:04.000Z | /*
* Copyright 2018 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 23.852217 | 119 | 0.670797 | naishai |
db08c8d218498229f857a7f3938612e2bc73053f | 1,008 | cpp | C++ | ProjectEuler/euler001.cpp | HannoFlohr/hackerrank | 9644c78ce05a6b1bc5d8f542966781d53e5366e3 | [
"MIT"
] | null | null | null | ProjectEuler/euler001.cpp | HannoFlohr/hackerrank | 9644c78ce05a6b1bc5d8f542966781d53e5366e3 | [
"MIT"
] | null | null | null | ProjectEuler/euler001.cpp | HannoFlohr/hackerrank | 9644c78ce05a6b1bc5d8f542966781d53e5366e3 | [
"MIT"
] | null | null | null | #include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <bitset>
#include <cstdio>
#include <limits>
#include <vector>
#include <climits>
#include <cstring>
#include <cstdlib>
#include <fstream>
#include <numeric>
#inc... | 21.913043 | 78 | 0.608135 | HannoFlohr |
db0ac9ea061a61622c3a25112e13c796699f3bc1 | 3,127 | cpp | C++ | src/native/QmlNet/QmlNet/types/NetSignalInfo.cpp | joachim-egger/Qml.Net | 53525c0ba0f135a6b16f47b09ad62b349d54e844 | [
"MIT"
] | null | null | null | src/native/QmlNet/QmlNet/types/NetSignalInfo.cpp | joachim-egger/Qml.Net | 53525c0ba0f135a6b16f47b09ad62b349d54e844 | [
"MIT"
] | null | null | null | src/native/QmlNet/QmlNet/types/NetSignalInfo.cpp | joachim-egger/Qml.Net | 53525c0ba0f135a6b16f47b09ad62b349d54e844 | [
"MIT"
] | null | null | null | #include <QmlNet/types/NetSignalInfo.h>
#include <QmlNet/qml/NetValueMetaObjectPacker.h>
#include <QmlNetUtilities.h>
NetSignalInfo::NetSignalInfo(QSharedPointer<NetTypeInfo> parentType, QString name) :
_parentType(parentType),
_name(name)
{
}
QSharedPointer<NetTypeInfo> NetSignalInfo::getParentType()
{
r... | 25.422764 | 125 | 0.73361 | joachim-egger |
db0b7504b4cbcbf4d7a6997394e18f046d15bb9e | 2,936 | cpp | C++ | src/Metrics/Brier.cpp | dsiuta/Comps | 2071279280d33946e975de25deedc60f1881eda0 | [
"BSD-3-Clause"
] | null | null | null | src/Metrics/Brier.cpp | dsiuta/Comps | 2071279280d33946e975de25deedc60f1881eda0 | [
"BSD-3-Clause"
] | null | null | null | src/Metrics/Brier.cpp | dsiuta/Comps | 2071279280d33946e975de25deedc60f1881eda0 | [
"BSD-3-Clause"
] | null | null | null | #include "Brier.h"
#include "../Variables/Variable.h"
#include "../Distribution.h"
#include "../Obs.h"
#include "../Data.h"
#include <iomanip>
MetricBrier::MetricBrier(const Options& iOptions, const Data& iData) :
Metric(iOptions, iData),
mAnomaly(false),
mAnomalyAbove(false),
mAnomalyBelow(fals... | 34.139535 | 160 | 0.624319 | dsiuta |
db0c799a60603813db7380bbde0e7a9a3b32689c | 138 | hpp | C++ | experimental/brunsc/python_console/convert_simtk_vec3.hpp | lens-biophotonics/v3d_external | 44ff3b60a297a96eaa77ca092e0de9af5c990ed3 | [
"MIT"
] | 39 | 2015-05-10T23:23:03.000Z | 2022-01-26T01:31:30.000Z | experimental/brunsc/python_console/convert_simtk_vec3.hpp | lens-biophotonics/v3d_external | 44ff3b60a297a96eaa77ca092e0de9af5c990ed3 | [
"MIT"
] | 13 | 2016-03-04T05:29:23.000Z | 2021-02-07T01:11:10.000Z | experimental/brunsc/python_console/convert_simtk_vec3.hpp | lens-biophotonics/v3d_external | 44ff3b60a297a96eaa77ca092e0de9af5c990ed3 | [
"MIT"
] | 44 | 2015-11-11T07:30:59.000Z | 2021-12-26T16:41:21.000Z | #ifndef CONVERT_SIMTK_VEC3_HPP
#define CONVERT_SIMTK_VEC3_HPP
void register_simtk_vec3_conversion();
#endif // CONVERT_SIMTK_STRING_HPP
| 19.714286 | 38 | 0.862319 | lens-biophotonics |
db12a04ecd9a9c203ff2d61648123b3a6e821183 | 5,549 | cpp | C++ | src/ai/ScriptedTask.cpp | dhanin/friendly-bassoon | fafcfd3921805baddc1889dc0ee2fa367ad882f8 | [
"BSD-3-Clause"
] | 2 | 2021-11-17T10:59:38.000Z | 2021-11-17T10:59:45.000Z | src/ai/ScriptedTask.cpp | dhanin/nws | 87a3f24a7887d84b9884635064b48d456b4184e2 | [
"BSD-3-Clause"
] | null | null | null | src/ai/ScriptedTask.cpp | dhanin/nws | 87a3f24a7887d84b9884635064b48d456b4184e2 | [
"BSD-3-Clause"
] | null | null | null | /**
** @file ScriptedTask.cpp
*/
/*
** Copyright (c) 2014, GCBLUE PROJECT
** 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 copyri... | 24.662222 | 146 | 0.634349 | dhanin |
db13a60db28ce26d15f3a779921aeb2079bc39c8 | 9,074 | cpp | C++ | src/sutil/sutil.cpp | kevinkingo/OptixRenderer | dbfbabfa7a96527fed84878c0d34eaca2ee8fae7 | [
"MIT"
] | 41 | 2020-06-26T03:58:23.000Z | 2022-02-20T07:45:11.000Z | src/sutil/sutil.cpp | A-guridi/thesis_render | c03b5b988c41a2d8c4b774037ff4039e03501b87 | [
"MIT"
] | 5 | 2020-12-05T13:39:17.000Z | 2022-03-23T01:27:32.000Z | src/sutil/sutil.cpp | A-guridi/thesis_render | c03b5b988c41a2d8c4b774037ff4039e03501b87 | [
"MIT"
] | 20 | 2020-06-27T22:18:51.000Z | 2022-03-01T23:28:22.000Z | /*
* Copyright (c) 2016, NVIDIA CORPORATION. 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 c... | 28.092879 | 140 | 0.642164 | kevinkingo |
db141668a5bf95cc0b6e79401c7c9bb54f844cf3 | 3,990 | cc | C++ | src/file/classicopts.cc | aaszodi/multovl | 00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8 | [
"MIT"
] | 2 | 2018-03-06T02:36:25.000Z | 2020-01-13T10:55:35.000Z | src/file/classicopts.cc | aaszodi/multovl | 00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8 | [
"MIT"
] | null | null | null | src/file/classicopts.cc | aaszodi/multovl | 00c5b74e65c7aa37cddea8b2ae277fe67fbc59a8 | [
"MIT"
] | null | null | null | /* <LICENSE>
License for the MULTOVL multiple genomic overlap tools
Copyright (c) 2007-2012, Dr Andras Aszodi,
Campus Science Support Facilities GmbH (CSF),
Dr-Bohr-Gasse 3, A-1030 Vienna, Austria, Europe.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permi... | 35.625 | 79 | 0.704261 | aaszodi |
db1448e88f99dd32970373dfb5ff0ee103d6ed9f | 40,214 | cpp | C++ | GCG_Source.build/module.requests.status_codes.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.requests.status_codes.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | GCG_Source.build/module.requests.status_codes.cpp | Pckool/GCG | cee786d04ea30f3995e910bca82635f442b2a6a8 | [
"MIT"
] | null | null | null | /* Generated code for Python source for module 'requests.status_codes'
* created by Nuitka version 0.5.28.2
*
* This code is in part copyright 2017 Kay Hayen.
*
* 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 ... | 33.344942 | 176 | 0.71781 | Pckool |
db1aecfdac52204fbfd78f9ec74e3461398d731a | 825 | cpp | C++ | Patterns/Misc/array_to_tuple.cpp | kant/Always-be-learning | 7c3b3b4f5e8f0dfcb4d8f4b7f7428d5c8ab164c5 | [
"Unlicense"
] | null | null | null | Patterns/Misc/array_to_tuple.cpp | kant/Always-be-learning | 7c3b3b4f5e8f0dfcb4d8f4b7f7428d5c8ab164c5 | [
"Unlicense"
] | null | null | null | Patterns/Misc/array_to_tuple.cpp | kant/Always-be-learning | 7c3b3b4f5e8f0dfcb4d8f4b7f7428d5c8ab164c5 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <array>
#include <tuple>
#include <type_traits>
// Convert array into a tuple
template<typename Array, std::size_t... I>
constexpr auto a2t_impl(const Array& a, std::index_sequence<I...>)
{
return std::make_tuple(a[I]...);
}
template<typename T, std::size_t N, typename Indices = std... | 23.571429 | 83 | 0.669091 | kant |
db1cd38671c039d3b0753c028af7f8478f147ebc | 309 | cpp | C++ | src/test/staticConstructors.cpp | kkysen/DifferentiableFuzzer | 22088a3871e4104c4afc463c05ce58f0221dbc43 | [
"MIT"
] | 1 | 2019-06-19T06:03:03.000Z | 2019-06-19T06:03:03.000Z | src/test/staticConstructors.cpp | kkysen/SmartNeuralFuzzer | 22088a3871e4104c4afc463c05ce58f0221dbc43 | [
"MIT"
] | null | null | null | src/test/staticConstructors.cpp | kkysen/SmartNeuralFuzzer | 22088a3871e4104c4afc463c05ce58f0221dbc43 | [
"MIT"
] | null | null | null | //
// Created by Khyber on 3/18/2019.
//
class A {
public:
static bool initialized;
A() noexcept {
initialized = true;
}
~A() {
initialized = false;
}
};
bool A::initialized = false;
A a;
int main() {
return static_cast<int>(A::initialized);
}
| 11.035714 | 44 | 0.517799 | kkysen |
db1d3dc96b67bbef9bdcc19d177f3e3f63a57935 | 43,655 | cpp | C++ | src/qt/qtbase/src/network/socket/qnativesocketengine_winrt.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-01-21T01:48:04.000Z | 2015-01-21T01:48:04.000Z | src/qt/qtbase/src/network/socket/qnativesocketengine_winrt.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/src/network/socket/qnativesocketengine_winrt.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtNetwork module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licens... | 34.537184 | 214 | 0.679349 | viewdy |
db1e9cd7074462148a47c8f5a29b528c7f62e25d | 8,577 | cxx | C++ | main/sfx2/source/control/querystatus.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sfx2/source/control/querystatus.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sfx2/source/control/querystatus.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 36.037815 | 186 | 0.609187 | Grosskopf |
db209eb8ac7f14758ae5fc9be4943d235b4d43da | 4,342 | cpp | C++ | source/ham/softjoystick.cpp | Hypexion/HamSandwich | e5adb6b45d822cbef1be1a52d0ce51513dc24bc8 | [
"MIT"
] | 24 | 2019-05-12T12:03:21.000Z | 2022-03-30T01:05:46.000Z | source/ham/softjoystick.cpp | Hypexion/HamSandwich | e5adb6b45d822cbef1be1a52d0ce51513dc24bc8 | [
"MIT"
] | 6 | 2019-05-12T11:54:54.000Z | 2022-02-26T11:47:20.000Z | source/ham/softjoystick.cpp | Hypexion/HamSandwich | e5adb6b45d822cbef1be1a52d0ce51513dc24bc8 | [
"MIT"
] | 12 | 2019-05-12T13:48:57.000Z | 2022-02-25T15:25:24.000Z | #include "softjoystick.h"
#include "control.h"
#include <algorithm>
#include <math.h>
#include <SDL_image.h>
#ifndef M_PI
#define M_PI 3.1415926535897
#endif
static byte numButtons = 2;
static byte state = 0;
static byte taps = 0;
void SoftJoystickNumButtons(byte n) {
numButtons = std::max((byte) 1, std::min(n, (... | 27.656051 | 76 | 0.631506 | Hypexion |
db23cc892c19ff1989a737ffc99aea47d34fbd7d | 1,528 | hpp | C++ | src/lib/repository/extractor.hpp | bunsanorg/pm | 67300580a21591cf84d64f1239dd219659797dca | [
"Apache-2.0"
] | null | null | null | src/lib/repository/extractor.hpp | bunsanorg/pm | 67300580a21591cf84d64f1239dd219659797dca | [
"Apache-2.0"
] | 1 | 2015-02-12T10:02:56.000Z | 2015-02-12T10:02:56.000Z | src/lib/repository/extractor.hpp | bunsanorg/pm | 67300580a21591cf84d64f1239dd219659797dca | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "cache.hpp"
#include <bunsan/pm/repository.hpp>
#include <boost/noncopyable.hpp>
namespace bunsan {
namespace pm {
class repository::extractor : private boost::noncopyable {
public:
extractor(repository &self, const extract_config &config);
void extract(const entry &package,
... | 27.285714 | 80 | 0.672775 | bunsanorg |
db23e629dce0b969ffcd105dca1bdd067ddad091 | 916 | cpp | C++ | DOJ/#843.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | null | null | null | DOJ/#843.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | 1 | 2021-11-18T15:10:29.000Z | 2021-11-20T07:13:31.000Z | DOJ/#843.cpp | Nickel-Angel/ACM-and-OI | 79d13fd008c3a1fe9ebf35329aceb1fcb260d5d9 | [
"MIT"
] | null | null | null | /*
* @author Nickel_Angel (1239004072@qq.com)
* @copyright Copyright (c) 2022
*/
#include <algorithm>
#include <cstdio>
#include <cstring>
int n, a[5010], f[5010][5010];
int main()
{
scanf("%d", &n);
for (int i = 1; i <= n; ++i)
scanf("%d", a + i);
std::sort(a + 1, a + n + 1);
for (int i = 1;... | 21.302326 | 57 | 0.340611 | Nickel-Angel |
db2650a172cad32216f4aade255039bee638bd03 | 882 | cc | C++ | src/experiment-prime-sieve/checked-basic.cc | D-iii-S/teaching-performance-evaluation | 090d04aca56e604ea685f9b2c1e036f5182572df | [
"Apache-2.0"
] | null | null | null | src/experiment-prime-sieve/checked-basic.cc | D-iii-S/teaching-performance-evaluation | 090d04aca56e604ea685f9b2c1e036f5182572df | [
"Apache-2.0"
] | null | null | null | src/experiment-prime-sieve/checked-basic.cc | D-iii-S/teaching-performance-evaluation | 090d04aca56e604ea685f9b2c1e036f5182572df | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#ifndef N
// By default consider about 150 million numbers.
#define N (1<<27)
#endif
bool can_be_prime [N];
int main () {
// Mark all numbers as potentially prime.
for (int i = 2 ; i < N ; i ++) {
can_be_prime [i] = true;
}
int primes = 0;
// Check numbers f... | 23.210526 | 97 | 0.468254 | D-iii-S |
db270a141b74392659232fe28e05457c9045a780 | 20,260 | cc | C++ | content/browser/storage_partition_impl_map.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/storage_partition_impl_map.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/storage_partition_impl_map.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright (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 "content/browser/storage_partition_impl_map.h"
#include <unordered_set>
#include <utility>
#include "base/bind.h"
#include "base/bind_helpe... | 41.178862 | 80 | 0.728776 | mghgroup |
db29cda31dbc086c00bb3bb8acdc96f447ff6164 | 2,456 | cpp | C++ | keysmappingdialog.cpp | HankHenshaw/Chip8Qt | 968e7505b26b653397c8708a2514acfe12d294a4 | [
"MIT"
] | null | null | null | keysmappingdialog.cpp | HankHenshaw/Chip8Qt | 968e7505b26b653397c8708a2514acfe12d294a4 | [
"MIT"
] | null | null | null | keysmappingdialog.cpp | HankHenshaw/Chip8Qt | 968e7505b26b653397c8708a2514acfe12d294a4 | [
"MIT"
] | null | null | null | #include "keysmappingdialog.h"
#include "ui_keysmappingdialog.h"
KeysMappingDialog::KeysMappingDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::KeysMappingDialog)
{
ui->setupUi(this);
this->setWindowTitle("Keys Options");
connect(ui->A_pushButton, &QPushButton::pressed, this, &KeysMappingDia... | 39.612903 | 96 | 0.739414 | HankHenshaw |
db2af2c45c57222ebbd5ff6617da32adbbd1d55b | 1,604 | cpp | C++ | examples/std_parts/fixed.cpp | denkoken/fase | 05d995170d53539f122b1318c084c99ca71fd393 | [
"MIT"
] | 2 | 2019-03-18T10:49:26.000Z | 2019-05-27T09:44:05.000Z | examples/std_parts/fixed.cpp | denkoken/fase | 05d995170d53539f122b1318c084c99ca71fd393 | [
"MIT"
] | null | null | null | examples/std_parts/fixed.cpp | denkoken/fase | 05d995170d53539f122b1318c084c99ca71fd393 | [
"MIT"
] | 1 | 2021-01-13T05:30:42.000Z | 2021-01-13T05:30:42.000Z |
#include <fase2/fase.h>
#include <fase2/imgui_editor/imgui_editor.h>
#include <fase2/stdparts.h>
#include <string>
#include <vector>
#include "../extra_parts.h"
#include "../fase_gl_utils.h"
#include "funcs.h"
int main() {
// Create Fase instance with GUI editor
fase::Fase<fase::ImGuiEditor, fase::FixedPip... | 25.870968 | 77 | 0.524938 | denkoken |
db2b3ad9178c762b697722051647f74d045c27f5 | 2,196 | cpp | C++ | solutions/1198/memory_allocating.cpp | buptlxb/hihoCoder | 1995bdfda29d4dab98c002870ef0bc138bc37ce7 | [
"Apache-2.0"
] | 44 | 2016-05-11T06:41:14.000Z | 2021-12-20T13:45:41.000Z | solutions/1198/memory_allocating.cpp | buptlxb/hihoCoder | 1995bdfda29d4dab98c002870ef0bc138bc37ce7 | [
"Apache-2.0"
] | null | null | null | solutions/1198/memory_allocating.cpp | buptlxb/hihoCoder | 1995bdfda29d4dab98c002870ef0bc138bc37ce7 | [
"Apache-2.0"
] | 10 | 2016-06-25T08:55:20.000Z | 2018-07-06T05:52:53.000Z | #include <iostream>
#include <vector>
#include <cassert>
#include <algorithm>
using namespace std;
struct Chunk{
int key;
int length;
Chunk *prev;
Chunk *next;
Chunk(int k=0, int len=0) : key(k), length(len), prev(nullptr), next(nullptr) {}
} *head;
void init(int m)
{
Chunk *t = new Chunk(0, ... | 20.523364 | 84 | 0.435337 | buptlxb |
db2b633908571f8cbac6a03474dfd7c0878540d1 | 4,816 | cpp | C++ | core/ir/Input.cpp | p1x31/TRTorch | f99a6ca763eb08982e8b7172eb948a090bcbf11c | [
"BSD-3-Clause"
] | 944 | 2020-03-13T22:50:32.000Z | 2021-11-09T05:39:28.000Z | core/ir/Input.cpp | p1x31/TRTorch | f99a6ca763eb08982e8b7172eb948a090bcbf11c | [
"BSD-3-Clause"
] | 434 | 2020-03-18T03:00:29.000Z | 2021-11-09T00:26:36.000Z | core/ir/Input.cpp | p1x31/TRTorch | f99a6ca763eb08982e8b7172eb948a090bcbf11c | [
"BSD-3-Clause"
] | 106 | 2020-03-18T02:20:21.000Z | 2021-11-08T18:58:58.000Z | #include "core/ir/ir.h"
#include "core/util/prelude.h"
namespace trtorch {
namespace core {
namespace ir {
bool valid_dtype_format_combo(nvinfer1::DataType dtype, nvinfer1::TensorFormat format) {
switch (dtype) {
case nvinfer1::DataType::kINT8: // Supports just Linear (NCHW)
switch (format) {
case... | 30.871795 | 141 | 0.628322 | p1x31 |
db2ce47578fab663169f7642a491179678fadcf2 | 361 | cpp | C++ | 2018/src/j1.cpp | Kytabyte/CCC | 6f98e81c7fef38bf70e68188db38863cc0cba2f4 | [
"Apache-2.0"
] | 8 | 2020-12-13T01:29:14.000Z | 2022-02-15T09:02:27.000Z | 2018/src/j1.cpp | Kytabyte/CCC | 6f98e81c7fef38bf70e68188db38863cc0cba2f4 | [
"Apache-2.0"
] | null | null | null | 2018/src/j1.cpp | Kytabyte/CCC | 6f98e81c7fef38bf70e68188db38863cc0cba2f4 | [
"Apache-2.0"
] | 2 | 2021-02-05T19:59:33.000Z | 2021-09-14T23:25:52.000Z | #include <bits/stdc++.h>
using namespace std;
/**
* Marks: 15/15
*/
int digits[4];
int main() {
for (int i = 0; i < 4; i++) {
scanf("%d", &digits[i]);
}
if (digits[0] != 8 && digits[0] != 9 || digits[3] != 8 && digits[3] != 9 || digits[1] != digits[2]) {
cout << "answer" << endl;
} else {
cou... | 15.695652 | 103 | 0.470914 | Kytabyte |
db2f038fba09c6f17406382ca0b25affad1a7e03 | 797 | cpp | C++ | Merge Nodes in Between Zeros.cpp | dishanp/Coding-In-C-and-C- | 889985ac136826cf9be88d6c5455f79fd805a069 | [
"BSD-2-Clause"
] | 2 | 2021-10-01T04:20:04.000Z | 2021-10-01T04:20:06.000Z | Merge Nodes in Between Zeros.cpp | dishanp/Coding-In-C-and-C- | 889985ac136826cf9be88d6c5455f79fd805a069 | [
"BSD-2-Clause"
] | null | null | null | Merge Nodes in Between Zeros.cpp | dishanp/Coding-In-C-and-C- | 889985ac136826cf9be88d6c5455f79fd805a069 | [
"BSD-2-Clause"
] | 8 | 2021-10-01T04:20:38.000Z | 2022-03-19T17:05:05.000Z | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
ListNode* mergeNodes(... | 22.771429 | 62 | 0.430364 | dishanp |
db2f6ebce9b568be81e7fa60d41c9646f0761a96 | 3,627 | cpp | C++ | app/main.cpp | KPO-2020-2021/zad4-KrystianCyga | f055e0f13052646f8b55bc6a4b1f94ebce9db84a | [
"Unlicense"
] | null | null | null | app/main.cpp | KPO-2020-2021/zad4-KrystianCyga | f055e0f13052646f8b55bc6a4b1f94ebce9db84a | [
"Unlicense"
] | null | null | null | app/main.cpp | KPO-2020-2021/zad4-KrystianCyga | f055e0f13052646f8b55bc6a4b1f94ebce9db84a | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <fstream>
#include "vector.hh"
#include "matrix.hh"
#include "Prostopadloscian.hh"
#include "lacze_do_gnuplota.hh"
#include <string>
#include <unistd.h>
#include <stdlib.h>
Vector<double, 3> VecPrzesu;
Matrix<3> MROT;
Prostopadloscian<double> cuboid;
PzG::LaczeDoGNUPlot... | 25.723404 | 77 | 0.435897 | KPO-2020-2021 |
db3228a6c5035e62578eb8bff186b13d000858bf | 1,746 | cpp | C++ | main.cpp | CaptainDreamcast/Torchbearer | 144a1d8eca66e994dc832fc4116431ea267e00d9 | [
"MIT"
] | null | null | null | main.cpp | CaptainDreamcast/Torchbearer | 144a1d8eca66e994dc832fc4116431ea267e00d9 | [
"MIT"
] | null | null | null | main.cpp | CaptainDreamcast/Torchbearer | 144a1d8eca66e994dc832fc4116431ea267e00d9 | [
"MIT"
] | null | null | null | #include <prism/framerateselectscreen.h>
#include <prism/physics.h>
#include <prism/file.h>
#include <prism/drawing.h>
#include <prism/log.h>
#include <prism/wrapper.h>
#include <prism/system.h>
#include <prism/stagehandler.h>
#include <prism/logoscreen.h>
#include <prism/mugentexthandler.h>
#include <prism/debug.h>
#... | 19.186813 | 67 | 0.733677 | CaptainDreamcast |
db350e521c24fa8ca7fb1151352bcd20dfb7d855 | 9,610 | cc | C++ | chrome/browser/history/shortcuts_backend.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2016-03-10T09:13:57.000Z | 2016-03-10T09:13:57.000Z | chrome/browser/history/shortcuts_backend.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | 1 | 2022-03-13T08:39:05.000Z | 2022-03-13T08:39:05.000Z | chrome/browser/history/shortcuts_backend.cc | gavinp/chromium | 681563ea0f892a051f4ef3d5e53438e0bb7d2261 | [
"BSD-3-Clause"
] | null | null | null | // 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/history/shortcuts_backend.h"
#include <map>
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/bind_... | 36.12782 | 80 | 0.696982 | gavinp |
db392ef179cff39ac26e263071c12e1e08373dc6 | 1,792 | cpp | C++ | src/VPetLCD/Screens/ProgressBarScreen.cpp | Perchindroid/DigimonVPet | 75ae638fb19a5b5d7073589734aa43f8a20813a4 | [
"MIT"
] | 23 | 2021-02-17T06:37:42.000Z | 2022-03-31T23:16:39.000Z | src/VPetLCD/Screens/ProgressBarScreen.cpp | Perchindroid/DigimonVPet | 75ae638fb19a5b5d7073589734aa43f8a20813a4 | [
"MIT"
] | 3 | 2021-03-09T14:39:48.000Z | 2022-03-22T12:27:52.000Z | src/VPetLCD/Screens/ProgressBarScreen.cpp | Perchindroid/DigimonVPet | 75ae638fb19a5b5d7073589734aa43f8a20813a4 | [
"MIT"
] | 13 | 2021-03-23T05:35:32.000Z | 2022-03-21T12:01:38.000Z | /////////////////////////////////////////////////////////////////
/*
Created by Berat Özdemir, January 24 , 2021.
*/
/////////////////////////////////////////////////////////////////
#include "ProgressBarScreen.h"
V20::ProgressBarScreen::ProgressBarScreen(char _text[], uint16_t _barLength, uint16_t _fillPercentage... | 35.84 | 115 | 0.661272 | Perchindroid |
db3eef4d69ec56893bb291897520af8ad9d5b3e5 | 6,892 | hh | C++ | python/dune/xt/functions/interfaces/grid-function.hh | dune-community/dune-xt | da921524c6fff8d60c715cb4849a0bdd5f020d2b | [
"BSD-2-Clause"
] | 2 | 2020-02-08T04:08:52.000Z | 2020-08-01T18:54:14.000Z | python/dune/xt/functions/interfaces/grid-function.hh | dune-community/dune-xt | da921524c6fff8d60c715cb4849a0bdd5f020d2b | [
"BSD-2-Clause"
] | 35 | 2019-08-19T12:06:35.000Z | 2020-03-27T08:20:39.000Z | python/dune/xt/functions/interfaces/grid-function.hh | dune-community/dune-xt | da921524c6fff8d60c715cb4849a0bdd5f020d2b | [
"BSD-2-Clause"
] | 1 | 2020-02-08T04:09:34.000Z | 2020-02-08T04:09:34.000Z | // This file is part of the dune-xt project:
// https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt
// Copyright 2009-2021 dune-xt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (h... | 34.633166 | 120 | 0.613755 | dune-community |
db4145ec4b988968b77d9c5a9f98dae19495205c | 334 | cpp | C++ | libgenthrift/cassandra_constants.cpp | caoimhechaos/libcassandra | 0ae354dd5c41132404c7a5f3c99f6e150e7c823f | [
"BSD-3-Clause"
] | 1 | 2019-04-16T09:06:41.000Z | 2019-04-16T09:06:41.000Z | libgenthrift/cassandra_constants.cpp | tjake/libcassandra | a0f31a56fbd6584f8ffc4d4a61df9f13d4365522 | [
"BSD-3-Clause"
] | null | null | null | libgenthrift/cassandra_constants.cpp | tjake/libcassandra | a0f31a56fbd6584f8ffc4d4a61df9f13d4365522 | [
"BSD-3-Clause"
] | 3 | 2016-03-14T11:22:24.000Z | 2020-04-23T06:58:53.000Z | /**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
#include "cassandra_constants.h"
namespace org { namespace apache { namespace cassandra {
const cassandraConstants g_cassandra_constants;
cassandraConstants::cassandraConstants() {
VERSION = "19.4.0";
}
}}} ... | 17.578947 | 67 | 0.730539 | caoimhechaos |
db41fd6633b6b54cb20c9853c40f5427e2c8477f | 3,501 | cpp | C++ | mock_drivers/rosbag_mock_drivers/test/MockCameraDriverROSTest.cpp | adamlm/carma-platform | f6d46274cf6b6e14eddf8715b1a5204050d4c0e2 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 112 | 2020-04-27T17:06:46.000Z | 2022-03-31T15:27:14.000Z | mock_drivers/rosbag_mock_drivers/test/MockCameraDriverROSTest.cpp | adamlm/carma-platform | f6d46274cf6b6e14eddf8715b1a5204050d4c0e2 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 982 | 2020-04-17T11:28:04.000Z | 2022-03-31T21:12:19.000Z | mock_drivers/rosbag_mock_drivers/test/MockCameraDriverROSTest.cpp | adamlm/carma-platform | f6d46274cf6b6e14eddf8715b1a5204050d4c0e2 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 57 | 2020-05-07T15:48:11.000Z | 2022-03-09T23:31:45.000Z | /*
* Copyright (C) 2020-2021 LEIDOS.
*
* 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... | 33.990291 | 129 | 0.693516 | adamlm |
db42e0db1da8e23cbdc18eb73f8aebec5e5327cb | 5,093 | cc | C++ | examples/workbook/art-workbook/ExN/MassPlot_module.cc | JeffersonLab/ARIEL | 49054ac62a84d48e269f7171daabb98e12a0be90 | [
"BSD-3-Clause"
] | null | null | null | examples/workbook/art-workbook/ExN/MassPlot_module.cc | JeffersonLab/ARIEL | 49054ac62a84d48e269f7171daabb98e12a0be90 | [
"BSD-3-Clause"
] | null | null | null | examples/workbook/art-workbook/ExN/MassPlot_module.cc | JeffersonLab/ARIEL | 49054ac62a84d48e269f7171daabb98e12a0be90 | [
"BSD-3-Clause"
] | 2 | 2020-09-26T01:37:11.000Z | 2021-05-03T13:02:24.000Z | //
// Pull combinations out of the event and make TH1's, some TNtuples ...
//
#include "art-workbook/ExDataProducts/CombinationCollection.h"
#include "art-workbook/ExUtilities/PSetChecker.h"
#include "art-workbook/ExN/TrackCuts.h"
#include "toyExperiment/Geometry/Geometry.h"
#include "toyExperiment/Conditions/Conditi... | 28.138122 | 105 | 0.655017 | JeffersonLab |
b9cc6a75f6fc587a1942fd227445cd200057bad5 | 1,492 | cpp | C++ | 027-occlusion-query/HUD027.cpp | michalbb1/opengl4-tutorials-mbsoftworks | ddd5ac157173ccbac5baf864afa34ecb372e2f8a | [
"MIT"
] | 51 | 2018-06-01T05:05:20.000Z | 2022-03-03T16:10:20.000Z | 027-occlusion-query/HUD027.cpp | michalbb1/opengl4-tutorials-mbsoftworks | ddd5ac157173ccbac5baf864afa34ecb372e2f8a | [
"MIT"
] | null | null | null | 027-occlusion-query/HUD027.cpp | michalbb1/opengl4-tutorials-mbsoftworks | ddd5ac157173ccbac5baf864afa34ecb372e2f8a | [
"MIT"
] | 16 | 2019-04-03T04:35:29.000Z | 2022-02-16T01:27:00.000Z | // STL
#include <mutex>
// Project
#include "HUD027.h"
#include "../common_classes/ostreamUtils.h"
using namespace ostream_utils;
HUD027::HUD027(const OpenGLWindow& window)
: HUD(window)
{
static std::once_flag prepareOnceFlag;
std::call_once(prepareOnceFlag, []()
{
FreeTypeFontManager::getI... | 34.697674 | 145 | 0.677614 | michalbb1 |
b9cd0c71089bfd47e0d6072a1b5a08fd60a346f6 | 2,982 | cpp | C++ | src/core/shadow/DirectionalShadow.cpp | Dreambee0123/render-engine | a82b79dd39f12c3dbaacbd1ac700fb6969532f4c | [
"MIT"
] | 1 | 2021-11-25T11:15:37.000Z | 2021-11-25T11:15:37.000Z | src/core/shadow/DirectionalShadow.cpp | Dreambee0123/render-engine | a82b79dd39f12c3dbaacbd1ac700fb6969532f4c | [
"MIT"
] | null | null | null | src/core/shadow/DirectionalShadow.cpp | Dreambee0123/render-engine | a82b79dd39f12c3dbaacbd1ac700fb6969532f4c | [
"MIT"
] | 6 | 2020-03-09T12:37:26.000Z | 2020-04-01T16:55:33.000Z | //
// Created by Krisu on 2020/3/13.
//
#include "DirectionalShadow.hpp"
#include "Renderer.hpp"
#include "Mesh.hpp"
#include "Scene.hpp"
#include "Transform.hpp"
DirectionalShadow::DirectionalShadow(const int map_width, const int map_height)
:
width(map_width), height(map_height) {
glGenFramebuf... | 35.927711 | 91 | 0.680751 | Dreambee0123 |
b9cd2302411dfa98e87b197b88213cb543802202 | 5,637 | hpp | C++ | src/3rd party/boost/boost/limits.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/limits.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 1 | 2018-01-09T10:08:18.000Z | 2018-01-09T10:08:18.000Z | src/3rd party/boost/boost/limits.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z |
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
//
// use thi... | 39.697183 | 95 | 0.712258 | OLR-xray |
b9d3f077eea00bb84395dbc78a804d41fe2a91fb | 1,863 | hh | C++ | test/geometry/LinearPropagator.test.hh | amandalund/celeritas | c631594b00c040d5eb4418fa2129f88c01e29316 | [
"Apache-2.0",
"MIT"
] | null | null | null | test/geometry/LinearPropagator.test.hh | amandalund/celeritas | c631594b00c040d5eb4418fa2129f88c01e29316 | [
"Apache-2.0",
"MIT"
] | null | null | null | test/geometry/LinearPropagator.test.hh | amandalund/celeritas | c631594b00c040d5eb4418fa2129f88c01e29316 | [
"Apache-2.0",
"MIT"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
// Copyright 2020 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//-------------------------------------------------------------------------... | 31.576271 | 79 | 0.482555 | amandalund |
b9d44231041b2e604d559e809fa43e3c9d42eb73 | 1,805 | cxx | C++ | Servers/ServerManager/vtkSMAnimationCueManipulatorProxy.cxx | utkarshayachit/ParaView | 7bbb2aa16fdef9cfbcf4a3786cad905d6770771b | [
"BSD-3-Clause"
] | null | null | null | Servers/ServerManager/vtkSMAnimationCueManipulatorProxy.cxx | utkarshayachit/ParaView | 7bbb2aa16fdef9cfbcf4a3786cad905d6770771b | [
"BSD-3-Clause"
] | null | null | null | Servers/ServerManager/vtkSMAnimationCueManipulatorProxy.cxx | utkarshayachit/ParaView | 7bbb2aa16fdef9cfbcf4a3786cad905d6770771b | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: ParaView
Module: vtkSMAnimationCueManipulatorProxy.cxx
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed W... | 34.711538 | 80 | 0.549584 | utkarshayachit |
b9d4c46e5be9f8a09dc3b66f311b6a0fdfbcc64a | 692 | cpp | C++ | src/Timer.cpp | zhiyiYo/Dont-Tap-White-Block | 6297cb922959683e581b4e35e8fd1a0926dfa3dc | [
"MIT"
] | null | null | null | src/Timer.cpp | zhiyiYo/Dont-Tap-White-Block | 6297cb922959683e581b4e35e8fd1a0926dfa3dc | [
"MIT"
] | null | null | null | src/Timer.cpp | zhiyiYo/Dont-Tap-White-Block | 6297cb922959683e581b4e35e8fd1a0926dfa3dc | [
"MIT"
] | null | null | null | #include "Timer.h"
using std::chrono::high_resolution_clock;
/* 打开计时器 */
void Timer::start()
{
if (m_isRunning)
return;
m_isRunning = true;
m_start = high_resolution_clock::now();
}
/* 停止计时器 */
void Timer::stop()
{
m_isRunning = false;
}
/* 重新打开计时器 */
void Timer::restart()
{
stop();
s... | 17.3 | 100 | 0.641618 | zhiyiYo |
b9d65eeb1f513c29f10ba8d2620b97fbe032b6ea | 946 | cpp | C++ | Arrays-Insertion Sort.cpp | Apoorv0001/HackerBlogs-Practice-Questions | 52c95f9d0ade3f38596821c979604c0aa23c78cb | [
"MIT"
] | null | null | null | Arrays-Insertion Sort.cpp | Apoorv0001/HackerBlogs-Practice-Questions | 52c95f9d0ade3f38596821c979604c0aa23c78cb | [
"MIT"
] | null | null | null | Arrays-Insertion Sort.cpp | Apoorv0001/HackerBlogs-Practice-Questions | 52c95f9d0ade3f38596821c979604c0aa23c78cb | [
"MIT"
] | null | null | null | /*
Given an array A of size N , write a function that implements insertion sort on the array. Print the elements of sorted array.
Input Format
First line contains a single integer N denoting the size of the array. Next line contains N space seperated integers where ith integer is the ith element of the array.
Constra... | 18.54902 | 167 | 0.647992 | Apoorv0001 |
b9d694961356006758cb892928111d86b7976fd6 | 933 | cpp | C++ | test/runtime/23_threads_heap.cpp | ste-lam/TypeART | e563d3d1cd28245301f5f6d87f7f55d2b13d610a | [
"BSD-3-Clause"
] | 17 | 2020-04-23T14:51:32.000Z | 2022-03-30T08:41:45.000Z | test/runtime/23_threads_heap.cpp | ste-lam/TypeART | e563d3d1cd28245301f5f6d87f7f55d2b13d610a | [
"BSD-3-Clause"
] | 94 | 2020-09-03T12:26:17.000Z | 2022-02-28T14:56:17.000Z | test/runtime/23_threads_heap.cpp | ste-lam/TypeART | e563d3d1cd28245301f5f6d87f7f55d2b13d610a | [
"BSD-3-Clause"
] | 6 | 2020-10-07T22:06:17.000Z | 2021-12-06T12:07:08.000Z | // clang-format off
// RUN: %run %s --thread 2>&1 | FileCheck %s --check-prefix=CHECK-TSAN
// RUN: %run %s --thread 2>&1 | FileCheck %s
// REQUIRES: thread && softcounter
// clang-format on
#include <stdlib.h>
#include <thread>
#include <stdio.h>
void repeat_alloc_free(unsigned n) {
for (int i = 0; i < n; i++) {
... | 22.214286 | 70 | 0.619507 | ste-lam |
b9d8e7dc999ba3064bee7105eff0f9553d825df8 | 9,818 | cpp | C++ | src/slave/containerizer/mesos/isolators/xfs/utils.cpp | m4rvin/Mesos_DRFH | 212486a9349cbec91724d13e6bbc82f1215706aa | [
"Apache-2.0"
] | 4 | 2016-03-15T14:54:34.000Z | 2018-01-03T13:52:10.000Z | src/slave/containerizer/mesos/isolators/xfs/utils.cpp | m4rvin/Mesos_DRFH | 212486a9349cbec91724d13e6bbc82f1215706aa | [
"Apache-2.0"
] | null | null | null | src/slave/containerizer/mesos/isolators/xfs/utils.cpp | m4rvin/Mesos_DRFH | 212486a9349cbec91724d13e6bbc82f1215706aa | [
"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... | 24.483791 | 80 | 0.666735 | m4rvin |
b9da7f22a2dd0367a2dfbd5ef23766ece3bfe902 | 6,297 | cpp | C++ | toolkit/Source/src/gs2d/src/Sprite.cpp | LuizTedesco/ethanon | c140bd360092dcdf11b242a11dee67e79fbbd025 | [
"Unlicense"
] | 64 | 2015-01-02T12:27:29.000Z | 2022-03-07T03:23:33.000Z | toolkit/Source/src/gs2d/src/Sprite.cpp | theomission/ethanon | c140bd360092dcdf11b242a11dee67e79fbbd025 | [
"Unlicense"
] | 5 | 2015-03-31T00:09:29.000Z | 2022-03-07T18:16:42.000Z | toolkit/Source/src/gs2d/src/Sprite.cpp | theomission/ethanon | c140bd360092dcdf11b242a11dee67e79fbbd025 | [
"Unlicense"
] | 40 | 2015-01-14T09:47:56.000Z | 2022-02-07T22:07:24.000Z | /*--------------------------------------------------------------------------------------
Ethanon Engine (C) Copyright 2008-2013 Andre Santee
http://ethanonengine.com/
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), t... | 21.491468 | 126 | 0.691282 | LuizTedesco |
b9de47b9c0a8fe266ae4a5a66d3847e33401100e | 3,972 | cc | C++ | CaloOnlineTools/EcalTools/plugins/EcalBxOrbitNumberGrapher.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | CaloOnlineTools/EcalTools/plugins/EcalBxOrbitNumberGrapher.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | CaloOnlineTools/EcalTools/plugins/EcalBxOrbitNumberGrapher.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | // -*- C++ -*-
//
// Package: EcalBxOrbitNumberGrapher
// Class: EcalBxOrbitNumberGrapher
//
/**\class EcalBxOrbitNumberGrapher EcalBxOrbitNumberGrapher.cc
Description: <one line class summary>
Implementation:
<Notes on implementation>
*/
//
// Original Author: Seth COOPER
// Created: Th Nov 22... | 31.03125 | 238 | 0.664904 | ckamtsikis |
b9df9cd5ffe8182a8bb7864ccffc9db1654bc2fe | 584 | cpp | C++ | runtime/heap/JavaHeap.cpp | zhukovaskychina/X-JVM | 51b5404c53c3671af4af6407307234b13f40c43b | [
"MIT"
] | 1 | 2020-10-23T09:38:28.000Z | 2020-10-23T09:38:28.000Z | runtime/heap/JavaHeap.cpp | zhukovaskychina/X-JVM | 51b5404c53c3671af4af6407307234b13f40c43b | [
"MIT"
] | null | null | null | runtime/heap/JavaHeap.cpp | zhukovaskychina/X-JVM | 51b5404c53c3671af4af6407307234b13f40c43b | [
"MIT"
] | null | null | null | //
// Created by zhukovasky on 2020/8/19.
//
#include "JavaHeap.h"
namespace Runtime{
Object *JavaHeap::createJavaObject(JavaClass *javaClass) {
Object *object=new Object();
object->setJavaClass(javaClass);
object->setData(nullptr);
this->youngList.insert(object);
return ob... | 25.391304 | 67 | 0.636986 | zhukovaskychina |
b9dfb1c91341d9dfd6355096f1b6cd6b725ca486 | 4,805 | cpp | C++ | HiveGame/MyGUI/Tools/SkinEditor/StateListControl.cpp | lockie/HiveGame | bb1aa12561f1dfd956d78a53bfb7a746e119692a | [
"MIT"
] | 4 | 2018-01-08T10:15:52.000Z | 2020-11-15T14:05:50.000Z | HiveGame/MyGUI/Tools/SkinEditor/StateListControl.cpp | lockie/HiveGame | bb1aa12561f1dfd956d78a53bfb7a746e119692a | [
"MIT"
] | null | null | null | HiveGame/MyGUI/Tools/SkinEditor/StateListControl.cpp | lockie/HiveGame | bb1aa12561f1dfd956d78a53bfb7a746e119692a | [
"MIT"
] | 1 | 2019-08-29T18:19:56.000Z | 2019-08-29T18:19:56.000Z | /*!
@file
@author Albert Semenov
@date 08/2010
*/
#include "Precompiled.h"
#include "StateListControl.h"
#include "SkinManager.h"
#include "Binary.h"
#include "Localise.h"
namespace tools
{
enum PresetEnum
{
PresetNormalOnly = Binary<10>::value,
PresetFirst4States = Binary<1111>::value,
PresetAllStates = ... | 24.025 | 112 | 0.692196 | lockie |
b9e29e2b8b89ab02b9c8afe586c8636295530517 | 2,713 | cpp | C++ | src/callbacks.cpp | micro-ROS/rmw_embeddedrtps | 756e867f88f882a8db0c18e198fb6b9bbf22a8c2 | [
"Apache-2.0"
] | 3 | 2021-10-19T12:03:03.000Z | 2022-03-21T07:29:11.000Z | src/callbacks.cpp | micro-ROS/rmw_embeddedrtps | 756e867f88f882a8db0c18e198fb6b9bbf22a8c2 | [
"Apache-2.0"
] | null | null | null | src/callbacks.cpp | micro-ROS/rmw_embeddedrtps | 756e867f88f882a8db0c18e198fb6b9bbf22a8c2 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | 34.341772 | 90 | 0.735348 | micro-ROS |
b9e2ba432b10d9fb4efcb21452f52faca0283a94 | 238 | cpp | C++ | Online Judges/Neps Academy/A Limonada de Manolo/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 64 | 2019-03-17T08:56:28.000Z | 2022-01-14T02:31:21.000Z | Online Judges/Neps Academy/A Limonada de Manolo/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 1 | 2020-12-24T07:16:30.000Z | 2021-03-23T20:51:05.000Z | Online Judges/Neps Academy/A Limonada de Manolo/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 19 | 2019-05-25T10:48:16.000Z | 2022-01-07T10:07:46.000Z | #include <iostream>
using namespace std;
int main()
{
int n, c, total = 0;
cin >> n >> c;
for (int i = 0; i < n; i++) {
total+=c;
if (c > 1)
c--;
}
cout << total << endl;
return 0;
}
| 13.222222 | 33 | 0.407563 | AnneLivia |