hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 1 77k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9cdcb7d8b7ee69bc1dedd8cda1a889a343814e31 | 41,185 | cpp | C++ | tests/unit/TAO/API/tokens.cpp | cyptoman/LLL-TAO | dfaad5497e280df576b6d2e7959f82874c42fe3e | [
"MIT"
] | null | null | null | tests/unit/TAO/API/tokens.cpp | cyptoman/LLL-TAO | dfaad5497e280df576b6d2e7959f82874c42fe3e | [
"MIT"
] | null | null | null | tests/unit/TAO/API/tokens.cpp | cyptoman/LLL-TAO | dfaad5497e280df576b6d2e7959f82874c42fe3e | [
"MIT"
] | null | null | null | /*__________________________________________________________________________________________
(c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++
(c) Copyright The Nexus Developers 2014 - 2019
Distributed under the MIT software license, see the accompanying
... | 31.705158 | 134 | 0.566808 |
9cdcee2c61b64c8f4d0e8d25efdd8f038d2a1ed0 | 3,040 | cpp | C++ | Source/Engine/ING/Source/ING/Rendering/Pipeline/Pipeline.cpp | n-c0d3r/ING | f858c973e1b31ffc6deb324fa52eda6323d2c165 | [
"MIT"
] | 2 | 2022-01-21T04:03:55.000Z | 2022-03-19T08:54:00.000Z | Source/Engine/ING/Source/ING/Rendering/Pipeline/Pipeline.cpp | n-c0d3r/ING | f858c973e1b31ffc6deb324fa52eda6323d2c165 | [
"MIT"
] | null | null | null | Source/Engine/ING/Source/ING/Rendering/Pipeline/Pipeline.cpp | n-c0d3r/ING | f858c973e1b31ffc6deb324fa52eda6323d2c165 | [
"MIT"
] | null | null | null |
/**
* Include Header
*/
#include "Pipeline.h"
/**
* Include Camera
*/
#include <ING/Camera/Camera.h>
/**
* Include Renderer
*/
#include <ING/Rendering/Renderer/Renderer.h>
/**
* Include Rendering API
*/
#include <ING/Rendering/API/API.h>
/**
* Include Rendering Device Context
*/
#include <ING/Ren... | 13.755656 | 84 | 0.630921 |
9ce343bbf398a54f1d484a4b09fd7f41522fba03 | 3,681 | cpp | C++ | code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_rownum.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_rownum.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_rownum.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | 1 | 2020-10-18T12:59:31.000Z | 2020-10-18T12:59:31.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | 35.737864 | 110 | 0.728063 |
9ce435b973be57cb06a17dbf338393469e151eec | 11,192 | cc | C++ | ns3/ns-3.26/src/internet/model/ipv4-raw-socket-impl.cc | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 7 | 2017-08-11T06:06:47.000Z | 2022-02-27T07:34:33.000Z | ns3/ns-3.26/src/internet/model/ipv4-raw-socket-impl.cc | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 3 | 2017-08-11T03:04:59.000Z | 2017-09-11T14:01:14.000Z | ns3/ns-3.26/src/internet/model/ipv4-raw-socket-impl.cc | Aedemon/clusim | 7f09cdb79b5f02cf0fed1bd44842981941f29f32 | [
"Apache-2.0"
] | 3 | 2017-08-08T13:36:30.000Z | 2018-07-04T09:49:41.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include "ipv4-raw-socket-impl.h"
#include "ipv4-l3-protocol.h"
#include "icmpv4.h"
#include "ns3/ipv4-packet-info-tag.h"
#include "ns3/inet-socket-address.h"
#include "ns3/node.h"
#i... | 24.982143 | 122 | 0.608917 |
9ce4ebac3eb6cf5e5f748d0e54b3afb8a9f0a016 | 9,147 | cpp | C++ | src/qt/src/gui/widgets/qradiobutton.cpp | martende/phantomjs | 5cecd7dde7b8fd04ad2c036d16f09a8d2a139854 | [
"BSD-3-Clause"
] | 1 | 2015-03-16T20:49:09.000Z | 2015-03-16T20:49:09.000Z | src/qt/src/gui/widgets/qradiobutton.cpp | firedfox/phantomjs | afb0707c9db7b5e693ad1b216a50081565c08ebb | [
"BSD-3-Clause"
] | null | null | null | src/qt/src/gui/widgets/qradiobutton.cpp | firedfox/phantomjs | afb0707c9db7b5e693ad1b216a50081565c08ebb | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | 30.694631 | 101 | 0.682738 |
9ce5ba2980bfdd790af15c855244c8c74f6c7895 | 7,747 | cpp | C++ | src/engine/core/src/graphics/sprite/particles.cpp | code-disaster/halley | 5c85c889b76c69c6bdef6f4801c6aba282b7af80 | [
"Apache-2.0"
] | 3,262 | 2016-04-10T15:24:10.000Z | 2022-03-31T17:47:08.000Z | src/engine/core/src/graphics/sprite/particles.cpp | code-disaster/halley | 5c85c889b76c69c6bdef6f4801c6aba282b7af80 | [
"Apache-2.0"
] | 53 | 2016-10-09T16:25:04.000Z | 2022-01-10T13:52:37.000Z | src/engine/core/src/graphics/sprite/particles.cpp | code-disaster/halley | 5c85c889b76c69c6bdef6f4801c6aba282b7af80 | [
"Apache-2.0"
] | 193 | 2017-10-23T06:08:41.000Z | 2022-03-22T12:59:58.000Z | #include "graphics/sprite/particles.h"
#include "halley/maths/random.h"
#include "halley/support/logger.h"
using namespace Halley;
Particles::Particles()
: rng(&Random::getGlobal())
{
}
Particles::Particles(const ConfigNode& node, Resources& resources)
: rng(&Random::getGlobal())
{
spawnRate = node["spawnRate"].... | 25.909699 | 140 | 0.702595 |
9ce7ea7fb4855c7e3170a351895aa88d36813e37 | 10,616 | cpp | C++ | src/objects/smoke/SmokeIcon-gen.cpp | steptosky/3DsMax-X-Obj-Exporter | c70f5a60056ee71aba1569f1189c38b9e01d2f0e | [
"BSD-3-Clause"
] | 20 | 2017-07-07T06:07:30.000Z | 2022-03-09T12:00:57.000Z | src/objects/smoke/SmokeIcon-gen.cpp | steptosky/3DsMax-X-Obj-Exporter | c70f5a60056ee71aba1569f1189c38b9e01d2f0e | [
"BSD-3-Clause"
] | 28 | 2017-07-07T06:08:27.000Z | 2022-03-09T12:09:23.000Z | src/objects/smoke/SmokeIcon-gen.cpp | steptosky/3DsMax-X-Obj-Exporter | c70f5a60056ee71aba1569f1189c38b9e01d2f0e | [
"BSD-3-Clause"
] | 7 | 2018-01-24T19:43:22.000Z | 2020-01-06T00:05:40.000Z | #include "SmokeIcon-gen.h"
#pragma warning(push, 0)
#include <max.h>
#pragma warning(pop)
/* Auto-generated file */
void SmokeIcon::fillMesh(Mesh & outMesh, const float scale) {
outMesh.setNumVerts(48);
outMesh.setNumFaces(42);
outMesh.verts[0].x = scale * 0.500000f;
outMesh.verts[0].y = scale * 0.... | 43.330612 | 61 | 0.62905 |
9ce801751ff185cf1c4837105a9b4cdeb1187ecc | 6,460 | cpp | C++ | Tests/LibC/strlcpy-correctness.cpp | shubhdev/serenity | 9321d9d83d366ad4cf686c856063ff9ac97c18a4 | [
"BSD-2-Clause"
] | 4 | 2021-02-23T05:35:25.000Z | 2021-06-08T06:11:06.000Z | Tests/LibC/strlcpy-correctness.cpp | shubhdev/serenity | 9321d9d83d366ad4cf686c856063ff9ac97c18a4 | [
"BSD-2-Clause"
] | 4 | 2021-04-27T20:44:44.000Z | 2021-06-30T18:07:10.000Z | Tests/LibC/strlcpy-correctness.cpp | shubhdev/serenity | 9321d9d83d366ad4cf686c856063ff9ac97c18a4 | [
"BSD-2-Clause"
] | 1 | 2022-01-10T08:02:34.000Z | 2022-01-10T08:02:34.000Z | /*
* Copyright (c) 2020, Ben Wiederhake <BenWiederhake.GitHub@gmx.de>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibTest/TestCase.h>
#include <AK/ByteBuffer.h>
#include <AK/Random.h>
#include <AK/StringBuilder.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
struct Testcase {
const ch... | 39.151515 | 174 | 0.632353 |
9ce809c9485d906290ddf8e8833099a7a8f05573 | 2,623 | cpp | C++ | bootloader/bootloader32/src/RealMode.cpp | Rzuwik/FunnyOS | a93a45babf575d08cf2704a8394ac1455f3ad4db | [
"MIT"
] | null | null | null | bootloader/bootloader32/src/RealMode.cpp | Rzuwik/FunnyOS | a93a45babf575d08cf2704a8394ac1455f3ad4db | [
"MIT"
] | null | null | null | bootloader/bootloader32/src/RealMode.cpp | Rzuwik/FunnyOS | a93a45babf575d08cf2704a8394ac1455f3ad4db | [
"MIT"
] | null | null | null | #include "RealMode.hpp"
#include <FunnyOS/Hardware/Interrupts.hpp>
// Defined in real_mode.asm
extern FunnyOS::Bootloader32::Registers32 g_savedRegisters;
extern uint8_t g_realBuffer;
extern uint8_t g_realBufferTop;
F_CDECL extern void do_real_mode_interrupt();
namespace FunnyOS::Bootloader32 {
using namespace ... | 36.430556 | 113 | 0.581014 |
9ce835cce2288e438bee59f8376b8331e6e442ab | 831 | hpp | C++ | libs/core/include/fcppt/string_literal.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/string_literal.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/string_literal.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_STRING_LITERAL_HPP_INCLUDED
#define FCPPT_STRING_LITERAL_HPP_INCLUDED
#include <fcp... | 23.083333 | 86 | 0.724428 |
9ce97fa30f1816d72221b1abc841dfdf364782c0 | 630 | hpp | C++ | engine/Component.hpp | shenchi/gllab | 5d8fe33cd763d5fe5033da106b715751ae2e87ef | [
"MIT"
] | null | null | null | engine/Component.hpp | shenchi/gllab | 5d8fe33cd763d5fe5033da106b715751ae2e87ef | [
"MIT"
] | null | null | null | engine/Component.hpp | shenchi/gllab | 5d8fe33cd763d5fe5033da106b715751ae2e87ef | [
"MIT"
] | null | null | null | #ifndef COMPONENT_H
#define COMPONENT_H
#include "Object.hpp"
class SceneObject;
class Component : public Object
{
public:
enum Type
{
TYPE_UNKNOWN = -1,
TYPE_MESHFILTER,
TYPE_MESHRENDERER,
};
public:
Component( int type ) : m_enabled( true ), m_type( type ), m_owner( 0 ) {}
virtual ~Component() {}
in... | 16.578947 | 75 | 0.687302 |
9cea5ca39c94fb894f7d3142ad95c0b527c50fdc | 6,890 | cpp | C++ | waf/src/v20180125/model/CreateAttackDownloadTaskRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | waf/src/v20180125/model/CreateAttackDownloadTaskRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | waf/src/v20180125/model/CreateAttackDownloadTaskRequest.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
... | 25.518519 | 95 | 0.723077 |
9ced91d78078add0b4e6536004cc7547fccb8745 | 3,569 | cpp | C++ | Glaive/3491/11030126_WA.cpp | SwordYoung/cutprob | f022b6bc23d80d5d214b54c49f372af49c837855 | [
"Artistic-2.0"
] | null | null | null | Glaive/3491/11030126_WA.cpp | SwordYoung/cutprob | f022b6bc23d80d5d214b54c49f372af49c837855 | [
"Artistic-2.0"
] | null | null | null | Glaive/3491/11030126_WA.cpp | SwordYoung/cutprob | f022b6bc23d80d5d214b54c49f372af49c837855 | [
"Artistic-2.0"
] | null | null | null | #include <iostream>
#include <cmath>
#include <cassert>
using namespace std;
double pai = 3.1415927;
typedef struct {
double x;
double y;
} Point;
double eq(double d0, double d1, bool sqr = false) {
// return sqr ? (abs(d0 - d1) < (d0 / 10000)) : abs(d0 - d1) < 0.01;
return sqr ? eq(sqrt(d0), sqr... | 26.634328 | 76 | 0.490894 |
9cee429080c82d731cdcf91453ceee424a088661 | 150 | hpp | C++ | src/events/interactions/delete-entity.hpp | guillaume-haerinck/imac-tower-defense | 365a32642ea0d3ad8b2b7d63347d585c44d9f670 | [
"MIT"
] | 44 | 2019-06-06T21:33:30.000Z | 2022-03-26T06:18:23.000Z | src/events/interactions/delete-entity.hpp | guillaume-haerinck/imac-tower-defense | 365a32642ea0d3ad8b2b7d63347d585c44d9f670 | [
"MIT"
] | 1 | 2019-09-27T12:04:52.000Z | 2019-09-29T13:30:42.000Z | src/events/interactions/delete-entity.hpp | guillaume-haerinck/imac-tower-defense | 365a32642ea0d3ad8b2b7d63347d585c44d9f670 | [
"MIT"
] | 8 | 2019-07-26T16:44:26.000Z | 2020-11-24T17:56:18.000Z | #pragma once
namespace evnt {
struct DeleteEntity {
DeleteEntity(std::uint32_t entityId) : entityId(entityId) {}
std::uint32_t entityId;
};
}
| 15 | 62 | 0.713333 |
9cee69d27ff35e7b0f4731027eb3652184ce93c1 | 11,206 | cpp | C++ | lib/Dialects/VectorExt/Transform/VectorWarpUtils.cpp | yzhang93/iree-llvm-sandbox | 1566f318f27585b60464516a63b49e5bc09f8fcb | [
"Apache-2.0"
] | null | null | null | lib/Dialects/VectorExt/Transform/VectorWarpUtils.cpp | yzhang93/iree-llvm-sandbox | 1566f318f27585b60464516a63b49e5bc09f8fcb | [
"Apache-2.0"
] | null | null | null | lib/Dialects/VectorExt/Transform/VectorWarpUtils.cpp | yzhang93/iree-llvm-sandbox | 1566f318f27585b60464516a63b49e5bc09f8fcb | [
"Apache-2.0"
] | null | null | null | //===- VectorWarpUtils.cpp - Utilities vector warp ops --------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------------... | 42.12782 | 80 | 0.661521 |
9ceef42127f999b3cd649487f49ef5175eee3fc0 | 2,149 | cpp | C++ | src/CppUtil/Basic/StrAPI/StrAPI.cpp | huangx916/RenderLab | a0059705d5694146bbe51442e0cabdcbcd750fe7 | [
"MIT"
] | 1 | 2019-09-20T03:04:12.000Z | 2019-09-20T03:04:12.000Z | src/CppUtil/Basic/StrAPI/StrAPI.cpp | huangx916/RenderLab | a0059705d5694146bbe51442e0cabdcbcd750fe7 | [
"MIT"
] | null | null | null | src/CppUtil/Basic/StrAPI/StrAPI.cpp | huangx916/RenderLab | a0059705d5694146bbe51442e0cabdcbcd750fe7 | [
"MIT"
] | null | null | null | #include <CppUtil/Basic/StrAPI.h>
#include <cassert>
#include <algorithm>
using namespace CppUtil::Basic;
using namespace std;
const string StrAPI::Head(const string & str, int n) {
assert(n >= 0);
return str.substr(0, std::min(static_cast<size_t>(n), str.size()));
}
const string StrAPI::Tail(const string & str, ... | 23.107527 | 94 | 0.658911 |
9cef88cd9b8cdde8848478b889a98ca49fb44843 | 9,530 | cpp | C++ | libs/obs/src/CSimpleMap.cpp | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | 2 | 2017-03-25T18:09:17.000Z | 2017-05-22T08:14:48.000Z | libs/obs/src/CSimpleMap.cpp | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | null | null | null | libs/obs/src/CSimpleMap.cpp | feroze/mrpt-shivang | 95bf524c5e10ed2e622bd199f1b0597951b45370 | [
"BSD-3-Clause"
] | 1 | 2018-07-29T09:40:46.000Z | 2018-07-29T09:40:46.000Z | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | 26.545961 | 106 | 0.495173 |
9cf11266dce10f9681f3b02109fbecfdde39a2af | 78,227 | cpp | C++ | bench/ml2cpp-demo/XGBClassifier/BreastCancer/ml2cpp-demo_XGBClassifier_BreastCancer.cpp | antoinecarme/ml2cpp | 2b241d44de00eafda620c2b605690276faf5f8fb | [
"BSD-3-Clause"
] | null | null | null | bench/ml2cpp-demo/XGBClassifier/BreastCancer/ml2cpp-demo_XGBClassifier_BreastCancer.cpp | antoinecarme/ml2cpp | 2b241d44de00eafda620c2b605690276faf5f8fb | [
"BSD-3-Clause"
] | 33 | 2020-09-13T09:55:01.000Z | 2022-01-06T11:53:55.000Z | bench/ml2cpp-demo/XGBClassifier/BreastCancer/ml2cpp-demo_XGBClassifier_BreastCancer.cpp | antoinecarme/ml2cpp | 2b241d44de00eafda620c2b605690276faf5f8fb | [
"BSD-3-Clause"
] | 1 | 2021-01-26T14:41:58.000Z | 2021-01-26T14:41:58.000Z | // ********************************************************
// This C++ code was automatically generated by ml2cpp (development version).
// Copyright 2020
// https://github.com/antoinecarme/ml2cpp
// Model : XGBClassifier
// Dataset : BreastCancer
// This CPP code can be compiled using any C++-17 compiler.
// g++ ... | 63.495942 | 879 | 0.705294 |
9cf1ff5ce94f952820716473210d2675e3b89cc1 | 543 | cpp | C++ | Day-08/Day-08-CodeForces/492B-VanyaAndLanterns.cpp | LawranceMichaelite/100-Days-of-Code | de80015c2ab7c94956d4fe39f6e143627cdd7bc9 | [
"Apache-2.0"
] | null | null | null | Day-08/Day-08-CodeForces/492B-VanyaAndLanterns.cpp | LawranceMichaelite/100-Days-of-Code | de80015c2ab7c94956d4fe39f6e143627cdd7bc9 | [
"Apache-2.0"
] | null | null | null | Day-08/Day-08-CodeForces/492B-VanyaAndLanterns.cpp | LawranceMichaelite/100-Days-of-Code | de80015c2ab7c94956d4fe39f6e143627cdd7bc9 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
int num , atMost ;
cin >> num >> atMost ;
vector<double>ans(num , 0.0);
for(int i = 0; i < num ; i++)
{
cin >> ans[i];
}
sort(ans.begin(),ans.end());
double max_dist = 0.0;
for(int i = 0 ; i < num-1 ; i++)
{
... | 22.625 | 67 | 0.499079 |
9cf3494c496be8d4a09de63ab8d54bd69a6d7f72 | 3,541 | hpp | C++ | hwlib_examples/hwlib/hwlib-pin.hpp | DavidDriessen/IPASS-MFRC522 | 283b0aecce704b0df367a57ac6923ab51b788056 | [
"BSL-1.0"
] | null | null | null | hwlib_examples/hwlib/hwlib-pin.hpp | DavidDriessen/IPASS-MFRC522 | 283b0aecce704b0df367a57ac6923ab51b788056 | [
"BSL-1.0"
] | null | null | null | hwlib_examples/hwlib/hwlib-pin.hpp | DavidDriessen/IPASS-MFRC522 | 283b0aecce704b0df367a57ac6923ab51b788056 | [
"BSL-1.0"
] | null | null | null | // ==========================================================================
//
// File : hwlib-pin.hpp
// Part of : hwlib library for V1OOPC and V1IPAS
// Copyright : wouter@voti.nl 2016
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// ht... | 26.22963 | 77 | 0.620164 |
9cf3a1019254d8954c790da3276855292485dd54 | 1,408 | cpp | C++ | Tests/Data transfer/Display/main.cpp | DaanZVW/IPASS | b053908cecf3c33eb1e4ae98532dbca7eb415385 | [
"BSL-1.0"
] | null | null | null | Tests/Data transfer/Display/main.cpp | DaanZVW/IPASS | b053908cecf3c33eb1e4ae98532dbca7eb415385 | [
"BSL-1.0"
] | null | null | null | Tests/Data transfer/Display/main.cpp | DaanZVW/IPASS | b053908cecf3c33eb1e4ae98532dbca7eb415385 | [
"BSL-1.0"
] | null | null | null | // Copyright Daan Zimmerman van Woesik 2019 - 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 "hwlib.hpp"
#include "mcbelib.hpp"
int main( void ) {
hwlib::wait_ms(1);
nam... | 35.2 | 82 | 0.65767 |
9cf4f4d54a34373d40e5e0a366a6396a2e2110f4 | 2,608 | cpp | C++ | src/game/shared/cstrike/hegrenade_projectile.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 3 | 2020-12-15T23:09:28.000Z | 2022-01-13T15:55:04.000Z | src/game/shared/cstrike/hegrenade_projectile.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | null | null | null | src/game/shared/cstrike/hegrenade_projectile.cpp | DeadZoneLuna/csso-src | 6c978ea304ee2df3796bc9c0d2916bac550050d5 | [
"Unlicense"
] | 2 | 2021-12-30T02:28:31.000Z | 2022-03-05T08:34:15.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "hegrenade_projectile.h"
#include "soundent.h"
#include "cs_player.h"
#include "KeyValues.h"
#include "weapon_csb... | 27.452632 | 129 | 0.716641 |
9cf5a2016c9919d128baac752b11f9053840225c | 924 | cpp | C++ | rdma/UdQueuePair.cpp | pfent/exchangeableTransports | a17ddcf99eba16b401df8f0865c1264e11c15c85 | [
"MIT"
] | 32 | 2018-12-14T16:54:11.000Z | 2022-02-28T13:07:17.000Z | rdma/UdQueuePair.cpp | pfent/exchangeableTransports | a17ddcf99eba16b401df8f0865c1264e11c15c85 | [
"MIT"
] | null | null | null | rdma/UdQueuePair.cpp | pfent/exchangeableTransports | a17ddcf99eba16b401df8f0865c1264e11c15c85 | [
"MIT"
] | 5 | 2020-05-25T07:05:29.000Z | 2022-03-05T02:59:38.000Z | #include "UdQueuePair.h"
void rdma::UdQueuePair::connect(const rdma::Address &) {
connect(defaultPort);
}
void rdma::UdQueuePair::connect(uint8_t port, uint32_t packetSequenceNumber) {
using Mod = ibv::queuepair::AttrMask;
{
ibv::queuepair::Attributes attr{};
attr.setQpState(ibv::queuepai... | 26.4 | 78 | 0.609307 |
9cf6c32549d863e360858d3e90445c96c91a2ac7 | 2,417 | cpp | C++ | examples/priority-schedule.cpp | dan65prc/conduit | 6f73416c8b5526a84a21415d5079bb2b61772144 | [
"BSD-3-Clause"
] | 5 | 2018-08-01T02:52:11.000Z | 2020-09-19T08:12:07.000Z | examples/priority-schedule.cpp | dan65prc/conduit | 6f73416c8b5526a84a21415d5079bb2b61772144 | [
"BSD-3-Clause"
] | null | null | null | examples/priority-schedule.cpp | dan65prc/conduit | 6f73416c8b5526a84a21415d5079bb2b61772144 | [
"BSD-3-Clause"
] | 1 | 2021-12-02T21:05:35.000Z | 2021-12-02T21:05:35.000Z |
#include <fmt/format.h>
#define CONDUIT_NO_LUA
#define CONDUIT_NO_PYTHON
#include <conduit/conduit.h>
#include <conduit/function.h>
#include <string>
#include <iostream>
#include <algorithm>
#include <queue>
#include <random>
struct QueueEntry
{
int priority;
conduit::Function<void()> event;
friend bool ... | 34.042254 | 107 | 0.651634 |
9cf7a98889d29980cd835987708b3caa098b21ac | 500 | cpp | C++ | Example/main.cpp | MovementGH/SpectrogramCPP | 7736fe446575d1e28aa86ec98c133e49153fe323 | [
"MIT"
] | null | null | null | Example/main.cpp | MovementGH/SpectrogramCPP | 7736fe446575d1e28aa86ec98c133e49153fe323 | [
"MIT"
] | null | null | null | Example/main.cpp | MovementGH/SpectrogramCPP | 7736fe446575d1e28aa86ec98c133e49153fe323 | [
"MIT"
] | null | null | null | #include <iostream>
#include <SFML/Audio.hpp>
#include "Spectrogram.hpp"
#define OUTPUTPATH std::string("")
int main(int argc, const char * argv[]) {
sf::Clock Timer;
SpectrographGen Generator(250,4096,2);
Generator.loadFromFile("come alive.ogg");
sf::Image Gram=Generator.generateImage();
Spectrogra... | 31.25 | 50 | 0.704 |
9cf902b5780c0c03d9ad6e467919623831347b35 | 1,595 | cpp | C++ | AsyncTaskMsg.cpp | xaviarmengol/ESP32-Canyon | 2d2c876afa6c4b8f8a47e4f80c99d106754ac716 | [
"MIT"
] | null | null | null | AsyncTaskMsg.cpp | xaviarmengol/ESP32-Canyon | 2d2c876afa6c4b8f8a47e4f80c99d106754ac716 | [
"MIT"
] | null | null | null | AsyncTaskMsg.cpp | xaviarmengol/ESP32-Canyon | 2d2c876afa6c4b8f8a47e4f80c99d106754ac716 | [
"MIT"
] | null | null | null | #include "AsyncTaskMsg.hpp"
AsyncTaskMsg::AsyncTaskMsg(taskNames_t myTaskName) {
_myTaskName = myTaskName;
_taskId = static_cast<int>(myTaskName);
}
void AsyncTaskMsg::update(){
_ptrAsyncTask = &(tasksManager[_taskId]);
taskNames_t taskFrom = _ptrAsyncTask->getMsgTaskFrom();
asyncMsg_t... | 30.673077 | 93 | 0.689655 |
9cfc2622ac4bcc8a1cb572bdbadf085948225dc6 | 289 | cc | C++ | aoj/2/2216.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | 1 | 2015-04-17T09:54:23.000Z | 2015-04-17T09:54:23.000Z | aoj/2/2216.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | null | null | null | aoj/2/2216.cc | eagletmt/procon | adbe503eb3c1bbcc1538b2ee8988aa353937e8d4 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int A, B;
while (cin >> A >> B && A != 0) {
int c = B - A;
const int c1000 = c / 1000;
c %= 1000;
const int c500 = c / 500;
c %= 500;
cout << c/100 << ' ' << c500 << ' ' << c1000 << endl;
}
return 0;
}
| 17 | 57 | 0.460208 |
9cfc7e33fccde3331d93c8a5618e718bc8dfc5c5 | 3,051 | cpp | C++ | share/src/policy/packages.cpp | MrCryptoBeast/WWW | 857e860df0aa1bc7fde2ee6f5918ff32933beeb3 | [
"MIT"
] | null | null | null | share/src/policy/packages.cpp | MrCryptoBeast/WWW | 857e860df0aa1bc7fde2ee6f5918ff32933beeb3 | [
"MIT"
] | null | null | null | share/src/policy/packages.cpp | MrCryptoBeast/WWW | 857e860df0aa1bc7fde2ee6f5918ff32933beeb3 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The worldwideweb Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <consensus/validation.h>
#include <policy/packages.h>
#include <primitives/transaction.h>
#include <uint256.h>
#incl... | 48.428571 | 113 | 0.662078 |
9cfd319e71a48e152b4d8594b26db33988f7eed0 | 2,045 | cpp | C++ | src/problems/151-200/151/problem151.cpp | abeccaro/project-euler | c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3 | [
"MIT"
] | 1 | 2019-12-25T10:17:15.000Z | 2019-12-25T10:17:15.000Z | src/problems/151-200/151/problem151.cpp | abeccaro/project-euler | c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3 | [
"MIT"
] | null | null | null | src/problems/151-200/151/problem151.cpp | abeccaro/project-euler | c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3 | [
"MIT"
] | null | null | null | //
// Created by Alex Beccaro on 03/08/2021.
//
#include "problem151.hpp"
#include "generics.hpp"
#include <numeric>
#include <vector>
#include <unordered_map>
#include <unordered_set>
using std::vector;
using std::unordered_map;
using std::unordered_set;
using generics::digits;
using std::accumulate;
namespace pro... | 33.52459 | 118 | 0.51687 |
9cfd5987f8ad19c1b35cc090c3a5a954bce01e18 | 317 | cpp | C++ | Codeforces/ProblemSet/4C.cpp | Binary-bug/CP | f9f356d36bd252c71ee3ed2d0585cc372f2baf5e | [
"MIT"
] | null | null | null | Codeforces/ProblemSet/4C.cpp | Binary-bug/CP | f9f356d36bd252c71ee3ed2d0585cc372f2baf5e | [
"MIT"
] | null | null | null | Codeforces/ProblemSet/4C.cpp | Binary-bug/CP | f9f356d36bd252c71ee3ed2d0585cc372f2baf5e | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
#include<map>
using namespace std;
int main(){
int n;
string s;
map<string,int> ber;
cin >> n;
while(n--){
cin >> s;
if(ber.find(s) == ber.end()) cout << "OK" << endl , ber[s]++;
else{
s = s + to_string(ber[s]++);
cout << s << endl;
}
}
return 0;
}
| 12.192308 | 63 | 0.526814 |
9cfd69060a1eec602154533c0f5d2678a13d4ee8 | 2,000 | cpp | C++ | src/common/osWrappersInitFunc.cpp | GPUOpen-Tools/common-src-AMDTOSWrappers | 80f8902c78d52435ac04f66ac190d689e5badbc1 | [
"MIT"
] | 2 | 2017-01-28T14:11:35.000Z | 2018-02-01T08:22:03.000Z | src/common/osWrappersInitFunc.cpp | GPUOpen-Tools/common-src-AMDTOSWrappers | 80f8902c78d52435ac04f66ac190d689e5badbc1 | [
"MIT"
] | null | null | null | src/common/osWrappersInitFunc.cpp | GPUOpen-Tools/common-src-AMDTOSWrappers | 80f8902c78d52435ac04f66ac190d689e5badbc1 | [
"MIT"
] | 2 | 2018-02-01T08:22:04.000Z | 2019-11-01T23:00:21.000Z | //=====================================================================
// Copyright 2016 (c), Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file osWrappersInitFunc.cpp
///
//=====================================================================
//-----------------------... | 36.363636 | 129 | 0.614 |
9cfd8a11f1c68322f65b5f1d2881365bcddd1145 | 4,017 | hpp | C++ | include/standard_dragon/dragon.hpp | yretenai/standard_dragon | 5989f3c40f47ee04788fc51f8486ef26f6ad1d25 | [
"MIT"
] | 1 | 2020-12-03T20:08:57.000Z | 2020-12-03T20:08:57.000Z | include/standard_dragon/dragon.hpp | yretenai/standard_dragon | 5989f3c40f47ee04788fc51f8486ef26f6ad1d25 | [
"MIT"
] | null | null | null | include/standard_dragon/dragon.hpp | yretenai/standard_dragon | 5989f3c40f47ee04788fc51f8486ef26f6ad1d25 | [
"MIT"
] | null | null | null | //
// Created by Lilith on 2020-05-28.
//
#pragma once
#include <deque>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <iterator>
#include <set>
#include <type_traits>
#include "Array.hpp"
#include "macros.hpp"
#ifdef _WIN32
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
... | 32.395161 | 201 | 0.552651 |
9cfe59c2dad23c25e0f625bfe2d9dfda0a011759 | 5,163 | hpp | C++ | include/GTGE/SceneStateStackStagingArea.hpp | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 31 | 2015-03-19T08:44:48.000Z | 2021-12-15T20:52:31.000Z | include/GTGE/SceneStateStackStagingArea.hpp | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 19 | 2015-07-09T09:02:44.000Z | 2016-06-09T03:51:03.000Z | include/GTGE/SceneStateStackStagingArea.hpp | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 3 | 2017-10-04T23:38:18.000Z | 2022-03-07T08:27:13.000Z | // Copyright (C) 2011 - 2014 David Reid. See included LICENCE.
#ifndef GT_SceneStateStackStagingArea
#define GT_SceneStateStackStagingArea
#include "SceneStateStackRestoreCommands.hpp"
#include "Serialization.hpp"
namespace GT
{
class Scene;
class SceneStateStackBranch;
/// Class representing the stagin... | 36.617021 | 137 | 0.643812 |
9cff21f11dcf98244172ee0f99b46178975b7495 | 5,563 | cc | C++ | gnuradio-3.7.13.4/gr-qtgui/lib/histogramdisplayform.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | 1 | 2021-03-09T07:32:37.000Z | 2021-03-09T07:32:37.000Z | gnuradio-3.7.13.4/gr-qtgui/lib/histogramdisplayform.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | gnuradio-3.7.13.4/gr-qtgui/lib/histogramdisplayform.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | /* -*- c++ -*- */
/*
* Copyright 2013 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option... | 25.401826 | 89 | 0.729103 |
140192140be1fd9aaf66af695951be1f2d1327b0 | 7,756 | hpp | C++ | Middlewares/ST/touchgfx_backup/framework/include/touchgfx/canvas_widget_renderer/Outline.hpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | 12 | 2020-06-25T13:10:17.000Z | 2022-01-27T01:48:26.000Z | Middlewares/ST/touchgfx_backup/framework/include/touchgfx/canvas_widget_renderer/Outline.hpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | 2 | 2021-05-23T05:02:48.000Z | 2021-05-24T11:15:56.000Z | Middlewares/ST/touchgfx_backup/framework/include/touchgfx/canvas_widget_renderer/Outline.hpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | 7 | 2020-08-27T08:23:49.000Z | 2021-09-19T12:54:30.000Z | /**
******************************************************************************
* This file is part of the TouchGFX 4.13.0 distribution.
*
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Libert... | 30.178988 | 206 | 0.587158 |
1401ec61770b1f679360d68dc86f07046f28f7b1 | 1,573 | hpp | C++ | include/tao/pq/parameter_traits_aggregate.hpp | huzaifanazir/taopq | 8f939d33840f14d7c08311729745fe7bb8cd9898 | [
"BSL-1.0"
] | 69 | 2016-08-05T19:16:04.000Z | 2018-11-24T15:13:46.000Z | include/tao/pq/parameter_traits_aggregate.hpp | huzaifanazir/taopq | 8f939d33840f14d7c08311729745fe7bb8cd9898 | [
"BSL-1.0"
] | 13 | 2016-11-24T16:42:28.000Z | 2018-09-11T18:55:40.000Z | include/tao/pq/parameter_traits_aggregate.hpp | huzaifanazir/taopq | 8f939d33840f14d7c08311729745fe7bb8cd9898 | [
"BSL-1.0"
] | 13 | 2016-09-22T17:31:10.000Z | 2018-10-18T02:56:49.000Z | // Copyright (c) 2020-2022 Daniel Frey and Dr. Colin Hirsch
// 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)
#ifndef TAO_PQ_PARAMETER_TRAITS_AGGREGATE_HPP
#define TAO_PQ_PARAMETER_TRAITS_AGGREGATE_HPP
#include <ta... | 34.195652 | 128 | 0.655435 |
140485fa312cc324180e09d7b90dd822d57b1850 | 1,290 | cpp | C++ | SmartWatchANCS_ST_TZ/BMA250.cpp | darrennnnnlim/ICT1003---HeatSense | a21891e765876126856f2ee863f095ccb6123e11 | [
"Unlicense"
] | null | null | null | SmartWatchANCS_ST_TZ/BMA250.cpp | darrennnnnlim/ICT1003---HeatSense | a21891e765876126856f2ee863f095ccb6123e11 | [
"Unlicense"
] | null | null | null | SmartWatchANCS_ST_TZ/BMA250.cpp | darrennnnnlim/ICT1003---HeatSense | a21891e765876126856f2ee863f095ccb6123e11 | [
"Unlicense"
] | null | null | null | #include "BMA250.h"
#include <inttypes.h>
#include "Arduino.h"
#include <Wire.h>
BMA250::BMA250()
{
}
int BMA250::begin(uint8_t range, uint8_t bw)
{
//Detect address
I2Caddress = BMA250_I2CADDR;
Wire.beginTransmission(I2Caddress);
if (Wire.endTransmission()) {
I2Caddress++;
Wire.beginTransmission(I2Ca... | 22.241379 | 56 | 0.663566 |
1404d6ff3e3d270bd730d4cbe961c81f10ade5a7 | 4,230 | cpp | C++ | Source/Drivers/PS1080/DDK/XnAudioStream.cpp | gajgeospatial/OpenNI2-2.2.0.33 | 86d57aa61bcf1fd96922af1960ab711c2e9c1ed5 | [
"Apache-2.0"
] | 925 | 2015-01-04T03:47:56.000Z | 2022-03-28T11:18:18.000Z | Source/Drivers/PS1080/DDK/XnAudioStream.cpp | gajgeospatial/OpenNI2-2.2.0.33 | 86d57aa61bcf1fd96922af1960ab711c2e9c1ed5 | [
"Apache-2.0"
] | 125 | 2015-01-12T11:28:09.000Z | 2021-03-29T09:38:04.000Z | Source/Drivers/PS1080/DDK/XnAudioStream.cpp | gajgeospatial/OpenNI2-2.2.0.33 | 86d57aa61bcf1fd96922af1960ab711c2e9c1ed5 | [
"Apache-2.0"
] | 475 | 2015-01-02T02:58:01.000Z | 2022-02-24T06:53:46.000Z | /*****************************************************************************
* *
* OpenNI 2.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
* ... | 40.673077 | 117 | 0.528369 |
14057d3d9f7402d8601ce38a4d90ad7bb0d277ec | 9,905 | cpp | C++ | src/game/Object/Corpse.cpp | Zilvereyes/ServerOne | 92a792c4c5b9a5128e0086b5af21b51c214bb6a6 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | src/game/Object/Corpse.cpp | Zilvereyes/ServerOne | 92a792c4c5b9a5128e0086b5af21b51c214bb6a6 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | src/game/Object/Corpse.cpp | Zilvereyes/ServerOne | 92a792c4c5b9a5128e0086b5af21b51c214bb6a6 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | /**
* MaNGOS is a full featured server for World of Warcraft, supporting
* the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8
*
* Copyright (C) 2005-2016 MaNGOS project <https://getmangos.eu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gen... | 33.921233 | 180 | 0.649571 |
140698983dfcde02a684576c884d1d551c33c6ac | 2,006 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR/string.equals/CPP/equals.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_CLR/string.equals/CPP/equals.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_CLR/string.equals/CPP/equals.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z |
//<snippet1>
// Sample for String::Equals(Object)
// String::Equals(String)
// String::Equals(String, String)
using namespace System;
using namespace System::Text;
int main()
{
StringBuilder^ sb = gcnew StringBuilder( "abcd" );
String^ str1 = "abcd";
String^ str2 = nullptr;
... | 35.821429 | 97 | 0.614158 |
1406de2798c39a32a6fa42099bba06066254b323 | 4,720 | cpp | C++ | libs/vision/src/pnp/lhm.cpp | zarmomin/mrpt | 1baff7cf8ec9fd23e1a72714553bcbd88c201966 | [
"BSD-3-Clause"
] | 1 | 2021-12-10T06:24:08.000Z | 2021-12-10T06:24:08.000Z | libs/vision/src/pnp/lhm.cpp | gao-ouyang/mrpt | 4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7 | [
"BSD-3-Clause"
] | null | null | null | libs/vision/src/pnp/lhm.cpp | gao-ouyang/mrpt | 4af5fdf7e45b00be4a64c3d4f009acb9ef415ec7 | [
"BSD-3-Clause"
] | 1 | 2019-09-11T02:55:04.000Z | 2019-09-11T02:55:04.000Z | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... | 20.792952 | 80 | 0.528178 |
14096755a4b69d0e141e87a956c5147ad7a26c71 | 6,436 | cpp | C++ | friend_functions.cpp | portfoliocourses/cplusplus-example-code | 629a16c52fdee1b59896951235be59be096b0359 | [
"MIT"
] | null | null | null | friend_functions.cpp | portfoliocourses/cplusplus-example-code | 629a16c52fdee1b59896951235be59be096b0359 | [
"MIT"
] | null | null | null | friend_functions.cpp | portfoliocourses/cplusplus-example-code | 629a16c52fdee1b59896951235be59be096b0359 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* Program: Friend Functions Examples
*
* Description: Examples of how to use friend functions in C++.
*
* YouTube Lesson: https://www.youtube.com/watch?v=lOfI1At3tKM
*
* Author: Kevin Browne @ https://portfoliocourses.com
*
***********... | 29.388128 | 80 | 0.699037 |
140defc8281e5d5db4e0b27685869396b61c5fed | 84 | cpp | C++ | ARM/NXP/LPC11xx/src/i2c_lpc11uxx.cpp | SoniaZotz/IOsonata | a0eaa1d0bf1d23785af6af037d84d87348dc4597 | [
"MIT"
] | 94 | 2015-03-12T14:49:43.000Z | 2021-08-05T00:43:50.000Z | ARM/NXP/LPC11xx/src/i2c_lpc11uxx.cpp | SoniaZotz/IOsonata | a0eaa1d0bf1d23785af6af037d84d87348dc4597 | [
"MIT"
] | 10 | 2019-10-16T19:02:47.000Z | 2022-02-27T21:35:56.000Z | ARM/NXP/LPC11xx/src/i2c_lpc11uxx.cpp | SoniaZotz/IOsonata | a0eaa1d0bf1d23785af6af037d84d87348dc4597 | [
"MIT"
] | 24 | 2015-04-22T20:35:28.000Z | 2022-01-10T13:08:40.000Z | /*
* i2c_lpc11uxx.cpp
*
* Created on: Mar. 1, 2019
* Author: hoan
*/
| 7.636364 | 28 | 0.5 |
140df09b935ce8eeea5e04c46b343522603269d5 | 3,686 | cpp | C++ | log/source/ConfiguracionLogger.cpp | miglesias91/herramientas_desarrollo | dad021289e6562b925444b04af2b06b1272fd70c | [
"MIT"
] | null | null | null | log/source/ConfiguracionLogger.cpp | miglesias91/herramientas_desarrollo | dad021289e6562b925444b04af2b06b1272fd70c | [
"MIT"
] | null | null | null | log/source/ConfiguracionLogger.cpp | miglesias91/herramientas_desarrollo | dad021289e6562b925444b04af2b06b1272fd70c | [
"MIT"
] | null | null | null | #include <log/include/ConfiguracionLogger.h>
using namespace herramientas::log;
// stl
#include <fstream>
#include <sstream>
// utiles
#include <utiles/include/Fecha.h>
#include <utiles/include/Json.h>
ConfiguracionLogger::ConfiguracionLogger(std::string path_archivo_configuracion)
{
if (false == ... | 24.738255 | 114 | 0.704829 |
140fac534dda0b13fb63ab566e55fc0f47ca6057 | 2,232 | cpp | C++ | OCTLib/code/phase_calibration.cpp | wjh1001/octlab | 77be6161a31d2f40af238f394ee8d486e050cf73 | [
"BSD-3-Clause-Clear"
] | 1 | 2015-05-31T11:03:55.000Z | 2015-05-31T11:03:55.000Z | OCTLib/code/phase_calibration.cpp | caoyuan0923/octlab | 77be6161a31d2f40af238f394ee8d486e050cf73 | [
"BSD-3-Clause-Clear"
] | null | null | null | OCTLib/code/phase_calibration.cpp | caoyuan0923/octlab | 77be6161a31d2f40af238f394ee8d486e050cf73 | [
"BSD-3-Clause-Clear"
] | null | null | null | /*******************************************************************************
* $Id$
* Copyright (C) 2010 Stepan A. Baranov (stepan@baranov.su)
* All rights reserved.
* web-site: www.OCTLab.org
* ***** ******* *****
* Use of this source code is governed... | 36 | 80 | 0.537634 |
1411ed3837576e17f0f96af7faa51ba74d33e139 | 4,537 | hpp | C++ | src/rdb_protocol/batching.hpp | sauter-hq/rethinkdb | f34541d501bcf109c2825a7a1b67cf8fd39b9133 | [
"Apache-2.0"
] | null | null | null | src/rdb_protocol/batching.hpp | sauter-hq/rethinkdb | f34541d501bcf109c2825a7a1b67cf8fd39b9133 | [
"Apache-2.0"
] | null | null | null | src/rdb_protocol/batching.hpp | sauter-hq/rethinkdb | f34541d501bcf109c2825a7a1b67cf8fd39b9133 | [
"Apache-2.0"
] | null | null | null | // Copyright 2010-2014 RethinkDB, all rights reserved.
#ifndef RDB_PROTOCOL_BATCHING_HPP_
#define RDB_PROTOCOL_BATCHING_HPP_
#include <utility>
#include "containers/archive/archive.hpp"
#include "containers/archive/versioned.hpp"
#include "rdb_protocol/datum.hpp"
#include "rpc/serialize_macros.hpp"
#include "time.hpp... | 36.886179 | 82 | 0.728675 |
1413dfe7cd85c122d1f627a71f8c04d446f74a28 | 12,668 | cpp | C++ | src/casinocoin/beast/utility/src/beast_PropertyStream.cpp | MassICTBV/casinocoind | 81d6a15a0578c086c1812dd2203c0973099b0061 | [
"BSL-1.0"
] | 1 | 2020-03-17T21:31:14.000Z | 2020-03-17T21:31:14.000Z | src/casinocoin/beast/utility/src/beast_PropertyStream.cpp | MassICTBV/casinocoind | 81d6a15a0578c086c1812dd2203c0973099b0061 | [
"BSL-1.0"
] | 1 | 2018-09-29T17:35:07.000Z | 2018-09-29T17:35:07.000Z | src/casinocoin/beast/utility/src/beast_PropertyStream.cpp | MassICTBV/casinocoind | 81d6a15a0578c086c1812dd2203c0973099b0061 | [
"BSL-1.0"
] | 3 | 2018-07-12T11:34:45.000Z | 2021-09-13T18:08:25.000Z | //------------------------------------------------------------------------------
/*
This file is part of Beast: https://github.com/vinniefalco/Beast
Copyright 2013, Vinnie Falco <vinnie.falco@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without f... | 21.916955 | 89 | 0.586517 |
141442bb280965fafefcd810c2a762ad51690759 | 54,805 | cpp | C++ | core/fpdfapi/page/cpdf_streamcontentparser.cpp | guidopola/pdfium | 4117500e4809c74ec7f800f1729dcffa2ce54874 | [
"BSD-3-Clause"
] | 1 | 2019-01-12T07:08:25.000Z | 2019-01-12T07:08:25.000Z | core/fpdfapi/page/cpdf_streamcontentparser.cpp | guidopola/pdfium | 4117500e4809c74ec7f800f1729dcffa2ce54874 | [
"BSD-3-Clause"
] | null | null | null | core/fpdfapi/page/cpdf_streamcontentparser.cpp | guidopola/pdfium | 4117500e4809c74ec7f800f1729dcffa2ce54874 | [
"BSD-3-Clause"
] | 1 | 2019-09-20T07:47:55.000Z | 2019-09-20T07:47:55.000Z | // Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/page/cpdf_streamcontentparser.h"
#include <memory>
#in... | 32.837028 | 80 | 0.671417 |
141461ffd27400fdd523d30aaa154a19f21ce3e7 | 1,465 | cpp | C++ | src/examples/cpp/info_reg.cpp | o2e/Triton | 0753a0c097fe637beb25b428ff2f0983f14f96d9 | [
"Apache-2.0"
] | 2,337 | 2015-06-03T10:26:30.000Z | 2022-03-30T02:42:26.000Z | src/examples/cpp/info_reg.cpp | o2e/Triton | 0753a0c097fe637beb25b428ff2f0983f14f96d9 | [
"Apache-2.0"
] | 914 | 2015-06-03T10:56:48.000Z | 2022-03-30T11:11:40.000Z | src/examples/cpp/info_reg.cpp | o2e/Triton | 0753a0c097fe637beb25b428ff2f0983f14f96d9 | [
"Apache-2.0"
] | 521 | 2015-06-03T10:41:15.000Z | 2022-03-26T15:45:08.000Z | /*
** Output:
**
** $ ./info_reg.bin
** Name : ah
** Size byte : 1
** Size bit : 8
** Highed bit : 15
** Lower bit : 8
** Parent : rax
** operator<< : ah:8 bitsvector[15..8]
** Object : ah:8 bitsvector[15..8]
** Object : ah:8 bitsvector[15..8]
*/
#include <iostream>
#include <t... | 29.897959 | 95 | 0.572014 |
14146dfbc9bec580cf9fb46ba61bc929de305f6f | 6,648 | hpp | C++ | unit_test/include/extra_features_test.hpp | wh5a/intel-qs | b625e1fb09c5aa3c146cb7129a2a29cdb6ff186a | [
"Apache-2.0"
] | 1 | 2021-04-15T11:41:57.000Z | 2021-04-15T11:41:57.000Z | unit_test/include/extra_features_test.hpp | wh5a/intel-qs | b625e1fb09c5aa3c146cb7129a2a29cdb6ff186a | [
"Apache-2.0"
] | null | null | null | unit_test/include/extra_features_test.hpp | wh5a/intel-qs | b625e1fb09c5aa3c146cb7129a2a29cdb6ff186a | [
"Apache-2.0"
] | null | null | null | #ifndef EXTRA_FEATURES_TEST_HPP
#define EXTRA_FEATURES_TEST_HPP
#include "../../include/qureg.hpp"
#include "../../include/qaoa_features.hpp"
//////////////////////////////////////////////////////////////////////////////
// Test fixture class.
class ExtraFeaturesTest : public ::testing::Test
{
protected:
ExtraFe... | 39.337278 | 120 | 0.602136 |
14149a39491f7d7fde5c6c4282ddd14371a352f0 | 8,667 | cpp | C++ | lib/string.cpp | bilyanhadzhi/susi | 92ae0e30fe67b544f75fc3581b292ea87f4f078c | [
"MIT"
] | 1 | 2021-03-01T14:14:56.000Z | 2021-03-01T14:14:56.000Z | lib/string.cpp | bilyanhadzhi/susi | 92ae0e30fe67b544f75fc3581b292ea87f4f078c | [
"MIT"
] | null | null | null | lib/string.cpp | bilyanhadzhi/susi | 92ae0e30fe67b544f75fc3581b292ea87f4f078c | [
"MIT"
] | null | null | null | #include <fstream>
#include <cstring>
#include <cassert>
#include "string.hpp"
#include "../constants.hpp"
void String::copy_from(const String& other)
{
this->capacity = this->get_needed_capacity(other.value);
this->set_value(other.value);
this->len = other.len;
}
void String::free_memory()
{
if (this... | 18.440426 | 83 | 0.543671 |
1416b0991154bafad89626ae8e9641383bab2bd8 | 6,244 | hpp | C++ | include/UnityEngine/TextCore/LowLevel/GlyphPairAdjustmentRecord.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/UnityEngine/TextCore/LowLevel/GlyphPairAdjustmentRecord.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/UnityEngine/TextCore/LowLevel/GlyphPairAdjustmentRecord.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ValueType
#include "System/V... | 65.726316 | 464 | 0.788597 |
1417207abb02a99c22957e6bf67017ba855f6d3e | 2,370 | cc | C++ | shell/browser/ui/win/atom_desktop_native_widget_aura.cc | CezaryKulakowski/electron | eb6660f5341d6d7e2143be31eefec558fd866c84 | [
"MIT"
] | 4 | 2019-07-05T20:42:42.000Z | 2020-01-02T07:26:56.000Z | shell/browser/ui/win/atom_desktop_native_widget_aura.cc | CezaryKulakowski/electron | eb6660f5341d6d7e2143be31eefec558fd866c84 | [
"MIT"
] | 4 | 2021-03-11T05:19:38.000Z | 2022-03-28T01:24:48.000Z | shell/browser/ui/win/atom_desktop_native_widget_aura.cc | CezaryKulakowski/electron | eb6660f5341d6d7e2143be31eefec558fd866c84 | [
"MIT"
] | null | null | null | // Copyright (c) 2017 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/ui/win/atom_desktop_native_widget_aura.h"
#include "shell/browser/ui/win/atom_desktop_window_tree_host_win.h"
#include "ui/views/corewm/tooltip_controller.h"
#... | 39.5 | 78 | 0.753586 |
1419a26dccf467f4d83a38faecc92571c622b84f | 4,268 | hpp | C++ | include/okapi/api.hpp | seendsouza/PROS_CPP_6M_Template | d93b32911d6cf9432718fad41ee3a8ec55c89184 | [
"MIT"
] | 7 | 2019-05-15T00:44:20.000Z | 2020-08-31T14:17:37.000Z | include/okapi/api.hpp | seendsouza/PROS_CPP_6M_Template | d93b32911d6cf9432718fad41ee3a8ec55c89184 | [
"MIT"
] | 3 | 2019-07-26T15:56:19.000Z | 2019-07-29T02:55:32.000Z | include/okapi/api.hpp | 1069B/Tower_Takeover | 331a323216cd006a8cc3bc7a326ebe3a463e429f | [
"MIT"
] | 3 | 2019-05-31T18:08:54.000Z | 2019-08-29T22:53:53.000Z | /**
* @author Ryan Benasutti, WPI
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "okapi/api/chassis/controller/chassisControllerIntegr... | 45.892473 | 75 | 0.806467 |
141abfc3bdf375e04d34d21ba2c6346ab0ee6764 | 14,279 | cpp | C++ | targets/FreeRTOS/ESP32_DevKitC/nanoCLR/targetHAL_ConfigurationManager.cpp | NemesisXB/nf-interpreter | 11f257d12a794553e5fafc1f625cabd633b22e6a | [
"Apache-2.0"
] | null | null | null | targets/FreeRTOS/ESP32_DevKitC/nanoCLR/targetHAL_ConfigurationManager.cpp | NemesisXB/nf-interpreter | 11f257d12a794553e5fafc1f625cabd633b22e6a | [
"Apache-2.0"
] | null | null | null | targets/FreeRTOS/ESP32_DevKitC/nanoCLR/targetHAL_ConfigurationManager.cpp | NemesisXB/nf-interpreter | 11f257d12a794553e5fafc1f625cabd633b22e6a | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2018 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
//
#include <nanoHAL.h>
#include <nanoHAL_v2.h>
#include <nanoWeak.h>
#include "Esp32_os.h"
// NVS parameters for Interface config
#define NVS_NAMESPACE "nanoF"
//#define DEBUG_CO... | 35.967254 | 179 | 0.667204 |
141b7965c07f0f45e8fd46372b9f0a7378e9b13c | 3,130 | cc | C++ | B2G/gecko/media/webrtc/trunk/src/common_audio/vad/vad_core_unittest.cc | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | hookflash-core/webRTC/webRTC_ios/src/common_audio/vad/vad_core_unittest.cc | ilin-in/OP | bf3e87d90008e2a4106ee70360fbe15b0d694e77 | [
"Unlicense"
] | null | null | null | hookflash-core/webRTC/webRTC_ios/src/common_audio/vad/vad_core_unittest.cc | ilin-in/OP | bf3e87d90008e2a4106ee70360fbe15b0d694e77 | [
"Unlicense"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /*
* Copyright (c) 2012 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... | 31.3 | 79 | 0.69361 |
141bb1ef6637cb707642cb2d692ff6b0307652cf | 1,868 | cpp | C++ | main.cpp | chenhongqiao/FCWT | 16034c4422db0119d680ff1af0ad68dc149b0b47 | [
"MIT"
] | null | null | null | main.cpp | chenhongqiao/FCWT | 16034c4422db0119d680ff1af0ad68dc149b0b47 | [
"MIT"
] | null | null | null | main.cpp | chenhongqiao/FCWT | 16034c4422db0119d680ff1af0ad68dc149b0b47 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
#include <fstream>
#include "input.h"
#include <iomanip>
std::map<std::string, short int> vocab_tree(const std::vector<std::string> &v) {
std::map<std::string, short int> m;
for (auto &i : v) {
for (int j = 1; j < i.size(); ++j) {
if (m[i... | 24.25974 | 117 | 0.41167 |
141c4d7a5d6cf1a31b3fe05d2cbb6bf3557c189a | 1,138 | cc | C++ | native_client_sdk/src/libraries/nacl_io/nacl_io.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | native_client_sdk/src/libraries/nacl_io/nacl_io.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | native_client_sdk/src/libraries/nacl_io/nacl_io.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright (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 "nacl_io/nacl_io.h"
#include <stdlib.h>
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_proxy.h"
int nacl_io_init() {
retu... | 28.45 | 78 | 0.740773 |
141c99031047705bb33532ba1eba1efd77d93b26 | 2,956 | cpp | C++ | src/settings.cpp | adrien1018/tioj-judge | a308d42603caaad71e370fa5d34d4d2cb69936ba | [
"Apache-2.0"
] | 3 | 2017-12-17T02:13:21.000Z | 2018-02-22T13:21:09.000Z | src/settings.cpp | adrien1018/tioj-judge | a308d42603caaad71e370fa5d34d4d2cb69936ba | [
"Apache-2.0"
] | null | null | null | src/settings.cpp | adrien1018/tioj-judge | a308d42603caaad71e370fa5d34d4d2cb69936ba | [
"Apache-2.0"
] | null | null | null | #include "settings.h"
// class ScoreInt
const int ScoreInt::kBase = 1000000;
ScoreInt::ScoreInt() : val_(0) {}
ScoreInt::ScoreInt(double a) : val_(llround(a * kBase)) {}
ScoreInt::ScoreInt(long double a) : val_(llroundl(a * kBase)) {}
ScoreInt::ScoreInt(int64_t a) : val_(a) {}
ScoreInt& ScoreInt::operator=(double a)... | 30.474227 | 77 | 0.686062 |
141fa81d4acc4884670b20e19f5ad2b73a7f6ff0 | 68,938 | hpp | C++ | external/jigsaw/src/hfn_load.hpp | trackow/jigsaw-python | f87571945975b4882d8c27bdfff9275f6e46baa8 | [
"Unlicense"
] | 104 | 2016-03-30T17:43:38.000Z | 2021-12-15T10:08:46.000Z | external/jigsaw/src/hfn_load.hpp | trackow/jigsaw-python | f87571945975b4882d8c27bdfff9275f6e46baa8 | [
"Unlicense"
] | 25 | 2016-09-27T19:26:54.000Z | 2021-09-28T03:40:40.000Z | src/hfn_load.hpp | dengwirda/jigsaw | c1ae47455f6f906a2dc28ea26b78909e2a5dc0e4 | [
"Unlicense"
] | 32 | 2017-09-14T23:45:32.000Z | 2022-01-28T20:19:52.000Z |
/*
--------------------------------------------------------
* HFN-LOAD: parse *.MSH file into HFUN data.
--------------------------------------------------------
*
* This program may be freely redistributed under the
* condition that the copyright notices (including this
* entire h... | 29.498502 | 60 | 0.386608 |
1420989cb651a7286778c934ce2e6c1e8a93b673 | 10,608 | hh | C++ | gazebo/physics/Inertial.hh | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 887 | 2020-04-18T08:43:06.000Z | 2022-03-31T11:58:50.000Z | gazebo/physics/Inertial.hh | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 462 | 2020-04-21T21:59:19.000Z | 2022-03-31T23:23:21.000Z | gazebo/physics/Inertial.hh | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 421 | 2020-04-21T09:13:03.000Z | 2022-03-30T02:22:01.000Z | /*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* 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 appl... | 37.75089 | 80 | 0.621889 |
14267d93874b2e1a844267e7ceff6f4bc9457a74 | 7,416 | cpp | C++ | engine/test/gtest/SparseLib/test_spmm_amx_bf16_x16_kernel.cpp | intel/neural-compressor | 16a4a12045fcb468da4d33769aff2c1a5e2ba6ba | [
"Apache-2.0"
] | 172 | 2021-09-14T18:34:17.000Z | 2022-03-30T06:49:53.000Z | engine/test/gtest/SparseLib/test_spmm_amx_bf16_x16_kernel.cpp | intel/neural-compressor | 16a4a12045fcb468da4d33769aff2c1a5e2ba6ba | [
"Apache-2.0"
] | 40 | 2021-09-14T02:26:12.000Z | 2022-03-29T08:34:04.000Z | engine/test/gtest/SparseLib/test_spmm_amx_bf16_x16_kernel.cpp | intel/neural-compressor | 16a4a12045fcb468da4d33769aff2c1a5e2ba6ba | [
"Apache-2.0"
] | 33 | 2021-09-15T07:27:25.000Z | 2022-03-25T08:30:57.000Z | // Copyright (c) 2021 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... | 33.255605 | 117 | 0.649272 |
142a715eb42fa83babbd86b50d9936cb60b046da | 70 | cpp | C++ | Autoplay/Source/Autoplay/Private/Autoplay.cpp | realityreflection/Autoplay | e81555444f821d44ce986c4e5e450dabb0930af0 | [
"MIT"
] | 6 | 2017-05-22T02:24:50.000Z | 2021-11-08T07:22:52.000Z | Example/Plugins/Autoplay/Source/Autoplay/Private/Autoplay.cpp | realityreflection/Autoplay | e81555444f821d44ce986c4e5e450dabb0930af0 | [
"MIT"
] | null | null | null | Example/Plugins/Autoplay/Source/Autoplay/Private/Autoplay.cpp | realityreflection/Autoplay | e81555444f821d44ce986c4e5e450dabb0930af0 | [
"MIT"
] | 4 | 2018-04-10T11:06:59.000Z | 2020-07-05T14:21:56.000Z | #include "Autoplay.h"
IMPLEMENT_MODULE(AutoplayModuleImpl, Autoplay); | 23.333333 | 47 | 0.828571 |
142c5b2c626997b1fd38fe66a967e9d5469cfd3f | 10,604 | cc | C++ | src/pass/lower_warp_memory.cc | lihaozhehw/tvm | cff6a58dd7bb5b77b8770f9ff2bfcaebe8e0392e | [
"Apache-2.0"
] | null | null | null | src/pass/lower_warp_memory.cc | lihaozhehw/tvm | cff6a58dd7bb5b77b8770f9ff2bfcaebe8e0392e | [
"Apache-2.0"
] | null | null | null | src/pass/lower_warp_memory.cc | lihaozhehw/tvm | cff6a58dd7bb5b77b8770f9ff2bfcaebe8e0392e | [
"Apache-2.0"
] | null | null | null | /*!
* Copyright (c) 2018 by Contributors
*
* Lower warp memory to use local memory
* and shuffle intrinsics.
*
* \file lower_warp_memory.cc
*/
// Thanks to Andrew Adams and Vinod Grover for
// explaining the concept of warp shuffle.
#include <tvm/ir.h>
#include <tvm/ir_mutator.h>
#include <tvm/ir_visitor.h>
#in... | 32.036254 | 91 | 0.634289 |
289fd07dc3fd76909857223799c82d140ec15d31 | 5,667 | cc | C++ | modules/canbus/vehicle/lexus/protocol/lat_lon_heading_rpt_40e.cc | seeclong/apollo | 99c8afb5ebcae2a3c9359a156a957ff03944b27b | [
"Apache-2.0"
] | 22,688 | 2017-07-04T23:17:19.000Z | 2022-03-31T18:56:48.000Z | modules/canbus/vehicle/lexus/protocol/lat_lon_heading_rpt_40e.cc | Songjiarui3313/apollo | df9113ae656e28e5374db32529d68e59455058a0 | [
"Apache-2.0"
] | 4,804 | 2017-07-04T22:30:12.000Z | 2022-03-31T12:58:21.000Z | modules/canbus/vehicle/lexus/protocol/lat_lon_heading_rpt_40e.cc | Songjiarui3313/apollo | df9113ae656e28e5374db32529d68e59455058a0 | [
"Apache-2.0"
] | 9,985 | 2017-07-04T22:01:17.000Z | 2022-03-31T14:18:16.000Z | /******************************************************************************
* Copyright 2018 The Apollo 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
... | 33.532544 | 80 | 0.611964 |
28a2f38bd00c1ccd4103718bfd98e16013240a4c | 3,812 | cpp | C++ | src/nnfusion/core/kernels/cuda_gpu/kernels/layer_norm.cpp | nox-410/nnfusion | 0777e297299c4e7a5071dc2ee97b87adcd22840e | [
"MIT"
] | 639 | 2020-09-05T10:00:59.000Z | 2022-03-30T08:42:39.000Z | src/nnfusion/core/kernels/cuda_gpu/kernels/layer_norm.cpp | QPC-database/nnfusion | 99ada47c50f355ca278001f11bc752d1c7abcee2 | [
"MIT"
] | 252 | 2020-09-09T05:35:36.000Z | 2022-03-29T04:58:41.000Z | src/nnfusion/core/kernels/cuda_gpu/kernels/layer_norm.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 "../cuda_cudnn.hpp"
#include "../cuda_cudnn.hpp"
#include "../cuda_emitter.hpp"
#include "../cuda_langunit.hpp"
#include "nnfusion/core/operators/generic_op/generic_op.hpp"
namespace nnfusion
{
namespace kernels
{
n... | 38.12 | 100 | 0.444386 |
28a4931a93ce452e7bccfa0b8200fc8589aae136 | 3,016 | cpp | C++ | src/GTKClient.cpp | Ladislus/svg-project-l3 | e1932dd175b59c81af39b8f49c4fb28f963e9c4f | [
"MIT"
] | null | null | null | src/GTKClient.cpp | Ladislus/svg-project-l3 | e1932dd175b59c81af39b8f49c4fb28f963e9c4f | [
"MIT"
] | null | null | null | src/GTKClient.cpp | Ladislus/svg-project-l3 | e1932dd175b59c81af39b8f49c4fb28f963e9c4f | [
"MIT"
] | null | null | null | //
// Created by o2173194 on 04/03/20.
//
#include <gtk/gtk.h>
#include <cctype>
static void enter_callback( GtkWidget *widget, GtkWidget *entry )
{
const gchar *entry_text;
entry_text = gtk_entry_get_text (GTK_ENTRY (entry));
printf ("Entry contents: %s\n", entry_text);
}
void insert_text_event(GtkEditab... | 30.464646 | 108 | 0.634947 |
28a7232f550e5add8c4acb29d0ae3c254612b74b | 1,541 | cpp | C++ | nano/qt_system/entry.cpp | Nikolya7373/nano-node | c673e4e340f46351786b1b5267b7e1635aba9ff5 | [
"BSD-3-Clause"
] | 1 | 2020-07-10T21:15:48.000Z | 2020-07-10T21:15:48.000Z | nano/qt_system/entry.cpp | Nikolya7373/nano-node | c673e4e340f46351786b1b5267b7e1635aba9ff5 | [
"BSD-3-Clause"
] | null | null | null | nano/qt_system/entry.cpp | Nikolya7373/nano-node | c673e4e340f46351786b1b5267b7e1635aba9ff5 | [
"BSD-3-Clause"
] | null | null | null | #include <nano/crypto_lib/random_pool.hpp>
#include <nano/lib/config.hpp>
#include <nano/lib/threading.hpp>
#include <nano/node/common.hpp>
#include <nano/node/testing.hpp>
#include <nano/qt/qt.hpp>
#include <boost/format.hpp>
#include <thread>
int main (int argc, char ** argv)
{
nano::force_nano_test_network ();
n... | 30.82 | 113 | 0.716418 |
28a73e8d0c6a8676d78e0aff4af2e7f5a6281d84 | 53,394 | cpp | C++ | wxWidgets-2.9.1/src/richtext/richtextliststylepage.cpp | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 241 | 2015-01-04T00:36:58.000Z | 2022-01-06T19:19:23.000Z | wxWidgets-2.9.1/src/richtext/richtextliststylepage.cpp | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 10 | 2015-07-10T18:27:17.000Z | 2019-06-26T20:59:59.000Z | wxWidgets-2.9.1/src/richtext/richtextliststylepage.cpp | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 82 | 2015-01-25T18:02:35.000Z | 2022-03-05T12:28:17.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: src/richtext/richtextliststylepage.cpp
// Purpose:
// Author: Julian Smart
// Modified by:
// Created: 10/18/2006 11:36:37 AM
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows lic... | 39.202643 | 196 | 0.725625 |
28a8244d55fdf91d8eb3dc77167e6b9cb62f5c81 | 5,684 | cc | C++ | ge/graph/passes/replace_transshape_pass.cc | tomzhang/graphengine | 49aa7bb17b371caf58a871172fc53afc31b8022c | [
"Apache-2.0"
] | null | null | null | ge/graph/passes/replace_transshape_pass.cc | tomzhang/graphengine | 49aa7bb17b371caf58a871172fc53afc31b8022c | [
"Apache-2.0"
] | null | null | null | ge/graph/passes/replace_transshape_pass.cc | tomzhang/graphengine | 49aa7bb17b371caf58a871172fc53afc31b8022c | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019-2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 40.312057 | 118 | 0.728184 |
28a854fb96443ea13afbd034dc6d20bfbce1fec1 | 10,251 | hpp | C++ | 3rdparty/libprocess/include/process/grpc.hpp | urbanserj/mesos | 9147283171d761a4d38710f24ba654f8a96e325c | [
"Apache-2.0"
] | 2 | 2017-01-13T19:40:15.000Z | 2018-05-16T21:37:13.000Z | 3rdparty/libprocess/include/process/grpc.hpp | urbanserj/mesos | 9147283171d761a4d38710f24ba654f8a96e325c | [
"Apache-2.0"
] | 1 | 2018-07-22T19:45:42.000Z | 2018-07-22T19:45:42.000Z | 3rdparty/libprocess/include/process/grpc.hpp | urbanserj/mesos | 9147283171d761a4d38710f24ba654f8a96e325c | [
"Apache-2.0"
] | null | null | null | // 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 writing, software
// distributed ... | 32.542857 | 80 | 0.671252 |
28a89cc05ba03d2d9c9aee54301e3f00a7fdc05f | 5,259 | hpp | C++ | src/include/duckdb/main/query_result.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 2,816 | 2018-06-26T18:52:52.000Z | 2021-04-06T10:39:15.000Z | src/include/duckdb/main/query_result.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 1,310 | 2021-04-06T16:04:52.000Z | 2022-03-31T13:52:53.000Z | src/include/duckdb/main/query_result.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 270 | 2021-04-09T06:18:28.000Z | 2022-03-31T11:55:37.000Z | //===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/main/query_result.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/common/enums/statement_type.hpp"
#include "duckdb/c... | 30.935294 | 117 | 0.711542 |
28a96354b6fc753935b11ab30b47e9243bb51f82 | 2,738 | cc | C++ | tensorflow/python/saved_model/experimental/pywrap_libexport.cc | ashutom/tensorflow-upstream | c16069c19de9e286dd664abb78d0ea421e9f32d4 | [
"Apache-2.0"
] | 10 | 2021-05-25T17:43:04.000Z | 2022-03-08T10:46:09.000Z | tensorflow/python/saved_model/experimental/pywrap_libexport.cc | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 6 | 2021-11-10T20:16:36.000Z | 2022-02-10T05:52:17.000Z | tensorflow/python/saved_model/experimental/pywrap_libexport.cc | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 3 | 2021-09-26T22:20:25.000Z | 2021-09-26T23:07:13.000Z | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");;
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | 36.026316 | 80 | 0.72973 |
28aa95bcd17a8bfaf84ad7067cfdc71508b0e5ee | 3,894 | cc | C++ | atom/browser/ui/views/submenu_button.cc | dpmdpm/electron | 1952b4cba37240393a8c0a6adfa2d0560358adc7 | [
"MIT"
] | null | null | null | atom/browser/ui/views/submenu_button.cc | dpmdpm/electron | 1952b4cba37240393a8c0a6adfa2d0560358adc7 | [
"MIT"
] | null | null | null | atom/browser/ui/views/submenu_button.cc | dpmdpm/electron | 1952b4cba37240393a8c0a6adfa2d0560358adc7 | [
"MIT"
] | null | null | null | // Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/ui/views/submenu_button.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/co... | 33.86087 | 78 | 0.649718 |
28abb27fd199f22440597d85f90b972ddd7ad853 | 2,852 | cpp | C++ | vulkanon/generator/data/code/vulkanon/l0_enemy23.cpp | pqrs-org/Vulkanon | 3c161b83e64f18be2ba916055e5761fbc0b61028 | [
"Unlicense"
] | 5 | 2020-04-20T02:28:15.000Z | 2021-12-05T22:04:06.000Z | vulkanon/generator/data/code/vulkanon/l0_enemy23.cpp | pqrs-org/Vulkanon | 3c161b83e64f18be2ba916055e5761fbc0b61028 | [
"Unlicense"
] | null | null | null | vulkanon/generator/data/code/vulkanon/l0_enemy23.cpp | pqrs-org/Vulkanon | 3c161b83e64f18be2ba916055e5761fbc0b61028 | [
"Unlicense"
] | null | null | null | // XXX uniqID XXX 318a5e347d432a1a29542cd45457692a XXX
#include <gba_types.h>
#include "bullet.hpp"
#include "fixed.hpp"
#include "vulkanon/l0_enemy23.hpp"
extern const BulletStepFunc bullet_72977f5a201704a116fed2c268b98db5_318a5e347d432a1a29542cd45457692a[] = {
stepfunc_b9f3746024faf71a948d02a3f58cba12_318a5e34... | 55.921569 | 350 | 0.860098 |
28aed5b93bdeecdc93413dc3373a6ac59c3ee569 | 1,496 | cpp | C++ | runtime/fni/std/std_RegexMatcher.cpp | fanx-dev/fanx | 902128c44b4b5c236a8b0a49986569097c7ca0aa | [
"AFL-3.0"
] | 146 | 2019-03-18T14:09:46.000Z | 2022-01-22T21:58:22.000Z | runtime/fni/std/std_RegexMatcher.cpp | chunquedong/FanCore | 4d5dfb06f4c7d0fe0272c4238529e42950531d3b | [
"AFL-3.0"
] | 11 | 2019-11-27T19:00:22.000Z | 2022-03-24T02:15:46.000Z | runtime/fni/std/std_RegexMatcher.cpp | chunquedong/FanCore | 4d5dfb06f4c7d0fe0272c4238529e42950531d3b | [
"AFL-3.0"
] | 12 | 2019-06-03T05:06:49.000Z | 2021-09-09T05:59:30.000Z | #include "fni_ext.h"
#include "pod_std_native.h"
#include <regex>
static std::cmatch* getMatcher(fr_Env env, fr_Obj self) {
static fr_Field f = fr_findField(env, fr_getObjType(env, self), "handle");
fr_Value val;
fr_getInstanceField(env, self, f, &val);
std::cmatch* raw = (std::cmatch*)(val.i);
ret... | 30.530612 | 83 | 0.697861 |
28b08ebb4e2e8a1448c6ecb8dded527de3550256 | 963 | cpp | C++ | vnoj/nkpath.cpp | tiozo/Training | 02cc8c4fcf68e07c16520fd05fcbfa524c171b6b | [
"MIT"
] | 1 | 2021-08-28T04:16:34.000Z | 2021-08-28T04:16:34.000Z | vnoj/nkpath.cpp | tiozo/Training | 02cc8c4fcf68e07c16520fd05fcbfa524c171b6b | [
"MIT"
] | null | null | null | vnoj/nkpath.cpp | tiozo/Training | 02cc8c4fcf68e07c16520fd05fcbfa524c171b6b | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
long long gcd(long long int a, long long int b)
{
if (b == 0)
return a;
return gcd(b, a % b);
}
long long lcm(int a, int b)
{
return (a / gcd(a, b)) * b;
}
const int MOD=1e9;
int main() {
int M,N;
cin >> M >> N;
vector<vi ... | 19.26 | 69 | 0.379024 |
28b228e30a88dc3fe1dc4ac1bc92be301b415469 | 3,215 | cpp | C++ | passes/pre_eval/eval/shift.cpp | nandor/genm-opt | b3347d508fff707837d1dc8232487ebfe157fe2a | [
"MIT"
] | 13 | 2020-06-25T18:26:54.000Z | 2021-02-16T03:14:38.000Z | passes/pre_eval/eval/shift.cpp | nandor/genm-opt | b3347d508fff707837d1dc8232487ebfe157fe2a | [
"MIT"
] | 3 | 2020-07-01T01:39:47.000Z | 2022-01-24T23:47:12.000Z | passes/pre_eval/eval/shift.cpp | nandor/genm-opt | b3347d508fff707837d1dc8232487ebfe157fe2a | [
"MIT"
] | 2 | 2021-03-11T05:08:09.000Z | 2021-07-17T23:36:17.000Z | // This file if part of the llir-opt project.
// Licensing information can be found in the LICENSE file.
// (C) 2018 Nandor Licker. All rights reserved.
#include "passes/pre_eval/symbolic_context.h"
#include "passes/pre_eval/symbolic_eval.h"
#include "passes/pre_eval/symbolic_value.h"
#include "passes/pre_eval/symboli... | 23.639706 | 80 | 0.579782 |
28b2e5a679aca32f16fb9a00127198c1aeeebd5a | 1,731 | cc | C++ | test/unit_test/cache_test.cc | cheng-tan/vowpal_wabbit | 9b682a4b46518762530b4ee1168b6f27131a89e8 | [
"BSD-3-Clause"
] | null | null | null | test/unit_test/cache_test.cc | cheng-tan/vowpal_wabbit | 9b682a4b46518762530b4ee1168b6f27131a89e8 | [
"BSD-3-Clause"
] | null | null | null | test/unit_test/cache_test.cc | cheng-tan/vowpal_wabbit | 9b682a4b46518762530b4ee1168b6f27131a89e8 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) by respective owners including Yahoo!, Microsoft, and
// individual contributors. All rights reserved. Released under a BSD (revised)
// license as described in the file LICENSE.
#include <boost/test/unit_test.hpp>
#include <boost/test/test_tools.hpp>
#include "cache.h"
#include "vw.h"
#include "test... | 37.630435 | 114 | 0.756788 |
28b5525bc8a63b03219b8d88bf631993ca818f4f | 28,439 | hpp | C++ | include/netp/constants.hpp | cainiaoDJ/netplus | 03350d507830b3a39620374225d16c0b57623ef1 | [
"MIT"
] | null | null | null | include/netp/constants.hpp | cainiaoDJ/netplus | 03350d507830b3a39620374225d16c0b57623ef1 | [
"MIT"
] | null | null | null | include/netp/constants.hpp | cainiaoDJ/netplus | 03350d507830b3a39620374225d16c0b57623ef1 | [
"MIT"
] | null | null | null | #ifndef _NETP_CONSTANTS_H_
#define _NETP_CONSTANTS_H_
#include <climits>
#include <netp/core/platform.hpp>
#define NETP_SOCKET_ERROR (-1)
#define NETP_INVALID_SOCKET netp::SOCKET(~0)
namespace netp {
namespace u8 {
const u32_t MAX = 0xffU;
}
namespace i8 {
const u32_t MAX = 0x7f;
}
namespace u16 {
const... | 50.513321 | 236 | 0.674215 |
28b5ef0e98123bbcae16199980e1ed619eb5e3f4 | 103,207 | inl | C++ | Src/FEMTree.IsoSurface.specialized.inl | DamonsJ/PoissonRecon | fec7801bd10a02bbb9036b52de5f7c3955f399dc | [
"MIT"
] | 15 | 2021-05-26T11:47:59.000Z | 2022-01-20T12:34:15.000Z | Src/FEMTree.IsoSurface.specialized.inl | DamonsJ/PoissonRecon | fec7801bd10a02bbb9036b52de5f7c3955f399dc | [
"MIT"
] | 7 | 2021-06-08T08:35:00.000Z | 2021-11-07T10:27:30.000Z | Src/FEMTree.IsoSurface.specialized.inl | DamonsJ/PoissonRecon | fec7801bd10a02bbb9036b52de5f7c3955f399dc | [
"MIT"
] | 14 | 2017-03-16T10:09:22.000Z | 2021-12-28T03:53:18.000Z | /*
Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho
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 ... | 54.89734 | 785 | 0.65075 |
28bc3aa89f9c3c29f8a3e2e9536533af149ceb1f | 774 | cpp | C++ | test/localization/locale.categories/category.time/locale.time.get/time_base.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 1,244 | 2015-01-02T21:08:56.000Z | 2022-03-22T21:34:16.000Z | test/localization/locale.categories/category.time/locale.time.get/time_base.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 125 | 2015-01-22T01:08:00.000Z | 2020-05-25T08:28:17.000Z | test/localization/locale.categories/category.time/locale.time.get/time_base.pass.cpp | caiohamamura/libcxx | 27c836ff3a9c505deb9fd1616012924de8ff9279 | [
"MIT"
] | 124 | 2015-01-12T15:06:17.000Z | 2022-03-26T07:48:53.000Z | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | 25.8 | 80 | 0.489664 |
28bd1df68cd3643736999d01cb1bdc1184d60d1c | 7,492 | hpp | C++ | server/api_grammar.hpp | aaronbenz/osrm-backend | 758d4023050d1f49971f919cea872a2276dafe14 | [
"BSD-2-Clause"
] | 1 | 2021-03-06T05:07:44.000Z | 2021-03-06T05:07:44.000Z | server/api_grammar.hpp | aaronbenz/osrm-backend | 758d4023050d1f49971f919cea872a2276dafe14 | [
"BSD-2-Clause"
] | null | null | null | server/api_grammar.hpp | aaronbenz/osrm-backend | 758d4023050d1f49971f919cea872a2276dafe14 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2013, Project OSRM contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list
of conditions and the f... | 60.910569 | 150 | 0.573946 |
28bd5aed619a987f6f1a13ee398a199eec1d31bb | 2,377 | cpp | C++ | rs/test/if_empty_test.cpp | dymk/rs | b75ab0df5f235ac12ec4da825e6bd6e1fa9e7493 | [
"Apache-2.0"
] | 19 | 2017-05-15T08:20:00.000Z | 2021-12-03T05:58:32.000Z | rs/test/if_empty_test.cpp | dymk/rs | b75ab0df5f235ac12ec4da825e6bd6e1fa9e7493 | [
"Apache-2.0"
] | null | null | null | rs/test/if_empty_test.cpp | dymk/rs | b75ab0df5f235ac12ec4da825e6bd6e1fa9e7493 | [
"Apache-2.0"
] | 3 | 2018-01-16T18:07:30.000Z | 2021-06-30T07:33:44.000Z | // Copyright 2017 Per Grön. 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 l... | 28.297619 | 78 | 0.625999 |
28c23c3de7693604cec684e893fa21e00fedbf30 | 2,870 | hpp | C++ | vize/include/vize/model/volume.hpp | oprogramadorreal/vize | 042c16f96d8790303563be6787200558e1ec00b2 | [
"MIT"
] | 47 | 2020-03-30T14:36:46.000Z | 2022-03-06T07:44:54.000Z | vize/include/vize/model/volume.hpp | oprogramadorreal/vize | 042c16f96d8790303563be6787200558e1ec00b2 | [
"MIT"
] | null | null | null | vize/include/vize/model/volume.hpp | oprogramadorreal/vize | 042c16f96d8790303563be6787200558e1ec00b2 | [
"MIT"
] | 8 | 2020-04-01T01:22:45.000Z | 2022-01-02T13:06:09.000Z | #ifndef VIZE_VOLUME_HPP
#define VIZE_VOLUME_HPP
#include "vize/config.hpp"
#include "vize/serialization/volume_serializer.hpp"
#include <ayla/geometry/voxel_grid.hpp>
namespace vize {
class VolumeHistogram;
/**
* A tridimensional array of pixels (or "voxels"). Or a pile of images.
*
* A volume can be loaded fr... | 26.330275 | 161 | 0.731359 |
28c4385a1c2febb48ca8156cee24a0e7673e4e6e | 15,321 | cpp | C++ | plugins/WinVST/NotJustAnotherCD/NotJustAnotherCDProc.cpp | benjohnson2001/airwindows | 37719b99ec4d6882ab0e836d423cb69a86472aac | [
"MIT"
] | 1 | 2021-05-25T12:51:10.000Z | 2021-05-25T12:51:10.000Z | plugins/WinVST/NotJustAnotherCD/NotJustAnotherCDProc.cpp | elk-community/airwindows | e95fdcab2ae7fc89025b933986136c6c1c95702e | [
"MIT"
] | null | null | null | plugins/WinVST/NotJustAnotherCD/NotJustAnotherCDProc.cpp | elk-community/airwindows | e95fdcab2ae7fc89025b933986136c6c1c95702e | [
"MIT"
] | null | null | null | /* ========================================
* NotJustAnotherCD - NotJustAnotherCD.h
* Copyright (c) 2016 airwindows, All rights reserved
* ======================================== */
#ifndef __NotJustAnotherCD_H
#include "NotJustAnotherCD.h"
#endif
void NotJustAnotherCD::processReplacing(float **inputs, float **... | 30.278656 | 104 | 0.619215 |
28c44172bf3c7d44323a7f7fde8bda2fbb4e42c5 | 6,213 | cpp | C++ | src/pmp/gl/MeshViewer.cpp | choyfung/pmp-library | 4a72c918494dac92f5e77545b71c7a327dafe71e | [
"BSD-3-Clause"
] | 1 | 2020-05-21T04:15:44.000Z | 2020-05-21T04:15:44.000Z | src/pmp/gl/MeshViewer.cpp | choyfung/pmp-library | 4a72c918494dac92f5e77545b71c7a327dafe71e | [
"BSD-3-Clause"
] | null | null | null | src/pmp/gl/MeshViewer.cpp | choyfung/pmp-library | 4a72c918494dac92f5e77545b71c7a327dafe71e | [
"BSD-3-Clause"
] | 1 | 2020-05-21T04:15:52.000Z | 2020-05-21T04:15:52.000Z | //=============================================================================
// Copyright (C) 2011-2018 The pmp-library developers
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source ... | 32.528796 | 80 | 0.532593 |
28c521ed55bcc1b7d2e830657df4b633b0a6b0cb | 4,034 | cpp | C++ | contests/advertising_agency.cpp | RoundofThree/competitive-programming | 19b0931f59503068daabb8c58bcf041f11b217aa | [
"MIT"
] | 1 | 2021-02-01T20:35:22.000Z | 2021-02-01T20:35:22.000Z | contests/advertising_agency.cpp | RoundofThree/competitive-programming | 19b0931f59503068daabb8c58bcf041f11b217aa | [
"MIT"
] | null | null | null | contests/advertising_agency.cpp | RoundofThree/competitive-programming | 19b0931f59503068daabb8c58bcf041f11b217aa | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
#define ar array
#define ll unsigned long long
const int MAX_N = 1e5 + 1;
const int MOD = 1e9 + 7;
const int INF = 1e9;
const ll LINF = 1e18;
// test:
// 50 19
// 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 47 4... | 25.2125 | 152 | 0.501487 |
28c58478d55622296b9540fb61d83e076cbf5c9e | 5,087 | cpp | C++ | src/cpp/server/scene/SceneView.cpp | ey6es/witgap | 8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb | [
"BSD-2-Clause"
] | 2 | 2017-06-24T03:47:12.000Z | 2017-08-11T00:04:46.000Z | src/cpp/server/scene/SceneView.cpp | ey6es/witgap | 8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb | [
"BSD-2-Clause"
] | null | null | null | src/cpp/server/scene/SceneView.cpp | ey6es/witgap | 8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb | [
"BSD-2-Clause"
] | null | null | null | //
// $Id$
#include <QtDebug>
#include "actor/Pawn.h"
#include "net/Session.h"
#include "scene/Scene.h"
#include "scene/SceneView.h"
SceneView::SceneView (Session* session) :
Component(0)
{
connect(session, SIGNAL(didEnterScene(Scene*)), SLOT(handleDidEnterScene(Scene*)));
connect(session, SIGNAL(willLea... | 31.79375 | 99 | 0.591115 |
28c59491ae0716bf6a4924a9954fe186e61d8d6a | 18,040 | cpp | C++ | src/ir/ExpressionAnalyzer.cpp | Warchant/binaryen | c6237e8ea6236aa4a622cae64517cc3fd4f27b83 | [
"Apache-2.0"
] | null | null | null | src/ir/ExpressionAnalyzer.cpp | Warchant/binaryen | c6237e8ea6236aa4a622cae64517cc3fd4f27b83 | [
"Apache-2.0"
] | null | null | null | src/ir/ExpressionAnalyzer.cpp | Warchant/binaryen | c6237e8ea6236aa4a622cae64517cc3fd4f27b83 | [
"Apache-2.0"
] | 1 | 2020-12-23T13:47:00.000Z | 2020-12-23T13:47:00.000Z | /*
* Copyright 2016 WebAssembly Community Group participants
*
* 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... | 29.86755 | 169 | 0.567406 |
28c60af06486c6c0d4e5e16f2d899d71a52dc0e9 | 91 | cpp | C++ | QTP/views/clientview.cpp | Qu3tzal/TpQt | a741c64659d4808693c92de217261c75ed5fe17a | [
"MIT"
] | null | null | null | QTP/views/clientview.cpp | Qu3tzal/TpQt | a741c64659d4808693c92de217261c75ed5fe17a | [
"MIT"
] | null | null | null | QTP/views/clientview.cpp | Qu3tzal/TpQt | a741c64659d4808693c92de217261c75ed5fe17a | [
"MIT"
] | 1 | 2018-09-30T10:39:37.000Z | 2018-09-30T10:39:37.000Z | #include "clientview.h"
ClientView::ClientView(QWidget *parent) : QTableView(parent)
{
}
| 13 | 60 | 0.736264 |
28c6123cc903f54864a936a4a4afcda8618cec8a | 543 | hpp | C++ | part-27-vulkan-load-textures/main/src/core/mesh.hpp | tanzle-aames/a-simple-triangle | 3cf7d76e8e8a3b5d42c6db35d3cbfef91b139ab0 | [
"MIT"
] | 52 | 2019-11-30T04:45:02.000Z | 2022-03-10T17:17:57.000Z | part-30-basic-user-input/main/src/core/mesh.hpp | eugenebokhan/a-simple-triangle | 3cf7d76e8e8a3b5d42c6db35d3cbfef91b139ab0 | [
"MIT"
] | null | null | null | part-30-basic-user-input/main/src/core/mesh.hpp | eugenebokhan/a-simple-triangle | 3cf7d76e8e8a3b5d42c6db35d3cbfef91b139ab0 | [
"MIT"
] | 10 | 2020-03-30T16:18:30.000Z | 2022-01-30T14:53:45.000Z | #pragma once
#include "internal-ptr.hpp"
#include "vertex.hpp"
#include <vector>
namespace ast
{
struct Mesh
{
Mesh(const std::vector<ast::Vertex>& vertices, const std::vector<uint32_t>& indices);
const std::vector<ast::Vertex>& getVertices() const;
const std::vector<uint32_t>& getIn... | 20.884615 | 93 | 0.642726 |
28ca111689a28c63c69729f5ca3405bfd07cb618 | 129 | cpp | C++ | src/modules/replay/replay_main.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | src/modules/replay/replay_main.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | src/modules/replay/replay_main.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:a88a7b61d2bf7615571ada8de82e2cf5034f40407f98a48fadeaad6849143d52
size 2097
| 32.25 | 75 | 0.883721 |
28ca4208c578f7cdcc4db8288ec2fa9313bab65e | 3,672 | cpp | C++ | test/atomic/tst_atomic.cpp | ombre5733/weos | 2c3edef042fa80baa7c8fb968ba3104b7119cf2d | [
"BSD-2-Clause"
] | 11 | 2015-10-06T21:00:30.000Z | 2021-07-27T05:54:44.000Z | test/atomic/tst_atomic.cpp | ombre5733/weos | 2c3edef042fa80baa7c8fb968ba3104b7119cf2d | [
"BSD-2-Clause"
] | null | null | null | test/atomic/tst_atomic.cpp | ombre5733/weos | 2c3edef042fa80baa7c8fb968ba3104b7119cf2d | [
"BSD-2-Clause"
] | 1 | 2015-10-03T03:51:28.000Z | 2015-10-03T03:51:28.000Z | /*******************************************************************************
WEOS - Wrapper for embedded operating systems
Copyright (c) 2013-2016, Manuel Freiberger
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the foll... | 25.5 | 80 | 0.666667 |
28ce81fbcfeeda7774c485b7a25136c08c1e9ed6 | 1,742 | hpp | C++ | src/tests/functional/shared_test_classes/include/shared_test_classes/subgraph/memory_LSTMCell.hpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 1 | 2019-09-22T01:05:07.000Z | 2019-09-22T01:05:07.000Z | src/tests/functional/shared_test_classes/include/shared_test_classes/subgraph/memory_LSTMCell.hpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 58 | 2020-11-06T12:13:45.000Z | 2022-03-28T13:20:11.000Z | src/tests/functional/shared_test_classes/include/shared_test_classes/subgraph/memory_LSTMCell.hpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2 | 2019-09-20T01:33:37.000Z | 2019-09-20T08:42:11.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "common_test_utils/test_common.hpp"
#include "shared_test_classes/base/layer_test_utils.hpp"
#include <ie_core.hpp>
namespace SubgraphTestsDefinitions {
typedef std::tuple<
ngraph::helpers::MemoryTransfor... | 36.291667 | 96 | 0.710677 |
28cec803ab7a589801d844c1e0c48f30689078d1 | 9,617 | cc | C++ | android_webview/browser/hardware_renderer.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | android_webview/browser/hardware_renderer.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | android_webview/browser/hardware_renderer.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:23:37.000Z | 2020-11-04T07:23:37.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "android_webview/browser/hardware_renderer.h"
#include "android_webview/browser/aw_gl_surface.h"
#include "android_webview/browser/deferred_gpu_... | 36.846743 | 82 | 0.756369 |
28d1199c443a1c6ac89737eeda20afa14e6c7b01 | 726 | cpp | C++ | libs/json/src/io.cpp | silvergasp/json_spirit | 51a5c4154c8599a6b57595c7005e43491c1356fd | [
"BSL-1.0"
] | 103 | 2015-01-13T18:06:47.000Z | 2021-11-24T11:22:29.000Z | libs/json/src/io.cpp | silvergasp/json_spirit | 51a5c4154c8599a6b57595c7005e43491c1356fd | [
"BSL-1.0"
] | 12 | 2015-08-04T12:46:17.000Z | 2021-01-12T06:49:24.000Z | libs/json/src/io.cpp | silvergasp/json_spirit | 51a5c4154c8599a6b57595c7005e43491c1356fd | [
"BSL-1.0"
] | 37 | 2015-03-07T01:16:37.000Z | 2022-01-26T08:42:51.000Z | /**
* Copyright (C) 2012 ciere consulting, ciere.com
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
#include "ciere/json/value.hpp"
#include "ciere/json/parser/grammar_def.hpp"
#include <boost/sp... | 31.565217 | 81 | 0.764463 |
28d2d288b28a076d0f22683a831e1365877a90dc | 6,867 | cpp | C++ | vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp | neuroradiology/Proton | 5aed286761234b1b362471ca5cf80d25f64cb719 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 17,337 | 2018-08-21T21:43:27.000Z | 2022-03-31T18:06:05.000Z | vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp | neuroradiology/Proton | 5aed286761234b1b362471ca5cf80d25f64cb719 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,641 | 2018-08-21T22:40:50.000Z | 2022-03-31T23:58:40.000Z | vrclient_x64/vrclient_x64/cppIVRApplications_IVRApplications_005.cpp | neuroradiology/Proton | 5aed286761234b1b362471ca5cf80d25f64cb719 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 910 | 2018-08-21T22:54:53.000Z | 2022-03-29T17:35:31.000Z | #include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.0.1/openvr.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
}
#include "cppIVRApplications_IVRApplications_005.h"
#ifdef __cplusplus
extern "C" {
#endif
vr::EVRApplicationError cppIVRApplications_IVRApplications_005_AddApplic... | 50.866667 | 249 | 0.831076 |
28d4650279037d2c0656b38773cdd4d0514ceb31 | 2,645 | cxx | C++ | etc/xsd/example/driver.cxx | sutambe/LEESA | fedaf4c0d7887c361d2a79967e3e770f375ddc25 | [
"BSD-3-Clause"
] | null | null | null | etc/xsd/example/driver.cxx | sutambe/LEESA | fedaf4c0d7887c361d2a79967e3e770f375ddc25 | [
"BSD-3-Clause"
] | 3 | 2018-09-17T19:12:54.000Z | 2018-09-19T16:09:53.000Z | etc/xsd/example/driver.cxx | sutambe/LEESA | fedaf4c0d7887c361d2a79967e3e770f375ddc25 | [
"BSD-3-Clause"
] | null | null | null | // file : examples/cxx/tree/library/driver.cxx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : not copyrighted - public domain
#include <memory> // std::auto_ptr
#include <iostream>
#include "library.hpp"
#define SCHEMA_NAMESPACE_FOR_LEESA library
#include "LEESA.h"
using std::cerr;
u... | 24.045455 | 80 | 0.524386 |
28d4eec23864a024c50381dbe5e0a85707441286 | 5,886 | cpp | C++ | Source/Ilum/Editor/Panels/Hierarchy.cpp | Chaf-Libraries/Ilum | 83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8 | [
"MIT"
] | 11 | 2022-01-09T05:32:56.000Z | 2022-03-28T06:35:16.000Z | Source/Ilum/Editor/Panels/Hierarchy.cpp | Chaf-Libraries/Ilum | 83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8 | [
"MIT"
] | null | null | null | Source/Ilum/Editor/Panels/Hierarchy.cpp | Chaf-Libraries/Ilum | 83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8 | [
"MIT"
] | 1 | 2021-11-20T15:39:03.000Z | 2021-11-20T15:39:03.000Z | #include "Hierarchy.hpp"
#include "Scene/Component/Hierarchy.hpp"
#include "Scene/Component/Tag.hpp"
#include "Scene/Component/Transform.hpp"
#include "Scene/Entity.hpp"
#include "Editor/Editor.hpp"
#include <imgui.h>
namespace Ilum::panel
{
inline void delete_node(Entity entity)
{
if (!entity)
{
return;
}
a... | 25.153846 | 217 | 0.681617 |