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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c853343e984e98ccab0433ea4a7811454c4fbe54 | 738 | cpp | C++ | src/nnfusion/core/operators/generic_op/generic_op_define/GatherGrad.cpp | lynex/nnfusion | 6332697c71b6614ca6f04c0dac8614636882630d | [
"MIT"
] | 639 | 2020-09-05T10:00:59.000Z | 2022-03-30T08:42:39.000Z | src/nnfusion/core/operators/generic_op/generic_op_define/GatherGrad.cpp | QPC-database/nnfusion | 99ada47c50f355ca278001f11bc752d1c7abcee2 | [
"MIT"
] | 252 | 2020-09-09T05:35:36.000Z | 2022-03-29T04:58:41.000Z | src/nnfusion/core/operators/generic_op/generic_op_define/GatherGrad.cpp | QPC-database/nnfusion | 99ada47c50f355ca278001f11bc752d1c7abcee2 | [
"MIT"
] | 104 | 2020-09-05T10:01:08.000Z | 2022-03-23T10:59:13.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "nnfusion/core/operators/generic_op/generic_op.hpp"
REGISTER_OP(GatherGrad)
.attr<int>("axis", 0)
.attr<std::vector<int>>("x_shape")
.infershape([](std::shared_ptr<graph::GNode> gnode) -> void {
NNFUSION_CHECK(gnod... | 36.9 | 98 | 0.684282 | lynex |
c85866bbfb9edc86ad5b1d4719b5c85af3859c63 | 1,185 | cpp | C++ | 3rdParty/vcglib/apps/unsupported/extractors/extractor/main.cpp | TonyGauss/tg3DLib | d425e91567b9e1642e7411330738d8e2b0880a2b | [
"MIT"
] | 27 | 2016-11-10T16:11:28.000Z | 2021-12-21T20:11:39.000Z | 3rdParty/vcglib/apps/unsupported/extractors/extractor/main.cpp | TonyGauss/tg3DLib | d425e91567b9e1642e7411330738d8e2b0880a2b | [
"MIT"
] | 8 | 2016-10-27T10:10:05.000Z | 2019-12-07T21:27:02.000Z | 3rdParty/vcglib/apps/unsupported/extractors/extractor/main.cpp | TonyGauss/tg3DLib | d425e91567b9e1642e7411330738d8e2b0880a2b | [
"MIT"
] | 14 | 2015-07-21T04:47:52.000Z | 2020-03-12T12:31:25.000Z | #include <stdio.h>
#include <wrap/io_trimesh/export_ply.h>
#include "Definitions.h"
#include "Volume.h"
#include "Walker.h"
#include <vcg/complex/algorithms/create/marching_cubes.h>
#include <vcg/complex/algorithms/create/extended_marching_cubes.h>
int main(int argc, char *argv[])
{
BoundingBox bbox(vcg::Point3i(-20,... | 32.027027 | 81 | 0.729958 | TonyGauss |
c8596aa347d1c103f00b0032ac4985869ec1acca | 5,323 | cpp | C++ | src/collisionhandler.cpp | adct-the-experimenter/Door-To-Life-Minimal | a4a08d13443bdf21d4efc27f8509f5d5f8d57584 | [
"BSD-2-Clause"
] | null | null | null | src/collisionhandler.cpp | adct-the-experimenter/Door-To-Life-Minimal | a4a08d13443bdf21d4efc27f8509f5d5f8d57584 | [
"BSD-2-Clause"
] | null | null | null | src/collisionhandler.cpp | adct-the-experimenter/Door-To-Life-Minimal | a4a08d13443bdf21d4efc27f8509f5d5f8d57584 | [
"BSD-2-Clause"
] | null | null | null | #include "collisionhandler.h"
CollisonHandler::CollisonHandler()
{
repeatPlay = false;
}
CollisonHandler::~CollisonHandler()
{
}
void CollisonHandler::addPlayerToCollisionSystem(CollisionObject* thisObject)
{
//Initialize collision type to none
thisObject->typeOfCollision = CollisionType::NONE;
//ass... | 31.874251 | 122 | 0.683261 | adct-the-experimenter |
c85de337c19073225558a9d9317e8a6a83c29dac | 5,393 | cpp | C++ | nntrainer/src/loss_layer.cpp | kparichay/nntrainer | 79e37918a3ced623346e285993d6714cb5d1e14b | [
"Apache-2.0"
] | null | null | null | nntrainer/src/loss_layer.cpp | kparichay/nntrainer | 79e37918a3ced623346e285993d6714cb5d1e14b | [
"Apache-2.0"
] | null | null | null | nntrainer/src/loss_layer.cpp | kparichay/nntrainer | 79e37918a3ced623346e285993d6714cb5d1e14b | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless requ... | 30.128492 | 80 | 0.664936 | kparichay |
c85ff7915ae49ea397b03b9fcb5997015e797a9e | 3,323 | cpp | C++ | PofDroid/src/testApp.cpp | Ant1r/POF | b80210527454484f64003b7a09c8e7f9f8a09ac3 | [
"BSD-2-Clause"
] | 64 | 2015-03-26T00:03:34.000Z | 2021-12-30T12:27:49.000Z | PofDroid/src/testApp.cpp | Ant1r/POF | b80210527454484f64003b7a09c8e7f9f8a09ac3 | [
"BSD-2-Clause"
] | 7 | 2015-03-27T09:26:29.000Z | 2021-05-08T22:59:52.000Z | PofDroid/src/testApp.cpp | Ant1r/POF | b80210527454484f64003b7a09c8e7f9f8a09ac3 | [
"BSD-2-Clause"
] | 7 | 2015-07-02T11:00:36.000Z | 2020-04-05T18:48:38.000Z | /*
* Copyright (c) 2014 Antoine Rousseau <antoine@metalu.net>
* BSD Simplified License, see the file "LICENSE.txt" in this distribution.
* See https://github.com/Ant1r/ofxPof for documentation and updates.
*/
#include "testApp.h"
#include "pofBase.h"
#include "ofxAccelerometer.h"
using namespace std;
using namesp... | 28.646552 | 113 | 0.550406 | Ant1r |
c8610270a1e7f77b9f40270894682a310daec69a | 5,163 | hh | C++ | hackt_docker/hackt/src/sim/prsim/TimingChecker.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/sim/prsim/TimingChecker.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/sim/prsim/TimingChecker.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | /**
\file "sim/prsim/TimingChecker.hh"
Classes for timing constraint checking.
*/
#ifndef __HAC_SIM_PRSIM_TIMING_CHECKER_HH____
#define __HAC_SIM_PRSIM_TIMING_CHECKER_HH____
#include <vector>
#include <set>
#include <map>
#include "sim/time.hh"
#include "sim/prsim/Exception.hh"
#include "sim/prsim/enums.hh"
#inclu... | 24.703349 | 79 | 0.739493 | broken-wheel |
c8635e55a4164adb1bc6beaf257da0cba8207cdf | 22,128 | hpp | C++ | recipes-coinutils/coinutils/coinutils/src/CoinMessageHandler.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-coinutils/coinutils/coinutils/src/CoinMessageHandler.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-coinutils/coinutils/coinutils/src/CoinMessageHandler.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | // Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef CoinMessageHandler_H
#define CoinMessageHandler_H
#include "CoinUtilsConfig.h"
#include "CoinPragma.hpp"
#include "CoinTypes.h"
... | 31.976879 | 79 | 0.702052 | Justin790126 |
c864668914e7a62df19e20a0549645bf48ef7a7e | 5,069 | cpp | C++ | tests/net/tcp_test.cpp | TiFu/thrill-hyperloglog | bac13cd4ba23ec4bf6fe2e32ffa79d68c348cbcf | [
"BSD-2-Clause"
] | 2 | 2021-01-03T19:29:25.000Z | 2021-01-03T19:29:31.000Z | tests/net/tcp_test.cpp | TiFu/thrill-hyperloglog | bac13cd4ba23ec4bf6fe2e32ffa79d68c348cbcf | [
"BSD-2-Clause"
] | null | null | null | tests/net/tcp_test.cpp | TiFu/thrill-hyperloglog | bac13cd4ba23ec4bf6fe2e32ffa79d68c348cbcf | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
* tests/net/tcp_test.cpp
*
* Part of Project Thrill - http://project-thrill.org
*
* Copyright (C) 2015 Timo Bingmann <tb@panthema.net>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
****************... | 29.300578 | 80 | 0.742553 | TiFu |
c8653e75033ba15c25d03486baab62e48e4e072b | 679 | hpp | C++ | include/Client/BombPlaceSystem.hpp | maximaximal/BomberPi | 365c806e3feda7296fc10d5f9655ec696f0ab491 | [
"Zlib"
] | null | null | null | include/Client/BombPlaceSystem.hpp | maximaximal/BomberPi | 365c806e3feda7296fc10d5f9655ec696f0ab491 | [
"Zlib"
] | null | null | null | include/Client/BombPlaceSystem.hpp | maximaximal/BomberPi | 365c806e3feda7296fc10d5f9655ec696f0ab491 | [
"Zlib"
] | null | null | null | #ifndef CLIENT_BOMBPLACESYSTEM_HPP_INCLUDED
#define CLIENT_BOMBPLACESYSTEM_HPP_INCLUDED
#include <anax/System.hpp>
#include <Client/EntityFactory.hpp>
#include <Client/PlayerInputComponent.hpp>
#include <Client/BombLayerComponent.hpp>
namespace Client
{
class BombPlaceSystem : public anax::System<anax::Requires<... | 24.25 | 105 | 0.696613 | maximaximal |
c86c8703ff98d2a032a179f353ec63a2b1f90bef | 2,935 | hpp | C++ | clients/include/testing_gemm_strided_batched_kernel_name.hpp | aaronenyeshi/rocBLAS | 90d52d221a8f0f778557317d094ae57c4fced1b6 | [
"MIT"
] | null | null | null | clients/include/testing_gemm_strided_batched_kernel_name.hpp | aaronenyeshi/rocBLAS | 90d52d221a8f0f778557317d094ae57c4fced1b6 | [
"MIT"
] | null | null | null | clients/include/testing_gemm_strided_batched_kernel_name.hpp | aaronenyeshi/rocBLAS | 90d52d221a8f0f778557317d094ae57c4fced1b6 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright 2016 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include <sys/time.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <vector>
#include "rocblas... | 37.628205 | 100 | 0.443612 | aaronenyeshi |
c86ec0b1cfe7f308cb048a72b12ee73b7d0fc8c3 | 2,866 | hpp | C++ | libvast/vast/system/indexer.hpp | frerich/vast | decac739ea4782ab91a1cee791ecd754b066419f | [
"BSD-3-Clause"
] | null | null | null | libvast/vast/system/indexer.hpp | frerich/vast | decac739ea4782ab91a1cee791ecd754b066419f | [
"BSD-3-Clause"
] | null | null | null | libvast/vast/system/indexer.hpp | frerich/vast | decac739ea4782ab91a1cee791ecd754b066419f | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across *
... | 34.95122 | 80 | 0.543266 | frerich |
c875b71b6e98aa9b2e8d3bf4be1d3ca90b8c61f0 | 853 | hpp | C++ | DoremiEngine/Graphic/Include/Interface/Mesh/MeshInfo.hpp | meraz/doremi | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:05.000Z | 2020-03-23T15:42:05.000Z | DoremiEngine/Graphic/Include/Interface/Mesh/MeshInfo.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | null | null | null | DoremiEngine/Graphic/Include/Interface/Mesh/MeshInfo.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:06.000Z | 2020-03-23T15:42:06.000Z | #pragma once
#include <string>
struct ID3D11Buffer;
namespace DoremiEngine
{
namespace Graphic
{
class MeshInfo
{
public:
virtual const size_t& GetVerticeCount() const = 0;
virtual const size_t& GetIndexCount() const = 0;
virtual ID3D11Buffer* GetBu... | 30.464286 | 80 | 0.631887 | meraz |
c87aa25d447d42dbbd5338a12b9a79883aebd2e7 | 3,439 | hpp | C++ | src/sched/entry/epilogue_entry.hpp | mshiryaev/oneccl | fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa | [
"Apache-2.0"
] | null | null | null | src/sched/entry/epilogue_entry.hpp | mshiryaev/oneccl | fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa | [
"Apache-2.0"
] | null | null | null | src/sched/entry/epilogue_entry.hpp | mshiryaev/oneccl | fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2016-2019 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 w... | 32.443396 | 117 | 0.601047 | mshiryaev |
c87c0bb1c881199c4f74b41eeb02f7d2d04d4986 | 8,970 | hpp | C++ | StickWatch/src/ArduinoJson_6.2.0-beta/ArduinoJson/MsgPack/MsgPackDeserializer.hpp | stahifpv/StickWatch | b9f2b3824e62b4e2366859559dbb19a531560758 | [
"Apache-2.0"
] | 83 | 2019-01-24T01:32:21.000Z | 2022-02-20T06:54:43.000Z | src/ArduinoJson_6.2.0-beta/ArduinoJson/MsgPack/MsgPackDeserializer.hpp | sysdl132/m5stack-stickwatch | 968087b9f1b06e64e45699b0f4ac22ffb3e6f2a9 | [
"Apache-2.0"
] | 5 | 2019-02-18T12:19:31.000Z | 2020-04-26T01:37:47.000Z | src/ArduinoJson_6.2.0-beta/ArduinoJson/MsgPack/MsgPackDeserializer.hpp | sysdl132/m5stack-stickwatch | 968087b9f1b06e64e45699b0f4ac22ffb3e6f2a9 | [
"Apache-2.0"
] | 27 | 2019-01-26T14:12:14.000Z | 2022-02-28T14:38:14.000Z | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#pragma once
#include "../Deserialization/deserialize.hpp"
#include "../JsonVariant.hpp"
#include "../Memory/JsonBuffer.hpp"
#include "../Polyfills/type_traits.hpp"
#include "./endianess.hpp"
#include "./ieee754.hpp"
namespace Ard... | 27.515337 | 78 | 0.6767 | stahifpv |
c87e432d960cfac138b3bbac76cd0f34c87dae2c | 950 | cpp | C++ | libraries/plugins/apis/network_broadcast_api/network_broadcast_api_plugin.cpp | dappnet-one/dappnet | 2d117787867924b800b2cf02dfb7128bb05c9cf4 | [
"MIT"
] | 2 | 2019-06-30T21:57:49.000Z | 2019-06-30T23:56:17.000Z | libraries/plugins/apis/network_broadcast_api/network_broadcast_api_plugin.cpp | dappnet-one/steem | 2d117787867924b800b2cf02dfb7128bb05c9cf4 | [
"MIT"
] | 1 | 2019-07-02T03:08:03.000Z | 2019-07-02T03:08:03.000Z | libraries/plugins/apis/network_broadcast_api/network_broadcast_api_plugin.cpp | dappnet-one/steem | 2d117787867924b800b2cf02dfb7128bb05c9cf4 | [
"MIT"
] | null | null | null | #include <dpn/plugins/network_broadcast_api/network_broadcast_api_plugin.hpp>
#include <dpn/plugins/network_broadcast_api/network_broadcast_api.hpp>
namespace dpn { namespace plugins { namespace network_broadcast_api {
network_broadcast_api_plugin::network_broadcast_api_plugin() {}
network_broadcast_api_plugin::~netw... | 43.181818 | 113 | 0.809474 | dappnet-one |
c87e76836aaa21ddd454e20eeafb0d1a8f49e90a | 1,516 | hpp | C++ | src/BonjourRegistrar.hpp | jdgordy/slideshow-apple-tv-bb10 | 968e0f0c07dad3a6f91804d69b470a5eb095aa24 | [
"Apache-2.0"
] | null | null | null | src/BonjourRegistrar.hpp | jdgordy/slideshow-apple-tv-bb10 | 968e0f0c07dad3a6f91804d69b470a5eb095aa24 | [
"Apache-2.0"
] | null | null | null | src/BonjourRegistrar.hpp | jdgordy/slideshow-apple-tv-bb10 | 968e0f0c07dad3a6f91804d69b470a5eb095aa24 | [
"Apache-2.0"
] | null | null | null | /*
* BonjourRegistrar.hpp
*
* Created on: Apr 8, 2013
* Author: jgordy
*/
#ifndef BONJOURREGISTRAR_HPP_
#define BONJOURREGISTRAR_HPP_
#include <QtCore/QObject>
#include <QtCore/QVariantMap>
#include <QtCore/QSocketNotifier>
#include "BonjourRecord.hpp"
#include "dns_sd.h"
//
// BonjourReg... | 22.626866 | 106 | 0.677441 | jdgordy |
c8804b6a0843a335abc8072a23497430b7b801b7 | 3,097 | cpp | C++ | src/asset.cpp | lahwran/Rack | d63e23b2b64cdad54da7609ee8e018d9f45ced2f | [
"Zlib",
"BSD-3-Clause"
] | 84 | 2018-05-02T13:15:42.000Z | 2019-11-25T15:53:59.000Z | src/asset.cpp | lahwran/Rack | d63e23b2b64cdad54da7609ee8e018d9f45ced2f | [
"Zlib",
"BSD-3-Clause"
] | 17 | 2018-05-02T13:18:44.000Z | 2019-10-29T00:16:56.000Z | src/asset.cpp | lahwran/Rack | d63e23b2b64cdad54da7609ee8e018d9f45ced2f | [
"Zlib",
"BSD-3-Clause"
] | 9 | 2018-05-06T18:39:58.000Z | 2019-10-03T15:15:26.000Z | #include "asset.hpp"
#include "util/common.hpp"
#include "osdialog.h"
#if ARCH_MAC
#include <CoreFoundation/CoreFoundation.h>
#include <pwd.h>
#endif
#if ARCH_WIN
#include <Windows.h>
#include <Shlobj.h>
#endif
#if ARCH_LIN
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
#endif
namespace rack {
static... | 20.375 | 99 | 0.712302 | lahwran |
c883a37de7583e6854d327d181d83484e3be62c8 | 5,539 | cpp | C++ | src/plugins/process/dwi_basic_thresholding/medItkDWIBasicThresholdingProcess.cpp | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | 61 | 2015-04-14T13:00:50.000Z | 2022-03-09T22:22:18.000Z | src/plugins/process/dwi_basic_thresholding/medItkDWIBasicThresholdingProcess.cpp | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | 510 | 2016-02-03T13:28:18.000Z | 2022-03-23T10:23:44.000Z | src/plugins/process/dwi_basic_thresholding/medItkDWIBasicThresholdingProcess.cpp | arthursw/medInria-public | d52af882c36f0d96cc433cc1a4082accaa1ca11a | [
"BSD-4-Clause"
] | 36 | 2015-03-03T22:58:19.000Z | 2021-12-28T18:19:23.000Z | /*=========================================================================
medInria
Copyright (c) INRIA 2013 - 2018. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.... | 29.620321 | 139 | 0.653728 | arthursw |
c887a78ceba3497f2e8233ef9099acd1b0eca215 | 4,874 | cpp | C++ | far/cache.cpp | lidacity/FarManager | 4ff6edbd53b6652d3ab1d9ae86f66873be850209 | [
"BSD-3-Clause"
] | null | null | null | far/cache.cpp | lidacity/FarManager | 4ff6edbd53b6652d3ab1d9ae86f66873be850209 | [
"BSD-3-Clause"
] | null | null | null | far/cache.cpp | lidacity/FarManager | 4ff6edbd53b6652d3ab1d9ae86f66873be850209 | [
"BSD-3-Clause"
] | null | null | null | /*
cache.cpp
Кеширование записи в файл/чтения из файла
*/
/*
Copyright © 2009 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright... | 24.492462 | 108 | 0.712351 | lidacity |
c888f5654d4ce02f3ea2bf0df6e8b29bee00aded | 13,042 | cpp | C++ | source/rrConfig.cpp | madhavmurthy93/roadrunner | f22b86b154fb3a51b19ab9142d9345f74b33d318 | [
"Apache-2.0"
] | null | null | null | source/rrConfig.cpp | madhavmurthy93/roadrunner | f22b86b154fb3a51b19ab9142d9345f74b33d318 | [
"Apache-2.0"
] | null | null | null | source/rrConfig.cpp | madhavmurthy93/roadrunner | f22b86b154fb3a51b19ab9142d9345f74b33d318 | [
"Apache-2.0"
] | null | null | null | /*
* Config.cpp
*
* Created on: Mar 24, 2014
* Author: andy
*/
#include "rrUtils.h"
#include "rrConfig.h"
#include "rrLogger.h"
#if (__cplusplus >= 201103L) || defined(_MSC_VER)
#include <memory>
#include <unordered_map>
#define cxx11_ns std
#else
#include <tr1/memory>
#include <tr1/unordered_map>
#define ... | 30.471963 | 123 | 0.667996 | madhavmurthy93 |
c88c27980ac84499be6463dbe5093e9510d54dc5 | 1,385 | hpp | C++ | include/uri/phoenix/basic_uri_accessor.hpp | ledocc/uri | 0767d923f7d1690e495ddca8a84352746b572904 | [
"BSL-1.0"
] | null | null | null | include/uri/phoenix/basic_uri_accessor.hpp | ledocc/uri | 0767d923f7d1690e495ddca8a84352746b572904 | [
"BSL-1.0"
] | null | null | null | include/uri/phoenix/basic_uri_accessor.hpp | ledocc/uri | 0767d923f7d1690e495ddca8a84352746b572904 | [
"BSL-1.0"
] | null | null | null | #ifndef uri__phoenix__adapted_basic_uri_accessor_hpp
#define uri__phoenix__adapted_basic_uri_accessor_hpp
#include <boost/phoenix/fusion/at.hpp>
namespace uri {
namespace phoenix {
//namespace {
// enum index
// {
// scheme = 0,
// userinfo = 1,
// host = 2,
// port = 3... | 20.984848 | 54 | 0.609386 | ledocc |
c88ee792ed7a7fc62e338a68d14b904d3b901665 | 16,546 | cpp | C++ | corelib/src/LocalMap.cpp | supersaiyajinggod/VISFS | 6567df9b064437a32dc96d6f03ef6cd4ea1b24ce | [
"BSD-3-Clause"
] | 3 | 2021-06-09T13:20:59.000Z | 2022-01-14T13:31:11.000Z | corelib/src/LocalMap.cpp | supersaiyajinggod/VISFS | 6567df9b064437a32dc96d6f03ef6cd4ea1b24ce | [
"BSD-3-Clause"
] | null | null | null | corelib/src/LocalMap.cpp | supersaiyajinggod/VISFS | 6567df9b064437a32dc96d6f03ef6cd4ea1b24ce | [
"BSD-3-Clause"
] | null | null | null | #include "LocalMap.h"
#include "MultiviewGeometry.h"
#include "Stl.h"
#include "Timer.h"
#include "Log.h"
#include <memory>
namespace VISFS {
LocalMap::LocalMap(const ParametersMap & _parameters) :
keySignature_(true),
localMapSize_(Parameters::defaultLocalMapMapSize()),
maxFeature_(Parameters::defaultTr... | 45.707182 | 270 | 0.622628 | supersaiyajinggod |
c88fa401500e3542900c5e11d081caa51033e4e3 | 3,727 | hpp | C++ | libecole/include/ecole/environment/default.hpp | gasse/ecole | 2fe85e3fece61feaae04b3e8d0be8b912e42cb1b | [
"BSD-3-Clause"
] | null | null | null | libecole/include/ecole/environment/default.hpp | gasse/ecole | 2fe85e3fece61feaae04b3e8d0be8b912e42cb1b | [
"BSD-3-Clause"
] | null | null | null | libecole/include/ecole/environment/default.hpp | gasse/ecole | 2fe85e3fece61feaae04b3e8d0be8b912e42cb1b | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <map>
#include <random>
#include <tuple>
#include <type_traits>
#include "ecole/abstract.hpp"
#include "ecole/environment/exception.hpp"
#include "ecole/scip/model.hpp"
#include "ecole/scip/type.hpp"
#include "ecole/traits.hpp"
namespace ecole {
namespace environment {
template <typename Dynam... | 28.234848 | 95 | 0.708345 | gasse |
c8927098d8213645c8066be502696920c5d75cd7 | 79 | hpp | C++ | include/fogl/gl.hpp | glasmachers/foglpp | 9a7dee6f1fe6b4d1ea7408f0762c7b32ce891888 | [
"MIT"
] | null | null | null | include/fogl/gl.hpp | glasmachers/foglpp | 9a7dee6f1fe6b4d1ea7408f0762c7b32ce891888 | [
"MIT"
] | null | null | null | include/fogl/gl.hpp | glasmachers/foglpp | 9a7dee6f1fe6b4d1ea7408f0762c7b32ce891888 | [
"MIT"
] | null | null | null | #pragma once
/// The include of the gl implementation.
#include <GLES2/gl2.h>
| 15.8 | 41 | 0.721519 | glasmachers |
c89355659d8aa5eb9496c7598a131cedf90aafcf | 6,502 | hh | C++ | include/openroad/OpenRoad.hh | zzqiang866/OpenROAD | 5d1eacebc2a9f8e3c41e09c63819ca2cb4a0eddf | [
"BSD-3-Clause-Clear"
] | null | null | null | include/openroad/OpenRoad.hh | zzqiang866/OpenROAD | 5d1eacebc2a9f8e3c41e09c63819ca2cb4a0eddf | [
"BSD-3-Clause-Clear"
] | null | null | null | include/openroad/OpenRoad.hh | zzqiang866/OpenROAD | 5d1eacebc2a9f8e3c41e09c63819ca2cb4a0eddf | [
"BSD-3-Clause-Clear"
] | 1 | 2021-02-26T17:45:41.000Z | 2021-02-26T17:45:41.000Z | /////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2019, OpenROAD
// All rights reserved.
//
// BSD 3-Clause License
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
/... | 25.007692 | 80 | 0.707013 | zzqiang866 |
c896ae803759895d199b9d95c6c56dc4f35f74d4 | 1,008 | hpp | C++ | hyper/include/hyper/ast/declarations/translation_unit_declaration.hpp | HyperionOrg/HyperLang | 30f7a1707d00fb5cc6dc22913764389a3b998f09 | [
"MIT"
] | null | null | null | hyper/include/hyper/ast/declarations/translation_unit_declaration.hpp | HyperionOrg/HyperLang | 30f7a1707d00fb5cc6dc22913764389a3b998f09 | [
"MIT"
] | null | null | null | hyper/include/hyper/ast/declarations/translation_unit_declaration.hpp | HyperionOrg/HyperLang | 30f7a1707d00fb5cc6dc22913764389a3b998f09 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2022-present, SkillerRaptor <skillerraptor@protonmail.com>
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#include "hyper/ast/declarations/declaration.hpp"
#include <span>
#include <string>
#include <vector>
namespace hyper
{
class TranslationUnitDeclaration final : public Declaration
{
... | 20.571429 | 75 | 0.733135 | HyperionOrg |
c8996371ccbfd1a3ca6f81846b4aef205fa16788 | 6,636 | cpp | C++ | src/Reflection/ObjectDatabaseForwardPopulator.cpp | sabachan/framework | e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd | [
"MIT"
] | null | null | null | src/Reflection/ObjectDatabaseForwardPopulator.cpp | sabachan/framework | e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd | [
"MIT"
] | null | null | null | src/Reflection/ObjectDatabaseForwardPopulator.cpp | sabachan/framework | e9b5fd620d876679a7b42ce5fdc1b1d2009d2abd | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ObjectDatabaseForwardPopulator.h"
#include "BaseClass.h"
#include "Metaclass.h"
namespace sg {
namespace reflection {
//=============================================================================
ObjectDatabaseForwardPopulator::ObjectDatabaseForwardPopulator(ObjectDatabase* ... | 33.857143 | 137 | 0.650844 | sabachan |
c89c8477392d5b3d8619c3872936197a4b1baa38 | 3,435 | cpp | C++ | eb/src/v20210416/model/CkafkaTargetParams.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 1 | 2022-01-27T09:27:34.000Z | 2022-01-27T09:27:34.000Z | eb/src/v20210416/model/CkafkaTargetParams.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | eb/src/v20210416/model/CkafkaTargetParams.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 28.625 | 146 | 0.703639 | suluner |
c89f94eeb6710a717493fe7cb460d9e4146e762a | 5,528 | cpp | C++ | tmt/src/v20180321/model/TextTranslateResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | tmt/src/v20180321/model/TextTranslateResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | tmt/src/v20180321/model/TextTranslateResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 31.770115 | 128 | 0.673119 | suluner |
c8a301a34c8a9b1d38a41be45d15db32b2b42758 | 1,601 | cc | C++ | src/GSPH/WaveSpeeds/DavisWaveSpeed.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/GSPH/WaveSpeeds/DavisWaveSpeed.cc | jmikeowen/Spheral | 3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 17 | 2020-01-05T08:41:46.000Z | 2020-09-18T00:08:32.000Z | src/GSPH/WaveSpeeds/DavisWaveSpeed.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++----------------------------------//
// DavisWaveSpeed
// Davis S., (1988) "Simplified Second-Order Godunov-Type Methods" Siam. Sci.
// Stat. Comput., 9(3):445-473
//
// J.M. Pearl 2021
//----------------------------------------------------------------------------//
#i... | 34.804348 | 80 | 0.401624 | jmikeowen |
c8a3196d7aeee29c230a6b9a293348195b5c32fe | 10,785 | cc | C++ | src/base/evloop.cc | gasinvein/zypak | 89dd114427a114028f249ed9b2824d083f459eb5 | [
"BSD-3-Clause"
] | null | null | null | src/base/evloop.cc | gasinvein/zypak | 89dd114427a114028f249ed9b2824d083f459eb5 | [
"BSD-3-Clause"
] | null | null | null | src/base/evloop.cc | gasinvein/zypak | 89dd114427a114028f249ed9b2824d083f459eb5 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 Endless Mobile, Inc.
// Portions copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/evloop.h"
#include <sys/eventfd.h>
#include <sys/poll.h>
#include <array>
#include <cstdi... | 29.710744 | 98 | 0.675661 | gasinvein |
c8a320dc744fd8c5bc4ca00cd16e7ceb277c12f7 | 58,762 | cpp | C++ | modules/stitching/src/seam_finders.cpp | tweenietomatoes/opencv | 7d1094b7e102d4c44cfa09171f97b4f50fc850d7 | [
"BSD-3-Clause"
] | 1 | 2020-05-11T22:26:54.000Z | 2020-05-11T22:26:54.000Z | modules/stitching/src/seam_finders.cpp | tweenietomatoes/opencv | 7d1094b7e102d4c44cfa09171f97b4f50fc850d7 | [
"BSD-3-Clause"
] | 3 | 2019-08-21T07:13:41.000Z | 2020-06-23T12:35:17.000Z | modules/stitching/src/seam_finders.cpp | tweenietomatoes/opencv | 7d1094b7e102d4c44cfa09171f97b4f50fc850d7 | [
"BSD-3-Clause"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 35.144737 | 126 | 0.483442 | tweenietomatoes |
c8a99adc065d10b803e763b42e31410ddc93690d | 215 | hpp | C++ | common/CMemoryUssage.hpp | ymuv/CameraAlerts | 7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4 | [
"BSD-3-Clause"
] | null | null | null | common/CMemoryUssage.hpp | ymuv/CameraAlerts | 7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4 | [
"BSD-3-Clause"
] | null | null | null | common/CMemoryUssage.hpp | ymuv/CameraAlerts | 7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
class CMemoryUssage
{
public:
static int processMemoryUssage(int& maxMemoryUssage);
static int processMemoryUssage();
static int processMaxMemoryUssage();
CMemoryUssage() = delete;
};
| 17.916667 | 57 | 0.734884 | ymuv |
c8aa6b9bfa743bd22740e8a0f234cbc09f59cd11 | 8,311 | cpp | C++ | source/MaterialXRenderGlsl/GLTextureHandler.cpp | nzanepro/MaterialX | 9100ac81231d87f7fbf4dc32f7030867e466bc41 | [
"BSD-3-Clause"
] | null | null | null | source/MaterialXRenderGlsl/GLTextureHandler.cpp | nzanepro/MaterialX | 9100ac81231d87f7fbf4dc32f7030867e466bc41 | [
"BSD-3-Clause"
] | null | null | null | source/MaterialXRenderGlsl/GLTextureHandler.cpp | nzanepro/MaterialX | 9100ac81231d87f7fbf4dc32f7030867e466bc41 | [
"BSD-3-Clause"
] | null | null | null | //
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <MaterialXRenderGlsl/GLTextureHandler.h>
#include <MaterialXRenderGlsl/GlslProgram.h>
#include <MaterialXRenderGlsl/External/GLew/glew.h>
#include <MaterialXRender/ShaderRende... | 29.367491 | 109 | 0.670076 | nzanepro |
c8ab4ee2bf37e1b0e2331ffc0cf9cc101b6d5478 | 687 | hh | C++ | Validation/inc/ValStrawDigiADCWaveform.hh | NamithaChitrazee/Offline-1 | bcb6c74954f95dd48433d79a69d3ef3bdb99022e | [
"Apache-2.0"
] | null | null | null | Validation/inc/ValStrawDigiADCWaveform.hh | NamithaChitrazee/Offline-1 | bcb6c74954f95dd48433d79a69d3ef3bdb99022e | [
"Apache-2.0"
] | null | null | null | Validation/inc/ValStrawDigiADCWaveform.hh | NamithaChitrazee/Offline-1 | bcb6c74954f95dd48433d79a69d3ef3bdb99022e | [
"Apache-2.0"
] | null | null | null |
#ifndef ValStrawDigiADCWaveform_HH_
#define ValStrawDigiADCWaveform_HH_
#include "Offline/RecoDataProducts/inc/StrawDigi.hh"
#include "art/Framework/Principal/Event.h"
#include "art_root_io/TFileDirectory.h"
#include "TH1D.h"
#include <string>
namespace mu2e {
class ValStrawDigiADCWaveform {
public:
ValStrawDigi... | 20.818182 | 80 | 0.737991 | NamithaChitrazee |
c8aceefc6d6fca28d0cc79eb960909f99c3b4261 | 1,448 | cxx | C++ | Libraries/VtkVgCore/vtkVgImageIcon.cxx | judajake/vivia | ac0bad0dc200b5af25911513edb0ca6fd6e9f622 | [
"BSD-3-Clause"
] | 1 | 2017-07-31T07:08:05.000Z | 2017-07-31T07:08:05.000Z | Libraries/VtkVgCore/vtkVgImageIcon.cxx | judajake/vivia | ac0bad0dc200b5af25911513edb0ca6fd6e9f622 | [
"BSD-3-Clause"
] | null | null | null | Libraries/VtkVgCore/vtkVgImageIcon.cxx | judajake/vivia | ac0bad0dc200b5af25911513edb0ca6fd6e9f622 | [
"BSD-3-Clause"
] | null | null | null | /*ckwg +5
* Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to
* KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,
* Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.
*/
#include "vtkVgImageIcon.h"
#include "vtkJPEGReader.h"
#include "vtkObjectFactory.h"
#include... | 28.96 | 79 | 0.540055 | judajake |
c8aeaadb3529329c28a1aab338e24aa9f39c3eb2 | 899 | cpp | C++ | src/test_main.cpp | sheayun-kmu/CarND-Kidnapped-Vehicle-Project | 6ff584048d80bb79d8127537f61834fda81a4c2d | [
"MIT"
] | null | null | null | src/test_main.cpp | sheayun-kmu/CarND-Kidnapped-Vehicle-Project | 6ff584048d80bb79d8127537f61834fda81a4c2d | [
"MIT"
] | null | null | null | src/test_main.cpp | sheayun-kmu/CarND-Kidnapped-Vehicle-Project | 6ff584048d80bb79d8127537f61834fda81a4c2d | [
"MIT"
] | null | null | null | #include <uWS/uWS.h>
#include <iostream>
#include "particle_filter.h"
/*
int main() {
uWS::Hub h;
h.onMessage(
[]
(
uWS::WebSocket<uWS::SERVER> ws,
char* data, size_t length,
uWS::OpCode opCode
) {
if (length && length > 2 && data[0] == '4' && data[1] == '2')
}
); // end h... | 18.729167 | 68 | 0.559511 | sheayun-kmu |
c8b09f316ff225495f23ac25914cf4d680bd251d | 22,948 | cc | C++ | test/server/configuration_impl_test.cc | YaronKoller/envoy | 367edfb2e36283b3c33a8fd433890666e9e10e04 | [
"Apache-2.0"
] | 1 | 2021-02-17T20:25:27.000Z | 2021-02-17T20:25:27.000Z | test/server/configuration_impl_test.cc | YaronKoller/envoy | 367edfb2e36283b3c33a8fd433890666e9e10e04 | [
"Apache-2.0"
] | 8 | 2020-08-07T00:52:28.000Z | 2020-09-24T22:11:43.000Z | test/server/configuration_impl_test.cc | YaronKoller/envoy | 367edfb2e36283b3c33a8fd433890666e9e10e04 | [
"Apache-2.0"
] | 2 | 2020-07-06T23:30:10.000Z | 2020-08-04T21:58:32.000Z | #include <chrono>
#include <list>
#include <string>
#include "envoy/config/bootstrap/v3/bootstrap.pb.h"
#include "envoy/config/core/v3/base.pb.h"
#include "envoy/config/metrics/v3/stats.pb.h"
#include "common/api/api_impl.h"
#include "common/config/well_known_names.h"
#include "common/json/json_loader.h"
#include "co... | 27.581731 | 116 | 0.570551 | YaronKoller |
c8b32db2214557c7968800ecd0841a8c62861db0 | 817 | hpp | C++ | medusa.hpp | rolandnyamo/combat_tournament | 7123942dfc432c401404bd89fe0bd77f9938af1d | [
"MIT"
] | null | null | null | medusa.hpp | rolandnyamo/combat_tournament | 7123942dfc432c401404bd89fe0bd77f9938af1d | [
"MIT"
] | null | null | null | medusa.hpp | rolandnyamo/combat_tournament | 7123942dfc432c401404bd89fe0bd77f9938af1d | [
"MIT"
] | null | null | null | #ifndef MEDUSA_HPP
#define MEDUSA_HPP
#include "character.hpp"
class Medusa: public Character
{
private:
Dice *attack_dice[2];//pointer to the character's attack dice(s).
Dice *defense_dice;//pointer to the character's defense dice(s).
public:
Medusa();
virtual int calcDamage(int);//calculates the dam... | 31.423077 | 83 | 0.709914 | rolandnyamo |
c8b4c59d0792330989ee35df4c5ee738d0327fa0 | 2,738 | hpp | C++ | include/transcript_align.hpp | GWW/scsnv | 7332ad7cec482a9c249707255e68977e4dae52e9 | [
"MIT"
] | 6 | 2020-07-12T19:33:41.000Z | 2021-07-06T05:29:33.000Z | include/transcript_align.hpp | GWW/scsnv | 7332ad7cec482a9c249707255e68977e4dae52e9 | [
"MIT"
] | 6 | 2021-05-12T21:08:55.000Z | 2022-03-15T00:49:53.000Z | include/transcript_align.hpp | GWW/scsnv | 7332ad7cec482a9c249707255e68977e4dae52e9 | [
"MIT"
] | null | null | null | #pragma once
/*
Copyright (c) 2018-2020 Gavin W. Wilson
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, pu... | 34.225 | 95 | 0.645362 | GWW |
c8b856fa57e708ca331cb46a75d831b036f90fc0 | 311 | cpp | C++ | glean/lang/clang/tests/regression/codemarkup/var1/test.cpp | phlalx/Glean | f26b48216bf5ae25a40e867cad3ebfe586466e5a | [
"BSD-3-Clause"
] | null | null | null | glean/lang/clang/tests/regression/codemarkup/var1/test.cpp | phlalx/Glean | f26b48216bf5ae25a40e867cad3ebfe586466e5a | [
"BSD-3-Clause"
] | null | null | null | glean/lang/clang/tests/regression/codemarkup/var1/test.cpp | phlalx/Glean | f26b48216bf5ae25a40e867cad3ebfe586466e5a | [
"BSD-3-Clause"
] | null | null | null | extern int v1;
int v2;
static int v3;
inline int v4;
constexpr int v5 = 4;
struct T {
static int m1;
inline static int m2;
constexpr static int m3 = 4;
static void f() {
m1;
m2;
m3;
}
};
void g(int x1) {
v1;
v2;
v3;
v4;
v5;
T::m1;
T::m2;
T::m3;
int x2;
x1;
x2;
}
| 9.424242 | 30 | 0.527331 | phlalx |
c8b930379a946a2d31d7856e8c42af2af8826319 | 1,954 | cc | C++ | cc/playground/sum_store-dir/sum_store.cc | KeyurRamoliya/FASTER | bf3a426266fd47ac97c660d365ee8e2d4317c3e0 | [
"MIT"
] | 3,190 | 2018-08-16T01:06:12.000Z | 2019-05-04T17:04:07.000Z | cc/playground/sum_store-dir/sum_store.cc | KeyurRamoliya/FASTER | bf3a426266fd47ac97c660d365ee8e2d4317c3e0 | [
"MIT"
] | 82 | 2018-08-17T19:45:28.000Z | 2019-04-28T00:59:25.000Z | cc/playground/sum_store-dir/sum_store.cc | KeyurRamoliya/FASTER | bf3a426266fd47ac97c660d365ee8e2d4317c3e0 | [
"MIT"
] | 220 | 2018-08-17T19:03:53.000Z | 2019-05-06T06:46:42.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <string>
#include "concurrent_recovery_test.h"
#include "sum_store.h"
#include "single_threaded_recovery_test.h"
int main(int argc, char* argv[]) {
if(arg... | 25.051282 | 79 | 0.596725 | KeyurRamoliya |
c8b9515318fbceebe8f98c2b730816092c6bf7ab | 7,784 | cc | C++ | src/box/engine.cc | rtsisyk/tarantool-archive | b001ff969cd9a87e0393f01fa3d6edc6c00dd1f6 | [
"BSD-2-Clause"
] | null | null | null | src/box/engine.cc | rtsisyk/tarantool-archive | b001ff969cd9a87e0393f01fa3d6edc6c00dd1f6 | [
"BSD-2-Clause"
] | 1 | 2017-08-22T11:04:34.000Z | 2017-08-22T11:04:34.000Z | src/box/engine.cc | rtsisyk/tarantool-archive | b001ff969cd9a87e0393f01fa3d6edc6c00dd1f6 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright 2010-2016, Tarantool AUTHORS, please see AUTHORS file.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this lis... | 19.756345 | 77 | 0.711588 | rtsisyk |
c8ba8ddcaa093183ccd721dfeabf8b9ee6bf4cc2 | 40,077 | cpp | C++ | sw/src/xaxivdma.cpp | DoubleGithub/HOG_Zedboard | 6fc55c37ee210d7fc8bca919213e96bfc5c9d811 | [
"MIT"
] | 29 | 2018-07-09T10:12:47.000Z | 2022-01-14T18:57:52.000Z | sw/src/xaxivdma.cpp | DoubleGithub/HOG_Zedboard | 6fc55c37ee210d7fc8bca919213e96bfc5c9d811 | [
"MIT"
] | 10 | 2018-10-30T10:38:12.000Z | 2021-04-14T00:43:29.000Z | sw/src/xaxivdma.cpp | DoubleGithub/HOG_Zedboard | 6fc55c37ee210d7fc8bca919213e96bfc5c9d811 | [
"MIT"
] | 10 | 2019-07-04T07:39:38.000Z | 2021-05-11T13:54:07.000Z | /******************************************************************************
*
* Copyright (C) 2012 - 2015 Xilinx, Inc. All rights reserved.
*
* 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 Softw... | 28.646891 | 81 | 0.636026 | DoubleGithub |
c8bd23cdd24d30466f369da83dd9eeec976964bd | 8,836 | cpp | C++ | Arduino/snapshots/20140120-r2454-V0p2-Arduino-KU-beta-13/V0p2_Main/RTC_Support.cpp | opentrv/opentrv-OpenTRV-Arduino-V0p2 | 746753c88ed426c35ee91fa8933264e8bf2529b5 | [
"Apache-2.0"
] | 2 | 2016-11-05T09:59:06.000Z | 2018-12-10T17:33:32.000Z | Arduino/snapshots/20140120-r2454-V0p2-Arduino-KU-beta-13/V0p2_Main/RTC_Support.cpp | opentrv/opentrv-OpenTRV-Arduino-V0p2 | 746753c88ed426c35ee91fa8933264e8bf2529b5 | [
"Apache-2.0"
] | 2 | 2017-01-12T14:48:13.000Z | 2017-03-13T19:21:49.000Z | Arduino/snapshots/20140120-r2454-V0p2-Arduino-KU-beta-13/V0p2_Main/RTC_Support.cpp | opentrv/opentrv-OpenTRV-Arduino-V0p2 | 746753c88ed426c35ee91fa8933264e8bf2529b5 | [
"Apache-2.0"
] | 11 | 2016-08-15T10:23:09.000Z | 2021-09-10T12:48:31.000Z | /*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
softwar... | 41.28972 | 131 | 0.728837 | opentrv |
c8bdc88175c14901033cdf982783ac9858047894 | 3,433 | cc | C++ | src/session.cc | scylla-zpp-blas/scylla_modern_cpp_driver | a9ea3ca5b2d2921af497164994d64ddf09e52fd9 | [
"Apache-2.0"
] | 1 | 2021-07-25T06:59:40.000Z | 2021-07-25T06:59:40.000Z | src/session.cc | scylla-zpp-blas/scylla_modern_cpp_driver | a9ea3ca5b2d2921af497164994d64ddf09e52fd9 | [
"Apache-2.0"
] | 7 | 2020-12-25T10:17:24.000Z | 2021-03-04T20:19:58.000Z | src/session.cc | scylla-zpp-blas/scylla_modern_cpp_driver | a9ea3ca5b2d2921af497164994d64ddf09e52fd9 | [
"Apache-2.0"
] | null | null | null | #include "cassandra.h"
#include "session.hh"
#include "future.hh"
#include "exceptions.hh"
namespace scmd {
session::session(const std::string &address, const std::string &port) {
_cluster = cass_cluster_new();
_session = cass_session_new();
cass_cluster_set_contact_points(_cluster, address.c_str());
... | 30.114035 | 107 | 0.736091 | scylla-zpp-blas |
c8c0b6db9571fb033014899ba237c032507b36f1 | 6,044 | hpp | C++ | components/nif/node.hpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | components/nif/node.hpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | components/nif/node.hpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | #ifndef OPENMW_COMPONENTS_NIF_NODE_HPP
#define OPENMW_COMPONENTS_NIF_NODE_HPP
#include <OgreMatrix4.h>
#include "controlled.hpp"
#include "extra.hpp"
#include "data.hpp"
#include "property.hpp"
#include "niftypes.hpp"
#include "controller.hpp"
#include "base.hpp"
namespace Nif
{
class NiNode;
/** A Node is an obje... | 22.721805 | 86 | 0.564527 | Bodillium |
c8c6f5f989b781f85909b8ad4036810e6e1269d3 | 26,774 | cc | C++ | modules/rtp_rtcp/source/rtp_format_h264.cc | na-g/webrtc-tracking | 6b33e602138812e6dfd01d29a9373535316fc6a0 | [
"BSD-3-Clause"
] | 2 | 2019-09-01T23:36:33.000Z | 2020-04-13T11:40:13.000Z | modules/rtp_rtcp/source/rtp_format_h264.cc | na-g/webrtc-tracking | 6b33e602138812e6dfd01d29a9373535316fc6a0 | [
"BSD-3-Clause"
] | 2 | 2019-04-26T04:57:02.000Z | 2019-06-11T17:55:16.000Z | modules/rtp_rtcp/source/rtp_format_h264.cc | caffeinetv/webrtc | 2e79d2b398b430348845e5d5deccb66bca78f1a1 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2014 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... | 38.746744 | 80 | 0.664339 | na-g |
c8cbe5f1daa67b1a83c250dc0ae095b642a18eb1 | 2,087 | cpp | C++ | src/DotExporter.cpp | vdodev/maplang | 5e37bb9adf3e7bddfdde18979a55ca998d33dede | [
"Apache-2.0"
] | 1 | 2021-11-05T15:49:51.000Z | 2021-11-05T15:49:51.000Z | src/DotExporter.cpp | vdodev/maplang | 5e37bb9adf3e7bddfdde18979a55ca998d33dede | [
"Apache-2.0"
] | null | null | null | src/DotExporter.cpp | vdodev/maplang | 5e37bb9adf3e7bddfdde18979a55ca998d33dede | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 VDO Dev Inc <support@maplang.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 a... | 29.394366 | 76 | 0.635841 | vdodev |
c8cc3d2d1183ec6d3765a799f338c032459ad047 | 3,940 | cc | C++ | shell/platform/android/android_surface_gl.cc | climbzb4192/flutter-engine | 65ac8be350adf276b2b9606375ecc641ab17c149 | [
"BSD-3-Clause"
] | 4 | 2020-06-14T03:05:51.000Z | 2022-02-11T22:26:55.000Z | shell/platform/android/android_surface_gl.cc | shoryukenn/engine | 0dc86cda19d55aba8b719231c11306eeaca4b798 | [
"BSD-3-Clause"
] | 2 | 2019-10-24T01:29:37.000Z | 2020-07-16T09:52:12.000Z | shell/platform/android/android_surface_gl.cc | shoryukenn/engine | 0dc86cda19d55aba8b719231c11306eeaca4b798 | [
"BSD-3-Clause"
] | 1 | 2021-07-21T13:47:26.000Z | 2021-07-21T13:47:26.000Z | // Copyright 2013 The Flutter 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 "flutter/shell/platform/android/android_surface_gl.h"
#include <utility>
#include "flutter/fml/logging.h"
#include "flutter/fml/memory/ref_ptr.h... | 29.62406 | 78 | 0.734772 | climbzb4192 |
c8ce7f8dda775ecaaff66bd84568a16290b400ba | 3,975 | cxx | C++ | external/source/vncdll/rdr/ZlibOutStream.cxx | metasploit/framework3 | 8670817a938c74837be073e4c7ab610068d42cfd | [
"OpenSSL",
"Unlicense"
] | 8 | 2015-04-22T05:30:34.000Z | 2021-01-21T19:10:57.000Z | external/source/vncdll/rdr/ZlibOutStream.cxx | metasploit/framework3 | 8670817a938c74837be073e4c7ab610068d42cfd | [
"OpenSSL",
"Unlicense"
] | null | null | null | external/source/vncdll/rdr/ZlibOutStream.cxx | metasploit/framework3 | 8670817a938c74837be073e4c7ab610068d42cfd | [
"OpenSSL",
"Unlicense"
] | 3 | 2015-04-22T05:30:56.000Z | 2019-08-08T06:52:00.000Z | //
// Copyright (C) 2002 RealVNC Ltd. All Rights Reserved.
//
// This is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
//... | 28.191489 | 86 | 0.615094 | metasploit |
c8d33e39f939cb4a468323f4c40414527c45bd36 | 2,776 | cpp | C++ | source/common/MTLShader.cpp | Zainrax/COSC342-OpenGL | 223c45c763a82e543c62e3bc3b22e1220e20fe7d | [
"MIT"
] | null | null | null | source/common/MTLShader.cpp | Zainrax/COSC342-OpenGL | 223c45c763a82e543c62e3bc3b22e1220e20fe7d | [
"MIT"
] | null | null | null | source/common/MTLShader.cpp | Zainrax/COSC342-OpenGL | 223c45c763a82e543c62e3bc3b22e1220e20fe7d | [
"MIT"
] | null | null | null |
#include "MTLShader.hpp"
// complete the setters with the appropriate method for passing information to the shaders
MTLShader::MTLShader(){
}
// version of constructor that allows for vertex and fragment shader with differnt names
MTLShader::MTLShader(std::string vertexshaderName, std::string fragmen... | 27.76 | 129 | 0.731268 | Zainrax |
c8d44f177f1005eac9a1c0019a7db74145815f10 | 2,473 | cpp | C++ | source/Logic/generator.cpp | KidomMoc/YahahaEngine | 15a097aa5b8f130d19dbc019d444c9c317b337e8 | [
"MIT"
] | null | null | null | source/Logic/generator.cpp | KidomMoc/YahahaEngine | 15a097aa5b8f130d19dbc019d444c9c317b337e8 | [
"MIT"
] | null | null | null | source/Logic/generator.cpp | KidomMoc/YahahaEngine | 15a097aa5b8f130d19dbc019d444c9c317b337e8 | [
"MIT"
] | null | null | null | #include "generator.hpp"
#include "Core/Asset/AssetTypes.hpp"
#include "Core/Asset/AssetManager.hpp"
#include <stdio.h>
#include <libpng/png.h>
namespace KFTG
{
void generateData ()
{
Image *background;
u32 size_background = readImg ("background.png", background);
Image *img1;
u32 size_img1 = readImg ("img.png", ... | 32.539474 | 189 | 0.675698 | KidomMoc |
c8d60c20026ed6da818acc5591ecaf4ce0801a7b | 5,032 | hxx | C++ | Modules/Segmentation/MeanShift/include/otbMeanShiftSegmentationFilter.hxx | heralex/OTB | c52b504b64dc89c8fe9cac8af39b8067ca2c3a57 | [
"Apache-2.0"
] | 317 | 2015-01-19T08:40:58.000Z | 2022-03-17T11:55:48.000Z | Modules/Segmentation/MeanShift/include/otbMeanShiftSegmentationFilter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 18 | 2015-07-29T14:13:45.000Z | 2021-03-29T12:36:24.000Z | Modules/Segmentation/MeanShift/include/otbMeanShiftSegmentationFilter.hxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 132 | 2015-02-21T23:57:25.000Z | 2022-03-25T16:03:16.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 44.928571 | 140 | 0.801471 | heralex |
c8d7535f6bc96d7bce13dcd5343a71bc7696658d | 3,194 | cpp | C++ | clients/tests/test_global_matrix.cpp | pruthvistony/rocALUTION | 2a5c602f41194f7730f59b4f0ce8c5cfff77fa07 | [
"MIT"
] | 1 | 2020-04-15T18:26:58.000Z | 2020-04-15T18:26:58.000Z | clients/tests/test_global_matrix.cpp | pruthvistony/rocALUTION | 2a5c602f41194f7730f59b4f0ce8c5cfff77fa07 | [
"MIT"
] | null | null | null | clients/tests/test_global_matrix.cpp | pruthvistony/rocALUTION | 2a5c602f41194f7730f59b4f0ce8c5cfff77fa07 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright (c) 2018 Advanced Micro Devices, Inc.
*
* 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 re... | 38.95122 | 82 | 0.623356 | pruthvistony |
c8d7823b0a659dcb1bd30e89b153f9dabd8d9720 | 811 | cc | C++ | Chapter01/pra/t19_handle.cc | geometryolife/CppPrimer | 1159cd9dab50a112fa2f70b0507cae2a67614d4a | [
"MIT"
] | null | null | null | Chapter01/pra/t19_handle.cc | geometryolife/CppPrimer | 1159cd9dab50a112fa2f70b0507cae2a67614d4a | [
"MIT"
] | null | null | null | Chapter01/pra/t19_handle.cc | geometryolife/CppPrimer | 1159cd9dab50a112fa2f70b0507cae2a67614d4a | [
"MIT"
] | null | null | null | // 练习1.19: 修改你为1.4.1节练习1.11(第11页)所编写的程序(打印一个范围
// 内的数),使其能处理用户输入的第一个数比第二个数小的情况。
#include <iostream>
int main() {
int start = 0, end = 0;
std::cout << "Please enter the atart and end ranges:" << std::endl;
std::cin >> start >> end;
if (start < end) {
while (start <= end) {
std::cout << start << " ";... | 18.431818 | 69 | 0.54254 | geometryolife |
c8e01b967e7f667ce64bb0fe3df573a3fcc664e5 | 6,649 | cc | C++ | tensorflow/compiler/xla/service/mlir_gpu/mlir_irgen_test_base.cc | minai2020/tensorflow | a6b4474186c906c09cd29b1a7d4d0af714c261e4 | [
"Apache-2.0"
] | 57 | 2017-09-03T07:08:31.000Z | 2022-02-28T04:33:42.000Z | tensorflow/compiler/xla/service/mlir_gpu/mlir_irgen_test_base.cc | minai2020/tensorflow | a6b4474186c906c09cd29b1a7d4d0af714c261e4 | [
"Apache-2.0"
] | 8 | 2019-03-13T23:13:47.000Z | 2020-01-31T21:08:21.000Z | tensorflow/compiler/xla/service/mlir_gpu/mlir_irgen_test_base.cc | minai2020/tensorflow | a6b4474186c906c09cd29b1a7d4d0af714c261e4 | [
"Apache-2.0"
] | 28 | 2017-03-25T13:48:09.000Z | 2021-10-14T00:10:50.000Z | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 39.343195 | 80 | 0.708076 | minai2020 |
c8e1ea97ad52b119a70fa1c2c838774e9ac275db | 92,436 | inl | C++ | external/vulkancts/framework/vulkan/vkFunctionPointerTypes.inl | akeley98NV/VK-GL-CTS | 21d9f01031515737435ccf091cc4c7caf77a661a | [
"Apache-2.0"
] | 1 | 2021-07-15T23:37:39.000Z | 2021-07-15T23:37:39.000Z | external/vulkancts/framework/vulkan/vkFunctionPointerTypes.inl | akeley98NV/VK-GL-CTS | 21d9f01031515737435ccf091cc4c7caf77a661a | [
"Apache-2.0"
] | null | null | null | external/vulkancts/framework/vulkan/vkFunctionPointerTypes.inl | akeley98NV/VK-GL-CTS | 21d9f01031515737435ccf091cc4c7caf77a661a | [
"Apache-2.0"
] | null | null | null | /* WARNING: This is auto-generated file. Do not modify, since changes will
* be lost! Modify the generating script instead.
*/
typedef VKAPI_ATTR VkResult (VKAPI_CALL* CreateInstanceFunc) (const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance);
typedef ... | 194.193277 | 589 | 0.816089 | akeley98NV |
c8e2df1fae16bebf4efbcbc582a0f8b6c1e172e5 | 2,029 | cpp | C++ | RVAF-GUI/teechart/walls.cpp | YangQun1/RVAF-GUI | f187e2325fc8fdbac84a63515b7dd67c09e2fc72 | [
"BSD-2-Clause"
] | 4 | 2018-03-31T10:45:19.000Z | 2021-10-09T02:57:13.000Z | RVAF-GUI/teechart/walls.cpp | P-Chao/RVAF-GUI | 3bbeed7d2ffa400f754f095e7c08400f701813d4 | [
"BSD-2-Clause"
] | 1 | 2018-04-22T05:12:36.000Z | 2018-04-22T05:12:36.000Z | RVAF-GUI/teechart/walls.cpp | YangQun1/RVAF-GUI | f187e2325fc8fdbac84a63515b7dd67c09e2fc72 | [
"BSD-2-Clause"
] | 5 | 2018-01-13T15:57:14.000Z | 2019-11-12T03:23:18.000Z | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "walls.h"
// Dispatch interfaces referenced by t... | 23.870588 | 83 | 0.659438 | YangQun1 |
c8e3e10871208834479e18da04ca66b13991df83 | 4,653 | cpp | C++ | src/armnnDeserializer/test/DeserializeCast.cpp | tuanhe/armnn | 8a4bd6671d0106dfb788b8c9019f2f9646770f8d | [
"MIT"
] | 1 | 2021-07-03T23:46:08.000Z | 2021-07-03T23:46:08.000Z | src/armnnDeserializer/test/DeserializeCast.cpp | tuanhe/armnn | 8a4bd6671d0106dfb788b8c9019f2f9646770f8d | [
"MIT"
] | null | null | null | src/armnnDeserializer/test/DeserializeCast.cpp | tuanhe/armnn | 8a4bd6671d0106dfb788b8c9019f2f9646770f8d | [
"MIT"
] | null | null | null | //
// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "ParserFlatbuffersSerializeFixture.hpp"
#include <armnnDeserializer/IDeserializer.hpp>
#include <QuantizeHelper.hpp>
#include <ResolveType.hpp>
#include <boost/test/unit_test.hpp>
#include <string>
BOO... | 37.524194 | 94 | 0.300666 | tuanhe |
c8e499f49dcbb730379d3fd59fada0a3c40dcff1 | 2,698 | hpp | C++ | include/mettle/suite/compiled_suite.hpp | Hamled/mettle | 11e0979c2d84027f4ac941ff922a4278994a8f09 | [
"BSD-3-Clause"
] | 10 | 2017-08-11T20:02:26.000Z | 2022-01-01T09:50:19.000Z | BowlingTests.Mettle/mettle/suite/compiled_suite.hpp | dhelper/CppUnitTestingAndMockingComparison | 4f1049709c2480b0c1435607cdc932b45c209898 | [
"MIT"
] | null | null | null | BowlingTests.Mettle/mettle/suite/compiled_suite.hpp | dhelper/CppUnitTestingAndMockingComparison | 4f1049709c2480b0c1435607cdc932b45c209898 | [
"MIT"
] | null | null | null | #ifndef INC_METTLE_SUITE_COMPILED_SUITE_HPP
#define INC_METTLE_SUITE_COMPILED_SUITE_HPP
#include <functional>
#include <string>
#include <vector>
#include "attributes.hpp"
#include "../test_uid.hpp"
#include "../detail/forward_if.hpp"
namespace mettle {
struct test_result {
bool passed;
std::string message;
};
... | 27.814433 | 77 | 0.69533 | Hamled |
c8e5c307adebed16a23012c8230f1c4a7e49c80b | 1,572 | hpp | C++ | src/Enzo/enzo_EnzoMethodHeat.hpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoMethodHeat.hpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoMethodHeat.hpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | // See LICENSE_CELLO file for license and copyright information
/// @file enzo_EnzoMethodHeat.hpp
/// @author James Bordner (jobordner@ucsd.edu)
/// @date Thu Apr 1 16:14:38 PDT 2010
/// @brief [\ref Enzo] Declaration of EnzoMethodHeat
/// forward Euler solver for the heat equation
#ifndef EN... | 23.462687 | 68 | 0.668575 | TrevorMcCrary |
c8e6b8319dcc87d496b56573af098b775f79c6cf | 8,149 | cc | C++ | src/testing/test/gmock_output_test_.cc | zzilla/gbreakpad | 02fd5a078bda4eb2fd7ee881c8d301bea2bf87fe | [
"BSD-3-Clause"
] | 321 | 2018-06-17T03:52:46.000Z | 2022-03-18T02:34:52.000Z | TestFramework/gmock-1.6.0/test/gmock_output_test_.cc | blackberry-webworks/Ripple-Framework | c3126aa0669068f5ee102b65231fdaebdcdfa9ff | [
"Apache-2.0"
] | 72 | 2015-02-05T11:42:13.000Z | 2015-12-09T22:18:41.000Z | TestFramework/gmock-1.6.0/test/gmock_output_test_.cc | blackberry-webworks/Ripple-Framework | c3126aa0669068f5ee102b65231fdaebdcdfa9ff | [
"Apache-2.0"
] | 58 | 2018-06-21T10:43:03.000Z | 2022-03-29T12:42:11.000Z | // Copyright 2008, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | 28.003436 | 73 | 0.689901 | zzilla |
c8e73290272494ac25b7673fa73e1603ef000cdd | 3,304 | cpp | C++ | Project_7_Solution/Source/ModuleParticles.cpp | eriik1212/Efective | 82fa3d069b116a9e0c3a1a5cb6e16262bc955da2 | [
"MIT"
] | 3 | 2021-02-24T15:47:41.000Z | 2021-03-08T17:06:26.000Z | Project_7_Solution/Source/ModuleParticles.cpp | eriik1212/Effective | 82fa3d069b116a9e0c3a1a5cb6e16262bc955da2 | [
"MIT"
] | null | null | null | Project_7_Solution/Source/ModuleParticles.cpp | eriik1212/Effective | 82fa3d069b116a9e0c3a1a5cb6e16262bc955da2 | [
"MIT"
] | null | null | null | #include "ModuleParticles.h"
#include "Application.h"
#include "ModuleTextures.h"
#include "ModuleRender.h"
#include "ModuleCollisions.h"
#include "SDL/include/SDL_timer.h"
ModuleParticles::ModuleParticles(bool enabled) : Module(enabled)
{
for(uint i = 0; i < MAX_ACTIVE_PARTICLES; ++i)
particles[i] = nullptr;
}
... | 23.432624 | 114 | 0.68069 | eriik1212 |
c8ea429d4031e280a0c582797d7055eaca3adad0 | 24,271 | cpp | C++ | source/App/TAppDecoder/TAppDecTop.cpp | GregDobby/16.4pgr | d6a3e413477ab82377a3469602a529fd24525a78 | [
"BSD-3-Clause"
] | 1 | 2015-06-12T01:49:19.000Z | 2015-06-12T01:49:19.000Z | source/App/TAppDecoder/TAppDecTop.cpp | GregDobby/16.4pgr | d6a3e413477ab82377a3469602a529fd24525a78 | [
"BSD-3-Clause"
] | null | null | null | source/App/TAppDecoder/TAppDecTop.cpp | GregDobby/16.4pgr | d6a3e413477ab82377a3469602a529fd24525a78 | [
"BSD-3-Clause"
] | 1 | 2022-02-22T06:19:14.000Z | 2022-02-22T06:19:14.000Z | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2015, ITU/ISO/IEC
* All rights reserve... | 35.483918 | 312 | 0.620823 | GregDobby |
c8ef2e5f7d61f445ce78039ac50d8ff7f74e0f38 | 1,296 | hpp | C++ | include/doll/Script/Scripting.hpp | axia-sw/Doll | a5846a6553d9809e9a0ea50db2dc18b95eb21921 | [
"Zlib"
] | 1 | 2021-07-19T14:40:15.000Z | 2021-07-19T14:40:15.000Z | include/doll/Script/Scripting.hpp | axia-sw/Doll | a5846a6553d9809e9a0ea50db2dc18b95eb21921 | [
"Zlib"
] | null | null | null | include/doll/Script/Scripting.hpp | axia-sw/Doll | a5846a6553d9809e9a0ea50db2dc18b95eb21921 | [
"Zlib"
] | null | null | null | #pragma once
#include "../Core/Defs.hpp"
namespace doll {
// Script compiler
class RCompiler;
// Create a new script compiler
DOLL_FUNC RCompiler *DOLL_API sc_new();
// Destroy a script compiler
DOLL_FUNC NullPtr DOLL_API sc_delete( RCompiler *compiler );
// Open a source file in the compiler
... | 36 | 90 | 0.746142 | axia-sw |
c8f14dd8336575e8c4236e120c931e9dabd37246 | 1,406 | cpp | C++ | all/native/packagemanager/handlers/RoutingPackageHandler.cpp | JianYT/mobile-sdk | 1835603e6cb7994222fea681928dc90055816628 | [
"BSD-3-Clause"
] | 1 | 2019-11-04T08:40:40.000Z | 2019-11-04T08:40:40.000Z | all/native/packagemanager/handlers/RoutingPackageHandler.cpp | JianYT/mobile-sdk | 1835603e6cb7994222fea681928dc90055816628 | [
"BSD-3-Clause"
] | null | null | null | all/native/packagemanager/handlers/RoutingPackageHandler.cpp | JianYT/mobile-sdk | 1835603e6cb7994222fea681928dc90055816628 | [
"BSD-3-Clause"
] | null | null | null | #if defined(_CARTO_ROUTING_SUPPORT) && defined(_CARTO_PACKAGEMANAGER_SUPPORT)
#include "RoutingPackageHandler.h"
#include "packagemanager/PackageTileMask.h"
#include "utils/Log.h"
namespace carto {
RoutingPackageHandler::RoutingPackageHandler(const std::string& fileName) :
PackageHandler(fileName),
... | 28.693878 | 116 | 0.631579 | JianYT |
c8fa1117f2635a2a71e365c1f2f58baa9752e8de | 2,202 | cpp | C++ | src/Wektor.cpp | bsierp/ZadanieUkladyRownan | a28beafbec3d23ea0144e218e71f5908a3732c06 | [
"MIT"
] | null | null | null | src/Wektor.cpp | bsierp/ZadanieUkladyRownan | a28beafbec3d23ea0144e218e71f5908a3732c06 | [
"MIT"
] | null | null | null | src/Wektor.cpp | bsierp/ZadanieUkladyRownan | a28beafbec3d23ea0144e218e71f5908a3732c06 | [
"MIT"
] | null | null | null | #include "Wektor.hh"
Wektor::Wektor(){
for(int i=0;i<ROZMIAR;i++){
tab[i]=0;
}
}
Wektor::Wektor(double xx, double yy, double zz){
tab[0]=xx;
tab[1]=yy;
tab[2]=zz;
}
const double & Wektor::operator [](int index) const{
if(index<0||index>ROZMIAR){
cerr<<"Skladowa wektora pozaś zakre... | 24.197802 | 67 | 0.536331 | bsierp |
7407c27f1d09a8e43ca297572c91f0538ba64cfc | 972 | cc | C++ | GeeksForGeeks/Easy/ArrayPairs.cc | ChakreshSinghUC/CPPCodes | d82a3f467303566afbfcc927b660b0f7bf7c0432 | [
"MIT"
] | null | null | null | GeeksForGeeks/Easy/ArrayPairs.cc | ChakreshSinghUC/CPPCodes | d82a3f467303566afbfcc927b660b0f7bf7c0432 | [
"MIT"
] | null | null | null | GeeksForGeeks/Easy/ArrayPairs.cc | ChakreshSinghUC/CPPCodes | d82a3f467303566afbfcc927b660b0f7bf7c0432 | [
"MIT"
] | null | null | null | // 12-23-2016
// Author: Chakresh Singh
/*
Given an array of integers arr[0..n-1], count all pairs (arr[i], arr[j]) in the
such that i*arr[i] > j*arr[j], 0 =< i < j < n.
Examples:
Input : arr[] = {5 , 0, 10, 2, 4, 1, 6}
Output: 5
Pairs which hold condition i*arr[i] > j*arr[j]
are (10, 2) (10, 4) (10, 1) (2, 1) (4, ... | 22.090909 | 79 | 0.496914 | ChakreshSinghUC |
740f56ac305257e09eefcfc459170ebc4a1a75a5 | 17 | cpp | C++ | Tools/Ptr.cpp | Jacobious52/CPPLab | bc8778018b544e6271cfd7d9b35388c0e6149c68 | [
"MIT"
] | null | null | null | Tools/Ptr.cpp | Jacobious52/CPPLab | bc8778018b544e6271cfd7d9b35388c0e6149c68 | [
"MIT"
] | null | null | null | Tools/Ptr.cpp | Jacobious52/CPPLab | bc8778018b544e6271cfd7d9b35388c0e6149c68 | [
"MIT"
] | 1 | 2022-01-12T09:07:37.000Z | 2022-01-12T09:07:37.000Z | #include "Ptr.h"
| 8.5 | 16 | 0.647059 | Jacobious52 |
740f646e85767c3543021e891021588a3414b913 | 3,172 | cpp | C++ | src/jled_base.cpp | geekmystique/jled | 3568a043e551bcc31b7e1e5b7bfaf6ff0f90e413 | [
"MIT"
] | 235 | 2017-06-19T16:48:13.000Z | 2022-03-29T15:08:47.000Z | src/jled_base.cpp | geekmystique/jled | 3568a043e551bcc31b7e1e5b7bfaf6ff0f90e413 | [
"MIT"
] | 90 | 2017-12-07T06:36:57.000Z | 2022-03-29T20:38:18.000Z | src/jled_base.cpp | geekmystique/jled | 3568a043e551bcc31b7e1e5b7bfaf6ff0f90e413 | [
"MIT"
] | 55 | 2017-08-20T16:47:35.000Z | 2022-01-13T07:28:33.000Z | // Copyright (c) 2017 Jan Delgado <jdelgado[at]gmx.net>
// https://github.com/jandelgado/jled
//
// 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 limi... | 39.160494 | 110 | 0.6529 | geekmystique |
7410132719f7b4930f6986bf7b66767ce5024154 | 663 | cpp | C++ | Iniciante/1-generic.cpp | hugotannus/URI-Online-Judge---Solutions | 83f1279dd435aef1d911d1490712357baa9fd4dc | [
"MIT"
] | null | null | null | Iniciante/1-generic.cpp | hugotannus/URI-Online-Judge---Solutions | 83f1279dd435aef1d911d1490712357baa9fd4dc | [
"MIT"
] | null | null | null | Iniciante/1-generic.cpp | hugotannus/URI-Online-Judge---Solutions | 83f1279dd435aef1d911d1490712357baa9fd4dc | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <string>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <climits>
#include <vector>
#include <stack>
using namespace std;
#define MAX 21
#define sp setprecision
#define pb push_back
#define INF 0x3f3f3f3f
int gcd(int a, int b) {
while(b) {
a = a%b;
... | 15.068182 | 38 | 0.573152 | hugotannus |
7416ef728049c35ba41d61cf503eca1d6503d7d9 | 1,094 | cpp | C++ | Season 2/11_Fib.cpp | dreamerlee9489/Algorithms-Cpp | 9253e4a5246630e71932c136898efad3e1278298 | [
"MIT"
] | null | null | null | Season 2/11_Fib.cpp | dreamerlee9489/Algorithms-Cpp | 9253e4a5246630e71932c136898efad3e1278298 | [
"MIT"
] | null | null | null | Season 2/11_Fib.cpp | dreamerlee9489/Algorithms-Cpp | 9253e4a5246630e71932c136898efad3e1278298 | [
"MIT"
] | null | null | null | #include <ctime>
#include <iostream>
using namespace std;
int fib0(int n)
{
if (n <= 2)
return 1;
return fib0(n - 1) + fib0(n - 2);
}
int fib1(int n)
{
if (n <= 2)
return 1;
int array[2] = {1, 1};
for (size_t i = 3; i <= n; i++)
array[i & 1] = array[(i - 1) & 1] + array[(i ... | 19.192982 | 79 | 0.492687 | dreamerlee9489 |
741d59184c7d53d54c878dcf53c9a0498a2db77f | 194,491 | cpp | C++ | ExternalLib/ExternalLib/Source/DirectXTexConvert.cpp | Jin02/SOCEngine | 7a04d914149783f54aecf2fbbc4e78a7325f0fbd | [
"MIT"
] | 14 | 2015-12-24T03:08:59.000Z | 2021-12-13T13:29:07.000Z | ExternalLib/ExternalLib/Source/DirectXTexConvert.cpp | Jin02/SOCEngine | 7a04d914149783f54aecf2fbbc4e78a7325f0fbd | [
"MIT"
] | 106 | 2015-08-16T10:32:47.000Z | 2018-10-08T19:01:44.000Z | ExternalLib/ExternalLib/Source/DirectXTexConvert.cpp | Jin02/SOCEngine | 7a04d914149783f54aecf2fbbc4e78a7325f0fbd | [
"MIT"
] | 2 | 2018-03-02T06:17:08.000Z | 2020-02-11T11:19:41.000Z | //-------------------------------------------------------------------------------------
// DirectXTexConvert.cpp
//
// DirectX Texture Library - Image conversion
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLI... | 39.030905 | 145 | 0.487781 | Jin02 |
741fe7871459e8a008402fab0c4260c15cc47254 | 20,376 | cpp | C++ | ToolKit/Controls/Dialog/XTPColorPageCustom.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 2 | 2018-03-30T06:40:08.000Z | 2022-02-23T12:40:13.000Z | ToolKit/Controls/Dialog/XTPColorPageCustom.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | null | null | null | ToolKit/Controls/Dialog/XTPColorPageCustom.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 1 | 2020-08-11T05:48:02.000Z | 2020-08-11T05:48:02.000Z | // XTPColorPageCustom.cpp : implementation file
//
// This file is a part of the XTREME CONTROLS MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN... | 21.676596 | 113 | 0.666274 | 11Zero |
7422479ba264bb6f4f05ff74a54138c281f313ca | 199,622 | cpp | C++ | src/game/client/viewrender.cpp | Davideogame/TheHunted | b0f7c92093dcd5060e3c7c019130a82b0f26cf84 | [
"Unlicense"
] | null | null | null | src/game/client/viewrender.cpp | Davideogame/TheHunted | b0f7c92093dcd5060e3c7c019130a82b0f26cf84 | [
"Unlicense"
] | null | null | null | src/game/client/viewrender.cpp | Davideogame/TheHunted | b0f7c92093dcd5060e3c7c019130a82b0f26cf84 | [
"Unlicense"
] | null | null | null | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Responsible for drawing the scene
//
//===========================================================================//
#include "cbase.h"
#include "view.h"
#include "iviewrender.h"
#include "view_shared.h"
#include "ivieweffects.... | 32.052344 | 278 | 0.661861 | Davideogame |
74262ac36c6cb1420abb410d40a05f779f2c85ec | 797 | hpp | C++ | cpp/include/state/attached/device/Ready.hpp | skydiveuas/skylync | 73db7fe4593e262a1fc1a7b61c18190275abe723 | [
"MIT"
] | 1 | 2018-06-06T20:33:28.000Z | 2018-06-06T20:33:28.000Z | cpp/include/state/attached/device/Ready.hpp | skydiveuas/skylync | 73db7fe4593e262a1fc1a7b61c18190275abe723 | [
"MIT"
] | null | null | null | cpp/include/state/attached/device/Ready.hpp | skydiveuas/skylync | 73db7fe4593e262a1fc1a7b61c18190275abe723 | [
"MIT"
] | 1 | 2020-07-31T03:39:15.000Z | 2020-07-31T03:39:15.000Z | #ifndef STATE_ATTACHED_DEVICE_READY_HPP
#define STATE_ATTACHED_DEVICE_READY_HPP
#include "state/attached/IAttachedState.hpp"
namespace sl
{
namespace state
{
namespace attached
{
namespace device
{
class Ready : public IAttachedState
{
public:
Ready(ILiveCycleState::Listener& listener);
Ready(ILiveCycleS... | 17.326087 | 92 | 0.749059 | skydiveuas |
742711a106919168cb2cc16bcc74628c4b4ebd27 | 6,421 | hxx | C++ | ivp/ivp_collision/ivp_mindist_minimize.hxx | DannyParker0001/Kisak-Strike | 99ed85927336fe3aff2efd9b9382b2b32eb1d05d | [
"Unlicense"
] | 252 | 2020-12-16T15:34:43.000Z | 2022-03-31T23:21:37.000Z | ivp/ivp_collision/ivp_mindist_minimize.hxx | DannyParker0001/Kisak-Strike | 99ed85927336fe3aff2efd9b9382b2b32eb1d05d | [
"Unlicense"
] | 23 | 2020-12-20T18:02:54.000Z | 2022-03-28T16:58:32.000Z | ivp/ivp_collision/ivp_mindist_minimize.hxx | DannyParker0001/Kisak-Strike | 99ed85927336fe3aff2efd9b9382b2b32eb1d05d | [
"Unlicense"
] | 42 | 2020-12-19T04:32:33.000Z | 2022-03-30T06:00:28.000Z | // Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved.
#ifndef IVP_HASH_INCLUDED
# include <ivu_hash.hxx>
#endif
class IVP_Cache_Ball;
class IVP_Cache_Ledge_Point;
// set IVP_LOOP_LIST_SIZE if you want to use a linear list for loop check instead of a HASH
#define IVP_LOOP_LIST_SIZE 256
#... | 43.680272 | 162 | 0.770752 | DannyParker0001 |
742952d4b82d39bfb88cccf03030aa7b47ae7b08 | 2,308 | cpp | C++ | variant.cpp | erikvanhamme/ruleparser | 2f3bc212aaa13c2b037a7c028f6dc218ac68e872 | [
"MIT"
] | null | null | null | variant.cpp | erikvanhamme/ruleparser | 2f3bc212aaa13c2b037a7c028f6dc218ac68e872 | [
"MIT"
] | null | null | null | variant.cpp | erikvanhamme/ruleparser | 2f3bc212aaa13c2b037a7c028f6dc218ac68e872 | [
"MIT"
] | null | null | null | #include "variant.hpp"
#include <string>
#include <variant>
namespace wf
{
bool is_int(const variant_t &v)
{
return std::holds_alternative<int>(v);
}
bool is_char(const variant_t &v)
{
return std::holds_alternative<char>(v);
}
bool is_bool(const variant_t &v)
{
return std::holds_alternative<bool>(v);
}
... | 17.618321 | 76 | 0.599653 | erikvanhamme |
742cdc6e01b69db56e47ebf6c3c7057338ee36da | 2,376 | cpp | C++ | nano/core_test/unchecked_map.cpp | CathalT/raiblocks | 3e2b49e20832074bb0105e288e8fa0762d5c8130 | [
"BSD-2-Clause"
] | 882 | 2018-02-13T22:06:38.000Z | 2019-01-02T19:43:34.000Z | nano/core_test/unchecked_map.cpp | CathalT/raiblocks | 3e2b49e20832074bb0105e288e8fa0762d5c8130 | [
"BSD-2-Clause"
] | 746 | 2018-02-13T19:44:54.000Z | 2019-01-02T15:09:36.000Z | nano/core_test/unchecked_map.cpp | CathalT/raiblocks | 3e2b49e20832074bb0105e288e8fa0762d5c8130 | [
"BSD-2-Clause"
] | 312 | 2018-02-14T00:25:33.000Z | 2019-01-02T08:03:27.000Z | #include <nano/lib/blockbuilders.hpp>
#include <nano/lib/logger_mt.hpp>
#include <nano/node/unchecked_map.hpp>
#include <nano/secure/store.hpp>
#include <nano/secure/utility.hpp>
#include <nano/test_common/system.hpp>
#include <nano/test_common/testutil.hpp>
#include <gtest/gtest.h>
#include <memory>
using namespace... | 28.97561 | 116 | 0.7117 | CathalT |
293b44e7ecff3e44eecaf5620d1e5cdd809b6d4a | 20,772 | cpp | C++ | test/src/test_aichrono.cpp | aicpp/ailib | 7b6dbe8d61db03a8e0fd3524a1d4bdc3cff5f597 | [
"MIT"
] | 2 | 2019-05-17T14:33:52.000Z | 2022-03-04T18:10:38.000Z | test/src/test_aichrono.cpp | aicpp/ailib | 7b6dbe8d61db03a8e0fd3524a1d4bdc3cff5f597 | [
"MIT"
] | null | null | null | test/src/test_aichrono.cpp | aicpp/ailib | 7b6dbe8d61db03a8e0fd3524a1d4bdc3cff5f597 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <ailib/aichrono.h>
#include <fmt/format.h>
using namespace ai;
//---------------------------------------------------------------------------
class Test_aichrono : public ::testing::Test
{
public:
Test_aichrono(void)
{
};
virtual ~Test_aichrono(void)
{
};
... | 32.154799 | 127 | 0.639322 | aicpp |
293e373d22d3fe317cccd815b276a5ee7a705068 | 416 | cpp | C++ | _site/Competitive Programming/UVa/UVa11389.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 1 | 2019-06-10T04:39:49.000Z | 2019-06-10T04:39:49.000Z | _site/Competitive Programming/UVa/UVa11389.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 2 | 2021-09-27T23:34:07.000Z | 2022-02-26T05:54:27.000Z | _site/Competitive Programming/UVa/UVa11389.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 3 | 2019-06-23T14:15:08.000Z | 2019-07-09T20:40:58.000Z | #include <bits/stdc++.h>
using namespace std;
int main(){
int n, d, r;
while(cin>>n>>d>>r && n+d+r){
int m[n], e[n];
for (int i = 0; i < n; ++i)
{
cin>>m[i];
}
for (int i = 0; i < n; ++i)
{
cin>>e[i];
}
sort(m,m+n);
sort(e,e+n,greater<int>());
int money = 0;
for (int i = 0; i < n; ++i)
... | 15.407407 | 30 | 0.430288 | anujkyadav07 |
2940f7d1d152cf41740bb3d0587d248193e2737e | 4,653 | cpp | C++ | ouzel/graphics/opengl/RenderTargetOGL.cpp | keima97/ouzel | e6673e678b4739235371a15ae3863942b692c5fb | [
"BSD-2-Clause"
] | null | null | null | ouzel/graphics/opengl/RenderTargetOGL.cpp | keima97/ouzel | e6673e678b4739235371a15ae3863942b692c5fb | [
"BSD-2-Clause"
] | null | null | null | ouzel/graphics/opengl/RenderTargetOGL.cpp | keima97/ouzel | e6673e678b4739235371a15ae3863942b692c5fb | [
"BSD-2-Clause"
] | null | null | null | // Copyright (C) 2016 Elviss Strazdins
// This file is part of the Ouzel engine.
#include "RenderTargetOGL.h"
#include "TextureOGL.h"
#include "core/Engine.h"
#include "RendererOGL.h"
#include "utils/Utils.h"
namespace ouzel
{
namespace graphics
{
RenderTargetOGL::RenderTargetOGL()
{
}... | 34.723881 | 127 | 0.509564 | keima97 |
2944b8a22534b313526e7e17329a41acba76ff86 | 1,965 | cpp | C++ | PlayFabSDK/Plugins/PlayFab/Source/PlayFabProxy/Private/Proxy/Admin/PFAdminUpdateRandomResultTables.cpp | fordream/UnrealCppSdk | 84a38f3f32712334c29704892c5c8358804b40ae | [
"Apache-2.0"
] | null | null | null | PlayFabSDK/Plugins/PlayFab/Source/PlayFabProxy/Private/Proxy/Admin/PFAdminUpdateRandomResultTables.cpp | fordream/UnrealCppSdk | 84a38f3f32712334c29704892c5c8358804b40ae | [
"Apache-2.0"
] | null | null | null | PlayFabSDK/Plugins/PlayFab/Source/PlayFabProxy/Private/Proxy/Admin/PFAdminUpdateRandomResultTables.cpp | fordream/UnrealCppSdk | 84a38f3f32712334c29704892c5c8358804b40ae | [
"Apache-2.0"
] | 1 | 2020-04-09T10:55:33.000Z | 2020-04-09T10:55:33.000Z | // This is automatically generated by PlayFab SDKGenerator. DO NOT modify this manually!
#include "PlayFabProxyPrivatePCH.h"
#include "PFAdminUpdateRandomResultTables.h"
UPFAdminUpdateRandomResultTables::UPFAdminUpdateRandomResultTables(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
, Succes... | 33.87931 | 249 | 0.776081 | fordream |
29451961c36f7e1ac55e76379fbd8f7cba14006e | 13,364 | cpp | C++ | WickedEngine/wiImage.cpp | sierra-zero/WickedEngine | 85c1ef5df3ada61e9d5ac5357e062e6040baa09d | [
"WTFPL",
"MIT"
] | null | null | null | WickedEngine/wiImage.cpp | sierra-zero/WickedEngine | 85c1ef5df3ada61e9d5ac5357e062e6040baa09d | [
"WTFPL",
"MIT"
] | null | null | null | WickedEngine/wiImage.cpp | sierra-zero/WickedEngine | 85c1ef5df3ada61e9d5ac5357e062e6040baa09d | [
"WTFPL",
"MIT"
] | null | null | null | #include "wiImage.h"
#include "wiResourceManager.h"
#include "wiRenderer.h"
#include "wiHelper.h"
#include "SamplerMapping.h"
#include "ResourceMapping.h"
#include "ShaderInterop_Image.h"
#include "wiBackLog.h"
#include "wiEvent.h"
#include <atomic>
using namespace std;
using namespace wiGraphics;
namespace wiImage
... | 31.518868 | 191 | 0.728899 | sierra-zero |
29482324fc5f521b0594fe41ec4174e3e9179f7e | 66,126 | hpp | C++ | third_party/miniz/miniz.hpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | 1 | 2021-04-22T05:41:54.000Z | 2021-04-22T05:41:54.000Z | third_party/miniz/miniz.hpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | null | null | null | third_party/miniz/miniz.hpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | 1 | 2021-12-12T10:24:57.000Z | 2021-12-12T10:24:57.000Z | /* miniz.c 2.0.8 - public domain deflate/inflate, zlib-subset, ZIP reading/writing/appending, PNG writing
See "unlicense" statement at the end of this file.
Rich Geldreich <richgel99@gmail.com>, last updated Oct. 13, 2013
Implements RFC 1950: http://www.ietf.org/rfc/rfc1950.txt and RFC 1951: http://www.ietf.or... | 51.300233 | 250 | 0.772601 | GuinsooLab |
2948e3b0e7b9c6fe3575ec95b76eb65b00b192ce | 2,199 | cpp | C++ | Project3/src/rendering/framebufferobject.cpp | polferrando98/Qt-Project-3 | 747d9ce5c5c0f2ce5e7497978250636567136a80 | [
"MIT"
] | 1 | 2020-06-29T09:49:40.000Z | 2020-06-29T09:49:40.000Z | Project3Root/Project3/src/rendering/framebufferobject.cpp | MarcFly/AGP-ShaderLearning | b4e448423480a651ff5de350340291497f146fa8 | [
"Unlicense"
] | null | null | null | Project3Root/Project3/src/rendering/framebufferobject.cpp | MarcFly/AGP-ShaderLearning | b4e448423480a651ff5de350340291497f146fa8 | [
"Unlicense"
] | null | null | null | #include "framebufferobject.h"
#include "rendering/gl.h"
#include <QOpenGLFramebufferObject>
#include <QDebug>
FramebufferObject::FramebufferObject()
{
}
void FramebufferObject::create()
{
gl->glGenFramebuffers(1, &id);
}
void FramebufferObject::destroy()
{
gl->glDeleteFramebuffers(1, &id);
}
void Framebu... | 29.716216 | 115 | 0.643474 | polferrando98 |
2949008e76c96c22627a030483de826a33777b4c | 496 | cpp | C++ | old_solutions/check_if_string_is_isogram_or_not.cpp | DSC-JSS-NOIDA/competitive | aa8807db24df389e52ba66dd0c5847e60237930b | [
"Apache-2.0"
] | null | null | null | old_solutions/check_if_string_is_isogram_or_not.cpp | DSC-JSS-NOIDA/competitive | aa8807db24df389e52ba66dd0c5847e60237930b | [
"Apache-2.0"
] | null | null | null | old_solutions/check_if_string_is_isogram_or_not.cpp | DSC-JSS-NOIDA/competitive | aa8807db24df389e52ba66dd0c5847e60237930b | [
"Apache-2.0"
] | 7 | 2018-10-25T12:13:25.000Z | 2020-10-01T18:09:05.000Z | #include <bits/stdc++.h>
#define ull unsigned long long int
#define ll long long int
using namespace std;
int main() {
int t;
cin>>t;
while(t--){
int flag = 1;
string s;
cin>>s;
std::map<char, int> map;
for (int j = 0; j < s.length(); ++j)
{
if(map[s[j]])
map[s[j]]++;
else
map[s[j]] = 1;
... | 15.5 | 75 | 0.522177 | DSC-JSS-NOIDA |
294bc7b4226007252f5a42f20d7ea035b332e615 | 10,329 | cpp | C++ | src/ttauri/text/unicode_bidi_tests.cpp | jhalakpatel/ttauri | a05ed5db165645422348579cc4a949ef8ac205c7 | [
"BSL-1.0"
] | null | null | null | src/ttauri/text/unicode_bidi_tests.cpp | jhalakpatel/ttauri | a05ed5db165645422348579cc4a949ef8ac205c7 | [
"BSL-1.0"
] | null | null | null | src/ttauri/text/unicode_bidi_tests.cpp | jhalakpatel/ttauri | a05ed5db165645422348579cc4a949ef8ac205c7 | [
"BSL-1.0"
] | null | null | null | // Copyright Take Vos 2020-2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#include "ttauri/text/unicode_bidi.hpp"
#include "ttauri/file_view.hpp"
#include "ttauri/charconv.hpp"
#include "ttauri/ranges.hpp"
... | 32.07764 | 125 | 0.595024 | jhalakpatel |
294f714c49c974dd220e45d3c453453f39aebfc7 | 75 | hpp | C++ | test/src/ProtoBufConverterTest.hpp | weierstrass/protobuf-decoder | 4f5a2cab94b3e889f7d44d22463752d93250ac90 | [
"MIT"
] | 8 | 2016-08-07T22:04:06.000Z | 2020-06-28T14:33:18.000Z | test/src/ProtoBufConverterTest.hpp | weierstrass/protobuf-decoder | 4f5a2cab94b3e889f7d44d22463752d93250ac90 | [
"MIT"
] | 10 | 2016-07-30T19:54:02.000Z | 2018-03-01T01:59:46.000Z | test/src/ProtoBufConverterTest.hpp | weierstrass/protobuf-decoder | 4f5a2cab94b3e889f7d44d22463752d93250ac90 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
struct ProtobufConverterTest : testing::Test {};
| 18.75 | 48 | 0.746667 | weierstrass |
294f9e34d5745b028d7840a0b7448af3ef82ba4a | 990 | h++ | C++ | include/ogonek/encoding/iso8859_15.h++ | libogonek/ogonek | 46b7edbf6b7ff89892f5ba25494749b442e771b3 | [
"CC0-1.0"
] | 25 | 2016-10-21T12:37:23.000Z | 2021-02-22T05:46:46.000Z | include/ogonek/encoding/iso8859_15.h++ | libogonek/ogonek | 46b7edbf6b7ff89892f5ba25494749b442e771b3 | [
"CC0-1.0"
] | null | null | null | include/ogonek/encoding/iso8859_15.h++ | libogonek/ogonek | 46b7edbf6b7ff89892f5ba25494749b442e771b3 | [
"CC0-1.0"
] | 4 | 2016-09-05T10:23:18.000Z | 2020-07-09T19:37:37.000Z | // Ogonek
//
// Written in 2013 by Martinho Fernandes <martinho.fernandes@gmail.com>
//
// To the extent possible under law, the author(s) have dedicated all copyright and related
// and neighboring rights to this software to the public domain worldwide. This software is
// distributed without any warranty.
//
// You s... | 30.9375 | 96 | 0.756566 | libogonek |
29521fa26f956f7d701aee9256b5479a9e2c896a | 5,134 | cpp | C++ | ql/experimental/credit/integralcdoengine.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/experimental/credit/integralcdoengine.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/experimental/credit/integralcdoengine.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 Roland Lichters
Copyright (C) 2009, 2014 Jose Aparicio
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is fr... | 39.79845 | 81 | 0.607713 | haozhangphd |
29531f05b2c5571c06b264a6f0759b35de33a390 | 28,059 | cpp | C++ | libsrc/effectengine/EffectModule.cpp | keesg60/hyperion.ng | 7f174b28723456d41a5d48c1f1eed5fa41f418c2 | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 1,808 | 2016-06-29T00:12:07.000Z | 2022-03-30T22:55:16.000Z | libsrc/effectengine/EffectModule.cpp | keesg60/hyperion.ng | 7f174b28723456d41a5d48c1f1eed5fa41f418c2 | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 1,271 | 2016-06-16T20:12:41.000Z | 2022-03-31T17:47:59.000Z | libsrc/effectengine/EffectModule.cpp | keesg60/hyperion.ng | 7f174b28723456d41a5d48c1f1eed5fa41f418c2 | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 458 | 2016-06-15T16:08:12.000Z | 2022-03-29T15:36:16.000Z | #include <cmath>
#include <effectengine/Effect.h>
#include <effectengine/EffectModule.h>
// hyperion
#include <hyperion/Hyperion.h>
#include <utils/Logger.h>
// qt
#include <QJsonArray>
#include <QDateTime>
#include <QImageReader>
#include <QBuffer>
#include <QUrl>
#include <QNetworkReply>
#include <QNetworkAccessMa... | 27.698914 | 221 | 0.65405 | keesg60 |
29534350b21e653d58a081bec6a6d2d994cf3c37 | 2,304 | cpp | C++ | hacclient/Sentinel.cpp | ChadSki/hacclient | f1471e1f74de13dbbc1ae6d92238939e010ff7d6 | [
"MIT"
] | 1 | 2020-05-02T16:42:30.000Z | 2020-05-02T16:42:30.000Z | hacclient/Sentinel.cpp | ChadSki/hacclient | f1471e1f74de13dbbc1ae6d92238939e010ff7d6 | [
"MIT"
] | null | null | null | hacclient/Sentinel.cpp | ChadSki/hacclient | f1471e1f74de13dbbc1ae6d92238939e010ff7d6 | [
"MIT"
] | 1 | 2020-03-31T08:46:31.000Z | 2020-03-31T08:46:31.000Z | #include "Sentinel.h"
#include "DebugHelper.h"
#include <cstdint>
void Sentinel::pingAnticheat() {
OutputDebugString("Sentinel pinging!");
std::shared_ptr<Event> event(std::make_shared<Event>(PING_ANTICHEAT_THREAD));
broadcast(event);
requestTime = GetTickCount();
outstandingRequests++;
}
void Sentinel::measureR... | 22.588235 | 88 | 0.714844 | ChadSki |
29567775cc387e5e3c6daacc4a7f4b9a268cae89 | 4,512 | cpp | C++ | circe/gl/io/screen_quad.cpp | gui-works/circe | c126a8f9521dca1eb23ac47c8f2e8081f2102f17 | [
"MIT"
] | 1 | 2021-09-17T18:12:47.000Z | 2021-09-17T18:12:47.000Z | circe/gl/io/screen_quad.cpp | gui-works/circe | c126a8f9521dca1eb23ac47c8f2e8081f2102f17 | [
"MIT"
] | null | null | null | circe/gl/io/screen_quad.cpp | gui-works/circe | c126a8f9521dca1eb23ac47c8f2e8081f2102f17 | [
"MIT"
] | 2 | 2021-09-17T18:13:02.000Z | 2021-09-17T18:16:21.000Z | // Created by filipecn on 8/26/18.
/*
* Copyright (c) 2018 FilipeCN
*
* The MIT License (MIT)
*
* 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 l... | 43.384615 | 81 | 0.687943 | gui-works |
2957e45352de22bb54945ce5789f315ee0569bd7 | 2,734 | cpp | C++ | C++/satisfiability-of-equality-equations.cpp | jaiskid/LeetCode-Solutions | a8075fd69087c5463f02d74e6cea2488fdd4efd1 | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/satisfiability-of-equality-equations.cpp | jaiskid/LeetCode-Solutions | a8075fd69087c5463f02d74e6cea2488fdd4efd1 | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/satisfiability-of-equality-equations.cpp | jaiskid/LeetCode-Solutions | a8075fd69087c5463f02d74e6cea2488fdd4efd1 | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time: O(n)
// Space: O(1)
class Solution {
public:
bool equationsPossible(vector<string>& equations) {
UnionFind union_find(26);
for (const auto& eqn : equations) {
int x = eqn[0] - 'a';
int y = eqn[3] - 'a';
if (eqn[1] == '=') {
union_find.un... | 25.792453 | 71 | 0.381858 | jaiskid |
295c18df9032415e30ff21a43f7bbc31a48922fc | 16,058 | cpp | C++ | src/solvers/refinement/string_constraint_generator_indexof.cpp | jeannielynnmoulton/cbmc | 1d4af6d88ec960677170049a8a89a9166b952996 | [
"BSD-4-Clause"
] | null | null | null | src/solvers/refinement/string_constraint_generator_indexof.cpp | jeannielynnmoulton/cbmc | 1d4af6d88ec960677170049a8a89a9166b952996 | [
"BSD-4-Clause"
] | 1 | 2019-02-05T16:18:25.000Z | 2019-02-05T16:18:25.000Z | src/solvers/refinement/string_constraint_generator_indexof.cpp | jeannielynnmoulton/cbmc | 1d4af6d88ec960677170049a8a89a9166b952996 | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module: Generates string constraints for the family of indexOf and
lastIndexOf java functions
Author: Romain Brenguier, romain.brenguier@diffblue.com
\*******************************************************************/
/// \file
/// Gene... | 38.142518 | 96 | 0.675115 | jeannielynnmoulton |
29601cde5ad02783e2c0f0b430a603f4b63a84b8 | 4,641 | cpp | C++ | MJBATesting/src/main.cpp | AnthonyFuller/TonyTools | 9746e53144783143e6820216d8e756abe30bd733 | [
"MIT"
] | null | null | null | MJBATesting/src/main.cpp | AnthonyFuller/TonyTools | 9746e53144783143e6820216d8e756abe30bd733 | [
"MIT"
] | null | null | null | MJBATesting/src/main.cpp | AnthonyFuller/TonyTools | 9746e53144783143e6820216d8e756abe30bd733 | [
"MIT"
] | null | null | null | #include "main.h"
struct ZNewTrajectory
{
uint32_t frames;
uint32_t sampleFreq;
};
struct Vector3
{
float x;
float y;
float z;
};
struct QuantizedQuaternion
{
uint16_t x;
uint16_t y;
uint16_t z;
uint16_t w;
};
struct Quaternion
{
float x;
float y;
float z;
float w... | 25.927374 | 132 | 0.662357 | AnthonyFuller |
2960525e598021fd446b3e6cf31a227ef95e9afa | 2,268 | cpp | C++ | _project/test_mpi_support.cpp | IMTEK-Simulation/molecular_dynamics_course | ea730c2f6771338696221347a5af0c937a04206f | [
"CC-BY-4.0"
] | 4 | 2021-07-04T19:44:58.000Z | 2022-03-20T07:42:45.000Z | _project/test_mpi_support.cpp | IMTEK-Simulation/molecular_dynamics_course | ea730c2f6771338696221347a5af0c937a04206f | [
"CC-BY-4.0"
] | null | null | null | _project/test_mpi_support.cpp | IMTEK-Simulation/molecular_dynamics_course | ea730c2f6771338696221347a5af0c937a04206f | [
"CC-BY-4.0"
] | null | null | null | /*
* Copyright 2021 Lars Pastewka
*
* ### MIT license
*
* 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, me... | 41.236364 | 79 | 0.728395 | IMTEK-Simulation |
296239f37b6fd21ed2f86e5f429e4c4875f9f7bf | 74,371 | cpp | C++ | src/nanosvg.cpp | CodeFinder2/nanosvg | a1d2a5a7f4723143a621ed7a2a38bafdf5066d1e | [
"Zlib"
] | null | null | null | src/nanosvg.cpp | CodeFinder2/nanosvg | a1d2a5a7f4723143a621ed7a2a38bafdf5066d1e | [
"Zlib"
] | null | null | null | src/nanosvg.cpp | CodeFinder2/nanosvg | a1d2a5a7f4723143a621ed7a2a38bafdf5066d1e | [
"Zlib"
] | null | null | null | #include "nanosvg/nanosvg.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#define NSVG_PI (3.14159265358979323846264338327f)
#define NSVG_KAPPA90 (0.5522847493f) // Length proportional to radius of a cubic bezier handle for 90deg arcs.
#define NSVG_ALIGN_MIN 0
#define NSVG_ALIGN_MID 1... | 26.344669 | 123 | 0.605115 | CodeFinder2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.