hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 1 77k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
743113c61fdbc92308a3f753caf32cb1d9b8c1a1 | 4,013 | cpp | C++ | src/drivers/barometer/bmp280/bmp280_spi.cpp | ajmalhinas/px4PhD | 617c775f221ba41916191728dce89fa5bca5ecb6 | [
"BSD-3-Clause"
] | 1 | 2021-01-17T13:45:40.000Z | 2021-01-17T13:45:40.000Z | src/drivers/barometer/bmp280/bmp280_spi.cpp | ajmalhinas/px4PhD | 617c775f221ba41916191728dce89fa5bca5ecb6 | [
"BSD-3-Clause"
] | null | null | null | src/drivers/barometer/bmp280/bmp280_spi.cpp | ajmalhinas/px4PhD | 617c775f221ba41916191728dce89fa5bca5ecb6 | [
"BSD-3-Clause"
] | 1 | 2020-03-04T07:58:24.000Z | 2020-03-04T07:58:24.000Z | /****************************************************************************
*
* Copyright (c) 2016 PX4 Development Team. 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. Redistri... | 27.675862 | 92 | 0.699477 |
743420a5890f8849a482878f5723fa2b298cd45e | 1,534 | hpp | C++ | libs/boost_1_72_0/boost/proto/detail/local.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/proto/detail/local.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/proto/detail/local.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
/// \file local.hpp
/// Contains macros to ease the generation of repetitious code constructs
//
// Copyright 2008 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or c... | 31.306122 | 80 | 0.709257 |
74345d88154195ae13900b38285f184310a2d3f8 | 8,597 | hpp | C++ | src-2007/public/python/boost/thread/pthread/shared_mutex.hpp | KyleGospo/City-17-Episode-One-Source | 2bc0bb56a2e0a63d963755e2831c15f2970c38e7 | [
"Unlicense"
] | 30 | 2016-04-23T04:55:52.000Z | 2021-05-19T10:26:27.000Z | src-2007/public/python/boost/thread/pthread/shared_mutex.hpp | KyleGospo/City-17-Episode-One-Source | 2bc0bb56a2e0a63d963755e2831c15f2970c38e7 | [
"Unlicense"
] | 1 | 2017-12-26T21:49:18.000Z | 2020-06-11T04:03:44.000Z | src-2007/public/python/boost/thread/pthread/shared_mutex.hpp | KyleGospo/City-17-Episode-One-Source | 2bc0bb56a2e0a63d963755e2831c15f2970c38e7 | [
"Unlicense"
] | 15 | 2016-04-26T13:16:38.000Z | 2022-03-08T06:13:14.000Z | #ifndef BOOST_THREAD_PTHREAD_SHARED_MUTEX_HPP
#define BOOST_THREAD_PTHREAD_SHARED_MUTEX_HPP
// (C) Copyright 2006-8 Anthony Williams
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/assert... | 28.279605 | 91 | 0.511574 |
74347c9601053dff9e6685af4e785ea4d53d49f2 | 2,789 | hpp | C++ | src/mlpack/bindings/cli/default_param.hpp | MJ10/mlpack | 3f87ab1d419493dead8ef59250c02cc7aacc0adb | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-05-02T21:10:55.000Z | 2021-05-02T21:10:55.000Z | src/mlpack/bindings/cli/default_param.hpp | MJ10/mlpack | 3f87ab1d419493dead8ef59250c02cc7aacc0adb | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | src/mlpack/bindings/cli/default_param.hpp | MJ10/mlpack | 3f87ab1d419493dead8ef59250c02cc7aacc0adb | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | /**
* @file default_param.hpp
* @author Ryan Curtin
*
* Return the default value of a parameter, depending on its type.
*/
#ifndef MLPACK_BINDINGS_CLI_DEFAULT_PARAM_HPP
#define MLPACK_BINDINGS_CLI_DEFAULT_PARAM_HPP
#include <mlpack/prereqs.hpp>
#include <mlpack/core/util/param_data.hpp>
#include <mlpack/core/util... | 30.648352 | 78 | 0.686626 |
7435018c15f75bf20c2fd7a8270eed0b03c6e390 | 6,221 | cpp | C++ | src/DeviceLog.cpp | orrinjelo/InertialSenseSDK | ddc8b3b2a3fa4f0bddde9d80d63b76bb0e2695c0 | [
"MIT"
] | null | null | null | src/DeviceLog.cpp | orrinjelo/InertialSenseSDK | ddc8b3b2a3fa4f0bddde9d80d63b76bb0e2695c0 | [
"MIT"
] | null | null | null | src/DeviceLog.cpp | orrinjelo/InertialSenseSDK | ddc8b3b2a3fa4f0bddde9d80d63b76bb0e2695c0 | [
"MIT"
] | null | null | null | /*
MIT LICENSE
Copyright 2014-2018 Inertial Sense, Inc. - http://inertialsense.com
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 u... | 23.564394 | 459 | 0.703585 |
29358d8bd2280a35ef071228ba92c8d5e357af3d | 1,067 | cpp | C++ | llvm-2.9/tools/clang/test/SemaCXX/trivial-destructor.cpp | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | llvm-2.9/tools/clang/test/SemaCXX/trivial-destructor.cpp | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | llvm-2.9/tools/clang/test/SemaCXX/trivial-destructor.cpp | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
struct T1 {
};
static_assert(__has_trivial_destructor(T1), "T1 has trivial destructor!");
struct T2 {
~T2();
};
static_assert(!__has_trivial_destructor(T2), "T2 has a user-declared destructor!");
struct T3 {
virtual void f();
};
static_assert(__has_trivial_de... | 27.358974 | 110 | 0.731022 |
2935d9062a671fd25beb5f380d403631389d4290 | 21,914 | cpp | C++ | src/AColor.cpp | lstolcman/audacity | 1efebb7cdcb3fd4939a564e3775eeb2ed054ab54 | [
"CC-BY-3.0"
] | 17 | 2017-06-26T18:30:03.000Z | 2021-07-03T21:59:53.000Z | src/AColor.cpp | ibizzn/audacity | a415c3fe3898d917a8d55366f8e6ea6a36ec8e53 | [
"CC-BY-3.0"
] | 5 | 2016-05-22T17:44:06.000Z | 2021-07-07T08:25:04.000Z | src/AColor.cpp | ibizzn/audacity | a415c3fe3898d917a8d55366f8e6ea6a36ec8e53 | [
"CC-BY-3.0"
] | 3 | 2016-05-20T16:24:24.000Z | 2020-12-19T21:52:43.000Z |
/**********************************************************************
Audacity: A Digital Audio Editor
AColor.cpp
Dominic Mazzoni
********************************************************************//**
\class AColor
\brief AColor Manages color brushes and pens
It is also a place to document colour usag... | 30.30982 | 106 | 0.593411 |
2935eb1f46921fb479e5d578160389a48f56c601 | 18,790 | cpp | C++ | assets/code/cpp/macro_yield.cpp | FiveEye/FiveEye.github.io | b8ca15a9fc50ce3ecdc0e5decc4c5e005e8096e7 | [
"MIT"
] | 2 | 2019-10-02T05:13:29.000Z | 2019-10-02T05:13:42.000Z | assets/code/cpp/macro_yield.cpp | FiveEye/FiveEye.github.io | b8ca15a9fc50ce3ecdc0e5decc4c5e005e8096e7 | [
"MIT"
] | null | null | null | assets/code/cpp/macro_yield.cpp | FiveEye/FiveEye.github.io | b8ca15a9fc50ce3ecdc0e5decc4c5e005e8096e7 | [
"MIT"
] | 1 | 2020-09-08T23:56:35.000Z | 2020-09-08T23:56:35.000Z | // Title : Implementation of Coroutine in Cpp
// Author : hanzh.xu@gmail.com
// Date : 11-21-2020
// License : MIT License
/*
Implementation of Coroutine in Cpp
Compiler:
// clang version 3.8.1-24+rpi1 (tags/RELEASE_381/final)
// Target: armv6--linux-gnueabihf
// Thread model: posix
// clang -st... | 28.298193 | 135 | 0.504949 |
293690d2744cf9328b63681bff1db267c020e226 | 9,825 | cpp | C++ | src/drivers/airspeed/airspeed.cpp | vooon/px4-firmware | d8e0a22cbc59ed435519ad66a44b14b05ef9bbf9 | [
"BSD-3-Clause"
] | 1 | 2017-03-03T06:06:48.000Z | 2017-03-03T06:06:48.000Z | src/drivers/airspeed/airspeed.cpp | vooon/px4-firmware | d8e0a22cbc59ed435519ad66a44b14b05ef9bbf9 | [
"BSD-3-Clause"
] | null | null | null | src/drivers/airspeed/airspeed.cpp | vooon/px4-firmware | d8e0a22cbc59ed435519ad66a44b14b05ef9bbf9 | [
"BSD-3-Clause"
] | 2 | 2015-10-05T12:52:54.000Z | 2016-03-02T07:00:28.000Z | /****************************************************************************
*
* Copyright (c) 2013, 2014 PX4 Development Team. 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. Re... | 24.199507 | 90 | 0.688041 |
2939c47453d43c7bf014faf14599f16d2149692e | 8,471 | cpp | C++ | test/structure_tests.cpp | StoneJobs/BigBang | cfb7d8603790d143a50eafc5cfe5612a52426e35 | [
"MIT"
] | null | null | null | test/structure_tests.cpp | StoneJobs/BigBang | cfb7d8603790d143a50eafc5cfe5612a52426e35 | [
"MIT"
] | null | null | null | test/structure_tests.cpp | StoneJobs/BigBang | cfb7d8603790d143a50eafc5cfe5612a52426e35 | [
"MIT"
] | null | null | null | // Copyright (c) 2019-2020 The Bigbang developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/test/unit_test.hpp>
#include <set>
#include <vector>
#include "address.h"
#include "structure/tree.h"
#includ... | 43.441026 | 79 | 0.644788 |
2939f1204ebb4b39fcf7b5b215e893ad2d77dbaf | 4,172 | hpp | C++ | srcs/writer/writerdatatypesinternal.hpp | brooklet/heif | 87d0427d750d882acba5f31bae697fe9a433ab50 | [
"BSD-3-Clause"
] | 1 | 2019-12-27T00:55:05.000Z | 2019-12-27T00:55:05.000Z | srcs/writer/writerdatatypesinternal.hpp | brooklet/heif | 87d0427d750d882acba5f31bae697fe9a433ab50 | [
"BSD-3-Clause"
] | null | null | null | srcs/writer/writerdatatypesinternal.hpp | brooklet/heif | 87d0427d750d882acba5f31bae697fe9a433ab50 | [
"BSD-3-Clause"
] | null | null | null | /* This file is part of Nokia HEIF library
*
* Copyright (c) 2015-2019 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
*
* Contact: heif@nokia.com
*
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
* subsidiaries. All rights are r... | 27.629139 | 119 | 0.617929 |
293ba29cd787b766c71bce4a10aed13117a128b1 | 9,353 | cpp | C++ | src/gpu/text/GrStrikeCache.cpp | pospx/external_skia | 7a135275c9fc2a4b3cbdcf9a96e7102724752234 | [
"BSD-3-Clause"
] | 3 | 2020-08-06T00:31:13.000Z | 2021-07-29T07:28:17.000Z | src/gpu/text/GrStrikeCache.cpp | pospx/external_skia | 7a135275c9fc2a4b3cbdcf9a96e7102724752234 | [
"BSD-3-Clause"
] | 3 | 2020-04-26T17:03:31.000Z | 2020-04-28T14:55:33.000Z | src/gpu/text/GrStrikeCache.cpp | pospx/external_skia | 7a135275c9fc2a4b3cbdcf9a96e7102724752234 | [
"BSD-3-Clause"
] | 57 | 2016-12-29T02:00:25.000Z | 2021-11-16T01:22:50.000Z | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrStrikeCache.h"
#include "GrAtlasManager.h"
#include "GrCaps.h"
#include "GrColor.h"
#include "GrDistanceFieldGenFromVector.h"
#include "SkAutoMalloc.h"
#include "... | 37.262948 | 99 | 0.56121 |
293de6c3fa6a3f57ec92982af4ab7d7fee6f9e68 | 31,198 | cpp | C++ | thrift/lib/cpp2/test/ThriftServerTest.cpp | jesboat/fbthrift | 7d8e1dcec59024e526e6768d3d4a66f6c4abe5ac | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/test/ThriftServerTest.cpp | jesboat/fbthrift | 7d8e1dcec59024e526e6768d3d4a66f6c4abe5ac | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/test/ThriftServerTest.cpp | jesboat/fbthrift | 7d8e1dcec59024e526e6768d3d4a66f6c4abe5ac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 30.466797 | 78 | 0.676999 |
293e6b86cd26827e6c996ed77764ece856826423 | 1,978 | hpp | C++ | src/Include/Util/Endpoint.hpp | 0KABE/Owl | e9d5981e5d41f6d327ef84cb0c3a66f41d68b91b | [
"MIT"
] | 2 | 2021-09-11T07:35:06.000Z | 2022-03-05T09:52:00.000Z | src/Include/Util/Endpoint.hpp | 0KABE/Owl | e9d5981e5d41f6d327ef84cb0c3a66f41d68b91b | [
"MIT"
] | null | null | null | src/Include/Util/Endpoint.hpp | 0KABE/Owl | e9d5981e5d41f6d327ef84cb0c3a66f41d68b91b | [
"MIT"
] | null | null | null | #pragma once
#include <utility>
#include <spdlog/spdlog.h>
#include "Net.hpp"
#include "Awaitable.hpp"
#include "Event.hpp"
#include "FinalAction.hpp"
#include "TimeoutEvent.hpp"
#include "Delegate.hpp"
namespace Owl {
class Endpoint {
public:
enum ConnectionState {
READY,
CONN... | 26.026316 | 92 | 0.633974 |
293faec001b1bfb577a37ef226e3c4c34df8d184 | 1,270 | cc | C++ | src/lib_ext/webrtc/webrtc/base/copyonwritebuffer.cc | saurabhshri/CCAligner | 12bd2f214d5e2a6f562262f4f1e45aa1b7038b58 | [
"MIT"
] | 139 | 2017-06-10T17:23:54.000Z | 2022-03-23T21:08:17.000Z | third_party/webrtc/base/copyonwritebuffer.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 72 | 2017-09-30T17:58:56.000Z | 2021-08-16T08:13:01.000Z | third_party/webrtc/base/copyonwritebuffer.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 67 | 2017-11-28T17:59:19.000Z | 2022-02-22T04:09:38.000Z | /*
* Copyright 2016 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 contributing ... | 29.534884 | 76 | 0.729921 |
293ffed02cf0a9f555743ef9d99f34b438e68ea8 | 254 | hpp | C++ | src/entity/config_entity.hpp | zzzhr1990/qingzhenyun-lite-cf | 5686e6f33bdbafc1a0d39981361bd091ac081b35 | [
"MIT"
] | 1 | 2018-10-13T09:36:08.000Z | 2018-10-13T09:36:08.000Z | src/entity/config_entity.hpp | zzzhr1990/qingzhenyun-lite-cf | 5686e6f33bdbafc1a0d39981361bd091ac081b35 | [
"MIT"
] | null | null | null | src/entity/config_entity.hpp | zzzhr1990/qingzhenyun-lite-cf | 5686e6f33bdbafc1a0d39981361bd091ac081b35 | [
"MIT"
] | null | null | null | //
// Created by zzzhr on 2018/10/27.
//
#ifndef QINGZHENYUN_LITE_CONFIG_ENTITY_H
#define QINGZHENYUN_LITE_CONFIG_ENTITY_H
#include <cpprest/http_client.h>
struct config_entity {
utility::string_t token;
};
#endif //QINGZHENYUN_LITE_CONFIG_ENTITY_H
| 21.166667 | 41 | 0.795276 |
2941ee0c98ed9c1b972611b54637c80c9ed0a647 | 36,107 | cpp | C++ | vbox/src/VBox/Runtime/common/net/netaddrstr.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Runtime/common/net/netaddrstr.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Runtime/common/net/netaddrstr.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | /* $Id: netaddrstr.cpp 69111 2017-10-17 14:26:02Z vboxsync $ */
/** @file
* IPRT - Network Address String Handling.
*
* @remarks Don't add new functionality to this file, it goes into netaddrstr2.cpp
* or some other suitable file (legal reasons + code not up to oracle
* quality standards and requ... | 29.499183 | 229 | 0.509624 |
294392534802c75bb809c71f7fe454cd5e384bc5 | 175 | cpp | C++ | tests/simple.cpp | johannes-braun/gum | 7f0cd74f0e4f8b6d9ffaf3312d24d0c720f6340a | [
"MIT"
] | null | null | null | tests/simple.cpp | johannes-braun/gum | 7f0cd74f0e4f8b6d9ffaf3312d24d0c720f6340a | [
"MIT"
] | null | null | null | tests/simple.cpp | johannes-braun/gum | 7f0cd74f0e4f8b6d9ffaf3312d24d0c720f6340a | [
"MIT"
] | null | null | null | #include "catch.hpp"
#include <gum/gum.hpp>
TEST_CASE("Simple Test")
{
SECTION("Section 1")
{
gfx::vec3 v(1, 1, 1);
REQUIRE(true);
}
} | 14.583333 | 30 | 0.497143 |
294575263013d52d791389b4897d9d53b2c95219 | 974 | hpp | C++ | src/include/duckdb/function/function_set.hpp | rainmaple/duckdb | d3df77ba6740b8b089bddbfef77e2b969245b5cf | [
"MIT"
] | 9 | 2021-09-08T13:13:03.000Z | 2022-03-11T21:18:05.000Z | src/include/duckdb/function/function_set.hpp | rainmaple/duckdb | d3df77ba6740b8b089bddbfef77e2b969245b5cf | [
"MIT"
] | 1 | 2021-12-10T18:06:11.000Z | 2021-12-13T17:20:41.000Z | src/include/duckdb/function/function_set.hpp | rainmaple/duckdb | d3df77ba6740b8b089bddbfef77e2b969245b5cf | [
"MIT"
] | 1 | 2022-01-18T09:38:19.000Z | 2022-01-18T09:38:19.000Z | //===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/function/function_set.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/function/aggregate_function.hpp"
#include "duck... | 21.173913 | 80 | 0.593429 |
2945e7efff2879103dcf15d7ac8244bce580af52 | 4,954 | cpp | C++ | Net/samples/SNMP/src/SNMP.cpp | RangelReale/poco | b5d9177abebac49da74722b5f193958dbef1ce94 | [
"BSL-1.0"
] | null | null | null | Net/samples/SNMP/src/SNMP.cpp | RangelReale/poco | b5d9177abebac49da74722b5f193958dbef1ce94 | [
"BSL-1.0"
] | null | null | null | Net/samples/SNMP/src/SNMP.cpp | RangelReale/poco | b5d9177abebac49da74722b5f193958dbef1ce94 | [
"BSL-1.0"
] | 1 | 2021-07-16T12:16:40.000Z | 2021-07-16T12:16:40.000Z | //
// SNMP.cpp
//
// $Id: //poco/1.4/Net/samples/SNMP/src/SNMP.cpp#1 $
//
// This sample demonstrates the Application class.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/Util/Application.h"
#include "Poco/Ut... | 25.147208 | 111 | 0.650989 |
29465c2e066ca72691b720423f6dd2ea06a8ed57 | 2,002 | hpp | C++ | mars/boost/thread/win32/recursive_mutex.hpp | jonetomtom/mars | 3f11714e0aee826eb12bfd52496b59675125204a | [
"BSD-2-Clause",
"Apache-2.0"
] | 17,104 | 2016-12-28T07:45:54.000Z | 2022-03-31T07:02:52.000Z | 3rdparty/boost/thread/win32/recursive_mutex.hpp | qingkouwei/mediaones | cec475e1bfd5807b5351cc7e38d244ac5298ca16 | [
"MIT"
] | 964 | 2016-12-28T08:13:33.000Z | 2022-03-31T13:36:40.000Z | mars/boost/thread/win32/recursive_mutex.hpp | pengjinning/mars | 227aff64a5b819555091a7d6eae6727701e9fff0 | [
"Apache-2.0",
"BSD-2-Clause"
] | 3,568 | 2016-12-28T07:47:46.000Z | 2022-03-31T02:13:19.000Z | #ifndef BOOST_RECURSIVE_MUTEX_WIN32_HPP
#define BOOST_RECURSIVE_MUTEX_WIN32_HPP
// recursive_mutex.hpp
//
// (C) Copyright 2006-7 Anthony Williams
//
// 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)
#inclu... | 28.197183 | 80 | 0.711788 |
29467d6d763722e72e554f9b1a42d68f1f49a897 | 1,044,052 | cpp | C++ | src/Protocol/Palettes/Palette_1_15.cpp | nickc01/cuberite | be818200a6567218ba99bb072e721c4b64b71d67 | [
"Apache-2.0"
] | 4,126 | 2015-06-12T21:56:49.000Z | 2022-03-31T06:33:12.000Z | src/Protocol/Palettes/Palette_1_15.cpp | nickc01/cuberite | be818200a6567218ba99bb072e721c4b64b71d67 | [
"Apache-2.0"
] | 2,931 | 2015-06-11T17:13:15.000Z | 2022-03-31T22:46:31.000Z | src/Protocol/Palettes/Palette_1_15.cpp | nickc01/cuberite | be818200a6567218ba99bb072e721c4b64b71d67 | [
"Apache-2.0"
] | 917 | 2015-06-11T21:47:41.000Z | 2022-03-30T10:32:55.000Z | #include "Globals.h"
#include "Palette_1_15.h"
#include "Registries/BlockStates.h"
namespace Palette_1_15
{
UInt32 From(const BlockState Block)
{
using namespace Block;
switch (Block.ID)
{
case AcaciaButton::AcaciaButton(AcaciaButton::Face::Floor, eBlockFace::BLOCK_FACE_ZM, true).ID: return 5906;
case ... | 98.943518 | 212 | 0.769056 |
29484a32429ce7134dfc053205982f20a8f9d836 | 15,316 | cpp | C++ | tests/tests/thread_tests/thread_pool_tests.cpp | HungMingWu/concurrencpp | eb4ed8fb6cd8510925738868cf57bed882005b4b | [
"MIT"
] | null | null | null | tests/tests/thread_tests/thread_pool_tests.cpp | HungMingWu/concurrencpp | eb4ed8fb6cd8510925738868cf57bed882005b4b | [
"MIT"
] | null | null | null | tests/tests/thread_tests/thread_pool_tests.cpp | HungMingWu/concurrencpp | eb4ed8fb6cd8510925738868cf57bed882005b4b | [
"MIT"
] | null | null | null | #include "concurrencpp.h"
#include "../all_tests.h"
#include "../../tester/tester.h"
#include "../../helpers/assertions.h"
#include "../../helpers/thread_helpers.h"
#include "../../helpers/fast_randomizer.h"
#include "../../helpers/object_observer.h"
#include "../src/executors/constants.h"
#include "../src/threads/th... | 28.154412 | 116 | 0.729499 |
2948bdc9bd9e24a269df5468cd8f704f5bcde88c | 2,787 | cpp | C++ | src/pend_call.cpp | IntergatedCircuits/freertos-mcpp | 1bf9fcbdf3abd59ac528b1493046b30ef20b5e5e | [
"MIT"
] | 14 | 2020-12-08T13:26:47.000Z | 2022-03-29T16:17:43.000Z | src/pend_call.cpp | IntergatedCircuits/freertos-mcpp | 1bf9fcbdf3abd59ac528b1493046b30ef20b5e5e | [
"MIT"
] | 1 | 2021-09-08T06:45:59.000Z | 2021-09-08T12:40:43.000Z | src/pend_call.cpp | IntergatedCircuits/freertos-mcpp | 1bf9fcbdf3abd59ac528b1493046b30ef20b5e5e | [
"MIT"
] | 6 | 2021-04-05T17:20:39.000Z | 2021-10-04T07:22:54.000Z | /**
* @file pend_call.cpp
* @brief FreeRTOS pend call API abstraction
* @author Benedek Kupper
*
* Copyright (c) 2021 Benedek Kupper
*
* 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 ... | 33.987805 | 113 | 0.687836 |
294a66a7222890b1e1219c0d8e8031f62d46e330 | 1,964 | cpp | C++ | contests/uva/uva-11728.cpp | leomaurodesenv/contest-codes | f7ae7e9d8c67e43dea7ac7dd71afce20d804f518 | [
"MIT"
] | null | null | null | contests/uva/uva-11728.cpp | leomaurodesenv/contest-codes | f7ae7e9d8c67e43dea7ac7dd71afce20d804f518 | [
"MIT"
] | null | null | null | contests/uva/uva-11728.cpp | leomaurodesenv/contest-codes | f7ae7e9d8c67e43dea7ac7dd71afce20d804f518 | [
"MIT"
] | null | null | null | /*
* Problema: 11728 - Alternate Task
* https://uva.onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=2828
*/
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstdlib>
#include <numeric>
#include <string>
#include <sstream>
#include <iomanip>
#include <locale>
#include <bitset>
#i... | 22.067416 | 103 | 0.536151 |
294b1707694b6bcfc0cec87ee06056ad9671ce74 | 25,178 | cpp | C++ | src/simulator.cpp | rookielxy/CodeCraft-2019 | 91af87f37b934232949b2302e0a5857252e2eec8 | [
"MIT"
] | null | null | null | src/simulator.cpp | rookielxy/CodeCraft-2019 | 91af87f37b934232949b2302e0a5857252e2eec8 | [
"MIT"
] | null | null | null | src/simulator.cpp | rookielxy/CodeCraft-2019 | 91af87f37b934232949b2302e0a5857252e2eec8 | [
"MIT"
] | null | null | null | #include "scheduler.h"
#include "graph.h"
#include "car.h"
vector<enum State> Car::states;
vector<int> Car::nextRoads;
vector<CarState> Car::instantStates;
void Scheduler::initNetwork() {
home = (int)cars.size();
way = 0;
end = 0;
presetWay = 0;
network.resize(graph.roads.size());
for (int i = 0; i < (int)grap... | 29.831754 | 180 | 0.633887 |
294d8cf4a4e322ce16ad955ca5998eb69e25b524 | 3,425 | cc | C++ | src/js/js.cc | mywebengine/myserv | 1b7e0a1822bd8cb62d0640392d58424633866c97 | [
"MIT"
] | null | null | null | src/js/js.cc | mywebengine/myserv | 1b7e0a1822bd8cb62d0640392d58424633866c97 | [
"MIT"
] | null | null | null | src/js/js.cc | mywebengine/myserv | 1b7e0a1822bd8cb62d0640392d58424633866c97 | [
"MIT"
] | null | null | null | /*
g++ -c js.cc -o ./js.o -std=c++17 -Wall -pedantic -I/home/alex/cc/certify/include -I/home/alex/cc/v8 -I/home/alex/cc/v8/include
gcc -shared -o ./js.so ./js.o -I/home/alex/cc/certify/include -I/home/alex/cc/v8 -I/home/alex/cc/v8/include -lv8_monolith -L/home/alex/cc/v8/out.gn/x64.release.sample/obj/ -DV8_COMPRESS_PO... | 43.35443 | 415 | 0.715328 |
294e0662852b73ea3a855d2cf310d19ce020fb1c | 1,681 | cpp | C++ | hw3-Constructing Abstract Syntax Trees/src/lib/AST/function.cpp | banne2266/compiler-NCTU-2020 | d8a642479bc0d62611773591af844b7daebcc99a | [
"MIT"
] | 1 | 2021-08-03T13:45:31.000Z | 2021-08-03T13:45:31.000Z | hw3-Constructing Abstract Syntax Trees/src/lib/AST/function.cpp | banne2266/compiler-NCTU-2020 | d8a642479bc0d62611773591af844b7daebcc99a | [
"MIT"
] | null | null | null | hw3-Constructing Abstract Syntax Trees/src/lib/AST/function.cpp | banne2266/compiler-NCTU-2020 | d8a642479bc0d62611773591af844b7daebcc99a | [
"MIT"
] | 1 | 2021-06-17T07:13:52.000Z | 2021-06-17T07:13:52.000Z | #include "AST/function.hpp"
#include "visitor/AstNodeVisitor.hpp"
// TODO
FunctionNode::FunctionNode(const uint32_t line, const uint32_t col, char *name_n,
std::vector<DeclNode *> * declarations_n,
enum p_type *type , AstNode *compound_n)
: AstNode{line, col} {
name = name_n;
declar... | 25.861538 | 81 | 0.578227 |
294f44beb38dfd47dcb4b0553fd10373edf28812 | 961 | cpp | C++ | CodeForces/Flipping game.cpp | abdelrahman0123/Problem-Solving | 9d40ed9adb6e6d519dc53f676b6dd44ca15ee70b | [
"MIT"
] | null | null | null | CodeForces/Flipping game.cpp | abdelrahman0123/Problem-Solving | 9d40ed9adb6e6d519dc53f676b6dd44ca15ee70b | [
"MIT"
] | null | null | null | CodeForces/Flipping game.cpp | abdelrahman0123/Problem-Solving | 9d40ed9adb6e6d519dc53f676b6dd44ca15ee70b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define all(v) v.begin(), v.end()
#define sz(v) v.size()
#define cin(v) for (int i = 0; i < v.size(); i++) cin >> v[i];
#define cout(v) for (auto i : v) cout << i << endl;
typedef long long ll;
typedef ve... | 19.22 | 67 | 0.504683 |
295119d52d19762a13f50d8cec13f49007250822 | 7,911 | cpp | C++ | src/bindings/javascript/units.cpp | nickerso/libcellml | 9fe5ecabc3e63c49d5ee8539ed2c8ce572a9712a | [
"Apache-2.0"
] | 1 | 2021-02-15T01:09:04.000Z | 2021-02-15T01:09:04.000Z | src/bindings/javascript/units.cpp | nickerso/libcellml | 9fe5ecabc3e63c49d5ee8539ed2c8ce572a9712a | [
"Apache-2.0"
] | 8 | 2019-09-01T23:37:50.000Z | 2021-05-27T21:20:34.000Z | src/bindings/javascript/units.cpp | nickerso/libcellml | 9fe5ecabc3e63c49d5ee8539ed2c8ce572a9712a | [
"Apache-2.0"
] | 1 | 2022-02-04T06:11:40.000Z | 2022-02-04T06:11:40.000Z | /*
Copyright libCellML Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwa... | 62.785714 | 198 | 0.695614 |
2953669081323ae812de39e5d9d99cc4329622f8 | 3,076 | cpp | C++ | examples/time/main.cpp | rosflight/airbourne_f4 | 1009867d7e6d9b5730b4d58d238a276782769f8c | [
"BSD-3-Clause"
] | 7 | 2017-10-12T17:40:36.000Z | 2021-03-31T03:30:58.000Z | examples/time/main.cpp | rosflight/airbourne_f4 | 1009867d7e6d9b5730b4d58d238a276782769f8c | [
"BSD-3-Clause"
] | 42 | 2017-08-04T19:47:25.000Z | 2020-06-03T00:34:41.000Z | examples/time/main.cpp | rosflight/airbourne_f4 | 1009867d7e6d9b5730b4d58d238a276782769f8c | [
"BSD-3-Clause"
] | 8 | 2018-01-30T02:51:10.000Z | 2021-06-06T04:55:48.000Z | /*
* Copyright (c) 2017, James Jackson
*
* 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 cond... | 28.747664 | 83 | 0.663849 |
29542b0e31957ff9e314b88effa86d2bf62c859f | 7,892 | cpp | C++ | Engine/Math/Placement.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 1 | 2022-02-14T15:46:44.000Z | 2022-02-14T15:46:44.000Z | Engine/Math/Placement.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | null | null | null | Engine/Math/Placement.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 2 | 2022-01-10T22:17:06.000Z | 2022-01-17T09:34:08.000Z | #include "stdh.h"
#include <Engine/Math/Placement.h>
#include <Engine/Base/Stream.h>
#include <Engine/Math/Geometry.h>
#include <Engine/Math/Projection.h>
// Stream operations
CTStream &operator>>(CTStream &strm, CPlacement3D &p3d)
{
strm.Read_t(&p3d, sizeof(p3d));
return strm;
}
CTStream &operator<<(CTStream &... | 34.920354 | 107 | 0.743031 |
2955bfc38938dd4d1a2db2c8fb6621d1fcb3e5ca | 11,797 | tpp | C++ | src/hypro/algorithms/reachability/handlers/jumpHandlers/singularJumpHandler.tpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 22 | 2016-10-05T12:19:01.000Z | 2022-01-23T09:14:41.000Z | src/hypro/algorithms/reachability/handlers/jumpHandlers/singularJumpHandler.tpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 23 | 2017-05-08T15:02:39.000Z | 2021-11-03T16:43:39.000Z | src/hypro/algorithms/reachability/handlers/jumpHandlers/singularJumpHandler.tpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 12 | 2017-06-07T23:51:09.000Z | 2022-01-04T13:06:21.000Z | #include "singularJumpHandler.h"
namespace hypro {
template <typename Representation>
auto singularJumpHandler<Representation>::applyJump( const TransitionStateMap& states ) -> TransitionStateMap {
// holds a mapping of transitions to already processed (i.e. aggregated, resetted and reduced) states
TransitionStateM... | 45.373077 | 207 | 0.712554 |
29560a65c7dfa8da575e0d728b9fae1a0990303b | 1,370 | cpp | C++ | Common/Code/VertexBuffer.cpp | steamclock/internetmap | 13bf01e8e1fde8db64ce8fd417a1c907783100ee | [
"MIT"
] | 22 | 2017-07-11T20:31:16.000Z | 2021-04-04T16:00:10.000Z | Common/Code/VertexBuffer.cpp | steamclock/internetmap | 13bf01e8e1fde8db64ce8fd417a1c907783100ee | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | Common/Code/VertexBuffer.cpp | steamclock/internetmap | 13bf01e8e1fde8db64ce8fd417a1c907783100ee | [
"MIT"
] | 10 | 2017-12-08T21:58:58.000Z | 2021-03-20T07:16:47.000Z | //
// VertexBuffer.cpp
// InternetMap
//
#include "VertexBuffer.hpp"
#include "OpenGL.hpp"
#include "Types.hpp"
#include <stdlib.h>
VertexBuffer::VertexBuffer(int size) :
_size(size),
_vertexBuffer(0),
_lockedVertices(0)
{
// set up vertex buffer state
glGenBuffers(1, &_vertexBuffer);
glBindBuffer(GL_AR... | 24.035088 | 97 | 0.666423 |
2956b6dbed34cad750b59d1ef38ccfa90ee10da9 | 2,901 | hpp | C++ | include/memoria/api/common/iobuffer_adapters_col1d_vlen.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2021-07-30T16:54:24.000Z | 2021-09-08T15:48:17.000Z | include/memoria/api/common/iobuffer_adapters_col1d_vlen.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | null | null | null | include/memoria/api/common/iobuffer_adapters_col1d_vlen.hpp | victor-smirnov/memoria | c36a957c63532176b042b411b1646c536e71a658 | [
"BSL-1.0",
"Apache-2.0",
"OLDAP-2.8",
"BSD-3-Clause"
] | 2 | 2020-03-14T15:15:25.000Z | 2020-06-15T11:26:56.000Z |
// Copyright 2019 Victor Smirnov
//
// 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... | 27.894231 | 103 | 0.668735 |
2958d41172ecbbfdbb94938db9c8701c8e8367c5 | 32,682 | cpp | C++ | src/eepp/core/string.cpp | SpartanJ/eepp | 21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | src/eepp/core/string.cpp | SpartanJ/eepp | 21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac | [
"MIT"
] | null | null | null | src/eepp/core/string.cpp | SpartanJ/eepp | 21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #include <algorithm>
#include <cctype>
#include <climits>
#include <cstdarg>
#include <eepp/core/string.hpp>
#include <eepp/core/utf.hpp>
#include <functional>
#include <iterator>
#include <limits>
namespace EE {
const std::size_t String::InvalidPos = StringType::npos;
/*
* Originally written by Joel Yliluoma <joel... | 27.533277 | 98 | 0.66581 |
295ceda83f968b9575b83eb91a5be8d97198ebd3 | 781 | hpp | C++ | include/mariadb++/decimal.hpp | mcoffin/mariadbpp | 5e509ed33e1474a5c0b91d4cd8fec0684988dc1f | [
"BSL-1.0"
] | 89 | 2018-03-31T07:29:47.000Z | 2022-03-05T01:33:58.000Z | include/mariadb++/decimal.hpp | mcoffin/mariadbpp | 5e509ed33e1474a5c0b91d4cd8fec0684988dc1f | [
"BSL-1.0"
] | 38 | 2018-06-05T01:14:46.000Z | 2021-11-04T21:44:51.000Z | include/mariadb++/decimal.hpp | mcoffin/mariadbpp | 5e509ed33e1474a5c0b91d4cd8fec0684988dc1f | [
"BSL-1.0"
] | 57 | 2018-05-08T11:05:51.000Z | 2022-01-12T14:14:56.000Z | //
// M A R I A D B + +
//
// Copyright The ViaDuck Project 2016 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef _MARIADB_DECIMAL_HPP_
#define _MARIADB_DECIMAL_HPP_
#include <strin... | 20.025641 | 68 | 0.636364 |
295d9be57462f01799239e3dc8c54f75020d7a91 | 4,440 | cpp | C++ | src/SamWriter.cpp | PacificBiosciences/pbbam | 5ab9230d36daf29be8a9d4d8c645307c2c193e32 | [
"BSD-3-Clause-Clear"
] | 21 | 2016-04-26T20:46:41.000Z | 2022-03-01T01:55:55.000Z | src/SamWriter.cpp | PacificBiosciences/pbbam | 5ab9230d36daf29be8a9d4d8c645307c2c193e32 | [
"BSD-3-Clause-Clear"
] | 25 | 2015-09-03T22:18:01.000Z | 2019-08-27T14:47:39.000Z | src/SamWriter.cpp | PacificBiosciences/pbbam | 5ab9230d36daf29be8a9d4d8c645307c2c193e32 | [
"BSD-3-Clause-Clear"
] | 20 | 2015-11-24T15:54:26.000Z | 2022-03-14T03:49:18.000Z | #include "PbbamInternalConfig.h"
#include <pbbam/SamWriter.h>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <htslib/hfile.h>
#include <htslib/sam.h>
#include <pbbam/Deleters.h>
#include <pbbam/Validator.h>
#include "Autovalidate.h"
#include "ErrnoReason... | 31.942446 | 99 | 0.606081 |
29621e521890b7dcaa05484c21f225012c2c5ac8 | 333,875 | cc | C++ | src/GLC.cc | Rombur/ouranos | 4337455790802b11bd520f48057ffea90d7657bc | [
"BSD-3-Clause"
] | null | null | null | src/GLC.cc | Rombur/ouranos | 4337455790802b11bd520f48057ffea90d7657bc | [
"BSD-3-Clause"
] | null | null | null | src/GLC.cc | Rombur/ouranos | 4337455790802b11bd520f48057ffea90d7657bc | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2013, Bruno Turcksin.
*
* This file is subject to the Modified BSD License and may not be distributed
* without copyright and license information. Please refer to the file
* license.txt for the text and further information on this license.
*/
#include "GLC.hh"
GLC::GLC(unsigned int sn,unsigned i... | 259.421134 | 325 | 0.94421 |
2962c6d4afcd11115d7c5e830c229c3b0329e62c | 6,369 | cc | C++ | 3rdParty/s2geometry/dfefe0c/src/s2/s2earth_test.cc | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | 3rdParty/s2geometry/dfefe0c/src/s2/s2earth_test.cc | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | 3rdParty/s2geometry/dfefe0c/src/s2/s2earth_test.cc | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | // Copyright 2005 Google Inc. 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... | 43.326531 | 80 | 0.653478 |
2965e402c3f1c9adcc84822c21e5cfb570c5d257 | 4,571 | cpp | C++ | embroidermodder2/object-base.cpp | titusmaxentius/Embroidermodder | eb9fa277310f759946524ea303d68d0a63b21970 | [
"Zlib"
] | 339 | 2015-01-11T11:52:14.000Z | 2022-03-29T10:46:08.000Z | embroidermodder2/object-base.cpp | titusmaxentius/Embroidermodder | eb9fa277310f759946524ea303d68d0a63b21970 | [
"Zlib"
] | 208 | 2015-01-11T13:45:55.000Z | 2022-03-26T16:18:42.000Z | embroidermodder2/object-base.cpp | titusmaxentius/Embroidermodder | eb9fa277310f759946524ea303d68d0a63b21970 | [
"Zlib"
] | 124 | 2015-01-07T17:22:23.000Z | 2022-03-10T05:49:22.000Z | #include "embroidermodder.h"
#include <QDebug>
#include <QGraphicsScene>
#include <QMessageBox>
#include <QDateTime>
#include <QPainter>
BaseObject::BaseObject(QGraphicsItem* parent) : QGraphicsPathItem(parent)
{
qDebug("BaseObject Constructor()");
objPen.setCapStyle(Qt::RoundCap);
objPen.setJoinStyle(Qt... | 28.56875 | 114 | 0.646904 |
296729d8456aa2cf9c17bbf8860bf2e0ce6a8ed2 | 10,198 | cc | C++ | ash/system/ime/tray_ime.cc | junmin-zhu/chromium-rivertrail | eb1a57aca71fe68d96e48af8998dcfbe45171ee1 | [
"BSD-3-Clause"
] | null | null | null | ash/system/ime/tray_ime.cc | junmin-zhu/chromium-rivertrail | eb1a57aca71fe68d96e48af8998dcfbe45171ee1 | [
"BSD-3-Clause"
] | null | null | null | ash/system/ime/tray_ime.cc | junmin-zhu/chromium-rivertrail | eb1a57aca71fe68d96e48af8998dcfbe45171ee1 | [
"BSD-3-Clause"
] | 1 | 2020-11-04T07:27:33.000Z | 2020-11-04T07:27:33.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 "ash/system/ime/tray_ime.h"
#include <vector>
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ash/system/tray/syst... | 28.971591 | 80 | 0.698568 |
2967f6a1a91ad3b56f1e058f019c1e93845ede17 | 2,393 | cpp | C++ | GLEngine/BaseCamera.cpp | Darker1300/GLEngine_2017_Alpha | 742cf7a0c9ba5c172b173ecc1a7f2ae384b293c6 | [
"MIT"
] | null | null | null | GLEngine/BaseCamera.cpp | Darker1300/GLEngine_2017_Alpha | 742cf7a0c9ba5c172b173ecc1a7f2ae384b293c6 | [
"MIT"
] | null | null | null | GLEngine/BaseCamera.cpp | Darker1300/GLEngine_2017_Alpha | 742cf7a0c9ba5c172b173ecc1a7f2ae384b293c6 | [
"MIT"
] | null | null | null | #include "DEBUG_NEW_LEAK_DETECT.h"
#include "CameraBase.h"
#ifdef _DEBUG
#include <iostream>
#endif
#include "ApplicationBase.h"
//CameraBase* GLE::MAIN_CAM = nullptr;
CameraBase::CameraBase()
: m_projectionTransform(1)
, m_FOV(0.25f)
, m_near(0.1f)
, m_far(1000.0f)
, m_transform()
{
m_aspectRatio = (float)GLE... | 21.558559 | 115 | 0.646887 |
29682f83e034219dda8833b0620e746a554df523 | 22,434 | cpp | C++ | src/PerfMixer.cpp | wrongPaul/dBiz | 3b1887f812ca346590c1782f4a9b267688ad08ea | [
"CC0-1.0"
] | 1 | 2019-10-28T20:20:57.000Z | 2019-10-28T20:20:57.000Z | src/PerfMixer.cpp | wrongPaul/dBiz | 3b1887f812ca346590c1782f4a9b267688ad08ea | [
"CC0-1.0"
] | null | null | null | src/PerfMixer.cpp | wrongPaul/dBiz | 3b1887f812ca346590c1782f4a9b267688ad08ea | [
"CC0-1.0"
] | null | null | null |
#include "plugin.hpp"
///////////////////////////////////////////////////
struct PerfMixer : Module {
enum ParamIds
{
MAIN_VOL_PARAM,
AUX_R1_PARAM,
AUX_R2_PARAM,
AUX_S1_PARAM,
AUX_S2_PARAM,
ENUMS(VOL_PARAM, 8),
ENUMS(PAN_PARAM, 8),
ENUMS(AUX_1_PARAM ,8),
ENUMS(AUX_2_PARAM ,8),... | 47.935897 | 191 | 0.65744 |
2968c7b9cebca93636f5d4de0b328865a9f93a5c | 383 | cpp | C++ | cpp/stringstream.cpp | cozek/code-practice | bf3098dbeb502cab2e22ce7ea73c2aa05a3caf80 | [
"MIT"
] | null | null | null | cpp/stringstream.cpp | cozek/code-practice | bf3098dbeb502cab2e22ce7ea73c2aa05a3caf80 | [
"MIT"
] | null | null | null | cpp/stringstream.cpp | cozek/code-practice | bf3098dbeb502cab2e22ce7ea73c2aa05a3caf80 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <string>
#include <vector>
int main() {
std::string numString = "1,2,3,4,5";
std::stringstream ss(numString);
std::vector<int> intVec;
for (int i; ss>>i;) {
intVec.push_back(i);
if(ss.peek() == ','){
ss.ignore();
}
}
for (int i = 0; i<intV... | 17.409091 | 40 | 0.553525 |
296944b759642b94e20c8bae04ec73438f6b1ae3 | 6,135 | hpp | C++ | ReactAndroid/build/third-party-ndk/boost/boost_1_57_0/boost/geometry/geometries/concepts/check.hpp | kimwoongkyu/react-native-0-36-1-woogie | 4fb2d44945a6305ae3ca87be3872f9432d16f1fb | [
"BSD-3-Clause"
] | 85 | 2015-02-08T20:36:17.000Z | 2021-11-14T20:38:31.000Z | ReactAndroid/build/third-party-ndk/boost/boost_1_57_0/boost/geometry/geometries/concepts/check.hpp | kimwoongkyu/react-native-0-36-1-woogie | 4fb2d44945a6305ae3ca87be3872f9432d16f1fb | [
"BSD-3-Clause"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | ReactAndroid/build/third-party-ndk/boost/boost_1_57_0/boost/geometry/geometries/concepts/check.hpp | kimwoongkyu/react-native-0-36-1-woogie | 4fb2d44945a6305ae3ca87be3872f9432d16f1fb | [
"BSD-3-Clause"
] | 27 | 2015-01-28T16:33:30.000Z | 2021-08-12T05:04:39.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2008-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
... | 25.143443 | 80 | 0.732355 |
296a3bd0b6c17a6c14578d3ff5e106ba8e4cfbec | 3,275 | cc | C++ | source/test/http/URLBuilder_test.cc | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 2 | 2018-02-03T06:56:29.000Z | 2021-04-20T10:28:32.000Z | source/test/http/URLBuilder_test.cc | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 8 | 2018-02-18T21:00:07.000Z | 2018-02-20T15:31:24.000Z | source/test/http/URLBuilder_test.cc | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 1 | 2018-02-09T07:09:26.000Z | 2018-02-09T07:09:26.000Z | // MIT License
//
// Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com)
//
// 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 ... | 34.114583 | 110 | 0.719695 |
296b2856e4b35e845293eca485f340d0b2de7bf8 | 1,184 | cpp | C++ | fuzz/Fuzz.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | fuzz/Fuzz.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | fuzz/Fuzz.cpp | NearTox/Skia | 8b7e0616161fff86ecbd8938b90600d72b8d5c1d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "fuzz/Fuzz.h"
#include "fuzz/FuzzCommon.h"
// UBSAN reminds us that bool can only legally hold 0 or 1.
void Fuzz::next(bool* b) {
uint8_t n;
this->next(&n);
*b... | 23.68 | 73 | 0.625 |
296b58f8de1e6562f8822dc84be62c3d62ee4ef1 | 1,159 | hpp | C++ | cpp/src/g2p.hpp | oddvoices/oddvoices | 824592478f4b805afff4d6da2728de5aa93d0575 | [
"Apache-2.0"
] | 25 | 2021-03-11T17:31:31.000Z | 2022-03-23T07:24:34.000Z | cpp/src/g2p.hpp | oddvoices/oddvoices | 824592478f4b805afff4d6da2728de5aa93d0575 | [
"Apache-2.0"
] | 60 | 2021-03-04T03:16:05.000Z | 2022-01-21T05:36:46.000Z | cpp/src/g2p.hpp | oddvoices/oddvoices | 824592478f4b805afff4d6da2728de5aa93d0575 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <map>
#include <vector>
#include <set>
#include <string>
#include <sstream>
namespace oddvoices {
namespace g2p {
extern std::set<unsigned char> k_punctuation;
extern std::vector<std::string> k_allPhonemes;
extern std::map<std::string, std::vector<std::string>> k_phonemeAliases;
extern std::map... | 27.595238 | 78 | 0.732528 |
296b62ad339dc3a56669a5e00102e780195116ca | 29,716 | cpp | C++ | Client/test/TestServer.cpp | ecmwf/ecflow | 2498d0401d3d1133613d600d5c0e0a8a30b7b8eb | [
"Apache-2.0"
] | 11 | 2020-08-07T14:42:45.000Z | 2021-10-21T01:59:59.000Z | Client/test/TestServer.cpp | CoollRock/ecflow | db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d | [
"Apache-2.0"
] | 10 | 2020-08-07T14:36:27.000Z | 2022-02-22T06:51:24.000Z | Client/test/TestServer.cpp | CoollRock/ecflow | db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d | [
"Apache-2.0"
] | 6 | 2020-08-07T14:34:38.000Z | 2022-01-10T12:06:27.000Z | //============================================================================
// Name :
// Author : Avi
// Revision : $Revision: #45 $
//
// Copyright 2009-2020 ECMWF.
// This software is licensed under the terms of the Apache Licence version 2.0
// which can be obtained at http://www.apache.org/licen... | 71.090909 | 205 | 0.689427 |
296d29c557d2af33cc5fdbd246a8c071e25c3405 | 24,686 | cpp | C++ | IGC/Compiler/CISACodeGen/URBPartialWrites.cpp | mateuszchudyk/intel-graphics-compiler | d0e75bad9778a428a7a43768084852e3b4414e0e | [
"Intel",
"MIT"
] | 1 | 2022-02-10T11:09:49.000Z | 2022-02-10T11:09:49.000Z | IGC/Compiler/CISACodeGen/URBPartialWrites.cpp | mateuszchudyk/intel-graphics-compiler | d0e75bad9778a428a7a43768084852e3b4414e0e | [
"Intel",
"MIT"
] | null | null | null | IGC/Compiler/CISACodeGen/URBPartialWrites.cpp | mateuszchudyk/intel-graphics-compiler | d0e75bad9778a428a7a43768084852e3b4414e0e | [
"Intel",
"MIT"
] | null | null | null | /*========================== begin_copyright_notice ============================
Copyright (C) 2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#include "common/LLVMWarningsPush.hpp"
#include <llvm/Analysis/CFG.h>
#include <llvm/Ana... | 35.165242 | 102 | 0.604108 |
296e49dbf5f668096e0b083c7f5330d7850ee39b | 1,230 | hpp | C++ | Vision/ObjectRecognition/include/object_pipeline.hpp | cxdcxd/sepanta3 | a65a3415f046631ac4d6b91f9342966b0c030226 | [
"MIT"
] | null | null | null | Vision/ObjectRecognition/include/object_pipeline.hpp | cxdcxd/sepanta3 | a65a3415f046631ac4d6b91f9342966b0c030226 | [
"MIT"
] | null | null | null | Vision/ObjectRecognition/include/object_pipeline.hpp | cxdcxd/sepanta3 | a65a3415f046631ac4d6b91f9342966b0c030226 | [
"MIT"
] | null | null | null | #ifndef _OBJECT_PIPELINE
#define _OBJECT_PIPELINE
#include <pcl/point_types.h>
#include <object.hpp>
class ObjectPipeline {
public:
ObjectPipeline();
ObjectPipeline(boost::shared_ptr<std::vector<Object>> trained_objects);
pcl::PointCloud<pcl::PointXYZRGB>::Ptr passthroughPointCloud(pcl::PointCloud<pcl::... | 41 | 164 | 0.760976 |
2971dd2d4b30f543a6132a1a9559a8878d3c1d83 | 13,191 | cpp | C++ | GraphLayoutLibrary/CircularLayout/CircularLayoutGenerator.cpp | persistentsystems/LayoutLibrary | e299ac0073225c88f488dd9c2615ec786f8e2897 | [
"MIT"
] | 26 | 2016-09-13T08:50:09.000Z | 2022-02-14T15:14:54.000Z | GraphLayoutLibrary/CircularLayout/CircularLayoutGenerator.cpp | hotpeperoncino/GraphLayoutLibrary | 2dec062f6cdbbaa4b791bdd9c7cc54fe90adbc13 | [
"MIT"
] | 3 | 2017-06-21T04:18:58.000Z | 2018-01-17T13:27:42.000Z | GraphLayoutLibrary/CircularLayout/CircularLayoutGenerator.cpp | hotpeperoncino/GraphLayoutLibrary | 2dec062f6cdbbaa4b791bdd9c7cc54fe90adbc13 | [
"MIT"
] | 4 | 2017-12-08T09:08:34.000Z | 2021-07-22T06:42:31.000Z | #include "CircularLayoutGenerator.h"
#include "Common/LayoutEnum.h"
CircularLayoutGenerator::CircularLayoutGenerator()
{
m_iCenterX = 0;
m_iCenterY = 0;
}
void CircularLayoutGenerator::applyCircularLayout(SubGraph& gInputGraph, LayoutEnum::VertexOrderCriteria enVertexOrder)
{
// enVertexOrder =... | 41.481132 | 140 | 0.64453 |
2972e23f812deffb1c24b4b95ce84b839f8c37be | 286 | hpp | C++ | worker/include/RTC/RemoteBitrateEstimator/BandwidthUsage.hpp | kicyao/mediasoup | ca8e2d5b57aa2b0d1e5812bb28782d858cd669c6 | [
"0BSD"
] | null | null | null | worker/include/RTC/RemoteBitrateEstimator/BandwidthUsage.hpp | kicyao/mediasoup | ca8e2d5b57aa2b0d1e5812bb28782d858cd669c6 | [
"0BSD"
] | null | null | null | worker/include/RTC/RemoteBitrateEstimator/BandwidthUsage.hpp | kicyao/mediasoup | ca8e2d5b57aa2b0d1e5812bb28782d858cd669c6 | [
"0BSD"
] | null | null | null | #ifndef MS_RTC_REMOTE_BITRATE_ESTIMATOR_BANDWIDTH_USAGE_HPP
#define MS_RTC_REMOTE_BITRATE_ESTIMATOR_BANDWIDTH_USAGE_HPP
// webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h
namespace RTC
{
enum BandwidthUsage
{
kBwNormal,
kBwUnderusing,
kBwOverusing
};
}
#endif
| 16.823529 | 64 | 0.835664 |
2973abec041a836ec48096ee61f42e4ffeeebc83 | 11,983 | cpp | C++ | ndn-cxx/mgmt/dispatcher.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 106 | 2015-01-06T10:08:29.000Z | 2022-02-27T13:40:16.000Z | ndn-cxx/mgmt/dispatcher.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 6 | 2015-10-15T23:21:06.000Z | 2016-12-20T19:03:10.000Z | ndn-cxx/mgmt/dispatcher.cpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 147 | 2015-01-15T15:07:29.000Z | 2022-02-03T13:08:43.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2021 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | 35.038012 | 111 | 0.650505 |
2976dd5053f88034cf897aa6bef4e33fba4874ab | 26,227 | cc | C++ | intern/libmv/libmv/simple_pipeline/bundle.cc | vansoest/blender | 7bc4a436a0811dd8822c5c77f28aac81e64277b8 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | intern/libmv/libmv/simple_pipeline/bundle.cc | vansoest/blender | 7bc4a436a0811dd8822c5c77f28aac81e64277b8 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | intern/libmv/libmv/simple_pipeline/bundle.cc | vansoest/blender | 7bc4a436a0811dd8822c5c77f28aac81e64277b8 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | // Copyright (c) 2011, 2012, 2013 libmv authors.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, me... | 36.681119 | 82 | 0.662256 |
2976df73404b8968457f536ada57c1d80954d318 | 432 | cc | C++ | function_ref/snippets/snippet-function_ref-private-spec.cc | descender76/cpp_proposals | 2eb7e2f59257b376dadd1b66464e076c3de23ab1 | [
"BSL-1.0"
] | 1 | 2022-01-21T20:10:46.000Z | 2022-01-21T20:10:46.000Z | function_ref/snippets/snippet-function_ref-private-spec.cc | descender76/cpp_proposals | 2eb7e2f59257b376dadd1b66464e076c3de23ab1 | [
"BSL-1.0"
] | null | null | null | function_ref/snippets/snippet-function_ref-private-spec.cc | descender76/cpp_proposals | 2eb7e2f59257b376dadd1b66464e076c3de23ab1 | [
"BSL-1.0"
] | null | null | null | // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0792r5.html
namespace std
{
template <typename Signature>
class function_ref
{
void* erased_object; // exposition only
R(*erased_function)(Args...); // exposition only
// `R`, and `Args...` are the return type, and the para... | 25.411765 | 79 | 0.597222 |
29791ba3fca8189692e6356aa096de29d121ca99 | 22,025 | hpp | C++ | boost/boost/move/detail/fwd_macros.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 24 | 2015-08-25T05:35:37.000Z | 2020-10-24T14:21:59.000Z | boost/boost/move/detail/fwd_macros.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 97 | 2015-08-25T16:11:16.000Z | 2019-03-17T00:54:32.000Z | boost/boost/move/detail/fwd_macros.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 9 | 2015-08-26T03:11:38.000Z | 2018-03-21T07:16:29.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2014-2014. 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/contain... | 47.263948 | 110 | 0.835868 |
297aba696f17f03a57641ec46460184af9a8c119 | 10,008 | cpp | C++ | engine/audio/allegro.cpp | jpmorris33/ire | d6a0a9468c1f98010c5959be301b717f02336895 | [
"BSD-3-Clause"
] | null | null | null | engine/audio/allegro.cpp | jpmorris33/ire | d6a0a9468c1f98010c5959be301b717f02336895 | [
"BSD-3-Clause"
] | 8 | 2020-03-29T21:03:23.000Z | 2020-04-11T23:28:14.000Z | engine/audio/allegro.cpp | jpmorris33/ire | d6a0a9468c1f98010c5959be301b717f02336895 | [
"BSD-3-Clause"
] | 1 | 2020-06-11T16:54:37.000Z | 2020-06-11T16:54:37.000Z | //
// Sound engine wrappers for Allegro
//
#ifdef USE_ALSOUND
#include <stdlib.h> // atexit(), random
#include <string.h> // String splicing routines
#include <allegro.h>
#include "../ithelib.h"
#include "../console.hpp"
#include "../media.hpp"
#include "../loadfile.hpp"
#include "../sound.h"
#include "... | 16.905405 | 100 | 0.643086 |
297b86fd96f873aa7d487aad32e5d6749ab0f63c | 67,207 | cc | C++ | networkio.cc | Luthaf/zeopp | d3fed24fb157583323ece4966f98df293d3fa9a4 | [
"BSD-3-Clause-LBNL"
] | 3 | 2018-05-24T00:42:45.000Z | 2018-05-24T12:34:05.000Z | networkio.cc | Luthaf/zeopp | d3fed24fb157583323ece4966f98df293d3fa9a4 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-04-23T12:21:33.000Z | 2021-04-23T12:41:03.000Z | networkio.cc | Luthaf/zeopp | d3fed24fb157583323ece4966f98df293d3fa9a4 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <cstdlib>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <ctime>
#include <fstream>
#include <string>
#include <sstream>
#include "networkio.h"
#include "string_additions.h"
#include "networkinfo.h"
#include "geometry.h"
#include "symbcalc.h"
#include "zeo_consts.h"
#include "network.h" ... | 37.820484 | 295 | 0.588227 |
297c6dcb64155ce6bd1968f192ae11d61e356c3d | 9,998 | cpp | C++ | rsa.cpp | ex0ample/cryptopp | 9ea66ce4d97d59d61e49c93f5af191107ebd1925 | [
"BSL-1.0"
] | 1 | 2020-03-10T06:53:50.000Z | 2020-03-10T06:53:50.000Z | rsa.cpp | ex0ample/cryptopp | 9ea66ce4d97d59d61e49c93f5af191107ebd1925 | [
"BSL-1.0"
] | null | null | null | rsa.cpp | ex0ample/cryptopp | 9ea66ce4d97d59d61e49c93f5af191107ebd1925 | [
"BSL-1.0"
] | null | null | null | // rsa.cpp - originally written and placed in the public domain by Wei Dai
#include "pch.h"
#include "rsa.h"
#include "asn.h"
#include "sha.h"
#include "oids.h"
#include "modarith.h"
#include "nbtheory.h"
#include "algparam.h"
#include "fips140.h"
#include "pkcspad.h"
#if defined(CRYPTOPP_DEBUG) && !defi... | 30.205438 | 118 | 0.691138 |
297f8ee7cd7623c0491116d7aaefbba2f00f0862 | 6,419 | cc | C++ | components/optimization_guide/core/optimization_filter_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | components/optimization_guide/core/optimization_filter_unittest.cc | blueboxd/chromium-legacy | 07223bc94bd97499909c9ed3c3f5769d718fe2e0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | components/optimization_guide/core/optimization_filter_unittest.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright 2018 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 "components/optimization_guide/core/optimization_filter.h"
#include "base/macros.h"
#include "components/optimization_guide/core/bloom_filter.h"... | 45.524823 | 80 | 0.685309 |
29806cc9eddad83ecc0a92223d425cb5e9ff6524 | 7,100 | cpp | C++ | src/liboslexec/opmessage.cpp | FrankFirsching/OpenShadingLanguage | 2789d4345a2865af669c8b3bb402a5bff9faf927 | [
"BSD-3-Clause"
] | 2 | 2019-10-05T20:01:05.000Z | 2021-07-29T19:28:18.000Z | src/liboslexec/opmessage.cpp | brechtvl/OpenShadingLanguage | 71c4fb263fcdc88decf2b86d346836f7a2b4d463 | [
"BSD-3-Clause"
] | null | null | null | src/liboslexec/opmessage.cpp | brechtvl/OpenShadingLanguage | 71c4fb263fcdc88decf2b86d346836f7a2b4d463 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2010 Sony Pictures Imageworks Inc., et al.
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 conditi... | 41.040462 | 136 | 0.596338 |
2980e34ab6c75d0a36900d4e235743fae743b1a8 | 13,431 | cc | C++ | third_party/webrtc/src/chromium/src/third_party/ots/src/gdef.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/chromium/src/third_party/ots/src/gdef.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/chromium/src/third_party/ots/src/gdef.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | // Copyright (c) 2011 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 "gdef.h"
#include <limits>
#include <vector>
#include "gpos.h"
#include "gsub.h"
#include "layout.h"
#include "maxp.h"
// GDEF - The Glyph... | 34.088832 | 106 | 0.650436 |
2981ae0a60421e2fb5be576ab4071d8739ed2065 | 24,898 | cpp | C++ | dev/Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/Slider.cpp | pawandayma/lumberyard | e178f173f9c21369efd8c60adda3914e502f006a | [
"AML"
] | 2 | 2020-06-27T12:13:44.000Z | 2020-06-27T12:13:46.000Z | dev/Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/Slider.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | null | null | null | dev/Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/Slider.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"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... | 32.846966 | 236 | 0.682103 |
2981c85d2cff80cf5f737fb5d5e53d9822c9d022 | 8,524 | cpp | C++ | golg__map_cell.cpp | poikilos/golgotha | d3184dea6b061f853423e0666dba23218042e5ba | [
"CC0-1.0"
] | 5 | 2015-12-09T20:37:49.000Z | 2021-08-10T08:06:29.000Z | golg__map_cell.cpp | poikilos/golgotha | d3184dea6b061f853423e0666dba23218042e5ba | [
"CC0-1.0"
] | 13 | 2021-09-20T16:25:30.000Z | 2022-03-17T04:59:40.000Z | golg__map_cell.cpp | poikilos/golgotha | d3184dea6b061f853423e0666dba23218042e5ba | [
"CC0-1.0"
] | 5 | 2016-01-04T22:54:22.000Z | 2021-09-20T16:09:03.000Z | /********************************************************************** <BR>
This file is part of Crack dot Com's free source code release of
Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
information about compiling & licensing issues visit this URL</a>
<PRE> If that doesn't help, ... | 20.103774 | 95 | 0.594205 |
2981fde212706d40f34805e7f73e99d810971414 | 2,617 | cpp | C++ | tests/experimental/test_ExperimentalUserConstraint.cpp | quadric-io/crave | 8096d8b151cbe0d2ba437657f42d8bb0e05f5436 | [
"MIT"
] | 32 | 2015-05-11T02:38:40.000Z | 2022-02-23T07:31:26.000Z | tests/experimental/test_ExperimentalUserConstraint.cpp | quadric-io/crave | 8096d8b151cbe0d2ba437657f42d8bb0e05f5436 | [
"MIT"
] | 10 | 2018-06-08T14:44:58.000Z | 2021-08-19T16:07:21.000Z | tests/experimental/test_ExperimentalUserConstraint.cpp | quadric-io/crave | 8096d8b151cbe0d2ba437657f42d8bb0e05f5436 | [
"MIT"
] | 8 | 2019-05-29T21:40:31.000Z | 2021-12-01T09:31:15.000Z | #include <boost/test/unit_test.hpp>
#include <crave/ir/UserConstraint.hpp>
#include <crave/ir/UserExpression.hpp>
#include <crave/utils/Evaluator.hpp>
#include <crave/ir/visitor/ComplexityEstimationVisitor.hpp>
// using namespace std;
using namespace crave;
BOOST_FIXTURE_TEST_SUITE(UserConstraint, Context_Fixture)
... | 31.53012 | 81 | 0.690485 |
29828f43f84a649e2cb7fc5a4932779df718d2a9 | 3,266 | cpp | C++ | devices-framework/riot-app/riot/sys/arduino/serialport.cpp | bench-os/bench-os | 38ade08e097ca215f7465047dfa70503af11d612 | [
"MIT"
] | 1 | 2020-02-21T09:16:17.000Z | 2020-02-21T09:16:17.000Z | extension-framework/riot-app/riot/sys/arduino/serialport.cpp | bench-os/bench-os | 38ade08e097ca215f7465047dfa70503af11d612 | [
"MIT"
] | null | null | null | extension-framework/riot-app/riot/sys/arduino/serialport.cpp | bench-os/bench-os | 38ade08e097ca215f7465047dfa70503af11d612 | [
"MIT"
] | 1 | 2020-02-21T09:21:45.000Z | 2020-02-21T09:21:45.000Z | /*
* Copyright (C) 2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @ingroup sys_arduino
* @{
*
* @file
* @brief Implementation of the Ard... | 17.945055 | 80 | 0.600122 |
298425e2f1c71a2d8cbae36e4e11d936c1a27795 | 1,961 | cpp | C++ | ExcelProject/CellDouble.cpp | veselin465/ExcelTable | d4989e21e4453e856599e1aa7527e8de9be80007 | [
"MIT"
] | null | null | null | ExcelProject/CellDouble.cpp | veselin465/ExcelTable | d4989e21e4453e856599e1aa7527e8de9be80007 | [
"MIT"
] | null | null | null | ExcelProject/CellDouble.cpp | veselin465/ExcelTable | d4989e21e4453e856599e1aa7527e8de9be80007 | [
"MIT"
] | null | null | null | #include "CellDouble.h"
CellDouble::CellDouble(){
double_ = 0;
}
CellDouble::CellDouble(const std::string& value){
double_ = 0;
setValue(value);
}
CellDouble::CellDouble(const CellDouble& copy){
double_ = copy.double_;
}
void CellDouble::setValue(const std::string& value){
if(isValid(value)){
... | 21.086022 | 55 | 0.527792 |
2984d51cde646c84acf0c927b0996cddf100c31e | 2,669 | cc | C++ | src/pygmm.cc | zxytim/fast-gmm | 5b6940d62c950889d51d5a3dfc99907e3b631958 | [
"MIT"
] | 20 | 2015-10-27T10:41:32.000Z | 2020-12-23T06:10:36.000Z | src/pygmm.cc | H2020-InFuse/fast-gmm | e88b58d0cb3c9cf1579e6e7c6523a4f10d7e904a | [
"MIT"
] | 3 | 2017-03-06T07:51:38.000Z | 2018-08-16T08:36:34.000Z | src/pygmm.cc | H2020-InFuse/fast-gmm | e88b58d0cb3c9cf1579e6e7c6523a4f10d7e904a | [
"MIT"
] | 6 | 2017-01-26T12:57:01.000Z | 2019-05-18T06:55:16.000Z | /*
* $File: pygmm.cc
* $Date: Wed Dec 11 18:50:31 2013 +0800
* $Author: Xinyu Zhou <zxytim[at]gmail[dot]com>
*/
#include "pygmm.hh"
#include "gmm.hh"
#include <fstream>
using namespace std;
typedef vector<vector<real_t>> DenseDataset;
void conv_double_pp_to_vv(double **Xp, DenseDataset &X, int nr_instance, int... | 27.515464 | 130 | 0.681529 |
2984ea0fb0f4b99b537bde25a55d2e4bb1ed2b01 | 17,413 | cpp | C++ | far/grabber.cpp | gvvynplaine/FarManager | fa26311977da68d349088e4f51736963a15c0549 | [
"BSD-3-Clause"
] | 1 | 2019-11-15T10:13:04.000Z | 2019-11-15T10:13:04.000Z | far/grabber.cpp | fcccode/FarManager | 5df65d2ea1fc1dca27acd439313b5347d4c9afdd | [
"BSD-3-Clause"
] | null | null | null | far/grabber.cpp | fcccode/FarManager | 5df65d2ea1fc1dca27acd439313b5347d4c9afdd | [
"BSD-3-Clause"
] | null | null | null | /*
grabber.cpp
Screen grabber
*/
/*
Copyright © 1996 Eugene Roshal
Copyright © 2000 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above cop... | 25.018678 | 254 | 0.674955 |
2985674b4ce02f5cef60c46ba37c6b8b0fca82b8 | 19,310 | cc | C++ | gearmand/gearmand.cc | alionurdemetoglu/gearmand | dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22 | [
"BSD-3-Clause"
] | 712 | 2016-07-02T03:32:22.000Z | 2022-03-23T14:23:02.000Z | gearmand/gearmand.cc | alionurdemetoglu/gearmand | dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22 | [
"BSD-3-Clause"
] | 294 | 2016-07-03T16:17:41.000Z | 2022-03-30T04:37:49.000Z | gearmand/gearmand.cc | alionurdemetoglu/gearmand | dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22 | [
"BSD-3-Clause"
] | 163 | 2016-07-08T10:03:38.000Z | 2022-01-21T05:03:48.000Z | /* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Gearmand client and server library.
*
* Copyright (C) 2011-2013 Data Differential, http://datadifferential.com/
* Copyright (C) 2008 Brian Aker, Eric Day
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* ... | 29.662058 | 416 | 0.68348 |
2988952542ad7b50ab726e6e0e3513f94b4ab8b1 | 12,242 | cpp | C++ | src/engine/components/replay/cl_replaymoviemanager.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/engine/components/replay/cl_replaymoviemanager.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/engine/components/replay/cl_replaymoviemanager.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//
#include "cl_replaymoviemanager.h"
#include "replay/ireplaymoviemanager.h"
#include "replay/ireplaymovierenderer.h"
#include "replay/replay.h"
#in... | 30.452736 | 118 | 0.680444 |
2989dfc2a236f7fc08543543e20a31ed114d9062 | 603 | cpp | C++ | squangle/mysql_client/SyncMysqlClient.cpp | facebookarchive/squangle | b89d51f23cc489eb6911c770bb224b1ca69bdf5c | [
"BSD-3-Clause"
] | 28 | 2016-09-12T04:24:01.000Z | 2020-07-10T01:08:07.000Z | squangle/mysql_client/SyncMysqlClient.cpp | facebookarchive/squangle | b89d51f23cc489eb6911c770bb224b1ca69bdf5c | [
"BSD-3-Clause"
] | 1 | 2020-01-07T23:14:24.000Z | 2020-01-07T23:14:24.000Z | squangle/mysql_client/SyncMysqlClient.cpp | facebookarchive/squangle | b89d51f23cc489eb6911c770bb224b1ca69bdf5c | [
"BSD-3-Clause"
] | 12 | 2016-11-02T01:20:52.000Z | 2020-04-07T09:51:54.000Z | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "squangle/mysql_client/SyncMysqlClient.h"
namespace facebook {
namespace common {
namespa... | 25.125 | 72 | 0.751244 |
298c05833c1e5481e50e4314a8aa699f3363c9eb | 36,742 | cpp | C++ | tests/WebServerTests.cpp | naudhr/old-pion-net | dde7327a0c1a66c0b2d427efc4c704f5c65db227 | [
"BSL-1.0"
] | 1 | 2016-06-14T07:32:08.000Z | 2016-06-14T07:32:08.000Z | tests/WebServerTests.cpp | naudhr/old-pion-net | dde7327a0c1a66c0b2d427efc4c704f5c65db227 | [
"BSL-1.0"
] | null | null | null | tests/WebServerTests.cpp | naudhr/old-pion-net | dde7327a0c1a66c0b2d427efc4c704f5c65db227 | [
"BSL-1.0"
] | 1 | 2019-01-08T06:03:55.000Z | 2019-01-08T06:03:55.000Z | // ------------------------------------------------------------------
// pion-net: a C++ framework for building lightweight HTTP interfaces
// ------------------------------------------------------------------
// Copyright (C) 2007-2008 Atomic Labs, Inc. (http://www.atomiclabs.com)
//
// Distributed under the Boost So... | 36.342235 | 119 | 0.749143 |
298d359278ad51afbf71c75dfa098289dfd272a4 | 5,807 | cpp | C++ | samples/OpenGL/basic/main.cpp | KHeresy/SS6ssbpLib | 0cf4f08ae31a544f64249508cbd80289087f659d | [
"MIT"
] | null | null | null | samples/OpenGL/basic/main.cpp | KHeresy/SS6ssbpLib | 0cf4f08ae31a544f64249508cbd80289087f659d | [
"MIT"
] | null | null | null | samples/OpenGL/basic/main.cpp | KHeresy/SS6ssbpLib | 0cf4f08ae31a544f64249508cbd80289087f659d | [
"MIT"
] | null | null | null | #include <windows.h>
#include <stdio.h>
#include <iostream>
#include <GL/glew.h>
#include <GL/glut.h>
#include "./SSPlayer/SS6Player.h"
//画面サイズ
#define WIDTH (1280)
#define HEIGHT (720)
//FPS制御用
int nowtime = 0; //経過時間
int drawtime = 0; //前回の時間
//glutのコールバック関数
void mouse(int button, int state, int x, int y);
void ... | 20.81362 | 91 | 0.700017 |
298d63aea0d103907212ce09aea06bdbfb1a4975 | 224 | hpp | C++ | tools/TP/TP.hpp | jon-dez/easy-imgui | 06644279045c167e300b346f094f3dbebcbc963b | [
"MIT"
] | null | null | null | tools/TP/TP.hpp | jon-dez/easy-imgui | 06644279045c167e300b346f094f3dbebcbc963b | [
"MIT"
] | null | null | null | tools/TP/TP.hpp | jon-dez/easy-imgui | 06644279045c167e300b346f094f3dbebcbc963b | [
"MIT"
] | null | null | null | #include <functional>
#include <sstream>
namespace TP {
void prepare_pool(uint32_t number_threads = 0);
void add_job(std::function<void()> job);
void join_pool();
const std::stringstream& message_stream();
} | 24.888889 | 51 | 0.700893 |
2990605743d5ab86578f9f440439f9321fcc4411 | 3,188 | cpp | C++ | external/openglcts/modules/common/glcConfigListWGL.cpp | TinkerBoard2-Android/external-deqp | b092edde5fd8018799ad1ff5939411483c8cee0d | [
"Apache-2.0"
] | 20 | 2019-04-18T07:37:34.000Z | 2022-02-02T21:43:47.000Z | external/openglcts/modules/common/glcConfigListWGL.cpp | TinkerBoard2-Android/external-deqp | b092edde5fd8018799ad1ff5939411483c8cee0d | [
"Apache-2.0"
] | 11 | 2019-10-21T13:39:41.000Z | 2021-11-05T08:11:54.000Z | external/openglcts/modules/common/glcConfigListWGL.cpp | TinkerBoard2-Android/external-deqp | b092edde5fd8018799ad1ff5939411483c8cee0d | [
"Apache-2.0"
] | 2 | 2017-10-17T10:00:25.000Z | 2022-02-28T07:43:27.000Z | /*-------------------------------------------------------------------------
* OpenGL Conformance Test Suite
* -----------------------------
*
* Copyright (c) 2016 Google Inc.
* Copyright (c) 2016 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | 30.653846 | 113 | 0.694793 |
299437c35fc631fd22cb3a05e5751472972ca84e | 36,314 | cc | C++ | src/session/internal/session_output_test.cc | Kento75/mozc | 0abed62d6f9cd9c6ce2142407a1f80e02a3230f1 | [
"BSD-3-Clause"
] | 1 | 2022-03-08T07:35:49.000Z | 2022-03-08T07:35:49.000Z | src/session/internal/session_output_test.cc | kirameister/mozc | 18b2b32b4d3fe585d38134606773239781b6be82 | [
"BSD-3-Clause"
] | null | null | null | src/session/internal/session_output_test.cc | kirameister/mozc | 18b2b32b4d3fe585d38134606773239781b6be82 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2010-2021, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | 40.756453 | 79 | 0.708294 |
2994abfcab4dca2b9a5be4887406b99880a9c455 | 7,923 | cpp | C++ | dev/Code/Sandbox/Editor/PanelSimpleTreeBrowser.cpp | crazyskateface/lumberyard | 164512f8d415d6bdf37e195af319ffe5f96a8f0b | [
"AML"
] | 5 | 2018-08-17T21:05:55.000Z | 2021-04-17T10:48:26.000Z | dev/Code/Sandbox/Editor/PanelSimpleTreeBrowser.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | null | null | null | dev/Code/Sandbox/Editor/PanelSimpleTreeBrowser.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | 5 | 2017-12-05T16:36:00.000Z | 2021-04-27T06:33:54.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... | 31.440476 | 118 | 0.585637 |
2994b81ca2e5fbb90f3c33368c3d613d43c7fd08 | 24,787 | cpp | C++ | runtime/test/generated/spec_V1_2/svdf_bias_present_float16.example.cpp | riscv-android-src/platform-packages-modules-NeuralNetworks | 32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5 | [
"Apache-2.0"
] | null | null | null | runtime/test/generated/spec_V1_2/svdf_bias_present_float16.example.cpp | riscv-android-src/platform-packages-modules-NeuralNetworks | 32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5 | [
"Apache-2.0"
] | null | null | null | runtime/test/generated/spec_V1_2/svdf_bias_present_float16.example.cpp | riscv-android-src/platform-packages-modules-NeuralNetworks | 32a7fbe0cec3a17f9cdd8c6f11d94ae77e30add5 | [
"Apache-2.0"
] | null | null | null | // Generated from svdf_bias_present_float16.mod.py
// DO NOT EDIT
// clang-format off
#include "TestHarness.h"
using namespace test_helper; // NOLINT(google-build-using-namespace)
namespace generated_tests::svdf_bias_present_float16 {
const TestModel& get_test_model() {
static TestModel model = {
.main =... | 60.309002 | 606 | 0.40489 |
299745dd1c98b88a7f73e5c8b93b2f38c014d1d2 | 350 | cpp | C++ | restbed/test/regression/source/missing_regex_support_on_gcc_4.8.cpp | stevens2017/Aware | cd4754a34c809707c219a173dc1ad494e149cdb1 | [
"BSD-3-Clause"
] | null | null | null | restbed/test/regression/source/missing_regex_support_on_gcc_4.8.cpp | stevens2017/Aware | cd4754a34c809707c219a173dc1ad494e149cdb1 | [
"BSD-3-Clause"
] | null | null | null | restbed/test/regression/source/missing_regex_support_on_gcc_4.8.cpp | stevens2017/Aware | cd4754a34c809707c219a173dc1ad494e149cdb1 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2013-2017, Corvusoft Ltd, All Rights Reserved.
*/
//System Includes
#include <regex>
//Project Includes
//External Includes
#include <catch.hpp>
//System Namespaces
//Project Namespaces
using std::regex;
//External Namespaces
TEST_CASE( "missing regex support", "[stdlib]" )
{
REQUIRE_NOTHROW... | 14.583333 | 59 | 0.694286 |
2998a6a26e60531b0845f7a99fac81d96dea1b83 | 431 | hpp | C++ | simulations/landau/params.yaml.hpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | 3 | 2022-02-28T08:47:07.000Z | 2022-03-01T10:29:08.000Z | simulations/landau/params.yaml.hpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | null | null | null | simulations/landau/params.yaml.hpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: MIT
#pragma once
constexpr char const* const params_yaml = R"PDI_CFG(Mesh:
x_min: 0.0
x_max: 12.56637061435917
x_size: 128
vx_min: -6.0
vx_max: +6.0
vx_size: 127
SpeciesInfo:
- charge: -1
mass: 0.0005
density_eq: 1.
temperature_eq: 1.
mean_velocity_eq: 0.
perturb_amp... | 14.862069 | 57 | 0.693735 |
299ae8675a8186dbfd9a19603c91c7f05f292fa4 | 2,759 | cpp | C++ | wxMsRunMailClient.cpp | tester0077/wxMS | da7b8aaefa7107f51b7ecab05c07c109d09f933f | [
"Zlib",
"MIT"
] | null | null | null | wxMsRunMailClient.cpp | tester0077/wxMS | da7b8aaefa7107f51b7ecab05c07c109d09f933f | [
"Zlib",
"MIT"
] | null | null | null | wxMsRunMailClient.cpp | tester0077/wxMS | da7b8aaefa7107f51b7ecab05c07c109d09f933f | [
"Zlib",
"MIT"
] | null | null | null | /*-----------------------------------------------------------------
* Name: wxMsRunMailClient.cpp
* Purpose: code to invoke the external mail client - eg: Thunderbird
* Author: A. Wiegert
*
* Copyright:
* Licence: wxWidgets license
*------------------------------------------------------------... | 29.666667 | 79 | 0.540051 |
299beebb6850e88209f6dbe6d530a862900c4c94 | 12,674 | cpp | C++ | src/gausskernel/runtime/codegen/executor/foreignscancodegen.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | 1 | 2021-11-05T10:14:39.000Z | 2021-11-05T10:14:39.000Z | src/gausskernel/runtime/codegen/executor/foreignscancodegen.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | null | null | null | src/gausskernel/runtime/codegen/executor/foreignscancodegen.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ... | 31.605985 | 117 | 0.536689 |
299c6e360b33ef7676eab2cc58b806bb55ba12e9 | 18,700 | cpp | C++ | Source/WndSpyGui/SpyMsgWnd.cpp | Skight/wndspy | b89cc2df88ca3e58b26be491814008aaf6f11122 | [
"Apache-2.0"
] | 24 | 2017-03-16T05:32:44.000Z | 2021-12-11T13:49:07.000Z | Source/WndSpyGui/SpyMsgWnd.cpp | zhen-e-liu/wndspy | b89cc2df88ca3e58b26be491814008aaf6f11122 | [
"Apache-2.0"
] | null | null | null | Source/WndSpyGui/SpyMsgWnd.cpp | zhen-e-liu/wndspy | b89cc2df88ca3e58b26be491814008aaf6f11122 | [
"Apache-2.0"
] | 13 | 2017-03-16T05:26:12.000Z | 2021-07-04T16:24:42.000Z | #include "WndSpyGui.h"
#include "SndMsgFunc.h"
#include "SpyMsgWnd.h"
//////////////////////////////////////////////////////////////////////////
LRESULT OnMainTrayNotify(HWND hwnd, LPARAM lParam);
//////////////////////////////////////////////////////////////////////////
LRESULT CALLBACK WndProc_MsgBackWnd(HWND hwn... | 28.593272 | 96 | 0.671925 |
299d2fa28bb07ff75bdc1f9b25d27f81564859c9 | 7,563 | cpp | C++ | modules/qtwidgets/src/qtwidgetssettings.cpp | tirpidz/inviwo | a0ef149fac0e566ef3f0298112e2031d344f2f97 | [
"BSD-2-Clause"
] | null | null | null | modules/qtwidgets/src/qtwidgetssettings.cpp | tirpidz/inviwo | a0ef149fac0e566ef3f0298112e2031d344f2f97 | [
"BSD-2-Clause"
] | null | null | null | modules/qtwidgets/src/qtwidgetssettings.cpp | tirpidz/inviwo | a0ef149fac0e566ef3f0298112e2031d344f2f97 | [
"BSD-2-Clause"
] | null | null | null | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2016-2020 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | 48.171975 | 100 | 0.681211 |
299da166914227846b3a70efe07e728dce8a61bc | 2,651 | cpp | C++ | QUEUES/Stack using two queues - EASY.cpp | Srutiverma123/Hacktoberfest-2021 | 9e2e30d7629cac8e3f2d03d3212c5f5e841e5a4a | [
"MIT"
] | 1 | 2021-10-02T05:40:26.000Z | 2021-10-02T05:40:26.000Z | QUEUES/Stack using two queues - EASY.cpp | Srutiverma123/Hacktoberfest-2021 | 9e2e30d7629cac8e3f2d03d3212c5f5e841e5a4a | [
"MIT"
] | null | null | null | QUEUES/Stack using two queues - EASY.cpp | Srutiverma123/Hacktoberfest-2021 | 9e2e30d7629cac8e3f2d03d3212c5f5e841e5a4a | [
"MIT"
] | null | null | null | /*
Stack using two queues
Easy Accuracy: 40.49% Submissions: 71675 Points: 2
Implement a Stack using two queues q1 and q2.
Example 1:
Input:
push(2)
push(3)
pop()
push(4)
pop()
Output: 3 4
Explanation:
push(2) the stack will be {2}
push(3) the stack will be {2 3}
pop() poped element will be 3 th... | 20.550388 | 148 | 0.516409 |
299dfc2582c7385750daa61987b30351807b0c75 | 1,514 | hpp | C++ | include/tnt/linear/impl/discrete_cosine_transform_impl.hpp | JordanCheney/tnt | a0fd378079d36b2bd39960c34e5c83f9633db0c0 | [
"MIT"
] | null | null | null | include/tnt/linear/impl/discrete_cosine_transform_impl.hpp | JordanCheney/tnt | a0fd378079d36b2bd39960c34e5c83f9633db0c0 | [
"MIT"
] | 1 | 2018-06-09T04:40:01.000Z | 2018-06-09T04:40:01.000Z | include/tnt/linear/impl/discrete_cosine_transform_impl.hpp | JordanCheney/tnt | a0fd378079d36b2bd39960c34e5c83f9633db0c0 | [
"MIT"
] | null | null | null | #ifndef TNT_LINEAR_DISCRETE_COSINE_TRANSFORM_IMPL_HPP
#define TNT_LINEAR_DISCRETE_COSINE_TRANSFORM_IMPL_HPP
#include <tnt/linear/discrete_cosine_transform.hpp>
#include <tnt/utils/testing.hpp>
#include <tnt/utils/simd.hpp>
namespace tnt
{
namespace detail
{
constexpr static int dct_forward_coeffs[64] = {
1, ... | 28.566038 | 64 | 0.437913 |
299e10e3b23d88354c036e099fdf25bff771e74e | 813 | cpp | C++ | test2.cpp | birdhumming/usaco | f011e7bd4b71de22736a61004e501af2b273b246 | [
"OLDAP-2.2.1"
] | null | null | null | test2.cpp | birdhumming/usaco | f011e7bd4b71de22736a61004e501af2b273b246 | [
"OLDAP-2.2.1"
] | null | null | null | test2.cpp | birdhumming/usaco | f011e7bd4b71de22736a61004e501af2b273b246 | [
"OLDAP-2.2.1"
] | null | null | null | #include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
using namespace std;
typedef unsigned long long ll;
typedef pair<int, int> ii;
const int N = 1010;
int n, g[N][N];
bool cows[N][N];
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
int main() {
cin >> n;
int ans = 0;
for (int... | 22.583333 | 65 | 0.403444 |
299e9ec05d1220124beb61c68950dfb8b2e914c0 | 881 | cpp | C++ | src/nexus/dispatcher/batch_size_estimator.cpp | dengwxn/nexuslb | 4b19116f09fad414bd40538de0105eb728fc4b51 | [
"BSD-3-Clause"
] | 6 | 2021-07-01T23:03:28.000Z | 2022-02-07T03:24:42.000Z | src/nexus/dispatcher/batch_size_estimator.cpp | dengwxn/nexuslb | 4b19116f09fad414bd40538de0105eb728fc4b51 | [
"BSD-3-Clause"
] | null | null | null | src/nexus/dispatcher/batch_size_estimator.cpp | dengwxn/nexuslb | 4b19116f09fad414bd40538de0105eb728fc4b51 | [
"BSD-3-Clause"
] | 2 | 2021-04-06T11:09:35.000Z | 2021-04-13T06:59:34.000Z | #include "nexus/dispatcher/batch_size_estimator.h"
namespace nexus {
namespace dispatcher {
BatchSizeEstimator::BatchSizeEstimator(double rps_multiplier,
double std_multiplier)
: xrps_(rps_multiplier), xstd_(std_multiplier) {}
uint32_t BatchSizeEstimator::Estimate(const Mod... | 29.366667 | 69 | 0.544835 |
299ff19dae424ffb3e837720712ea9bb0bdf9d47 | 66,157 | cpp | C++ | src/libawkward/array/RecordArray.cpp | HenryDayHall/awkward-1.0 | 4a860e775502f9adb953524c35c5a2de8f7a3181 | [
"BSD-3-Clause"
] | null | null | null | src/libawkward/array/RecordArray.cpp | HenryDayHall/awkward-1.0 | 4a860e775502f9adb953524c35c5a2de8f7a3181 | [
"BSD-3-Clause"
] | null | null | null | src/libawkward/array/RecordArray.cpp | HenryDayHall/awkward-1.0 | 4a860e775502f9adb953524c35c5a2de8f7a3181 | [
"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/RecordArray.cpp", line)
#define FILENAME_C(line) FILENAME_FOR_EXCEPTIONS_C("src/libawkward/array/RecordArray.cpp", line)
#include <sstream>
#include <algorithm>... | 34.331604 | 97 | 0.513899 |
29a2fe32e5520157091b3026f0aa2fb78657ff68 | 40,489 | cpp | C++ | Src/Base/AMReX_DistributionMapping.cpp | ylunalin/amrex | 5715b2fc8a77e0db17bfe7907982e29ec44811ca | [
"BSD-3-Clause-LBNL"
] | 8 | 2020-01-21T11:12:38.000Z | 2022-02-12T12:35:45.000Z | Src/Base/AMReX_DistributionMapping.cpp | ylunalin/amrex | 5715b2fc8a77e0db17bfe7907982e29ec44811ca | [
"BSD-3-Clause-LBNL"
] | null | null | null | Src/Base/AMReX_DistributionMapping.cpp | ylunalin/amrex | 5715b2fc8a77e0db17bfe7907982e29ec44811ca | [
"BSD-3-Clause-LBNL"
] | 2 | 2020-11-27T03:07:52.000Z | 2021-03-01T16:40:31.000Z |
#include <AMReX_BoxArray.H>
#include <AMReX_MultiFab.H>
#include <AMReX_DistributionMapping.H>
#include <AMReX_ParmParse.H>
#include <AMReX_BLProfiler.H>
#include <AMReX_FArrayBox.H>
#if !defined(BL_NO_FORT)
#include <AMReX_Geometry.H>
#endif
#include <AMReX_VisMF.H>
#include <AMReX_Utility.H>
#include <iostream>
#in... | 25.448774 | 101 | 0.541826 |
29a327f104fa81e5637e6803b8eb8821c8da5f7e | 2,782 | cpp | C++ | src/around_the_world_ygm.cpp | steiltre/ygm-bench | f8ee35154ab2683aad4183cd05d0bd9097abe9df | [
"MIT-0",
"MIT"
] | null | null | null | src/around_the_world_ygm.cpp | steiltre/ygm-bench | f8ee35154ab2683aad4183cd05d0bd9097abe9df | [
"MIT-0",
"MIT"
] | 4 | 2022-03-21T18:20:51.000Z | 2022-03-31T23:52:51.000Z | src/around_the_world_ygm.cpp | steiltre/ygm-bench | f8ee35154ab2683aad4183cd05d0bd9097abe9df | [
"MIT-0",
"MIT"
] | 2 | 2022-03-21T17:37:45.000Z | 2022-03-22T23:08:39.000Z | // Copyright 2019-2021 Lawrence Livermore National Security, LLC and other YGM
// Project Developers. See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: MIT
#include <algorithm>
#include <string>
#include <ygm/comm.hpp>
#include <ygm/utility.hpp>
static int num_trips;
static int curr_trip = ... | 26.245283 | 80 | 0.619698 |
29a52f6f691e7a8f94744c268a96a215c2133a20 | 6,344 | cpp | C++ | toonz/sources/stdfx/channelmixerfx.cpp | rozhuk-im/opentoonz | ad5b632512746b97fd526aa79660fbaedf934fad | [
"BSD-3-Clause"
] | 3,710 | 2016-03-26T00:40:48.000Z | 2022-03-31T21:35:12.000Z | toonz/sources/stdfx/channelmixerfx.cpp | rozhuk-im/opentoonz | ad5b632512746b97fd526aa79660fbaedf934fad | [
"BSD-3-Clause"
] | 4,246 | 2016-03-26T01:21:45.000Z | 2022-03-31T23:10:47.000Z | toonz/sources/stdfx/channelmixerfx.cpp | rozhuk-im/opentoonz | ad5b632512746b97fd526aa79660fbaedf934fad | [
"BSD-3-Clause"
] | 633 | 2016-03-26T00:42:25.000Z | 2022-03-17T02:55:13.000Z |
#include "stdfx.h"
#include "tfxparam.h"
//#include "trop.h"
#include <math.h>
#include "tpixelutils.h"
#include "globalcontrollablefx.h"
//==================================================================
class ChannelMixerFx final : public GlobalControllableFx {
FX_PLUGIN_DECLARATION(ChannelMixerFx)
TRaster... | 33.21466 | 80 | 0.584016 |
29a603fb54da5e32d67f16238b519000b88f27ab | 7,084 | cpp | C++ | src/caffe/syncedmem.cpp | Amanda-Barbara/nvcaffe | 5155a708b235a818ce300aa3f9fc235ece9a35fb | [
"BSD-2-Clause"
] | 758 | 2015-03-08T20:54:38.000Z | 2022-01-11T03:14:51.000Z | src/caffe/syncedmem.cpp | Matsuko9/caffe | 17e347e42e664b87d80f63bfbbb89bec5e559242 | [
"BSD-2-Clause"
] | 493 | 2015-04-28T00:08:53.000Z | 2021-08-04T07:26:54.000Z | src/caffe/syncedmem.cpp | Matsuko9/caffe | 17e347e42e664b87d80f63bfbbb89bec5e559242 | [
"BSD-2-Clause"
] | 389 | 2015-03-05T12:11:44.000Z | 2022-03-13T21:49:42.000Z | #include "caffe/common.hpp"
#include "caffe/syncedmem.hpp"
#include "caffe/type.hpp"
#include "caffe/util/gpu_memory.hpp"
#include "caffe/util/math_functions.hpp"
#define MAX_ELEM_TO_SHOW 20UL
namespace caffe {
// If CUDA is available and in GPU mode, host memory will be allocated pinned,
// using cudaMallocHost. It... | 29.032787 | 94 | 0.600085 |
29a70f50fbea4c6ffa18e9527367ee4e49a69d32 | 126 | cpp | C++ | src/sylvan/queens.cpp | SSoelvsten/bdd-benchmark | f1176feb1584ed8a40bbd6ca975c5d8770d5786c | [
"MIT"
] | 3 | 2021-02-05T10:03:53.000Z | 2022-03-24T08:31:40.000Z | src/sylvan/queens.cpp | SSoelvsten/bdd-benchmark | f1176feb1584ed8a40bbd6ca975c5d8770d5786c | [
"MIT"
] | 7 | 2020-11-20T13:48:01.000Z | 2022-03-05T16:52:12.000Z | src/sylvan/queens.cpp | SSoelvsten/bdd-benchmark | f1176feb1584ed8a40bbd6ca975c5d8770d5786c | [
"MIT"
] | 1 | 2021-04-25T07:06:17.000Z | 2021-04-25T07:06:17.000Z | #include "../queens.cpp"
#include "package_mgr.h"
int main(int argc, char** argv)
{
run_queens<sylvan_mgr>(argc, argv);
}
| 14 | 37 | 0.674603 |
29a8e7b253d82f06641e89c5b659108250fed228 | 3,316 | cc | C++ | neighborhood-sgd.cc | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | neighborhood-sgd.cc | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | neighborhood-sgd.cc | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | #include "Application.hh"
#include "GradientChart.hh"
#include "ParseController.hh"
#include "PV.hh"
#include "SGD.hh"
APPLICATION
using namespace Permute;
class NeighborhoodSGD : public Application {
private:
static Core::ParameterFloat paramLearningRate;
double LEARNING_RATE;
static Core::ParameterInt paramP... | 30.145455 | 125 | 0.674005 |
29ab1c9fa868820a033c2e0e664eca05cd71dd31 | 19,832 | cpp | C++ | Source/Director.cpp | bptigg/CovidSim | 6709bafdce0dfb35f3515f47a5a5199b2c3363f3 | [
"MIT"
] | 2 | 2020-07-15T12:36:55.000Z | 2020-08-02T09:53:54.000Z | Source/Director.cpp | bptigg/CovidSim | 6709bafdce0dfb35f3515f47a5a5199b2c3363f3 | [
"MIT"
] | 1 | 2020-07-04T09:23:50.000Z | 2020-07-04T09:31:27.000Z | Source/Director.cpp | bptigg/CovidSim | 6709bafdce0dfb35f3515f47a5a5199b2c3363f3 | [
"MIT"
] | null | null | null | #include "Director.h"
bool Director::task_permission(Actor::State state)
{
if (state == Actor::idle && m_current_tasks.size() <= max_actors_not_idle && sleep_active == false)
{
return true;
}
else
{
return false;
}
}
void Director::change_actor_location(Actor* actor, Task task, bool task_end)
{
auto [publ... | 27.62117 | 207 | 0.636799 |
29ad11fbfd2e7730c78c35718fb734dac1628d67 | 1,124 | hpp | C++ | Firmware/src/application/launchpad/LcdGui.hpp | zukaitis/midi-grid | 527ad37348983f481511fef52d1645eab3a2f60e | [
"BSD-3-Clause"
] | 59 | 2018-03-17T10:32:48.000Z | 2022-03-19T17:59:29.000Z | Firmware/src/application/launchpad/LcdGui.hpp | zukaitis/midi-grid | 527ad37348983f481511fef52d1645eab3a2f60e | [
"BSD-3-Clause"
] | 3 | 2019-11-12T09:49:59.000Z | 2020-12-09T11:55:00.000Z | Firmware/src/application/launchpad/LcdGui.hpp | zukaitis/midi-grid | 527ad37348983f481511fef52d1645eab3a2f60e | [
"BSD-3-Clause"
] | 10 | 2019-03-14T22:53:39.000Z | 2021-12-26T13:42:20.000Z | #ifndef APPLICATION_LAUNCHPAD_LCD_GUI_HPP_
#define APPLICATION_LAUNCHPAD_LCD_GUI_HPP_
#include <stdint.h>
namespace lcd
{
class LcdInterface;
}
namespace application
{
namespace launchpad
{
struct TimedDisplay
{
bool isOn;
uint32_t timeToDisable;
};
class Launchpad;
class LcdGui
{
public:
LcdGui( ... | 17.84127 | 59 | 0.732206 |