hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4f33370e59f8cf671edfdca5b18f0f749a6e9c4a | 5,440 | hpp | C++ | src/band/band.hpp | haampie/SIRIUS | 716c74b9e40f2dc514547b13861ce8c977f50e6c | [
"BSD-2-Clause"
] | null | null | null | src/band/band.hpp | haampie/SIRIUS | 716c74b9e40f2dc514547b13861ce8c977f50e6c | [
"BSD-2-Clause"
] | 10 | 2020-10-05T16:11:47.000Z | 2021-03-15T20:31:26.000Z | src/band/band.hpp | haampie/SIRIUS | 716c74b9e40f2dc514547b13861ce8c977f50e6c | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2013-2017 Anton Kozhevnikov, Thomas Schulthess
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that
// the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, ... | 42.170543 | 121 | 0.738419 | haampie |
4f34c70235a6076deecfb6c0a8881a713d4c8caa | 1,040 | cc | C++ | chrome/browser/prerender/prerender_origin.cc | SlimKatLegacy/android_external_chromium_org | ee480ef5039d7c561fc66ccf52169ead186f1bea | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2017-04-05T01:51:34.000Z | 2018-02-15T03:11:54.000Z | chrome/browser/prerender/prerender_origin.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | chrome/browser/prerender/prerender_origin.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2015-02-09T08:49:30.000Z | 2017-08-26T02:03:34.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/prerender/prerender_origin.h"
#include "base/metrics/histogram.h"
#include "chrome/browser/prerender/prerender_manager.h"
n... | 25.365854 | 73 | 0.701923 | SlimKatLegacy |
4f34f3ac87b0f794c9af18b9dc1431fb030ec623 | 146,440 | cpp | C++ | openmp/runtime/src/kmp_csupport.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | openmp/runtime/src/kmp_csupport.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | openmp/runtime/src/kmp_csupport.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | /*
* kmp_csupport.cpp -- kfront linkage support for OpenMP.
*/
//===----------------------------------------------------------------------===//
//
// 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: ... | 33.587156 | 80 | 0.692762 | kubamracek |
4f34fad73f472e08384508cd7b2f5d8a774be5a4 | 620 | cpp | C++ | problemsets/UVA/11369.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/11369.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/11369.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <cstring>
#include <functional>
#include <algorithm>
using namespace std;
int main() {
int DP[20202], P[20202];
int T;
scanf("%d", &T);
for (int t = 1; t <= T; t++) {
memset(DP, ... | 19.375 | 73 | 0.470968 | juarezpaulino |
4f351d7b8b4c3f3b3a017d1fe42592ad490bb984 | 674 | cpp | C++ | dev/Gems/Twitch/Code/Source/ComponentStub.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Gems/Twitch/Code/Source/ComponentStub.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Gems/Twitch/Code/Source/ComponentStub.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 37.444444 | 85 | 0.771513 | jeikabu |
4f3532302b901f6aa88551a2be150bf8b56612d8 | 7,531 | hpp | C++ | hypercall/include/x64/mv_reg_t.hpp | enr0n/MicroV | 320824a3a851fad2983ca03edd3a132493f80d88 | [
"MIT"
] | null | null | null | hypercall/include/x64/mv_reg_t.hpp | enr0n/MicroV | 320824a3a851fad2983ca03edd3a132493f80d88 | [
"MIT"
] | null | null | null | hypercall/include/x64/mv_reg_t.hpp | enr0n/MicroV | 320824a3a851fad2983ca03edd3a132493f80d88 | [
"MIT"
] | null | null | null | /// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// 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 limita... | 39.020725 | 81 | 0.63617 | enr0n |
4f3813c5823edd914deacebd28314c758c4e0691 | 9,913 | hpp | C++ | libs/full/components_base/include/hpx/components_base/server/migration_support.hpp | clayne/hpx | 022c4f6996433f048b79b15b50be2505481acd21 | [
"BSL-1.0"
] | null | null | null | libs/full/components_base/include/hpx/components_base/server/migration_support.hpp | clayne/hpx | 022c4f6996433f048b79b15b50be2505481acd21 | [
"BSL-1.0"
] | 1 | 2021-08-09T14:08:44.000Z | 2021-08-10T13:02:44.000Z | libs/full/components_base/include/hpx/components_base/server/migration_support.hpp | clayne/hpx | 022c4f6996433f048b79b15b50be2505481acd21 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2021 Hartmut Kaiser
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <hpx/config.hpp>
#include <hpx/assert.hpp>
#include <hpx/c... | 36.311355 | 81 | 0.518814 | clayne |
4f38390b293611523388d4d5f5ae856f4a010f76 | 4,330 | cpp | C++ | examples/example-08d-write-hyperslab-using-dsetinfo.cpp | mpb27/h5pp | bd0c70d30329732285b2c06f9dc48795f7d18180 | [
"MIT"
] | 60 | 2019-03-11T09:02:49.000Z | 2022-02-01T05:42:30.000Z | examples/example-08d-write-hyperslab-using-dsetinfo.cpp | mpb27/h5pp | bd0c70d30329732285b2c06f9dc48795f7d18180 | [
"MIT"
] | 10 | 2020-01-24T09:40:53.000Z | 2022-03-30T10:56:12.000Z | examples/example-08d-write-hyperslab-using-dsetinfo.cpp | mpb27/h5pp | bd0c70d30329732285b2c06f9dc48795f7d18180 | [
"MIT"
] | 9 | 2020-01-24T10:23:43.000Z | 2022-01-21T02:34:55.000Z | #include <h5pp/h5pp.h>
#include <iostream>
// This example shows how to write data into a portion of a dataset, a so-called "hyperslab".
// This time we will use a metadata object of type "h5pp::DsetInfo" which is normally returned from .writeDataset(...).
// The main motivation is that reusing the h5pp::DsetInfo obje... | 48.651685 | 138 | 0.633256 | mpb27 |
4f3938852a40079450e06bfa73ce6cd39bacb9f5 | 5,761 | cpp | C++ | llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp | hanzhan1/llvm | efe40bb5c797b102088e3cd2579a0f57ccf93310 | [
"Apache-2.0"
] | null | null | null | llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp | hanzhan1/llvm | efe40bb5c797b102088e3cd2579a0f57ccf93310 | [
"Apache-2.0"
] | null | null | null | llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp | hanzhan1/llvm | efe40bb5c797b102088e3cd2579a0f57ccf93310 | [
"Apache-2.0"
] | null | null | null | //=== AArch64PostLegalizerCombiner.cpp --------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 38.152318 | 80 | 0.719146 | hanzhan1 |
4f39392a849d399b0acb415e2cd97c9a5254daa5 | 4,654 | hpp | C++ | boost/boost/mpi/collectives/gather.hpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 97 | 2016-06-19T18:48:04.000Z | 2022-03-01T16:26:33.000Z | boost/boost/mpi/collectives/gather.hpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 38 | 2015-07-22T07:35:45.000Z | 2019-03-14T16:03:06.000Z | boost/boost/mpi/collectives/gather.hpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 44 | 2015-03-18T09:20:37.000Z | 2021-12-21T08:09:17.000Z | // Copyright (C) 2005, 2006 Douglas Gregor.
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Message Passing Interface 1.1 -- Section 4.5. Gather
#ifndef BOOST_MPI_GATHER_HPP
#d... | 31.445946 | 79 | 0.6633 | randolphwong |
4f39836eb4aa857ccb4f4f5990747cc810532923 | 7,570 | cpp | C++ | export/release/macos/obj/src/BackgroundGirls.cpp | EnvyBun/KB-FNF-MOD | f7541661229c587bf99f0508cc3eba7043f8c177 | [
"Apache-2.0"
] | 1 | 2021-07-19T05:10:43.000Z | 2021-07-19T05:10:43.000Z | export/release/macos/obj/src/BackgroundGirls.cpp | EnvyBun/KB-FNF-MOD | f7541661229c587bf99f0508cc3eba7043f8c177 | [
"Apache-2.0"
] | null | null | null | export/release/macos/obj/src/BackgroundGirls.cpp | EnvyBun/KB-FNF-MOD | f7541661229c587bf99f0508cc3eba7043f8c177 | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED_BackgroundGirls
#include <BackgroundGirls.h>
#endif
#ifndef INCLUDED_CoolUtil
#include <CoolUtil.h>
#endif
#ifndef INCLUDED_Paths
#include <Paths.h>
#endif
#ifndef INCLUDED_flixel_FlxBasic
#include <flixel/FlxBasic.h>
#endif
#ifndef INCLUDED_flixel_FlxObje... | 40.05291 | 247 | 0.737252 | EnvyBun |
4f3a0fd41e06c391ace19d0265339c768f1403b5 | 279 | cpp | C++ | pekingUniversity-cpp-tutorial/polymorphic_example.cpp | Ailikez/cpp_tech_notes | b24c3fbe3e0624c73166af3d1c831361f1708f82 | [
"MIT"
] | null | null | null | pekingUniversity-cpp-tutorial/polymorphic_example.cpp | Ailikez/cpp_tech_notes | b24c3fbe3e0624c73166af3d1c831361f1708f82 | [
"MIT"
] | null | null | null | pekingUniversity-cpp-tutorial/polymorphic_example.cpp | Ailikez/cpp_tech_notes | b24c3fbe3e0624c73166af3d1c831361f1708f82 | [
"MIT"
] | null | null | null | /*
* 多态原理
* 动态联编
* 虚函数表
* 1.每一个有虚函数的类都有一个虚函数表(编译器生成)与之对应
* 2.每一个有虚函数的类的对象的内存空间内都存着指向虚函数表的指针(这就是为什么会多4Bytes)
* 3.虚函数表里面放的是对应类里面所有虚函数的地址
* 4.多态的函数调用语句被编译成一系列 根据基类指针所指向的 对象中 存放的虚函数表
* 的地址,在虚函数表中查询虚函数地址,并调用虚函数指令
* 多态的程序在时间和空间上都有额外开销
*/ | 25.363636 | 56 | 0.666667 | Ailikez |
4f3a5bc69d33247b58d61cbd729f0be7824472a3 | 65 | cpp | C++ | Cli/CommandMap.cpp | dllexport/cxxredis | 91bebcea1c873b868a538742b17f3cf02f077de1 | [
"BSD-3-Clause"
] | null | null | null | Cli/CommandMap.cpp | dllexport/cxxredis | 91bebcea1c873b868a538742b17f3cf02f077de1 | [
"BSD-3-Clause"
] | null | null | null | Cli/CommandMap.cpp | dllexport/cxxredis | 91bebcea1c873b868a538742b17f3cf02f077de1 | [
"BSD-3-Clause"
] | null | null | null | //
// Created by Mario on 2020/5/31.
//
#include "CommandMap.h"
| 10.833333 | 33 | 0.630769 | dllexport |
4f3ae8629a841beb11441690d7e1b80e8dc26aa5 | 3,216 | hpp | C++ | Workspace/src/Enemy.hpp | Llemmert/UntitledCatGame | 4618cef62d329a90a7387a63cdf87b5b9762097b | [
"MIT"
] | null | null | null | Workspace/src/Enemy.hpp | Llemmert/UntitledCatGame | 4618cef62d329a90a7387a63cdf87b5b9762097b | [
"MIT"
] | null | null | null | Workspace/src/Enemy.hpp | Llemmert/UntitledCatGame | 4618cef62d329a90a7387a63cdf87b5b9762097b | [
"MIT"
] | null | null | null | #pragma once
#include <SDL.h>
#include <cmath>
#include <iostream>
using namespace std;
class enemy
{
private:
SDL_Renderer *ren;
Animation *a;
SDL_Rect *src;
SDL_Rect dest;
SDL_Rect StompBox;
double x, y, vx, vy, w, h;
SDL_Point center;
SDL_RendererFlip FlipState = SDL_FLIP_NONE;
publ... | 24.549618 | 126 | 0.460199 | Llemmert |
4f3c847b51f41bc47f8b90cb2ae9dc98a12d2438 | 418 | hpp | C++ | gtkpp-StyleContext.hpp | btryba/gtkpp | 9849557e96aa61e09a9df85e5d03453fe6863842 | [
"BSD-3-Clause"
] | null | null | null | gtkpp-StyleContext.hpp | btryba/gtkpp | 9849557e96aa61e09a9df85e5d03453fe6863842 | [
"BSD-3-Clause"
] | null | null | null | gtkpp-StyleContext.hpp | btryba/gtkpp | 9849557e96aa61e09a9df85e5d03453fe6863842 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __GTKPP_STYLECONTEXT_HPP__
#define __GTKPP_STYLECONTEXT_HPP__
extern "C"
{
#include <gtk/gtk.h>
}
namespace gtkpp
{
class StyleContext
{
GtkStyleContext* context;
public:
StyleContext(GtkStyleContext* context);
virtual ~StyleContext();
void add_clas... | 18.173913 | 47 | 0.65311 | btryba |
4f3dad7e0e50fbcea84e35f0cf68b008e00b2946 | 20,576 | cpp | C++ | contracts/test_api_db/test_db.cpp | SheldonHH/snax_Ibc | 2f244bcaf09f75cbbb987060f7e15ab514e6346b | [
"MIT"
] | 21 | 2018-11-29T19:30:30.000Z | 2021-11-07T08:29:32.000Z | contracts/test_api_db/test_db.cpp | SheldonHH/snax_Ibc | 2f244bcaf09f75cbbb987060f7e15ab514e6346b | [
"MIT"
] | 6 | 2019-03-11T16:25:16.000Z | 2022-01-22T04:52:44.000Z | contracts/test_api_db/test_db.cpp | SheldonHH/snax_Ibc | 2f244bcaf09f75cbbb987060f7e15ab514e6346b | [
"MIT"
] | 10 | 2019-04-02T19:52:02.000Z | 2021-03-04T20:24:29.000Z | #include <snaxlib/types.hpp>
#include <snaxlib/action.hpp>
#include <snaxlib/transaction.hpp>
#include <snaxlib/datastream.hpp>
#include <snaxlib/db.h>
#include <snaxlib/memory.hpp>
#include <snaxlib/fixed_key.hpp>
#include "../test_api/test_api.hpp"
int primary[11] = {0,1,2,3,4,5,6,7,8,9,10};
int secondary[11] ... | 37.207957 | 112 | 0.642496 | SheldonHH |
4f3e5b2537969470fe90f4eed0b72fc5b1edf9b6 | 1,676 | hpp | C++ | srook/type_traits/is_predecrementable.hpp | falgon/srookCppLibraries | ebcfacafa56026f6558bcd1c584ec774cc751e57 | [
"MIT"
] | 1 | 2018-07-01T07:54:37.000Z | 2018-07-01T07:54:37.000Z | srook/type_traits/is_predecrementable.hpp | falgon/srookCppLibraries | ebcfacafa56026f6558bcd1c584ec774cc751e57 | [
"MIT"
] | null | null | null | srook/type_traits/is_predecrementable.hpp | falgon/srookCppLibraries | ebcfacafa56026f6558bcd1c584ec774cc751e57 | [
"MIT"
] | null | null | null | // Copyright (C) 2011-2020 Roki. Distributed under the MIT License
#ifndef INCLUDED_SROOK_TYPE_TRAITS_IS_PREDECREMENTABLE_HPP
#define INCLUDED_SROOK_TYPE_TRAITS_IS_PREDECREMENTABLE_HPP
#ifdef _MSC_VER
# if _MSC_VER > 1000
# pragma once
# endif
#endif
#include <srook/config.hpp>
#include <srook/type_traits/bo... | 27.47541 | 91 | 0.781623 | falgon |
4f3fd4778f0447e91723faeb54db3de8bf495316 | 23,651 | cpp | C++ | dayu/src/v20180709/model/NewL7RuleEntry.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | dayu/src/v20180709/model/NewL7RuleEntry.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | dayu/src/v20180709/model/NewL7RuleEntry.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"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
... | 26.278889 | 144 | 0.659972 | li5ch |
4f3fd89a5e456156658b6a332360b6c7e0e0ec1b | 12,704 | cpp | C++ | hphp/compiler/option.cpp | sgolemon/hhvm | 240f1370de88926a6c0760cc089b93b84bb0f88d | [
"PHP-3.01",
"Zend-2.0"
] | 2 | 2016-12-06T07:37:31.000Z | 2017-05-19T17:08:48.000Z | hphp/compiler/option.cpp | sgolemon/hhvm | 240f1370de88926a6c0760cc089b93b84bb0f88d | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2020-01-19T19:06:32.000Z | 2020-01-19T19:06:32.000Z | hphp/compiler/option.cpp | profclems/hhvm | 240f1370de88926a6c0760cc089b93b84bb0f88d | [
"PHP-3.01",
"Zend-2.0"
] | 2 | 2017-02-19T16:11:15.000Z | 2019-07-18T20:16:53.000Z | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 36.930233 | 80 | 0.634918 | sgolemon |
4f4044f5d0dffc3f31aec592809f5b9095ee79ec | 13,630 | cpp | C++ | src/openpose/3d/cameraParameterReader.cpp | daniel-s-ingram/openpose | 0e9a9ec602640d07602f13de96adff3943f9c87e | [
"DOC",
"MIT-CMU"
] | null | null | null | src/openpose/3d/cameraParameterReader.cpp | daniel-s-ingram/openpose | 0e9a9ec602640d07602f13de96adff3943f9c87e | [
"DOC",
"MIT-CMU"
] | null | null | null | src/openpose/3d/cameraParameterReader.cpp | daniel-s-ingram/openpose | 0e9a9ec602640d07602f13de96adff3943f9c87e | [
"DOC",
"MIT-CMU"
] | null | null | null | #include <opencv2/imgproc/imgproc.hpp> // cv::undistort, cv::initUndistortRectifyMap
#include <openpose/filestream/fileStream.hpp>
#include <openpose/utilities/fileSystem.hpp>
#include <openpose/3d/cameraParameterReader.hpp>
namespace op
{
CameraParameterReader::CameraParameterReader() :
mUndistortImage{f... | 40.808383 | 119 | 0.532502 | daniel-s-ingram |
4f40fc1b17693a3d18e41791a7431109618692a9 | 119 | cpp | C++ | odk/framework/unit_tests/test_module.cpp | HpLightcorner/OXYGEN-SDK | 4ede0ea07b513032605b32fc86539f081589e58c | [
"MIT"
] | 4 | 2019-12-20T18:21:03.000Z | 2020-09-08T05:16:53.000Z | odk/framework/unit_tests/test_module.cpp | HpLightcorner/OXYGEN-SDK | 4ede0ea07b513032605b32fc86539f081589e58c | [
"MIT"
] | 13 | 2020-07-01T19:35:08.000Z | 2022-03-18T13:58:06.000Z | odk/framework/unit_tests/test_module.cpp | HpLightcorner/OXYGEN-SDK | 4ede0ea07b513032605b32fc86539f081589e58c | [
"MIT"
] | 3 | 2020-07-28T06:50:56.000Z | 2022-02-24T10:32:52.000Z | // Copyright (C) DEWETRON GmbH 2021
#define BOOST_TEST_MODULE odk_framework_test
#include <boost/test/unit_test.hpp>
| 19.833333 | 44 | 0.798319 | HpLightcorner |
4f41aa1acf73ae0e4c07d37428c77e987b4fc71f | 2,667 | cpp | C++ | node/functionaltests/tools/coins_checker.cpp | hadescoincom/hds-core | 383a38da9a5e40de66ba2277b54fea41b7c32537 | [
"Apache-2.0"
] | null | null | null | node/functionaltests/tools/coins_checker.cpp | hadescoincom/hds-core | 383a38da9a5e40de66ba2277b54fea41b7c32537 | [
"Apache-2.0"
] | null | null | null | node/functionaltests/tools/coins_checker.cpp | hadescoincom/hds-core | 383a38da9a5e40de66ba2277b54fea41b7c32537 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Hds Team
//
// 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 ... | 21 | 75 | 0.687664 | hadescoincom |
4f420c45d7bd90025fc2fae01b8d3b3ea2393936 | 2,864 | cpp | C++ | src/info.cpp | RybaPila-IT/Multiprocess-Snake-Game | 7719a2d0ffa45691eb8f1665a75e73aac09b8a2d | [
"MIT"
] | null | null | null | src/info.cpp | RybaPila-IT/Multiprocess-Snake-Game | 7719a2d0ffa45691eb8f1665a75e73aac09b8a2d | [
"MIT"
] | null | null | null | src/info.cpp | RybaPila-IT/Multiprocess-Snake-Game | 7719a2d0ffa45691eb8f1665a75e73aac09b8a2d | [
"MIT"
] | 1 | 2021-05-20T07:59:16.000Z | 2021-05-20T07:59:16.000Z | //
// Created by radoslaw on 07.05.2021.
//
#include <iostream>
#include "synchronizer.hpp"
#include "constants.hpp"
#include "Log.hpp"
namespace {
[[noreturn]] void synchronize(Synchronizer& synchronizer_capture, Synchronizer& synchronizer_process, Synchronizer& synchronizer_game) {
//gameOff - przechowu... | 32.545455 | 140 | 0.625349 | RybaPila-IT |
4f44922ce7f7f5dc5ec9be4575f76c810dbe3312 | 2,581 | cpp | C++ | modules/SofaNonUniformFem/initNonUniformFEM.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | modules/SofaNonUniformFem/initNonUniformFEM.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | modules/SofaNonUniformFem/initNonUniformFEM.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | 43.745763 | 79 | 0.561023 | sofa-framework |
4f44bb89d2b90ce2f061766167334e1d9d6b7b25 | 5,243 | cpp | C++ | src/Layers/xrRenderDX10/dx10BufferUtils.cpp | acidicMercury8/xray-1.6 | 52fba7348a93a52ff9694f2c9dd40c0d090e791e | [
"Linux-OpenIB"
] | 10 | 2021-05-04T06:40:27.000Z | 2022-01-20T20:24:28.000Z | src/Layers/xrRenderDX10/dx10BufferUtils.cpp | acidicMercury8/xray-1.6 | 52fba7348a93a52ff9694f2c9dd40c0d090e791e | [
"Linux-OpenIB"
] | null | null | null | src/Layers/xrRenderDX10/dx10BufferUtils.cpp | acidicMercury8/xray-1.6 | 52fba7348a93a52ff9694f2c9dd40c0d090e791e | [
"Linux-OpenIB"
] | 2 | 2021-11-07T16:57:19.000Z | 2021-12-05T13:17:12.000Z | #include "stdafx.h"
#include "dx10BufferUtils.h"
namespace dx10BufferUtils
{
HRESULT IC CreateBuffer( ID3DBuffer** ppBuffer, const void* pData, UINT DataSize, bool bImmutable, bool bIndexBuffer)
{
D3D_BUFFER_DESC desc;
desc.ByteWidth = DataSize;
//desc.Usage = bImmutable ? D3D_USAGE_IMMUTABLE : D3D_USAGE... | 35.425676 | 210 | 0.738508 | acidicMercury8 |
4f46401698d2d37d9c0f0ff0f8f4cb6bf56f9694 | 568 | cpp | C++ | ch12/list_12.12/main.cpp | shoeisha-books/dokushu-cpp | 8a1e7833fe080ed0f3059428c3a76d297a43a5dd | [
"MIT"
] | 17 | 2020-01-01T16:44:05.000Z | 2022-03-31T07:20:13.000Z | ch12/list_12.12/main.cpp | shoeisha-books/dokushu-cpp | 8a1e7833fe080ed0f3059428c3a76d297a43a5dd | [
"MIT"
] | 1 | 2021-07-04T01:41:53.000Z | 2021-07-14T19:17:01.000Z | ch12/list_12.12/main.cpp | shoeisha-books/dokushu-cpp | 8a1e7833fe080ed0f3059428c3a76d297a43a5dd | [
"MIT"
] | 3 | 2019-11-28T14:37:09.000Z | 2021-05-22T02:55:15.000Z | #include <iostream>
#include <vector>
void print_vector(const std::vector<int>& v)
{
for (int i : v)
{
std::cout << i << " ";
}
std::cout << std::endl;
}
int main()
{
std::vector v = { 1, 5, 9 };
v.insert(v.begin(), 0); // 先頭に0を挿入
print_vector(v);
v.insert(... | 18.933333 | 60 | 0.492958 | shoeisha-books |
4f464cf3cb262459b2c90b4c2f6752696c0c76f6 | 2,260 | cpp | C++ | hphp/runtime/test/ini-iterate.cpp | lavagetto/hhvm | f9ed7ff466944c533733f3d49dcf6405c22ce57d | [
"PHP-3.01",
"Zend-2.0"
] | 3 | 2015-07-05T07:32:31.000Z | 2015-07-13T02:31:10.000Z | hphp/runtime/test/ini-iterate.cpp | lavagetto/hhvm | f9ed7ff466944c533733f3d49dcf6405c22ce57d | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/test/ini-iterate.cpp | lavagetto/hhvm | f9ed7ff466944c533733f3d49dcf6405c22ce57d | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | #include <gtest/gtest.h>
#include "hphp/runtime/vm/jit/code-cache.h"
#include "hphp/runtime/base/config.h"
#include "hphp/runtime/base/ini-setting.h"
namespace HPHP {
TEST(IniSetting, ini_iterate) {
std::string inistr =
"hhvm.ip_block_map[0][location] = /test\n"
"hhvm.ip_block_map[0][allow_first] = true\n... | 38.305085 | 64 | 0.683186 | lavagetto |
4f473eb9f5b497ef6133285bed2a115aedf82a72 | 38,005 | cc | C++ | FELICITY/Demo/Laplace_Beltrami_Open_Surface/Assembly_Code_AutoGen/Basis_Functions/Data_Type_G_h_phi_restricted_to_dGamma.cc | brianchowlab/BcLOV4-FEM | f54bd8efa0e0f2c7ca2de4a6688ef1a403376285 | [
"MIT"
] | null | null | null | FELICITY/Demo/Laplace_Beltrami_Open_Surface/Assembly_Code_AutoGen/Basis_Functions/Data_Type_G_h_phi_restricted_to_dGamma.cc | brianchowlab/BcLOV4-FEM | f54bd8efa0e0f2c7ca2de4a6688ef1a403376285 | [
"MIT"
] | null | null | null | FELICITY/Demo/Laplace_Beltrami_Open_Surface/Assembly_Code_AutoGen/Basis_Functions/Data_Type_G_h_phi_restricted_to_dGamma.cc | brianchowlab/BcLOV4-FEM | f54bd8efa0e0f2c7ca2de4a6688ef1a403376285 | [
"MIT"
] | null | null | null | /*
============================================================================================
This class contains data about a given FE function space, and methods for computing
transformations of the local basis functions.
This code references the header files:
matrix_vector_defn.h
matrix_vector_ops... | 39.465213 | 132 | 0.587686 | brianchowlab |
4f474d7f6f29b4db67946f59f7aead143414ba6b | 420 | cpp | C++ | ProfessionalC++/SafeDivide/SafeDivide.cpp | zzragida/CppExamples | d627b097efc04209aa4012f7b7f9d82858da3f2d | [
"Apache-2.0"
] | null | null | null | ProfessionalC++/SafeDivide/SafeDivide.cpp | zzragida/CppExamples | d627b097efc04209aa4012f7b7f9d82858da3f2d | [
"Apache-2.0"
] | null | null | null | ProfessionalC++/SafeDivide/SafeDivide.cpp | zzragida/CppExamples | d627b097efc04209aa4012f7b7f9d82858da3f2d | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <stdexcept>
using namespace std;
int SafeDivide(int num, int den)
{
if (den == 0)
throw invalid_argument("Divide by zero");
return num / den;
}
int main()
{
try
{
cout << SafeDivide(5, 2) << endl;
cout << SafeDivide(10, 0) << endl;
cout << SafeDivide(3, 3) << endl;
}
catch ... | 15 | 51 | 0.611905 | zzragida |
4f47d781baf47364ecfb357d5ce522f896fc28b8 | 478 | cpp | C++ | chapter-03/recipe-03/src/sample.cpp | hexu1985/Gflags.And.Glog.Tutorial | 2f9ca0c47034bdc4270461498364c750f5232e45 | [
"MIT"
] | null | null | null | chapter-03/recipe-03/src/sample.cpp | hexu1985/Gflags.And.Glog.Tutorial | 2f9ca0c47034bdc4270461498364c750f5232e45 | [
"MIT"
] | null | null | null | chapter-03/recipe-03/src/sample.cpp | hexu1985/Gflags.And.Glog.Tutorial | 2f9ca0c47034bdc4270461498364c750f5232e45 | [
"MIT"
] | null | null | null | #include <glog/logging.h>
int main(int argc,char* argv[])
{
gflags::ParseCommandLineFlags(&argc, &argv, true);
google::InitGoogleLogging(argv[0]); //初始化 glog
char str[20] = "hello log!";
LOG(INFO) << str ; // << " cookies";
LOG(WARNING) << "warning test"; // 会输出一个Warning... | 26.555556 | 60 | 0.579498 | hexu1985 |
4f482c11c7912c8b7e7ecb1ddaa736d64031bde7 | 1,541 | cpp | C++ | modules/core/base/cover/operator/simd/divides.cpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | 34 | 2017-05-19T18:10:17.000Z | 2022-01-04T02:18:13.000Z | modules/core/base/cover/operator/simd/divides.cpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | null | null | null | modules/core/base/cover/operator/simd/divides.cpp | psiha/nt2 | 5e829807f6b57b339ca1be918a6b60a2507c54d0 | [
"BSL-1.0"
] | 7 | 2017-12-02T12:59:17.000Z | 2021-07-31T12:46:14.000Z | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 37.585366 | 80 | 0.592472 | psiha |
4f48cf2b42c42b2175503c589fc5a3d27737b8af | 2,683 | cpp | C++ | src/profiler/util/util.cpp | ABaboshin/DotNetCoreProfiler | 1421bb265317e23c447d5087e4739a9ae9fdc9ba | [
"MIT"
] | 9 | 2020-05-28T14:29:15.000Z | 2021-06-24T01:57:29.000Z | src/profiler/util/util.cpp | ABaboshin/DotNetCoreProfiler | 1421bb265317e23c447d5087e4739a9ae9fdc9ba | [
"MIT"
] | null | null | null | src/profiler/util/util.cpp | ABaboshin/DotNetCoreProfiler | 1421bb265317e23c447d5087e4739a9ae9fdc9ba | [
"MIT"
] | 2 | 2020-12-21T14:57:29.000Z | 2021-06-23T06:59:54.000Z | #include <cstdlib>
#include <iostream>
#include "miniutf/miniutf.hpp"
#include "util.h"
namespace util
{
std::string GetEnvironmentValue(const std::string& name) {
auto cstr = std::getenv(name.c_str());
if (cstr == nullptr) {
return "";
}
return std::string(cstr);
}... | 24.842593 | 77 | 0.549758 | ABaboshin |
4f48d8adaef298c154b5ee2b7a675fb3459fb6e1 | 15,863 | cpp | C++ | src/HiCAnalysis.cpp | lbcb-sci/pyhera | f850fc605ab9b251c748a7d27d11e042f378dd5b | [
"MIT"
] | 8 | 2018-11-29T15:19:58.000Z | 2021-06-03T18:02:03.000Z | src/HiCAnalysis.cpp | lbcb-sci/pyhera | f850fc605ab9b251c748a7d27d11e042f378dd5b | [
"MIT"
] | null | null | null | src/HiCAnalysis.cpp | lbcb-sci/pyhera | f850fc605ab9b251c748a7d27d11e042f378dd5b | [
"MIT"
] | 2 | 2018-11-29T14:48:12.000Z | 2018-11-29T16:12:16.000Z | #include "HiCAnalysis.h"
#include <string>
#include <iostream>
#include <algorithm>
namespace scara {
HiCAlignment::HiCAlignment(std::string t_rname
,std::string t_p1_ref, uint32_t t_pos1, char t_strand1
,std::string t_p2_ref, uint32_t t_pos2, char t_strand2
) : rname(t_rname),
p1_re... | 35.172949 | 152 | 0.644456 | lbcb-sci |
4f49184aabdd041b5a6a5c0a40bff72e3182b7c5 | 3,548 | hpp | C++ | third_party/protozero/test/include/scalar_access.hpp | asaveljevs/osrm-backend | 15f0ca8ddaa35c5b4d93c25afa72e81e1fb40c3e | [
"BSD-2-Clause"
] | 13 | 2019-02-21T02:02:41.000Z | 2021-09-09T13:49:31.000Z | third_party/protozero/test/include/scalar_access.hpp | serarca/osrm-backend | 3b4e2e83ef85983df1381dbeacd0ea5d4b9bbbcb | [
"BSD-2-Clause"
] | 288 | 2019-02-21T01:34:04.000Z | 2021-03-27T12:19:10.000Z | third_party/protozero/test/include/scalar_access.hpp | serarca/osrm-backend | 3b4e2e83ef85983df1381dbeacd0ea5d4b9bbbcb | [
"BSD-2-Clause"
] | 4 | 2019-06-21T20:51:59.000Z | 2021-01-13T09:22:24.000Z | // NOLINT(llvm-header-guard)
#define PBF_TYPE_NAME PROTOZERO_TEST_STRING(PBF_TYPE)
#define GET_TYPE PROTOZERO_TEST_CONCAT(get_, PBF_TYPE)
#define ADD_TYPE PROTOZERO_TEST_CONCAT(add_, PBF_TYPE)
TEST_CASE("read field: " PBF_TYPE_NAME) {
SECTION("zero") {
const std::string buffer = load_data(PBF_TYPE_NAME "... | 27.292308 | 90 | 0.590192 | asaveljevs |
4f49f36ff67660efd7b8f09d87b3b39e681a8123 | 6,554 | cc | C++ | chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc | leiferikb/bitpop-private | 4c967307d228e86f07f2576068a169e846c833ca | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-11-15T15:17:43.000Z | 2021-11-15T15:17:43.000Z | chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc | houseoflifeproperty/bitpop-private | 4c967307d228e86f07f2576068a169e846c833ca | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc | houseoflifeproperty/bitpop-private | 4c967307d228e86f07f2576068a169e846c833ca | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:24:02.000Z | 2020-11-04T07:24:02.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/declarative/test_rules_registry.h"
// Here we test the TestRulesRegistry which is the simplest possible
// im... | 36.411111 | 80 | 0.731157 | leiferikb |
4f4b2813c7f8e979555f859e4e017f272dc6208a | 1,770 | cpp | C++ | ext/libigl/external/cgal/src/CGAL_Project/config/support/test_LEDA.cpp | liminchen/OptCuts | cb85b06ece3a6d1279863e26b5fd17a5abb0834d | [
"MIT"
] | 187 | 2019-01-23T04:07:11.000Z | 2022-03-27T03:44:58.000Z | ext/libigl/external/cgal/src/CGAL_Project/config/support/test_LEDA.cpp | xiaoxie5002/OptCuts | 1f4168fc867f47face85fcfa3a572be98232786f | [
"MIT"
] | 8 | 2019-03-22T13:27:38.000Z | 2020-06-18T13:23:23.000Z | ext/libigl/external/cgal/src/CGAL_Project/config/support/test_LEDA.cpp | xiaoxie5002/OptCuts | 1f4168fc867f47face85fcfa3a572be98232786f | [
"MIT"
] | 34 | 2019-02-13T01:11:12.000Z | 2022-02-28T03:29:40.000Z | // Copyright (c) 2004
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// ... | 24.929577 | 114 | 0.712429 | liminchen |
4f4b473a0972f734c233f9d12c6b1c3556a9600d | 2,793 | cpp | C++ | migration.cpp | pkrdac/pkrcustodian | 61deaace35e931d8a461b74087307fd1bca6770a | [
"MIT"
] | null | null | null | migration.cpp | pkrdac/pkrcustodian | 61deaace35e931d8a461b74087307fd1bca6770a | [
"MIT"
] | null | null | null | migration.cpp | pkrdac/pkrcustodian | 61deaace35e931d8a461b74087307fd1bca6770a | [
"MIT"
] | null | null | null |
template <typename T>
void cleanTable(uint64_t code, uint64_t account){
T db(code, account);
while(db.begin() != db.end()){
auto itr = --db.end();
db.erase(itr);
}
}
void daccustodian::migrate() {
// contr_config2 oldconf = configs();
// contr_config newconfig{
// oldc... | 33.25 | 191 | 0.587898 | pkrdac |
4f4beddf562a4a37c3904c3db05d421955ad1e32 | 7,066 | cpp | C++ | Phoenix3D/PX2Core/PX2Log.cpp | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | 36 | 2016-04-24T01:40:38.000Z | 2022-01-18T07:32:26.000Z | Phoenix3D/PX2Core/PX2Log.cpp | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | null | null | null | Phoenix3D/PX2Core/PX2Log.cpp | PheonixFoundation/Phoenix3D | bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99 | [
"BSL-1.0"
] | 16 | 2016-06-13T08:43:51.000Z | 2020-09-15T13:25:58.000Z | // PX2Log.cpp
#include "PX2Log.hpp"
#include "PX2Assert.hpp"
#include "PX2Memory.hpp"
#include "PX2LogFileHandler.hpp"
#include "PX2LogConsoleHandler.hpp"
#include "PX2LogOutputWindowHandler.hpp"
#include "PX2Time.hpp"
#include "PX2System.hpp"
#include "PX2LocalDateTime.hpp"
using namespace PX2;
//-------------------... | 24.968198 | 81 | 0.439994 | PheonixFoundation |
4f4cae63eb5f875800f7eac203c2a050ac0b90c3 | 4,004 | cpp | C++ | shared/Irrlicht/source/Irrlicht/CImageWriterTGA.cpp | iProgramMC/proton | 1c383134b44a22cebab8e8db1afb17afd59dd543 | [
"XFree86-1.1"
] | 47 | 2018-07-30T12:05:15.000Z | 2022-03-31T04:12:03.000Z | shared/Irrlicht/source/Irrlicht/CImageWriterTGA.cpp | iProgramMC/proton | 1c383134b44a22cebab8e8db1afb17afd59dd543 | [
"XFree86-1.1"
] | 11 | 2019-03-31T13:05:10.000Z | 2021-11-03T11:37:18.000Z | shared/Irrlicht/source/Irrlicht/CImageWriterTGA.cpp | iProgramMC/proton | 1c383134b44a22cebab8e8db1afb17afd59dd543 | [
"XFree86-1.1"
] | 16 | 2019-07-09T07:59:00.000Z | 2022-02-25T15:49:06.000Z | // Copyright (C) 2002-2009 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "CImageWriterTGA.h"
#ifdef _IRR_COMPILE_WITH_TGA_WRITER_
#include "CImageLoaderTGA.h"
#include "IWriteFile.h"
#include "CColorCo... | 27.805556 | 122 | 0.721778 | iProgramMC |
4f4d121baa5e33ce8d70855811ad9d4fb867b1bf | 11,822 | cpp | C++ | debugger/src/cpu_sysc_plugin/riverlib/cache/cache_top.cpp | mfkiwl/riscv_vhdl-64bit-fault-tolerant | 9c18c09c0f2ae664e6e95cf54d737203849a9253 | [
"Apache-2.0"
] | 432 | 2015-11-08T20:32:45.000Z | 2022-03-30T07:53:01.000Z | debugger/src/cpu_sysc_plugin/riverlib/cache/cache_top.cpp | mfkiwl/riscv_vhdl-64bit-fault-tolerant | 9c18c09c0f2ae664e6e95cf54d737203849a9253 | [
"Apache-2.0"
] | 37 | 2016-02-23T13:13:34.000Z | 2021-09-27T14:06:50.000Z | debugger/src/cpu_sysc_plugin/riverlib/cache/cache_top.cpp | mfkiwl/riscv_vhdl-64bit-fault-tolerant | 9c18c09c0f2ae664e6e95cf54d737203849a9253 | [
"Apache-2.0"
] | 99 | 2015-12-07T05:17:18.000Z | 2022-02-17T11:17:14.000Z | /*
* Copyright 2019 Sergey Khabarov, sergeykhbr@gmail.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 37.293375 | 96 | 0.721874 | mfkiwl |
4f4e4707de8d78202a194ae0af5da4badbe160e5 | 3,639 | cpp | C++ | Modules/QtWidgets/src/QmitkMouseModeSwitcher.cpp | gaoxiaojun/minircp | fe20201a768515cd0387f0b76a16c0c766cf939d | [
"BSD-3-Clause"
] | 1 | 2019-01-22T20:33:16.000Z | 2019-01-22T20:33:16.000Z | Modules/QtWidgets/src/QmitkMouseModeSwitcher.cpp | Sotatek-TuyenLuu/MITK_src | c17a156480f5bddf84c340eac62415d46fcc01ab | [
"BSD-3-Clause"
] | null | null | null | Modules/QtWidgets/src/QmitkMouseModeSwitcher.cpp | Sotatek-TuyenLuu/MITK_src | c17a156480f5bddf84c340eac62415d46fcc01ab | [
"BSD-3-Clause"
] | null | null | null | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 30.579832 | 120 | 0.706788 | gaoxiaojun |
4f4e5da22c8d0c726a617caf199929b35a7d6656 | 4,807 | cpp | C++ | AMS/源码/androidP/frameworks/base/core/jni/android_os_Trace.cpp | chen188669/AndroidStudyNotes | 1fa01eb88c267049dda1e4bd998bff2e4abd92b4 | [
"Apache-2.0"
] | null | null | null | AMS/源码/androidP/frameworks/base/core/jni/android_os_Trace.cpp | chen188669/AndroidStudyNotes | 1fa01eb88c267049dda1e4bd998bff2e4abd92b4 | [
"Apache-2.0"
] | null | null | null | AMS/源码/androidP/frameworks/base/core/jni/android_os_Trace.cpp | chen188669/AndroidStudyNotes | 1fa01eb88c267049dda1e4bd998bff2e4abd92b4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 32.70068 | 86 | 0.671729 | chen188669 |
4f4fc080380713620b65905d79eaa28da6af743b | 157,085 | cc | C++ | src/bin/dhcp4/tests/dhcp4_srv_unittest.cc | piskyscan/kea | 72c0a679a1101aada8d22c98abf7bde615fa7a11 | [
"Apache-2.0"
] | null | null | null | src/bin/dhcp4/tests/dhcp4_srv_unittest.cc | piskyscan/kea | 72c0a679a1101aada8d22c98abf7bde615fa7a11 | [
"Apache-2.0"
] | null | null | null | src/bin/dhcp4/tests/dhcp4_srv_unittest.cc | piskyscan/kea | 72c0a679a1101aada8d22c98abf7bde615fa7a11 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2011-2020 Internet Systems Consortium, Inc. ("ISC")
//
// 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/.
#include <config.h>
#include <sstream>
#incl... | 37.171084 | 95 | 0.648031 | piskyscan |
4f4fc443e4052b773bf163d1b8d70cc41877e6da | 482 | cpp | C++ | src/main.cpp | bas200o/fenceless-robotics | 7c7592c079f406a65aba034c17f70b1159cb79f3 | [
"Apache-2.0"
] | null | null | null | src/main.cpp | bas200o/fenceless-robotics | 7c7592c079f406a65aba034c17f70b1159cb79f3 | [
"Apache-2.0"
] | 1 | 2021-12-16T12:55:40.000Z | 2021-12-16T13:10:04.000Z | src/main.cpp | bas200o/fenceless-robotics | 7c7592c079f406a65aba034c17f70b1159cb79f3 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <thread>
#include <chrono>
#include "../include/SettingSingleton.hpp"
#include "../include/Controller3D.hpp"
#include "../include/DataManager.hpp"
int main(int argc, char *argv[])
{
CameraConnector *camCon = CameraConnector::getInstance();
camCon->connectCameras(0, 1);
camCon->conn... | 21.909091 | 59 | 0.709544 | bas200o |
4f4fe0a27b10916aee260cc632293d919bba7065 | 1,875 | hpp | C++ | gvsoc/gvsoc/models/cpu/iss/include/iss_core.hpp | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | 1 | 2020-01-29T15:39:31.000Z | 2020-01-29T15:39:31.000Z | gvsoc/gvsoc/models/cpu/iss/include/iss_core.hpp | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | null | null | null | gvsoc/gvsoc/models/cpu/iss/include/iss_core.hpp | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 ETH Zurich and University of Bologna
*
* 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... | 28.409091 | 114 | 0.755733 | knmcguire |
4f51163212ee32f2e6e0094ede198e6f2a166b36 | 5,236 | cpp | C++ | orca/gporca/libnaucrates/src/parser/CParseHandlerScalarSubqueryQuantified.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 3 | 2017-12-10T16:41:21.000Z | 2020-07-08T12:59:12.000Z | orca/gporca/libnaucrates/src/parser/CParseHandlerScalarSubqueryQuantified.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | orca/gporca/libnaucrates/src/parser/CParseHandlerScalarSubqueryQuantified.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 4 | 2017-12-10T16:41:35.000Z | 2020-11-28T12:20:30.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 EMC Corp.
//
// @filename:
// CParseHandlerScalarSubqueryQuantified.cpp
//
// @doc:
// Implementation of the SAX parse handler class for ANY and ALL subquery
// operators.
//
// @owner:
//
//... | 28.928177 | 123 | 0.654698 | vitessedata |
4f5167869a49afdb5b5f8137893247d673b5e466 | 3,173 | cpp | C++ | include/liveMedia/MPEG1or2DemuxedElementaryStream.cpp | RayanWang/DShowRtspVideo | cd8d641758dad71ef11b693e5716a05acfe86fca | [
"MIT"
] | 5 | 2019-02-11T02:21:37.000Z | 2022-03-26T16:17:32.000Z | include/liveMedia/MPEG1or2DemuxedElementaryStream.cpp | RayanWang/DShowRtspVideo | cd8d641758dad71ef11b693e5716a05acfe86fca | [
"MIT"
] | null | null | null | include/liveMedia/MPEG1or2DemuxedElementaryStream.cpp | RayanWang/DShowRtspVideo | cd8d641758dad71ef11b693e5716a05acfe86fca | [
"MIT"
] | 6 | 2019-01-09T08:18:19.000Z | 2021-01-08T18:21:27.000Z | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | 35.651685 | 81 | 0.765206 | RayanWang |
4f51dec990b07319272310a25188475c8f50b7bc | 28,836 | cpp | C++ | app/src/main/cpp/dpi-bypass.cpp | vaginessa/DPITunnel | b68259e8b19241bf47068326911ae6ade6edba15 | [
"MIT"
] | 1 | 2021-02-03T14:11:44.000Z | 2021-02-03T14:11:44.000Z | app/src/main/cpp/dpi-bypass.cpp | vaginessa/DPITunnel | b68259e8b19241bf47068326911ae6ade6edba15 | [
"MIT"
] | null | null | null | app/src/main/cpp/dpi-bypass.cpp | vaginessa/DPITunnel | b68259e8b19241bf47068326911ae6ade6edba15 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <regex>
#include <fstream>
#include <sstream>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <unistd.h>
#include <rapidjson/document.h>
#include <rapidjson/prettywriter.h>
#include <... | 29.636177 | 212 | 0.703496 | vaginessa |
4f51f1fd6c1bc77cd55ee498df2e416278997d04 | 4,702 | cpp | C++ | src/formats/nsf_decoder.cpp | lexus2k/vgm_converter | b7a552a3a2f5287913b88f47209dc48bbcd0623f | [
"MIT"
] | 2 | 2020-12-27T03:46:24.000Z | 2021-10-09T15:02:21.000Z | src/formats/nsf_decoder.cpp | lexus2k/vgm_decoder | b7a552a3a2f5287913b88f47209dc48bbcd0623f | [
"MIT"
] | null | null | null | src/formats/nsf_decoder.cpp | lexus2k/vgm_decoder | b7a552a3a2f5287913b88f47209dc48bbcd0623f | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2020 Aleksei Dynda
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, publish, ... | 28.670732 | 102 | 0.676521 | lexus2k |
4f524e6082dcc56f60148c59b1f970b3c0809c9e | 685 | cpp | C++ | Foundation/src/RWLock_STD.cpp | astlin/poco | b878152e9034b89c923bc3c97e16ae1b92c09bf4 | [
"BSL-1.0"
] | 3 | 2015-06-08T15:09:28.000Z | 2020-12-31T02:28:37.000Z | Foundation/src/RWLock_STD.cpp | astlin/poco | b878152e9034b89c923bc3c97e16ae1b92c09bf4 | [
"BSL-1.0"
] | 3 | 2021-06-02T02:59:06.000Z | 2021-09-16T04:35:06.000Z | Foundation/src/RWLock_STD.cpp | astlin/poco | b878152e9034b89c923bc3c97e16ae1b92c09bf4 | [
"BSL-1.0"
] | 6 | 2021-06-02T02:39:34.000Z | 2022-03-29T05:51:57.000Z | //
// RWLock_WIN32.cpp
//
// Library: Foundation
// Package: Threading
// Module: RWLock
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/RWLock_STD.h"
namespace Poco {
RWLockImpl::RWLockImpl(): _mutex()
{
... | 11.810345 | 74 | 0.690511 | astlin |
4f52aed82350248d7c8797179ecd740f0b68d91b | 12,898 | cc | C++ | net/proxy/proxy_config_service_android.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/proxy/proxy_config_service_android.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | net/proxy/proxy_config_service_android.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/proxy/proxy_config_service_android.h"
#include <sys/system_properties.h>
#include "base/android/jni_string.h"
#include "base/basictype... | 35.144414 | 80 | 0.721275 | tmpsantos |
4f532c0d5efcd3495953eaae6128c2a1c2b7bcda | 3,750 | cc | C++ | tools/fidlcat/interception_tests/ioports_test.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | tools/fidlcat/interception_tests/ioports_test.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | tools/fidlcat/interception_tests/ioports_test.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <gtest/gtest.h>
#include "tools/fidlcat/interception_tests/interception_workflow_test.h"
namespace fidlcat {
// zx_ioports_request tests.
std:... | 45.731707 | 94 | 0.562133 | wwjiang007 |
4f55415d9dfe648373db56c769a566ffc8b52c9a | 3,040 | cpp | C++ | gporca/libnaucrates/src/operators/CDXLScalarJoinFilter.cpp | Tanmoy248/gpdb | 67fa1568b3ef2dc1c7757e3e94705de2f92e124b | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | gporca/libnaucrates/src/operators/CDXLScalarJoinFilter.cpp | Tanmoy248/gpdb | 67fa1568b3ef2dc1c7757e3e94705de2f92e124b | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | gporca/libnaucrates/src/operators/CDXLScalarJoinFilter.cpp | Tanmoy248/gpdb | 67fa1568b3ef2dc1c7757e3e94705de2f92e124b | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2022-03-22T18:45:41.000Z | 2022-03-22T18:45:41.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2010 Greenplum, Inc.
//
// @filename:
// CDXLScalarJoinFilter.cpp
//
// @doc:
// Implementation of DXL join filter operator
//---------------------------------------------------------------------------... | 23.030303 | 99 | 0.511842 | Tanmoy248 |
4f556eb0fdb3606f68d53dd17215a1559bdcac58 | 4,006 | cpp | C++ | tests/testGradientDescentOptimizer.cpp | sdmiller/gtsam_pcl | 1e607bd75090d35e325a8fb37a6c5afe630f1207 | [
"BSD-3-Clause"
] | 11 | 2015-02-04T16:41:47.000Z | 2021-12-10T07:02:44.000Z | tests/testGradientDescentOptimizer.cpp | malcolmreynolds/GTSAM | e911b4d39f8a8c8604663bd46f10e7f53c860ae8 | [
"BSD-3-Clause"
] | null | null | null | tests/testGradientDescentOptimizer.cpp | malcolmreynolds/GTSAM | e911b4d39f8a8c8604663bd46f10e7f53c860ae8 | [
"BSD-3-Clause"
] | 6 | 2015-09-10T12:06:08.000Z | 2021-12-10T07:02:48.000Z | /**
* @file testGradientDescentOptimizer.cpp
* @brief
* @author ydjian
* @date Jun 11, 2012
*/
#include <gtsam/slam/PriorFactor.h>
#include <gtsam/slam/BetweenFactor.h>
#include <gtsam/nonlinear/NonlinearConjugateGradientOptimizer.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include <gtsam/nonlinea... | 37.439252 | 97 | 0.665502 | sdmiller |
4f592b5fefaabab727c6e9ef71e75b562c3def73 | 7,515 | cc | C++ | Path.cc | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | Path.cc | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | Path.cc | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | #include "Path.hh"
#include "PathVisitor.hh"
#include <Core/Types.hh>
#include <Fsa/Automaton.hh>
namespace Permute {
Arc::Arc (size_t index, Fsa::StateId source, Fsa::StateId target, double score) :
PathImpl (score),
original_index_ (index),
source_ (source),
target_ (target)
{}
size_t Arc::g... | 31.443515 | 111 | 0.601597 | lemrobotry |
4f5a13ecc94699a96d2ea1b3b8a631cc44dec9e8 | 126,361 | cpp | C++ | VoIPController.cpp | openaphid/libtgvoip | b98a01ea44916444cb1b9192f80b46f974d296a6 | [
"Unlicense"
] | null | null | null | VoIPController.cpp | openaphid/libtgvoip | b98a01ea44916444cb1b9192f80b46f974d296a6 | [
"Unlicense"
] | null | null | null | VoIPController.cpp | openaphid/libtgvoip | b98a01ea44916444cb1b9192f80b46f974d296a6 | [
"Unlicense"
] | null | null | null | //
// libtgvoip is free and unencumbered public domain software.
// For more information, see http://unlicense.org or the UNLICENSE file
// you should have received with this source code distribution.
//
#ifndef _WIN32
#include <unistd.h>
#include <sys/time.h>
#endif
#include <errno.h>
#include <string.h>
#include <wc... | 31.79693 | 339 | 0.713124 | openaphid |
4f5bc2b9a4b8010053a9632b2ab17252645fba7f | 128 | cpp | C++ | Tracking/Viterbi/Count.cpp | BrockFletcher/BaxterAlgorithms | aeecaa39a782878798036e6724ad5027b7062959 | [
"MIT"
] | 31 | 2019-02-22T00:43:47.000Z | 2022-03-30T13:39:50.000Z | Tracking/Viterbi/Count.cpp | BrockFletcher/BaxterAlgorithms | aeecaa39a782878798036e6724ad5027b7062959 | [
"MIT"
] | 17 | 2019-01-26T19:51:49.000Z | 2021-05-15T07:21:57.000Z | Tracking/Viterbi/Count.cpp | BrockFletcher/BaxterAlgorithms | aeecaa39a782878798036e6724ad5027b7062959 | [
"MIT"
] | 14 | 2019-10-18T23:08:49.000Z | 2022-02-01T21:39:29.000Z | #include "Count.h"
Count::Count(int aValue, int aNumScores, const double *aScores)
: Variable(aValue, aNumScores, aScores) {
} | 25.6 | 63 | 0.734375 | BrockFletcher |
4f5be879dc43331155dfeaddfe9858377e21f6e2 | 4,483 | inl | C++ | depends/include/CUDA/thrust/detail/backend/cuda/set_difference.inl | mtheory101/hybrid-rendering-thesis | 314a200726450e27982e1a95eec3702ad5c9d320 | [
"MIT"
] | 1 | 2019-06-14T20:22:21.000Z | 2019-06-14T20:22:21.000Z | depends/include/CUDA/thrust/detail/backend/cuda/set_difference.inl | ptrefall/hybrid-rendering-thesis | 72be3b3f6b457741737cd83cefb90f2bdbaa46dc | [
"MIT"
] | null | null | null | depends/include/CUDA/thrust/detail/backend/cuda/set_difference.inl | ptrefall/hybrid-rendering-thesis | 72be3b3f6b457741737cd83cefb90f2bdbaa46dc | [
"MIT"
] | null | null | null | /*
* Copyright 2008-2012 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 36.153226 | 107 | 0.642427 | mtheory101 |
4f5c0054a89260c531cf53ac66e033bc22e4d4e2 | 4,752 | cpp | C++ | hphp/runtime/ext/vsdebug/stack_trace_command.cpp | ActindoForks/hhvm | 670822e2b396f2d411f4e841b4ec9ae8627ba965 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/ext/vsdebug/stack_trace_command.cpp | ActindoForks/hhvm | 670822e2b396f2d411f4e841b4ec9ae8627ba965 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/ext/vsdebug/stack_trace_command.cpp | ActindoForks/hhvm | 670822e2b396f2d411f4e841b4ec9ae8627ba965 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2017-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 33.464789 | 80 | 0.602062 | ActindoForks |
4f5c86db3142b9443086753db1890c872c8115f7 | 4,795 | cc | C++ | paddle/fluid/distributed/ps/table/graph/graph_weighted_sampler.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | paddle/fluid/distributed/ps/table/graph/graph_weighted_sampler.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | paddle/fluid/distributed/ps/table/graph/graph_weighted_sampler.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 1 | 2021-12-09T08:59:17.000Z | 2021-12-09T08:59:17.000Z | // Copyright (c) 2021 PaddlePaddle 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... | 29.417178 | 75 | 0.658186 | L-Net-1992 |
4f5e4e436dca0d62eaca086e67a39eb28d5c00b9 | 2,599 | cpp | C++ | ironbeepp/tests/test_module_bootstrap_b.cpp | b1v1r/ironbee | 97b453afd9c3dc70342c6183a875bde22c9c4a76 | [
"Apache-2.0"
] | 148 | 2015-01-10T01:53:39.000Z | 2022-03-20T20:48:12.000Z | ironbeepp/tests/test_module_bootstrap_b.cpp | ErikHendriks/ironbee | 97b453afd9c3dc70342c6183a875bde22c9c4a76 | [
"Apache-2.0"
] | 8 | 2015-03-09T15:50:36.000Z | 2020-10-10T19:23:06.000Z | ironbeepp/tests/test_module_bootstrap_b.cpp | ErikHendriks/ironbee | 97b453afd9c3dc70342c6183a875bde22c9c4a76 | [
"Apache-2.0"
] | 46 | 2015-03-08T22:45:42.000Z | 2022-01-15T13:47:59.000Z | /*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this file to You under ... | 27.357895 | 78 | 0.636399 | b1v1r |
4f5e9d8fb21dc216a02d695b7f045843202c128a | 749 | cpp | C++ | test/test_alarm.cpp | fredrikdanielmoller/p-net | b927ea0440869e27b97865d6505a655132862b8f | [
"BSD-3-Clause"
] | null | null | null | test/test_alarm.cpp | fredrikdanielmoller/p-net | b927ea0440869e27b97865d6505a655132862b8f | [
"BSD-3-Clause"
] | null | null | null | test/test_alarm.cpp | fredrikdanielmoller/p-net | b927ea0440869e27b97865d6505a655132862b8f | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* _ _ _
* _ __ | |_ _ | | __ _ | |__ ___
* | '__|| __|(_)| | / _` || '_ \ / __|
* | | | |_ _ | || (_| || |_) |\__ \
* |_| \__|(_)|_| \__,_||_.__/ |___/
*
* www.rt-labs.com
* Copyright 2018 rt-labs AB, Sweden.
... | 24.966667 | 70 | 0.471295 | fredrikdanielmoller |
4f615afee935a2e01881777c8915d817af305a9e | 237 | cpp | C++ | Sources/Network/Ftp/FtpResponse.cpp | CarysT/Acid | ab81fd13ab288ceaa152e0f64f6d97daf032fc19 | [
"MIT"
] | 977 | 2019-05-23T01:53:42.000Z | 2022-03-30T04:22:41.000Z | Sources/Network/Ftp/FtpResponse.cpp | CarysT/Acid | ab81fd13ab288ceaa152e0f64f6d97daf032fc19 | [
"MIT"
] | 44 | 2019-06-02T17:30:32.000Z | 2022-03-27T14:22:40.000Z | Sources/Network/Ftp/FtpResponse.cpp | CarysT/Acid | ab81fd13ab288ceaa152e0f64f6d97daf032fc19 | [
"MIT"
] | 121 | 2019-05-23T05:18:01.000Z | 2022-03-27T21:59:23.000Z | #include "FtpResponse.hpp"
namespace acid {
FtpResponse::FtpResponse(Status code, std::string message) :
status(code),
message(std::move(message)) {
}
bool FtpResponse::IsOk() const {
return static_cast<uint32_t>(status) < 400;
}
}
| 18.230769 | 60 | 0.721519 | CarysT |
4f61ad84ba1e6fd4d3c573f203f05b76e16b9f11 | 1,790 | hpp | C++ | libs/boost_1_72_0/boost/spirit/home/x3/numeric/bool_policies.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/spirit/home/x3/numeric/bool_policies.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/spirit/home/x3/numeric/bool_policies.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | /*=============================================================================
Copyright (c) 2009 Hartmut Kaiser
Copyright (c) 2014 Joel de Guzman
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)
======... | 38.913043 | 80 | 0.586034 | henrywarhurst |
4f638d5239c108936b3126e87662f0a53c313351 | 2,618 | hpp | C++ | naos/tests/kernel/test.hpp | kadds/NaOS | ea5eeed6f777b8f62acf3400b185c94131b6e1f0 | [
"BSD-3-Clause"
] | 14 | 2020-02-12T11:07:58.000Z | 2022-02-02T00:05:08.000Z | naos/tests/kernel/test.hpp | kadds/NaOS | ea5eeed6f777b8f62acf3400b185c94131b6e1f0 | [
"BSD-3-Clause"
] | null | null | null | naos/tests/kernel/test.hpp | kadds/NaOS | ea5eeed6f777b8f62acf3400b185c94131b6e1f0 | [
"BSD-3-Clause"
] | 4 | 2020-02-27T09:53:53.000Z | 2021-11-07T17:43:44.000Z | #pragma once
#include "comm.hpp"
#include <functional>
#include <iostream>
#include <string>
#include <thread>
int add_test(std::function<void()> f, std::string module, std::string name);
#define test(module, name) int x##module##_##name = add_test(test_##module##_##name, #module, #name);
#define assert(exp) ... | 26.444444 | 120 | 0.297173 | kadds |
4f641374fe7dd7322643e157424b5777f92256cd | 19,590 | cc | C++ | chromium/chrome/browser/ui/views/create_application_shortcut_view.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/ui/views/create_application_shortcut_view.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/ui/views/create_application_shortcut_view.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/create_application_shortcut_view.h"
#include <stddef.h>
#include <algorithm>
#include <cmath>
#include <utility>
#... | 34.734043 | 80 | 0.722409 | wedataintelligence |
4f64385ce3ed0affd4d0b5f2abc2aae2b4cb815f | 8,625 | cpp | C++ | dev/Code/Sandbox/Editor/TrackView/SequenceKeyUIControls.cpp | Kezryk/lumberyard | d21172c26536133a4213873469a171f4f0c4280c | [
"AML"
] | 1 | 2019-02-06T19:12:41.000Z | 2019-02-06T19:12:41.000Z | dev/Code/Sandbox/Editor/TrackView/SequenceKeyUIControls.cpp | Kezryk/lumberyard | d21172c26536133a4213873469a171f4f0c4280c | [
"AML"
] | null | null | null | dev/Code/Sandbox/Editor/TrackView/SequenceKeyUIControls.cpp | Kezryk/lumberyard | d21172c26536133a4213873469a171f4f0c4280c | [
"AML"
] | null | null | null | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 37.995595 | 167 | 0.596754 | Kezryk |
4f646880a7fb37dd5028b785f9af4096fd609eef | 80,294 | cpp | C++ | src/libawkward/array/UnionArray.cpp | ioanaif/awkward-1.0 | 22501ba218646dc24dc515c4394eb22f126d340d | [
"BSD-3-Clause"
] | 2 | 2021-06-26T11:31:32.000Z | 2021-06-26T11:31:40.000Z | src/libawkward/array/UnionArray.cpp | henryiii/awkward-1.0 | d9b8082314911041acc7b1c1b63313d66c2d3315 | [
"BSD-3-Clause"
] | null | null | null | src/libawkward/array/UnionArray.cpp | henryiii/awkward-1.0 | d9b8082314911041acc7b1c1b63313d66c2d3315 | [
"BSD-3-Clause"
] | null | null | null | // BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
#define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/array/UnionArray.cpp", line)
#define FILENAME_C(line) FILENAME_FOR_EXCEPTIONS_C("src/libawkward/array/UnionArray.cpp", line)
#include <sstream>
#include <type_traits>... | 34.255119 | 98 | 0.534598 | ioanaif |
4f6475358ea4f20ea6132cf0f3024214390efed3 | 35,038 | cpp | C++ | apps/vaporgui/misc/vizfeatureparams.cpp | yyr/vapor | cdebac81212ffa3f811064bbd7625ffa9089782e | [
"BSD-3-Clause"
] | null | null | null | apps/vaporgui/misc/vizfeatureparams.cpp | yyr/vapor | cdebac81212ffa3f811064bbd7625ffa9089782e | [
"BSD-3-Clause"
] | null | null | null | apps/vaporgui/misc/vizfeatureparams.cpp | yyr/vapor | cdebac81212ffa3f811064bbd7625ffa9089782e | [
"BSD-3-Clause"
] | null | null | null | //************************************************************************
// *
// Copyright (C) 2004 *
// University Corporation for Atmospheric Research *
// All Rights Reserved *
// *
//**********************************************************... | 40.181193 | 152 | 0.74345 | yyr |
4f662831d06ce2f8e3aa5aa98ab2dd8b3d5eb7bb | 8,255 | hh | C++ | src/arch/arm/insts/mem64.hh | shantanu-gupta/gem5 | 94af1a6531c5a14da0d67c0c1f5abd8e22e6e514 | [
"BSD-3-Clause"
] | 30 | 2019-07-12T02:35:33.000Z | 2022-02-22T03:34:35.000Z | src/arch/arm/insts/mem64.hh | shantanu-gupta/gem5 | 94af1a6531c5a14da0d67c0c1f5abd8e22e6e514 | [
"BSD-3-Clause"
] | 2 | 2021-02-15T15:34:34.000Z | 2022-01-30T17:46:00.000Z | src/arch/arm/insts/mem64.hh | shantanu-gupta/gem5 | 94af1a6531c5a14da0d67c0c1f5abd8e22e6e514 | [
"BSD-3-Clause"
] | 12 | 2019-10-16T02:23:23.000Z | 2022-03-30T09:21:10.000Z | /*
* Copyright (c) 2011-2013,2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of... | 31.268939 | 78 | 0.687704 | shantanu-gupta |
4f671ee6b7f0441b33f170e19d26423416e82475 | 15,036 | hpp | C++ | Protocol_Omega.sara_dbe1/HALs/Addons/store/dialog/defines.hpp | JhonArroyo/ArmA-3-Scripts | 3b7b9fe6aad5a26da8b19dc27a8925d15054ccb7 | [
"CC0-1.0"
] | null | null | null | Protocol_Omega.sara_dbe1/HALs/Addons/store/dialog/defines.hpp | JhonArroyo/ArmA-3-Scripts | 3b7b9fe6aad5a26da8b19dc27a8925d15054ccb7 | [
"CC0-1.0"
] | null | null | null | Protocol_Omega.sara_dbe1/HALs/Addons/store/dialog/defines.hpp | JhonArroyo/ArmA-3-Scripts | 3b7b9fe6aad5a26da8b19dc27a8925d15054ccb7 | [
"CC0-1.0"
] | null | null | null | // Control types
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#define CT_CHECKBOXES 7
#define CT_PROGRESS 8
#define CT_HTML 9
#de... | 29.774257 | 187 | 0.64186 | JhonArroyo |
4f67aec09b687a25b9d124c18f425af17d41eb39 | 8,233 | hpp | C++ | tools/quickbook/src/actions.hpp | AishwaryaDoosa/Boost1.49 | 67bdb3b36d72dec7414a62f3b050162e608ea266 | [
"BSL-1.0"
] | null | null | null | tools/quickbook/src/actions.hpp | AishwaryaDoosa/Boost1.49 | 67bdb3b36d72dec7414a62f3b050162e608ea266 | [
"BSL-1.0"
] | null | null | null | tools/quickbook/src/actions.hpp | AishwaryaDoosa/Boost1.49 | 67bdb3b36d72dec7414a62f3b050162e608ea266 | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2002 2004 2006 Joel de Guzman
Copyright (c) 2004 Eric Niebler
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file... | 26.905229 | 109 | 0.604154 | AishwaryaDoosa |
4f67c83ad2ec31451a95d7a1f6300e2aef3a1be4 | 5,017 | cpp | C++ | src/3rdparty/torrent-rasterbar/examples/dump_torrent.cpp | adem4ik/LIII | 6aed4f91641c63b0e3d8d121769b9ecbb832602f | [
"MIT"
] | 664 | 2017-08-14T22:25:24.000Z | 2022-03-29T13:54:39.000Z | src/3rdparty/torrent-rasterbar/examples/dump_torrent.cpp | adem4ik/LIII | 6aed4f91641c63b0e3d8d121769b9ecbb832602f | [
"MIT"
] | 21 | 2018-11-05T22:03:20.000Z | 2022-03-25T15:04:59.000Z | src/3rdparty/torrent-rasterbar/examples/dump_torrent.cpp | adem4ik/LIII | 6aed4f91641c63b0e3d8d121769b9ecbb832602f | [
"MIT"
] | 65 | 2019-07-23T11:56:01.000Z | 2022-03-16T06:17:37.000Z | /*
Copyright (c) 2003-2017, Arvid Norberg
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 ... | 32.577922 | 109 | 0.662348 | adem4ik |
4f6807621b084880fd71a1172b9a6873733aa067 | 3,731 | hpp | C++ | include/bio/detail/magic_get.hpp | Irallia/b.i.o. | 4bc8b96221ba96c99797df986e14741bafc030e6 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T10:25:40.000Z | 2022-03-22T10:25:40.000Z | include/bio/detail/magic_get.hpp | Irallia/b.i.o. | 4bc8b96221ba96c99797df986e14741bafc030e6 | [
"BSD-3-Clause"
] | 13 | 2021-11-08T13:44:57.000Z | 2022-03-07T14:09:29.000Z | include/bio/detail/magic_get.hpp | Irallia/b.i.o. | 4bc8b96221ba96c99797df986e14741bafc030e6 | [
"BSD-3-Clause"
] | 3 | 2021-11-10T07:09:05.000Z | 2022-03-02T12:07:52.000Z | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
// Copyright (c) 2020-2021, deCODE Genetics
// This file may be used, modifie... | 30.333333 | 119 | 0.65532 | Irallia |
4f68638b22e7104e9abdf65acb12e18cc8789b0e | 5,753 | cpp | C++ | sky/engine/core/css/resolver/MatchedPropertiesCache.cpp | viettrungluu-cr/mojo | 950de5bc66e00aeb1f7bdf2987f253986c0a7614 | [
"BSD-3-Clause"
] | 5 | 2019-05-24T01:25:34.000Z | 2020-04-06T05:07:01.000Z | sky/engine/core/css/resolver/MatchedPropertiesCache.cpp | viettrungluu-cr/mojo | 950de5bc66e00aeb1f7bdf2987f253986c0a7614 | [
"BSD-3-Clause"
] | null | null | null | sky/engine/core/css/resolver/MatchedPropertiesCache.cpp | viettrungluu-cr/mojo | 950de5bc66e00aeb1f7bdf2987f253986c0a7614 | [
"BSD-3-Clause"
] | 5 | 2016-12-23T04:21:10.000Z | 2020-06-18T13:52:33.000Z | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
* Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
* Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
* Copyright (C) 2007 Alexey P... | 37.357143 | 152 | 0.708326 | viettrungluu-cr |
4f686538131713c4c3914ca2126dfee2f6e9ad09 | 2,465 | cpp | C++ | SDK/CommodityDemandFramework_functions.cpp | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | 3 | 2021-03-27T08:30:37.000Z | 2021-04-18T19:32:53.000Z | SDK/CommodityDemandFramework_functions.cpp | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | null | null | null | SDK/CommodityDemandFramework_functions.cpp | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | 1 | 2021-06-01T03:05:50.000Z | 2021-06-01T03:05:50.000Z | // Name: SeaOfThieves, Version: 2.0.23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------... | 15.601266 | 81 | 0.727789 | alxalx14 |
4f697aaf2a38cb40b6f29216c3bdeb469575c207 | 3,824 | cpp | C++ | source/class.cpp | matusnovak/squirrel_bind | 534a9e7d7199453548814e8f875915c895c474f8 | [
"MIT"
] | 37 | 2018-03-04T20:32:38.000Z | 2022-02-09T04:11:18.000Z | source/class.cpp | matusnovak/squirrel_bind | 534a9e7d7199453548814e8f875915c895c474f8 | [
"MIT"
] | 4 | 2019-01-02T09:21:28.000Z | 2021-05-15T21:21:21.000Z | source/class.cpp | matusnovak/squirrel_bind | 534a9e7d7199453548814e8f875915c895c474f8 | [
"MIT"
] | 8 | 2018-09-08T19:02:28.000Z | 2022-01-30T22:27:32.000Z | #include "../include/simplesquirrel/object.hpp"
#include "../include/simplesquirrel/class.hpp"
#include "../include/simplesquirrel/exceptions.hpp"
#include "../include/simplesquirrel/function.hpp"
#include <squirrel.h>
#include <forward_list>
namespace ssq {
Class::Class() :Object(), tableSet(), tableGet() {
}
... | 27.710145 | 107 | 0.532688 | matusnovak |
4f6b0e4eb05519c6036c5c4daeef080b4004a5bd | 2,695 | hpp | C++ | master/core/third/boost/container/scoped_allocator_fwd.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | master/core/third/boost/container/scoped_allocator_fwd.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | master/core/third/boost/container/scoped_allocator_fwd.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2011-2012. 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)
//
// See http://www.boost.org/libs/c... | 32.083333 | 95 | 0.724675 | importlib |
4f6b6ef94e3024d5eb2e7f6608890e06db804b5c | 10,397 | cpp | C++ | graphics/debug/profilerUI.cpp | wulcat/Physics3D | dab5574f28f1e2831d568a5ce104f1b4a7bc28bb | [
"MIT"
] | null | null | null | graphics/debug/profilerUI.cpp | wulcat/Physics3D | dab5574f28f1e2831d568a5ce104f1b4a7bc28bb | [
"MIT"
] | null | null | null | graphics/debug/profilerUI.cpp | wulcat/Physics3D | dab5574f28f1e2831d568a5ce104f1b4a7bc28bb | [
"MIT"
] | null | null | null | #include "core.h"
#include "profilerUI.h"
#include <sstream>
#include <GL/glew.h>
#include "texture.h"
#include "path/path.h"
#include "gui/gui.h"
#include "font.h"
#include "../physics/math/constants.h"
#include "../physics/datastructures/boundsTree.h"
namespace P3D::Graphics {
#pragma region PieChart
//! PieCh... | 30.136232 | 200 | 0.684717 | wulcat |
4f6ca398b4bb22460582d766f5c7790540a67c5e | 1,994 | cpp | C++ | EU4toV2/Source/EU4World/Provinces/PopRatio.cpp | GregB76/EU4toVic2 | 0a8822101a36a16036fdc315e706d113d9231101 | [
"MIT"
] | 1 | 2020-10-03T16:01:28.000Z | 2020-10-03T16:01:28.000Z | EU4toV2/Source/EU4World/Provinces/PopRatio.cpp | P4blo7/EU4toVic2 | 3f6d354a1f5e529f3d96b3616fe5109bc23f2972 | [
"MIT"
] | null | null | null | EU4toV2/Source/EU4World/Provinces/PopRatio.cpp | P4blo7/EU4toVic2 | 3f6d354a1f5e529f3d96b3616fe5109bc23f2972 | [
"MIT"
] | null | null | null | #include "PopRatio.h"
#include <algorithm>
#include <cmath>
EU4::PopRatio::PopRatio(std::string _culture, std::string _religion):
culture(std::move(_culture)), religion(std::move(_religion)){}
void EU4::PopRatio::decay(const float diffInYears, const double assimilationFactor)
{
// for standard factor 0.0025 ratio wi... | 30.676923 | 111 | 0.724674 | GregB76 |
4f6dcdcabe6543f30d8d4bbd741436d22b95c314 | 2,886 | cpp | C++ | open/Habana/code/ssd-large/Habana_benchmark/runner/source/HABANA_batchifierDataNode.cpp | EldritchJS/inference_results_v0.5 | 5552490e184d9fc342d871fcc410ac423ea49053 | [
"Apache-2.0"
] | null | null | null | open/Habana/code/ssd-large/Habana_benchmark/runner/source/HABANA_batchifierDataNode.cpp | EldritchJS/inference_results_v0.5 | 5552490e184d9fc342d871fcc410ac423ea49053 | [
"Apache-2.0"
] | null | null | null | open/Habana/code/ssd-large/Habana_benchmark/runner/source/HABANA_batchifierDataNode.cpp | EldritchJS/inference_results_v0.5 | 5552490e184d9fc342d871fcc410ac423ea49053 | [
"Apache-2.0"
] | 1 | 2019-12-05T18:53:17.000Z | 2019-12-05T18:53:17.000Z | #include <HABANA_batchifierDataNode.h>
Hababan_batchifierData::Hababan_batchifierData(char *allocPtr,
uint32_t imageSizeInBytes,
uint32_t maxNumOfImages,
... | 43.727273 | 164 | 0.611573 | EldritchJS |
4f6fc4e068e3ba125ddbca264c1affa1f09f5896 | 15,205 | cc | C++ | tensorflow/compiler/jit/xla_launch_util.cc | knightvishal/tensorflow | 5d3dd19b7146d954fc1b4e9e44e9881e75d363c1 | [
"Apache-2.0"
] | 4 | 2021-06-15T17:26:07.000Z | 2021-11-17T10:58:08.000Z | tensorflow/compiler/jit/xla_launch_util.cc | knightvishal/tensorflow | 5d3dd19b7146d954fc1b4e9e44e9881e75d363c1 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/jit/xla_launch_util.cc | knightvishal/tensorflow | 5d3dd19b7146d954fc1b4e9e44e9881e75d363c1 | [
"Apache-2.0"
] | 1 | 2019-12-20T01:12:47.000Z | 2019-12-20T01:12:47.000Z | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 41.205962 | 80 | 0.668793 | knightvishal |
4f6fca3997385fc8b70ab5bb964c2fd174102c0f | 7,589 | cpp | C++ | bob/ip/color/utils.cpp | bioidiap/bob.ip.color | 4fe6c7fd45d2b376ae40eae5712ed364e9a245f9 | [
"BSD-3-Clause"
] | null | null | null | bob/ip/color/utils.cpp | bioidiap/bob.ip.color | 4fe6c7fd45d2b376ae40eae5712ed364e9a245f9 | [
"BSD-3-Clause"
] | 1 | 2015-06-16T10:54:22.000Z | 2015-07-17T14:04:53.000Z | bob/ip/color/utils.cpp | bioidiap/bob.ip.color | 4fe6c7fd45d2b376ae40eae5712ed364e9a245f9 | [
"BSD-3-Clause"
] | 2 | 2015-07-17T13:22:48.000Z | 2016-03-08T11:15:47.000Z | /**
* @author André Anjos <andre.anjos@idiap.ch>
* @date Fri 4 Apr 15:20:24 2014 CEST
*
* @brief Helpers for color conversion
*
* Copyright (C) 2011-2014 Idiap Research Institute, Martigny, Switzerland
*/
#include "utils.h"
static int check_2doutput_for_3dinput(
boost::shared_ptr<PyBlitzArrayObject>& inpu... | 38.328283 | 260 | 0.673079 | bioidiap |
4f70e8acdec1e5d5db28c349cdcdc250808b79ee | 9,813 | cc | C++ | modules/utility/source/process_thread_impl_unittest.cc | UWNetworksLab/webrtc-mod | 5b910438baf4f7c7883996a2323d8ed809fd10e1 | [
"DOC",
"BSD-3-Clause"
] | 1 | 2017-02-20T04:24:44.000Z | 2017-02-20T04:24:44.000Z | modules/utility/source/process_thread_impl_unittest.cc | UWNetworksLab/webrtc-mod | 5b910438baf4f7c7883996a2323d8ed809fd10e1 | [
"DOC",
"BSD-3-Clause"
] | null | null | null | modules/utility/source/process_thread_impl_unittest.cc | UWNetworksLab/webrtc-mod | 5b910438baf4f7c7883996a2323d8ed809fd10e1 | [
"DOC",
"BSD-3-Clause"
] | 1 | 2016-10-17T18:34:08.000Z | 2016-10-17T18:34:08.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... | 32.17377 | 78 | 0.722001 | UWNetworksLab |
4f736dcc08124129e0d0e1043725ca89833f13f7 | 3,419 | hh | C++ | include/DBException.hh | mgonnav/flaviadb | af133b30ec97834753d4d24a682cb2691688a854 | [
"Apache-2.0"
] | 1 | 2020-08-20T22:34:36.000Z | 2020-08-20T22:34:36.000Z | include/DBException.hh | mgonnav/flaviadb | af133b30ec97834753d4d24a682cb2691688a854 | [
"Apache-2.0"
] | 1 | 2020-08-27T00:01:42.000Z | 2020-11-27T17:18:58.000Z | include/DBException.hh | mgonnav/flaviadb | af133b30ec97834753d4d24a682cb2691688a854 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "flaviadb_definitions.hh"
#include <exception>
#include <iostream>
#include <string>
enum ErrorCode
{
NON_EXISTING_TABLE,
UNREADABLE_METADATA,
DIFFERENT_METADATA_NAME,
MISSING_VALUES,
TOO_MANY_VALUES,
CHAR_TOO_BIG,
INVALID_DATE,
INVALID_DATA_TYPE,
STAR_NOT_ALONE,
REPEATED_F... | 28.731092 | 79 | 0.677099 | mgonnav |
4f73861469819179cc75136ea8eb8d761e9630df | 2,454 | cpp | C++ | test/aapl.d/test_allsort.cpp | podsvirov/colm-suite | 9d45f0d47982d83141763a9728a4f97d6a06bacd | [
"MIT"
] | 58 | 2020-03-28T11:46:07.000Z | 2022-03-17T10:42:05.000Z | test/aapl.d/test_allsort.cpp | podsvirov/colm-suite | 9d45f0d47982d83141763a9728a4f97d6a06bacd | [
"MIT"
] | 78 | 2019-09-09T21:03:47.000Z | 2019-12-09T10:28:16.000Z | test/aapl.d/test_allsort.cpp | podsvirov/colm-suite | 9d45f0d47982d83141763a9728a4f97d6a06bacd | [
"MIT"
] | 12 | 2020-06-09T08:13:24.000Z | 2022-02-21T01:31:40.000Z | /*
* Copyright 2002 Adrian Thurston <thurston@colm.net>
*
* 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, mo... | 26.106383 | 81 | 0.679299 | podsvirov |
4f7416c58ce6446ebc711744c1eaed0e1d0c2a26 | 94,084 | cpp | C++ | src/atop/sort.cpp | Quansight/pnumpy | 59d430f74168539a0710321c4eecb53d25db4833 | [
"MIT"
] | 24 | 2021-02-18T12:05:08.000Z | 2021-12-13T07:46:03.000Z | src/atop/sort.cpp | Quansight/numpy-threading-extensions | 59d430f74168539a0710321c4eecb53d25db4833 | [
"MIT"
] | 63 | 2020-09-02T19:14:10.000Z | 2021-01-26T07:04:09.000Z | src/atop/sort.cpp | Quansight/numpy-threading-extensions | 59d430f74168539a0710321c4eecb53d25db4833 | [
"MIT"
] | 9 | 2020-09-08T15:27:13.000Z | 2021-01-21T16:50:02.000Z | #include "common_inc.h"
#include "threads.h"
#include "halffloat.h"
#include <cmath>
#include <algorithm>
//#define LOGGING printf
#define LOGGING(...)
#define PLOGGING(...)
//#define PLOGGING printf
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wmissing-braces"
#pragma clang diagnostic ignored "-Wunused... | 31.561221 | 172 | 0.522182 | Quansight |
4f74df9a6a784df9bf2890b57909968b04248682 | 3,666 | cpp | C++ | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/pkcs7/pk7_mime.cpp | Sirokujira/MicroFrameworkPK_v4_3 | a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e | [
"Apache-2.0"
] | 4 | 2019-01-21T11:47:53.000Z | 2020-06-09T02:14:15.000Z | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/pkcs7/pk7_mime.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | null | null | null | DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/pkcs7/pk7_mime.cpp | yisea123/NetmfSTM32 | 62ddb8aa0362b83d2e73f3621a56593988e3620f | [
"Apache-2.0"
] | 6 | 2017-11-09T11:48:10.000Z | 2020-05-24T09:43:07.000Z | /* pk7_mime.c */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
*/
/* ====================================================================
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | 36.66 | 75 | 0.703764 | Sirokujira |
4f7675732fc52dc997a9b5cac98068ff50edc9cc | 1,178 | cpp | C++ | src/tests/test_formula_ai.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 12 | 2015-03-04T15:07:00.000Z | 2019-09-13T16:31:06.000Z | src/tests/test_formula_ai.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | null | null | null | src/tests/test_formula_ai.cpp | blackberry/Wesnoth | 8b307689158db568ecc6cc3b537e8d382ccea449 | [
"Unlicense"
] | 5 | 2017-04-22T08:16:48.000Z | 2020-07-12T03:35:16.000Z | /* $Id: test_formula_ai.cpp 48153 2011-01-01 15:57:50Z mordante $ */
/*
Copyright (C) 2008 - 2011 by Pauli Nieminen <paniemin@cc.hut.fi>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Ge... | 28.731707 | 100 | 0.725806 | blackberry |
4f769b7a6502053f67e58bafda275afda619fcd4 | 19,004 | cc | C++ | third_party/blink/renderer/platform/scheduler/common/idle_helper.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/platform/scheduler/common/idle_helper.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/platform/scheduler/common/idle_helper.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/platform/scheduler/common/idle_helper.h"
#include "base/bind.h"
#include "base/task/sequence_manager/sequence_manage... | 36.33652 | 82 | 0.72148 | sarang-apps |
4f783fde34a483647c73e69c29c938646683de42 | 1,801 | cpp | C++ | src/gdx-cpp/Gdx.cpp | aevum/libgdx-cpp | 88603a59af4d915259a841e13ce88f65c359f0df | [
"Apache-2.0"
] | 77 | 2015-01-28T17:21:49.000Z | 2022-02-17T17:59:21.000Z | src/gdx-cpp/Gdx.cpp | aevum/libgdx-cpp | 88603a59af4d915259a841e13ce88f65c359f0df | [
"Apache-2.0"
] | 5 | 2015-03-22T23:14:54.000Z | 2020-09-18T13:26:03.000Z | src/gdx-cpp/Gdx.cpp | aevum/libgdx-cpp | 88603a59af4d915259a841e13ce88f65c359f0df | [
"Apache-2.0"
] | 24 | 2015-02-12T04:34:37.000Z | 2021-06-19T17:05:23.000Z |
/*
Copyright 2011 Aevum Software aevum @ aevumlab.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 app... | 26.485294 | 104 | 0.687951 | aevum |
4f78483e994a2d1f732511aa6da8172b4148e67e | 1,150 | tpp | C++ | MainLib/Core/DenseSurfelMapper/ITMDenseSurfelMapper.tpp | Bovey0809/SCFusion | 1d4a8f4eb0f330f5a69efd89fbf28686c1405471 | [
"BSD-2-Clause"
] | 30 | 2020-11-06T09:11:55.000Z | 2022-03-11T06:56:57.000Z | MainLib/Core/DenseSurfelMapper/ITMDenseSurfelMapper.tpp | ShunChengWu/SCFusion | 1d4a8f4eb0f330f5a69efd89fbf28686c1405471 | [
"BSD-2-Clause"
] | 1 | 2021-12-17T07:03:01.000Z | 2021-12-17T07:03:01.000Z | MainLib/Core/DenseSurfelMapper/ITMDenseSurfelMapper.tpp | Bovey0809/SCFusion | 1d4a8f4eb0f330f5a69efd89fbf28686c1405471 | [
"BSD-2-Clause"
] | 1 | 2021-12-17T07:02:47.000Z | 2021-12-17T07:02:47.000Z | // InfiniTAM: Surffuse. Copyright (c) Torr Vision Group and the authors of InfiniTAM, 2016.
#include "ITMDenseSurfelMapper.h"
#include "../../Engines/Reconstruction/ITMSurfelSceneReconstructionEngineFactory.h"
namespace ITMLib
{
//#################### CONSTRUCTORS ####################
template <typename TSurfel>
I... | 33.823529 | 185 | 0.736522 | Bovey0809 |
4f7c3b7ddaa26b2eaa78d2e64522f658a4de7df2 | 158 | cpp | C++ | src/record_batch_handlers/aggregate_functions/aggregate_function.cpp | QratorLabs/stream-data-processor | 10be5b5d7c9ffa2f481218f6bf7c3c1ee12a0752 | [
"MIT"
] | null | null | null | src/record_batch_handlers/aggregate_functions/aggregate_function.cpp | QratorLabs/stream-data-processor | 10be5b5d7c9ffa2f481218f6bf7c3c1ee12a0752 | [
"MIT"
] | null | null | null | src/record_batch_handlers/aggregate_functions/aggregate_function.cpp | QratorLabs/stream-data-processor | 10be5b5d7c9ffa2f481218f6bf7c3c1ee12a0752 | [
"MIT"
] | 1 | 2021-03-11T15:32:34.000Z | 2021-03-11T15:32:34.000Z | #include "aggregate_function.h"
namespace stream_data_processor {
AggregateFunction::~AggregateFunction() = default;
} // namespace stream_data_processor
| 19.75 | 50 | 0.803797 | QratorLabs |
4f7d25fbf874afc0140654a248ce052ea01c72c7 | 1,015 | cpp | C++ | main/test_uart_gpio1819.cpp | h1romas4/m5stamp-c3dev | b04a84b9dacd1d832ec52719986b7d474893a3c3 | [
"MIT"
] | 1 | 2022-03-20T21:24:22.000Z | 2022-03-20T21:24:22.000Z | main/test_uart_gpio1819.cpp | h1romas4/m5stamp-c3dev | b04a84b9dacd1d832ec52719986b7d474893a3c3 | [
"MIT"
] | null | null | null | main/test_uart_gpio1819.cpp | h1romas4/m5stamp-c3dev | b04a84b9dacd1d832ec52719986b7d474893a3c3 | [
"MIT"
] | null | null | null | #include "Arduino.h"
#include "esp_log.h"
#include "TinyGPSPlus.h"
#include "test_uart_gpio1819.h"
static const char *TAG = "test_uart_gpio1819.cpp";
// The TinyGPSPlus object
TinyGPSPlus gps;
// Hardware Serial
HardwareSerial GPSRaw(1);
void init_uart_gpio1819(void)
{
GPSRaw.begin(9600);
// GPS init
GP... | 26.025641 | 130 | 0.561576 | h1romas4 |
4f7db0d717ace1ab1003adee24901def6e872b7b | 12,620 | cpp | C++ | Project/Offsets.cpp | ALEHACKsp/ZE-Elite | cff1e208f9c4299c5b204ab93ea3787bc3f6e2f5 | [
"MIT"
] | 3 | 2021-09-20T18:54:47.000Z | 2022-02-28T03:27:26.000Z | Project/Offsets.cpp | ALEHACKsp/ZE-Elite | cff1e208f9c4299c5b204ab93ea3787bc3f6e2f5 | [
"MIT"
] | null | null | null | Project/Offsets.cpp | ALEHACKsp/ZE-Elite | cff1e208f9c4299c5b204ab93ea3787bc3f6e2f5 | [
"MIT"
] | 2 | 2021-09-20T18:54:50.000Z | 2021-10-04T13:51:24.000Z | #include "Offsets.h"
#include "SDK.h"
void Offsets(ClientClass* ClientClass)
{
assert(ClientClass);
m_flNextAttack = GetNetVarOffset("DT_BaseCombatCharacter", "m_flNextAttack", ClientClass); assert(m_flNextAttack);
m_hMyWeapons = GetNetVarOffset("DT_BaseCombatCharacter", "m_hMyWeapons", ClientClass); assert(m_hM... | 35.153203 | 178 | 0.754596 | ALEHACKsp |
4f7e6044b233581bf259d1ee9aa0713defa7aac9 | 3,024 | cpp | C++ | Cpp/fost-core/json-object-basic-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 2 | 2016-05-25T22:17:38.000Z | 2019-04-02T08:34:17.000Z | Cpp/fost-core/json-object-basic-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 5 | 2018-07-13T10:43:05.000Z | 2019-09-02T14:54:42.000Z | Cpp/fost-core/json-object-basic-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 1 | 2020-10-22T20:44:24.000Z | 2020-10-22T20:44:24.000Z | /**
Copyright 2008-2020 Red Anchor Trading Co. Ltd.
Distributed under the Boost Software License, Version 1.0.
See <http://www.boost.org/LICENSE_1_0.txt>
*/
#include "fost-core-test.hpp"
#include <fost/exception/json_error.hpp>
#include <fost/exception/not_null.hpp>
FSL_TEST_SUITE(json_object);
FSL... | 30.24 | 75 | 0.635582 | KayEss |
4f7ea865b2bc6fb34b58b809d80c63e7b419cc1a | 9,235 | cpp | C++ | website/archive/binaries/mac/src/muscle/diaglist.cpp | homiak/jabaws | f9c48c1311a07bffd99866f3d70a82e889f10493 | [
"Apache-2.0"
] | 1 | 2019-06-30T00:40:32.000Z | 2019-06-30T00:40:32.000Z | website/archive/binaries/mac/src/muscle/diaglist.cpp | homiak/jabaws | f9c48c1311a07bffd99866f3d70a82e889f10493 | [
"Apache-2.0"
] | null | null | null | website/archive/binaries/mac/src/muscle/diaglist.cpp | homiak/jabaws | f9c48c1311a07bffd99866f3d70a82e889f10493 | [
"Apache-2.0"
] | null | null | null | #include "muscle.h"
#include "diaglist.h"
#include "pwpath.h"
#define MAX(x, y) ((x) > (y) ? (x) : (y))
#define MIN(x, y) ((x) < (y) ? (x) : (y))
void DiagList::Add(const Diag &d)
{
if (m_uCount == MAX_DIAGS)
Quit("DiagList::Add, overflow %u", m_uCount);
m_Diags[m_uCount] = d;
++m_uCount;
}
voi... | 24.366755 | 79 | 0.62523 | homiak |
4f7feacbab2c6c05dd52c2d2c512de8e823f0c7e | 10,697 | cpp | C++ | libraries/physics/src/ObjectDynamic.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 14 | 2020-02-23T12:51:54.000Z | 2021-11-14T17:09:34.000Z | libraries/physics/src/ObjectDynamic.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 2 | 2015-07-29T00:58:51.000Z | 2016-02-26T22:22:48.000Z | libraries/physics/src/ObjectDynamic.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 5 | 2020-04-02T09:42:00.000Z | 2021-03-15T00:54:07.000Z | //
// ObjectDynamic.cpp
// libraries/physcis/src
//
// Created by Seth Alves 2015-6-2
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "ObjectDynamic.h"
#include "Ent... | 33.117647 | 127 | 0.644947 | Darlingnotin |
4f817846c434957655b12e6b065413897e9d630e | 13,617 | hpp | C++ | src/utils/map_painter.hpp | deepguider/RoadGPS | 7db4669a54da98a854886b89b6922fb8c7a60f33 | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-05-22T12:47:34.000Z | 2019-05-23T15:43:47.000Z | src/utils/map_painter.hpp | deepguider/RoadGPS | 7db4669a54da98a854886b89b6922fb8c7a60f33 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/utils/map_painter.hpp | deepguider/RoadGPS | 7db4669a54da98a854886b89b6922fb8c7a60f33 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2019-08-09T06:50:46.000Z | 2019-08-09T06:50:46.000Z | #ifndef __MAP_PAINTER__
#define __MAP_PAINTER__
#include "utils/opencx.hpp"
namespace dg
{
class MapPainter : public cx::Painter, public cx::Algorithm
{
public:
MapPainter()
{
m_node_radius = 10;
m_node_font_scale = 0.5;
m_node_color = cx::COLOR_BLUE;
m_junction_color = cx::CO... | 45.089404 | 280 | 0.584049 | deepguider |
4f81fc20942d81b956c503888c453b11a567150c | 822 | cpp | C++ | src/system/boot/platform/efi/heap.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/system/boot/platform/efi/heap.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/system/boot/platform/efi/heap.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2016 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <boot/platform.h>
#include <boot/stage2.h>
#include "efi_platform.h"
#define STAGE_PAGES 0x2000 /* 32 MB */
static efi_physical_addr staging;
extern "C" void
platform_release_heap(struct stage2... | 20.04878 | 71 | 0.725061 | Kirishikesan |