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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28d69e42f3993b3aef47de906eaa6b8a5745446d | 153 | cpp | C++ | lib/source/mylib.cpp | Honeybunch/cpplibtemplate | 23ea15343bb469198420f54eb3d87c4055468084 | [
"MIT"
] | null | null | null | lib/source/mylib.cpp | Honeybunch/cpplibtemplate | 23ea15343bb469198420f54eb3d87c4055468084 | [
"MIT"
] | null | null | null | lib/source/mylib.cpp | Honeybunch/cpplibtemplate | 23ea15343bb469198420f54eb3d87c4055468084 | [
"MIT"
] | null | null | null | #include "mylib.h"
int my_val = 0;
void init_my_lib() { my_val = 10; }
int get_my_lib_val() { return my_val; }
void shutdown_my_lib() { my_val = 0; } | 17 | 39 | 0.660131 |
28db93888191a41fd1097f3d2e69265cd481042d | 11,791 | cpp | C++ | connectivity/FEATURE_BLE/source/generic/KVStoreSecurityDb.cpp | heuisam/mbed-os | eb32b25c8abb37f0aab505451074448e7e420517 | [
"Apache-2.0"
] | 1 | 2021-02-09T21:27:17.000Z | 2021-02-09T21:27:17.000Z | connectivity/FEATURE_BLE/source/generic/KVStoreSecurityDb.cpp | heuisam/mbed-os | eb32b25c8abb37f0aab505451074448e7e420517 | [
"Apache-2.0"
] | 1 | 2021-12-13T14:33:09.000Z | 2021-12-13T14:33:09.000Z | connectivity/FEATURE_BLE/source/generic/KVStoreSecurityDb.cpp | heuisam/mbed-os | eb32b25c8abb37f0aab505451074448e7e420517 | [
"Apache-2.0"
] | null | null | null | /* mbed Microcontroller Library
* Copyright (c) 2006-2020 ARM Limited
*
* SPDX-License-Identifier: Apache-2.0
*
* 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.apach... | 27.549065 | 100 | 0.728691 |
28dd794bd3fb67d5f127f478514de0bcf07f7257 | 13,299 | cpp | C++ | flashlight/app/objdet/nn/Transformer.cpp | snapbuy/flashlight | f6ebe7a3d22dc357fe36e19fcbf66d64c3a57356 | [
"BSD-3-Clause"
] | 1 | 2021-04-30T15:49:10.000Z | 2021-04-30T15:49:10.000Z | flashlight/app/objdet/nn/Transformer.cpp | snapbuy/flashlight | f6ebe7a3d22dc357fe36e19fcbf66d64c3a57356 | [
"BSD-3-Clause"
] | null | null | null | flashlight/app/objdet/nn/Transformer.cpp | snapbuy/flashlight | f6ebe7a3d22dc357fe36e19fcbf66d64c3a57356 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its 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 "flashlight/app/objdet/nn/Transformer.h"
#include "flashlight/fl/nn/nn.h"
using namespace ... | 28.116279 | 80 | 0.646891 |
28df19f035b53278ef72263eb673ad9cdc3dd03a | 9,143 | hpp | C++ | src/lib/clxx/info/platform_layer_info.hpp | ptomulik/clxx | 9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8 | [
"MIT"
] | 1 | 2015-08-12T13:11:35.000Z | 2015-08-12T13:11:35.000Z | src/lib/clxx/info/platform_layer_info.hpp | ptomulik/clxx | 9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8 | [
"MIT"
] | 67 | 2015-01-03T10:11:13.000Z | 2015-10-21T11:03:06.000Z | src/lib/clxx/info/platform_layer_info.hpp | ptomulik/clxx | 9edfb0c39e6ab2f2d86afde0ac42c5e3f21e7ac8 | [
"MIT"
] | null | null | null | // @COPYRIGHT@
// Licensed under MIT license (LICENSE.txt)
// clxx/info/platform_layer_info.hpp
/** // doc: clxx/info/platform_layer_info.hpp {{{
* \file clxx/info/platform_layer_info.hpp
* \brief Defines \ref clxx::platform_layer_info "platform_layer_info" class
*/ // }}}
#ifndef CLXX_INFO_PLATFORM_LAYER_INFO_HPP... | 39.07265 | 82 | 0.694849 |
28df54ef5b9d2ce9d90f25518306dd1d85e428b0 | 3,337 | cpp | C++ | modules/core/utils.cpp | yjmm10/ModernOCR | a7070c9801ecccbbc5ad66618ca86c830480c573 | [
"MIT"
] | null | null | null | modules/core/utils.cpp | yjmm10/ModernOCR | a7070c9801ecccbbc5ad66618ca86c830480c573 | [
"MIT"
] | null | null | null | modules/core/utils.cpp | yjmm10/ModernOCR | a7070c9801ecccbbc5ad66618ca86c830480c573 | [
"MIT"
] | null | null | null | /*
* @Author: Petrichor
* @Date: 2022-03-11 11:40:37
* @LastEditTime: 2022-03-11 17:21:28
* @LastEditors: Petrichor
* @Description:
* @FilePath: \ModernOCR\modules\core\utils.cpp
* 版权声明
*/
#include "utils.h"
namespace ModernOCR {
namespace utils{
};
namespace image{
cv::Mat getRot... | 34.760417 | 98 | 0.493857 |
28e03e1089b67d6a14a30b8a42ad7ab3cf575989 | 6,845 | cpp | C++ | src/qt/assettablemodel.cpp | yiya-core/yiya-core | 54bdc5c72f6d760cb3ec840f202c289bccd03ccd | [
"MIT"
] | null | null | null | src/qt/assettablemodel.cpp | yiya-core/yiya-core | 54bdc5c72f6d760cb3ec840f202c289bccd03ccd | [
"MIT"
] | null | null | null | src/qt/assettablemodel.cpp | yiya-core/yiya-core | 54bdc5c72f6d760cb3ec840f202c289bccd03ccd | [
"MIT"
] | null | null | null | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Copyright (c) 2019 The Yiya Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "assettablemodel.h"
#include "assetrecord.h"
#include "guiconstants.... | 30.422222 | 118 | 0.577794 |
28e37f5a3be244df1969dc1a5659a396b97c769d | 1,344 | hpp | C++ | deps/boost/include/boost/geometry/algorithms/detail/normalize.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | deps/boost/include/boost/geometry/algorithms/detail/normalize.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | deps/boost/include/boost/geometry/algorithms/detail/normalize.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2015-2018, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Licensed under the Boost Software License version ... | 27.428571 | 98 | 0.766369 |
28e42f59d897527a305c2e3a439854cb855e8a89 | 30,158 | cpp | C++ | other/bb_sudoku/bb_sudoku_solver.cpp | dobrichev/tdoku | cda2e52229656bd03db141e6405d50a2a80e2338 | [
"BSD-2-Clause"
] | 100 | 2019-07-01T20:16:33.000Z | 2022-03-27T10:36:48.000Z | other/bb_sudoku/bb_sudoku_solver.cpp | doc22940/tdoku | 63d190a9090d9dc8e613e48e4770c635a5b7e3c3 | [
"BSD-2-Clause"
] | 7 | 2019-12-18T09:07:58.000Z | 2022-03-13T19:39:46.000Z | other/bb_sudoku/bb_sudoku_solver.cpp | doc22940/tdoku | 63d190a9090d9dc8e613e48e4770c635a5b7e3c3 | [
"BSD-2-Clause"
] | 14 | 2019-06-18T05:47:28.000Z | 2022-03-05T08:58:05.000Z | /****************************************************************\
** BB_Sudoku Bit Based Sudoku Solver **
\****************************************************************/
/****************************************************************\
** (c) Copyright Brian Turner, 2008-2009. Th... | 38.320203 | 124 | 0.418463 |
28e45dbdbc5bf09ce27c548339c59ceff1d433bc | 1,138 | hpp | C++ | core/src/jni/jni/Error.hpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 92 | 2016-11-13T01:28:34.000Z | 2022-03-25T01:11:37.000Z | core/src/jni/jni/Error.hpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 242 | 2016-11-28T11:13:09.000Z | 2022-03-04T13:02:53.000Z | core/src/jni/jni/Error.hpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 91 | 2017-06-20T10:35:28.000Z | 2022-03-09T14:15:40.000Z | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from errors.djinni
#ifndef DJINNI_GENERATED_ERROR_HPP_JNI_
#define DJINNI_GENERATED_ERROR_HPP_JNI_
#include "../../api/Error.hpp"
#include "djinni_support.hpp"
namespace djinni_generated {
class Error final {
public:
using CppType = ::ledge... | 31.611111 | 136 | 0.710018 |
28e4a5dff6a2acf6e2e0efcd8f539a46a56c41dd | 21,403 | hpp | C++ | include/slib/core/rc.hpp | syntheticgio/fda-hive | 5e645c6a5b76b5a437635631819a1c934c7fd7fc | [
"Unlicense",
"MIT"
] | null | null | null | include/slib/core/rc.hpp | syntheticgio/fda-hive | 5e645c6a5b76b5a437635631819a1c934c7fd7fc | [
"Unlicense",
"MIT"
] | null | null | null | include/slib/core/rc.hpp | syntheticgio/fda-hive | 5e645c6a5b76b5a437635631819a1c934c7fd7fc | [
"Unlicense",
"MIT"
] | null | null | null | /*
* ::718604!
*
* Copyright(C) November 20, 2014 U.S. Food and Drug Administration
* Authors: Dr. Vahan Simonyan (1), Dr. Raja Mazumder (2), et al
* Affiliation: Food and Drug Administration (1), George Washington University (2)
*
* All rights Reserved.
*
* The MIT License (MIT)
*
* Permission is hereb... | 42.21499 | 135 | 0.658272 |
28e4c2089b979618e7976220fff29caa27869d48 | 104,500 | cpp | C++ | source/sfsbp/FDP.cpp | kali-allison/SCycle | 0a81edfae8730acb44531e2c2b3f51f25ea193d2 | [
"MIT"
] | 14 | 2019-04-12T16:36:36.000Z | 2022-03-16T00:35:03.000Z | source/sfsbp/FDP.cpp | kali-allison/SCycle | 0a81edfae8730acb44531e2c2b3f51f25ea193d2 | [
"MIT"
] | null | null | null | source/sfsbp/FDP.cpp | kali-allison/SCycle | 0a81edfae8730acb44531e2c2b3f51f25ea193d2 | [
"MIT"
] | 6 | 2019-07-22T23:53:15.000Z | 2022-03-10T03:30:50.000Z | /* FDP.cpp
* -------
* -----------------------------
* Finite-Difference in Parallel
* -----------------------------
*
* Adding Linear Solve Functionality in the Solve_Linear_Equation function.
* - It currently needs to be able to wrap MatMult in MyMatMult, using my Finite-Difference
* Stencils to calculate t... | 42.986425 | 154 | 0.65533 |
28e4dd08d57b29ea49ce0da075a25972d028a369 | 599 | cpp | C++ | ares/msx/cartridge/slot.cpp | moon-chilled/Ares | 909fb098c292f8336d0502dc677050312d8b5c81 | [
"0BSD"
] | 7 | 2020-07-25T11:44:39.000Z | 2021-01-29T13:21:31.000Z | ares/msx/cartridge/slot.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | null | null | null | ares/msx/cartridge/slot.cpp | jchw-forks/ares | d78298a1e95fd0ce65feabfd4f13b60e31210a7a | [
"0BSD"
] | 1 | 2021-03-22T16:15:30.000Z | 2021-03-22T16:15:30.000Z | CartridgeSlot cartridgeSlot{"Cartridge Slot"};
CartridgeSlot expansionSlot{"Expansion Slot"};
CartridgeSlot::CartridgeSlot(string name) : name(name) {
}
auto CartridgeSlot::load(Node::Object parent) -> void {
port = parent->append<Node::Port>(name);
port->setFamily(interface->name());
port->setType("Cartridge")... | 29.95 | 73 | 0.692821 |
28e68ae27d59696ba3a543ed75abea88f0146efa | 7,627 | cpp | C++ | src/FirebaseCommunication.cpp | floryt/floryt-credential-provider | c6fba1aa791e192927a6f7a53a7db1b6cd398e14 | [
"Apache-2.0"
] | 5 | 2017-05-10T15:06:43.000Z | 2017-11-25T09:49:27.000Z | src/FirebaseCommunication.cpp | floryt/floryt-credential-provider | c6fba1aa791e192927a6f7a53a7db1b6cd398e14 | [
"Apache-2.0"
] | 14 | 2017-05-02T21:43:37.000Z | 2017-06-17T11:44:36.000Z | src/FirebaseCommunication.cpp | floryt/floryt-credential-provider | c6fba1aa791e192927a6f7a53a7db1b6cd398e14 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <fstream>
#include <stdlib.h>
#include <windows.h>
#include <thread>
#include "FirebaseCommunication.h"
#include <atlbase.h>
#include <atlconv.h>
#include <vector>
FirebaseCommunication::FirebaseCommunication()
{
http = new HTTPclient();
cv = false;
}
EXIT_TYPE FirebaseCommunication::... | 25.680135 | 172 | 0.65373 |
28e8e12c7fd4e9a32413e89bc05840b200afbfb8 | 2,939 | hpp | C++ | include/conjunctive.hpp | taboege/libpropcalc | b64dbf66a6d58fb8ec8e646530b482bbd96b0ba6 | [
"Artistic-2.0"
] | 1 | 2021-06-01T01:08:56.000Z | 2021-06-01T01:08:56.000Z | include/conjunctive.hpp | taboege/libpropcalc | b64dbf66a6d58fb8ec8e646530b482bbd96b0ba6 | [
"Artistic-2.0"
] | null | null | null | include/conjunctive.hpp | taboege/libpropcalc | b64dbf66a6d58fb8ec8e646530b482bbd96b0ba6 | [
"Artistic-2.0"
] | null | null | null | /*
* conjunctive.hpp - Clause and Conjunctive
*
* Copyright (C) 2019-2020 Tobias Boege
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Artistic License 2.0
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; withou... | 29.686869 | 76 | 0.668935 |
28e99cb39fc64a5c13027faddbb0fd4894dcf6f0 | 2,865 | cpp | C++ | main.cpp | NexFarming/farm-a1-temp-control | d656aa3df838f14594eccf7c0a7e6b745b08af27 | [
"MIT"
] | null | null | null | main.cpp | NexFarming/farm-a1-temp-control | d656aa3df838f14594eccf7c0a7e6b745b08af27 | [
"MIT"
] | null | null | null | main.cpp | NexFarming/farm-a1-temp-control | d656aa3df838f14594eccf7c0a7e6b745b08af27 | [
"MIT"
] | null | null | null | /* Copyright (c) 2021 NexFarming
* All rights reserved
*
* Author: Tasnim Zotder
* Git: git@github.com:NexFarming/farm-a1-temp-control.git
*/
#include <stdio.h>
#include "hardware/adc.h"
#include "hardware/gpio.h"
#include "pico/binary_info.h"
#include "pico/stdlib.h"
const uint LED_PIN = 25;
const ... | 22.92 | 71 | 0.649913 |
28ea17e10746395d1ce39607211a0cdb94805391 | 4,221 | cpp | C++ | core/3d/CCFrustum.cpp | DelinWorks/adxe | 0f1ba3a086d744bb52e157e649fa986ae3c7ab05 | [
"MIT"
] | 76 | 2021-05-20T12:27:10.000Z | 2022-03-23T15:27:42.000Z | core/3d/CCFrustum.cpp | DelinWorks/adxe | 0f1ba3a086d744bb52e157e649fa986ae3c7ab05 | [
"MIT"
] | 171 | 2021-05-18T11:07:25.000Z | 2022-03-29T20:53:27.000Z | core/3d/CCFrustum.cpp | DelinWorks/adxe | 0f1ba3a086d744bb52e157e649fa986ae3c7ab05 | [
"MIT"
] | 42 | 2021-05-18T10:05:06.000Z | 2022-03-22T05:40:56.000Z | /****************************************************************************
Copyright (c) 2014-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
https://adxeproject.github.io/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and a... | 40.980583 | 112 | 0.57285 |
28ec2f8060965f1042a092c1eee0b20d6470cf2d | 5,576 | hpp | C++ | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/python/to_python_value.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/python/to_python_value.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/python/to_python_value.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | // Copyright David Abrahams 2002.
// Copyright Stefan Seefeld 2016.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef boost_python_to_python_value_hpp_
#define boost_python_to_python_value_hpp_
#include <... | 28.44898 | 80 | 0.713056 |
28ee2971e314ad6b1d93446ca500b09d146aa587 | 6,151 | cpp | C++ | taichi/ir/type_factory.cpp | gaoxinge/taichi | 86d403f071b8505858763d4712b37cd71b89db91 | [
"MIT"
] | 1 | 2020-11-10T07:17:01.000Z | 2020-11-10T07:17:01.000Z | taichi/ir/type_factory.cpp | gaoxinge/taichi | 86d403f071b8505858763d4712b37cd71b89db91 | [
"MIT"
] | 1 | 2020-08-24T05:18:43.000Z | 2020-08-24T05:18:43.000Z | taichi/ir/type_factory.cpp | gaoxinge/taichi | 86d403f071b8505858763d4712b37cd71b89db91 | [
"MIT"
] | null | null | null | #include "taichi/ir/type_factory.h"
#include "taichi/ir/type_utils.h"
TLANG_NAMESPACE_BEGIN
TypeFactory &TypeFactory::get_instance() {
static TypeFactory *type_factory = new TypeFactory;
return *type_factory;
}
TypeFactory::TypeFactory() {
}
Type *TypeFactory::get_primitive_type(PrimitiveTypeID id) {
std::lo... | 32.544974 | 78 | 0.635994 |
28f640562ad99b13585c57fbf97d8b1e249ecc96 | 12,024 | cpp | C++ | src/ledger/LedgerTxnClaimableBalanceSQL.cpp | V5DF8/stellar-core | 3fb2dc6bea41ed9160313f856e57451897f68cd9 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | 10 | 2017-09-23T08:25:40.000Z | 2022-01-04T10:28:02.000Z | src/ledger/LedgerTxnClaimableBalanceSQL.cpp | V5DF8/stellar-core | 3fb2dc6bea41ed9160313f856e57451897f68cd9 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2021-11-10T00:25:10.000Z | 2021-11-10T02:50:40.000Z | src/ledger/LedgerTxnClaimableBalanceSQL.cpp | V5DF8/stellar-core | 3fb2dc6bea41ed9160313f856e57451897f68cd9 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSL-1.0",
"BSD-3-Clause"
] | 2 | 2021-10-21T20:34:04.000Z | 2021-11-21T14:13:54.000Z | // Copyright 2020 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "ledger/LedgerTxnImpl.h"
#include "util/GlobalChecks.h"
#include "util/types.h"
names... | 32.585366 | 80 | 0.603127 |
28f7b2a9efaeb2b9a22cf5b02803470c9cdc2706 | 4,072 | cpp | C++ | OpenGL/GLFWContextGL.cpp | IKholopov/TierGine | 1a3c7cd2bed460af672d7cd5c33d7e7863043989 | [
"Apache-2.0"
] | null | null | null | OpenGL/GLFWContextGL.cpp | IKholopov/TierGine | 1a3c7cd2bed460af672d7cd5c33d7e7863043989 | [
"Apache-2.0"
] | null | null | null | OpenGL/GLFWContextGL.cpp | IKholopov/TierGine | 1a3c7cd2bed460af672d7cd5c33d7e7863043989 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2018 Igor Kholopov, 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... | 29.085714 | 82 | 0.718566 |
28fa9a0f35c465b171eff066be2899cb0884efe2 | 8,494 | cpp | C++ | mbed-os/drivers/QSPI.cpp | h7ga40/PeachCam | 06d023a908dc38228e77b47f80bc8496a4d35806 | [
"Apache-2.0"
] | 1 | 2019-12-13T05:51:34.000Z | 2019-12-13T05:51:34.000Z | mbed-os/drivers/QSPI.cpp | h7ga40/PeachCam | 06d023a908dc38228e77b47f80bc8496a4d35806 | [
"Apache-2.0"
] | null | null | null | mbed-os/drivers/QSPI.cpp | h7ga40/PeachCam | 06d023a908dc38228e77b47f80bc8496a4d35806 | [
"Apache-2.0"
] | 1 | 2021-09-17T15:41:36.000Z | 2021-09-17T15:41:36.000Z | /* mbed Microcontroller Library
* Copyright (c) 2006-2018 ARM Limited
*
* 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
*
* ... | 29.391003 | 233 | 0.585708 |
28facf720609c04d87a5b43e7e093224eeff0866 | 4,630 | cpp | C++ | modules/imgproc/test/test_watershed.cpp | snosov1/opencv | ce05d6cb89450a5778f4c0169b5da5589798192a | [
"BSD-3-Clause"
] | 144 | 2015-01-15T03:38:44.000Z | 2022-02-17T09:07:52.000Z | modules/imgproc/test/test_watershed.cpp | snosov1/opencv | ce05d6cb89450a5778f4c0169b5da5589798192a | [
"BSD-3-Clause"
] | 28 | 2016-10-16T19:42:37.000Z | 2018-09-14T21:29:48.000Z | modules/imgproc/test/test_watershed.cpp | snosov1/opencv | ce05d6cb89450a5778f4c0169b5da5589798192a | [
"BSD-3-Clause"
] | 58 | 2015-01-14T23:43:49.000Z | 2021-11-15T05:19:08.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 34.81203 | 95 | 0.643413 |
28fb6f6d11fe5dd49b984fa8107b29b7eb1c4a35 | 1,103 | cpp | C++ | source/lab4/dfp.cpp | Jovvik/methopt-lab-1 | 2c3acaf653c7214a925ed1292b9d1d30a33d2737 | [
"Unlicense"
] | null | null | null | source/lab4/dfp.cpp | Jovvik/methopt-lab-1 | 2c3acaf653c7214a925ed1292b9d1d30a33d2737 | [
"Unlicense"
] | null | null | null | source/lab4/dfp.cpp | Jovvik/methopt-lab-1 | 2c3acaf653c7214a925ed1292b9d1d30a33d2737 | [
"Unlicense"
] | null | null | null | #include "lab4/dfp.h"
#include "iostream"
#include "lab1/brent.h"
#include "lab3/solver.h"
using namespace lab4;
DFP::DFP()
: s(lab2::Vector({1})),
d(lab2::Vector({1})),
G(lab2::Matrix({{1}}, std::nullopt)) {}
lab2::Vector DFP::iteration(lab2::NFunction &f, double) {
lab2::Vector x_k_1 = get_poi... | 28.282051 | 66 | 0.483228 |
28fc02a851e81e019b0eca73e0ce310b05bacffc | 1,765 | cpp | C++ | week2/6_sinExample_circlePlusPath/src/ofApp.cpp | evejweinberg/algo2012 | 7e13c20bab94e1769f6751c4e124964ae05b7087 | [
"MIT"
] | 94 | 2015-01-12T16:07:57.000Z | 2021-12-24T06:48:04.000Z | week2/6_sinExample_circlePlusPath/src/ofApp.cpp | theomission/algo2012 | 7e13c20bab94e1769f6751c4e124964ae05b7087 | [
"MIT"
] | null | null | null | week2/6_sinExample_circlePlusPath/src/ofApp.cpp | theomission/algo2012 | 7e13c20bab94e1769f6751c4e124964ae05b7087 | [
"MIT"
] | 18 | 2015-03-12T23:11:08.000Z | 2022-02-05T05:43:51.000Z | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofSetVerticalSync(true);
ofBackground(0,0,0);
ofSetCircleResolution(100);
radius = 50;
}
//--------------------------------------------------------------
void ofApp::update(){
radius = radius +... | 17.65 | 64 | 0.398867 |
28fc99035e0c7318fc6617c3c8d037dd9c7adecb | 2,602 | cpp | C++ | unit_tests/stencil_composition/test_make_loop_intervals.cpp | mbianco/gridtools | 1abef09881a31495a3d02a15d3fe21620c6dde98 | [
"BSD-3-Clause"
] | null | null | null | unit_tests/stencil_composition/test_make_loop_intervals.cpp | mbianco/gridtools | 1abef09881a31495a3d02a15d3fe21620c6dde98 | [
"BSD-3-Clause"
] | null | null | null | unit_tests/stencil_composition/test_make_loop_intervals.cpp | mbianco/gridtools | 1abef09881a31495a3d02a15d3fe21620c6dde98 | [
"BSD-3-Clause"
] | 1 | 2019-06-14T10:35:50.000Z | 2019-06-14T10:35:50.000Z | /*
* GridTools
*
* Copyright (c) 2014-2019, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <gridtools/stencil_composition/make_loop_intervals.hpp>
#include <gtest/gtest.h>
#include <gridtools/common/defs.hpp>
... | 35.162162 | 105 | 0.60146 |
28fc9f8b5966ad5fa16cf33a230b6e621d29ef4f | 1,035 | cpp | C++ | src/swimport/tests/14_arrays/src.cpp | talos-gis/swimport | e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3 | [
"MIT"
] | 1 | 2019-03-07T20:43:42.000Z | 2019-03-07T20:43:42.000Z | src/swimport/tests/14_arrays/src.cpp | talos-gis/swimport | e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3 | [
"MIT"
] | null | null | null | src/swimport/tests/14_arrays/src.cpp | talos-gis/swimport | e8f0fcf02b0c9751b199f750f1f8bc57c8ff54b3 | [
"MIT"
] | null | null | null | #include "src.h"
#include <string.h>
#include <stdlib.h>
int sum(int const * A_members, size_t n){
auto ret = 0;
for (int i = 0; i < n; i++){
ret += *A_members;
A_members++;
}
return ret;
}
void digits(int n, int** A_output, size_t* size, int base){
auto ret = (int*)malloc(0);
s... | 21.5625 | 59 | 0.571981 |
28fcc247a08f4de74270d83536ad306853dc7395 | 6,726 | cpp | C++ | aws-cpp-sdk-apigatewayv2/source/model/Stage.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-apigatewayv2/source/model/Stage.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-apigatewayv2/source/model/Stage.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/apigatewayv2/model/Stage.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace ... | 23.935943 | 114 | 0.741748 |
28fd242a80f8682bd11333cca0515fa98191be66 | 16,513 | cpp | C++ | earth_enterprise/src/fusion/fusionui/AssetChooser.cpp | tornado12345/earthenterprise | 0fe84e29be470cd857e3a0e52e5d0afd5bb8cee9 | [
"Apache-2.0"
] | 2,661 | 2017-03-20T22:12:50.000Z | 2022-03-30T09:43:19.000Z | earth_enterprise/src/fusion/fusionui/AssetChooser.cpp | tornado12345/earthenterprise | 0fe84e29be470cd857e3a0e52e5d0afd5bb8cee9 | [
"Apache-2.0"
] | 1,531 | 2017-03-24T17:20:32.000Z | 2022-03-16T18:11:14.000Z | earth_enterprise/src/fusion/fusionui/AssetChooser.cpp | tornado12345/earthenterprise | 0fe84e29be470cd857e3a0e52e5d0afd5bb8cee9 | [
"Apache-2.0"
] | 990 | 2017-03-24T11:54:28.000Z | 2022-03-22T11:51:47.000Z | // Copyright 2017 Google 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 in... | 30.410681 | 83 | 0.639072 |
28fd96fc5361c29e837e17697d3fb454a7f06f87 | 3,052 | cpp | C++ | main.cpp | olpotkin/storyboard | 8fa3012f84e6eac023cbf7f3a77d5c05306ee282 | [
"MIT"
] | null | null | null | main.cpp | olpotkin/storyboard | 8fa3012f84e6eac023cbf7f3a77d5c05306ee282 | [
"MIT"
] | null | null | null | main.cpp | olpotkin/storyboard | 8fa3012f84e6eac023cbf7f3a77d5c05306ee282 | [
"MIT"
] | null | null | null | /* In this exercise we want to design a Storyboard. Our version of the Storyboard
* contains arbitrary many notes (imagine it like putting sticky notes on a board).
* Every note has a title, a text and a set of tags. E.g.
* - title: "Test Traceplayer"
* - text: "Implement a unit test for the class Traceplayer of ... | 35.905882 | 104 | 0.617628 |
28fda0af045e54a3671e62bbcc2d434c1e57a272 | 73,497 | cpp | C++ | src/tests/ClassPath/src/bstrwrap.cpp | TakuKitamura/verimqtt-c | 30109f66df126e5860f2329ce2ad3cfb7f12d9da | [
"MIT"
] | 42 | 2020-03-15T22:07:04.000Z | 2022-03-18T18:49:35.000Z | src/tests/ClassPath/src/bstrwrap.cpp | TakuKitamura/verimqtt-c | 30109f66df126e5860f2329ce2ad3cfb7f12d9da | [
"MIT"
] | 6 | 2020-06-04T17:07:29.000Z | 2021-02-17T14:49:05.000Z | src/tests/ClassPath/src/bstrwrap.cpp | TakuKitamura/verimqtt-c | 30109f66df126e5860f2329ce2ad3cfb7f12d9da | [
"MIT"
] | 9 | 2020-08-07T11:49:08.000Z | 2022-02-20T14:15:35.000Z | /*
* This source file is part of the bstring string library. This code was
* written by Paul Hsieh in 2002 - 2006, and is covered by the BSD open source
* license. Refer to the accompanying documentation for details on usage and
* license.
*/
/*
* bstrwrap.c
*
* This file is the C++ wrapper for the bstring fu... | 32.738085 | 234 | 0.466876 |
e9005849663072c857de6b3ce39173f8d237bd98 | 6,361 | cpp | C++ | src/appleseed/renderer/modeling/bsdf/bsdfsample.cpp | joelbarmettlerUZH/appleseed | 6da8ff684aa33648a247a4d4005bb4595862e0b3 | [
"MIT"
] | 1,907 | 2015-01-04T00:13:22.000Z | 2022-03-30T15:14:00.000Z | src/appleseed/renderer/modeling/bsdf/bsdfsample.cpp | joelbarmettlerUZH/appleseed | 6da8ff684aa33648a247a4d4005bb4595862e0b3 | [
"MIT"
] | 1,196 | 2015-01-04T10:50:01.000Z | 2022-03-04T09:18:22.000Z | src/appleseed/renderer/modeling/bsdf/bsdfsample.cpp | joelbarmettlerUZH/appleseed | 6da8ff684aa33648a247a4d4005bb4595862e0b3 | [
"MIT"
] | 373 | 2015-01-06T10:08:53.000Z | 2022-03-12T10:25:57.000Z |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2015-2018 Esteban Tovagliari, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any perso... | 32.454082 | 80 | 0.622386 |
e90096d4600be5ce516dff8cb5d49840032d3696 | 4,037 | cpp | C++ | src/rschol/geometry/FiniteDifference.cpp | jeffc71/rank_structured_cholesky | 1b5df69bd6b9187435897786e7461cdd341e8db0 | [
"Unlicense"
] | 3 | 2017-09-07T16:14:33.000Z | 2021-09-18T04:47:06.000Z | src/rschol/geometry/FiniteDifference.cpp | jeffchadwick/rank_structured_cholesky | 1b5df69bd6b9187435897786e7461cdd341e8db0 | [
"Unlicense"
] | null | null | null | src/rschol/geometry/FiniteDifference.cpp | jeffchadwick/rank_structured_cholesky | 1b5df69bd6b9187435897786e7461cdd341e8db0 | [
"Unlicense"
] | null | null | null | //////////////////////////////////////////////////////////////////////
// Copyright (c) 2015, Jeff Chadwick and David Bindel
// 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. Redis... | 36.369369 | 81 | 0.583354 |
e902b84a9cfaa34c2c09dffbd1740b49dbc860ff | 2,122 | hpp | C++ | file_access.hpp | piccolo255/mhd2d-solver | be635bb6f5f8d3d06a9fa02a15801eedd1f50306 | [
"Unlicense"
] | null | null | null | file_access.hpp | piccolo255/mhd2d-solver | be635bb6f5f8d3d06a9fa02a15801eedd1f50306 | [
"Unlicense"
] | null | null | null | file_access.hpp | piccolo255/mhd2d-solver | be635bb6f5f8d3d06a9fa02a15801eedd1f50306 | [
"Unlicense"
] | null | null | null | #ifndef FILE_ACCESS_HPP_INCLUDED
#define FILE_ACCESS_HPP_INCLUDED
// Read value of a key, show warning and default value if the key is missing
template <class T>
T readEntry
( boost::property_tree::ptree pt
, std::string section
, std::string name
, T defaultValue );
// Read settings from proper... | 26.525 | 84 | 0.696984 |
e902e7570e55f2b4279d1fec67f70f1d90a0049a | 2,629 | cpp | C++ | Supermicro/benchmarks/maskrcnn/implementations/pytorch_SYS-420GP-TNAR/maskrcnn_benchmark/csrc/cuda/nhwc/transforms.cpp | gglin001/training_results_v1.1 | 58fd4103f0f465bda6eb56a06a74b7bbccbbcf24 | [
"Apache-2.0"
] | 48 | 2020-07-29T18:09:23.000Z | 2021-10-09T01:53:33.000Z | Supermicro/benchmarks/maskrcnn/implementations/pytorch_SYS-420GP-TNAR/maskrcnn_benchmark/csrc/cuda/nhwc/transforms.cpp | gglin001/training_results_v1.1 | 58fd4103f0f465bda6eb56a06a74b7bbccbbcf24 | [
"Apache-2.0"
] | 21 | 2021-08-31T08:34:50.000Z | 2022-03-17T11:42:10.000Z | NVIDIA/benchmarks/maskrcnn/implementations/pytorch/maskrcnn_benchmark/csrc/cuda/nhwc/transforms.cpp | lablup/training_results_v0.7 | f5bb59aa0f8b18b602763abe47d1d24d0d54b197 | [
"Apache-2.0"
] | 42 | 2020-08-01T06:41:24.000Z | 2022-01-20T10:33:08.000Z | /******************************************************************************
*
* Copyright (c) 2018-2019, NVIDIA CORPORATION. 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 Lice... | 30.929412 | 116 | 0.670978 |
e90363efe24449aee213324e34ea26d2fc0605bd | 644 | cpp | C++ | NotSoFAT32/Fat32Directory.cpp | Rohansi/NotSoFAT32 | fd6b6a5528b5af00518a83b3d1c2061a87b007e3 | [
"MIT"
] | 1 | 2020-11-03T16:11:59.000Z | 2020-11-03T16:11:59.000Z | NotSoFAT32/Fat32Directory.cpp | Rohansi/NotSoFAT32 | fd6b6a5528b5af00518a83b3d1c2061a87b007e3 | [
"MIT"
] | 1 | 2020-11-04T11:34:44.000Z | 2020-11-04T11:34:44.000Z | NotSoFAT32/Fat32Directory.cpp | Rohansi/NotSoFAT32 | fd6b6a5528b5af00518a83b3d1c2061a87b007e3 | [
"MIT"
] | null | null | null | #include "Interface/IFat32Directory.hpp"
#include "Fat32Directory.hpp"
#include "Fat32Root.hpp"
#include "Fat32File.hpp"
#include <algorithm>
#include <string>
Fat32Directory::Fat32Directory(std::weak_ptr<Fat32Disk> fat32, std::shared_ptr<DirectoryEntry> entry)
: IFat32Directory(fat32)
{
m_fat32 = fat32;
... | 23 | 101 | 0.728261 |
e9072b9c77026ef3859d16d1fb06f7b3292b71ea | 4,641 | cc | C++ | compiler/optimizing/dex_cache_array_fixups_arm.cc | lifansama/xposed_art_n | ec3fbe417d74d4664cec053d91dd4e3881176374 | [
"MIT"
] | 234 | 2017-07-18T05:30:27.000Z | 2022-01-07T02:21:31.000Z | compiler/optimizing/dex_cache_array_fixups_arm.cc | lifansama/xposed_art_n | ec3fbe417d74d4664cec053d91dd4e3881176374 | [
"MIT"
] | 21 | 2017-07-18T04:56:09.000Z | 2018-08-10T17:32:16.000Z | compiler/optimizing/dex_cache_array_fixups_arm.cc | lifansama/xposed_art_n | ec3fbe417d74d4664cec053d91dd4e3881176374 | [
"MIT"
] | 56 | 2017-07-18T10:37:10.000Z | 2022-01-07T02:19:22.000Z | /*
* Copyright (C) 2015 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... | 41.070796 | 97 | 0.721181 |
e9086e1fbdc59a6691aded7cb2e54cb31b51dba5 | 15,212 | cpp | C++ | nfc/src/DOOM/doomclassic/timidity/resample.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | nfc/src/DOOM/doomclassic/timidity/resample.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | nfc/src/DOOM/doomclassic/timidity/resample.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | /*
TiMidity -- Experimental MIDI to WAVE converter
Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at you... | 20.584574 | 76 | 0.619445 |
e9095f5c3976ebb5e723a494ff5ea410ceeea824 | 1,831 | cc | C++ | pw_result/result_test.cc | LuDuda/pigweed | dcd7230895a234156bc7b6e5061e6936627c5fbb | [
"Apache-2.0"
] | null | null | null | pw_result/result_test.cc | LuDuda/pigweed | dcd7230895a234156bc7b6e5061e6936627c5fbb | [
"Apache-2.0"
] | null | null | null | pw_result/result_test.cc | LuDuda/pigweed | dcd7230895a234156bc7b6e5061e6936627c5fbb | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Pigweed Authors
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | 23.779221 | 80 | 0.67231 |
e90ae0565c37d5f0e74b9139ce7411ccba6f1ba1 | 604 | cpp | C++ | C-C++/activitySelection(Greedy).cpp | psinha30/dataStructure-Algorithms | a5b097f9136cf458d8b95350a05ac19a99f3cbf3 | [
"MIT"
] | 1 | 2019-12-30T18:07:07.000Z | 2019-12-30T18:07:07.000Z | C-C++/activitySelection(Greedy).cpp | psinha30/dataStructure-Algorithms | a5b097f9136cf458d8b95350a05ac19a99f3cbf3 | [
"MIT"
] | null | null | null | C-C++/activitySelection(Greedy).cpp | psinha30/dataStructure-Algorithms | a5b097f9136cf458d8b95350a05ac19a99f3cbf3 | [
"MIT"
] | 1 | 2018-12-20T04:58:26.000Z | 2018-12-20T04:58:26.000Z | #include <bits/stdc++.h>
using namespace std;
int i, n;
struct activity
{
int s,f;
};
bool compare(activity a1, activity a2)
{
return (a1.f < a2.f);
}
void activity_greedy(activity a[], int m)
{
if(m >= n)
return;
if(a[m].s >= a[i].f)
{
if(i == 0)
cout << "{" << a[i].s << "," << a[i].f << "} ";
cou... | 13.422222 | 50 | 0.488411 |
e90b8019e09a093019fe759575d1090ce194170b | 8,206 | cpp | C++ | src/mongo/s/catalog/type_config_version.cpp | LightBitsLabs/mongo | 9480ef00a8df2464457ab0f31c7a336f882e8ec1 | [
"Apache-2.0"
] | 25 | 2016-12-07T09:39:51.000Z | 2021-12-16T11:17:37.000Z | src/mongo/s/catalog/type_config_version.cpp | Man1029/CMONGO | c40380caa14e05509f46993aa8b8da966b09b0b5 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-05-29T16:12:10.000Z | 2015-05-29T16:12:10.000Z | src/mongo/s/catalog/type_config_version.cpp | Man1029/CMONGO | c40380caa14e05509f46993aa8b8da966b09b0b5 | [
"ECL-2.0",
"Apache-2.0"
] | 23 | 2017-01-22T03:35:26.000Z | 2021-12-16T11:17:39.000Z | /**
* Copyright (C) 2012 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful... | 35.991228 | 100 | 0.668535 |
e90c56f98148e6359b1636cd2dd13aff6c42f4cd | 6,985 | cpp | C++ | Cursor.cpp | JermSmith/TDGame | 198599ef229eb6c852dabc7ea72f5537dd10ab5c | [
"MIT"
] | null | null | null | Cursor.cpp | JermSmith/TDGame | 198599ef229eb6c852dabc7ea72f5537dd10ab5c | [
"MIT"
] | null | null | null | Cursor.cpp | JermSmith/TDGame | 198599ef229eb6c852dabc7ea72f5537dd10ab5c | [
"MIT"
] | null | null | null | #include "Cursor.h"
#include "Util\Math.h"
Cursor::Cursor(const sf::RenderWindow& window) : Tower(window) {}
void Cursor::update(const sf::RenderWindow& window, const Path& path,
const std::vector<std::unique_ptr<Tower>>& towers, bool bTowerBeingPlaced)
{
if (bTowerBeingPlaced)
{
// place dummy tower a... | 32.041284 | 153 | 0.644094 |
e90d5ab2a2d550f066f51c6659c4d2a1b8d878a5 | 8,823 | cpp | C++ | Source/WebKit/mg/control/license/loadSplash.cpp | VincentWei/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | Source/WebKit/mg/control/license/loadSplash.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | null | null | null | Source/WebKit/mg/control/license/loadSplash.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-17T06:02:42.000Z | 2018-09-19T10:08:38.000Z | /*
** $Id$
**
** loadSplash.cpp:
**
** Copyright (C) 2003 ~ 2010 Beijing Feynman Software Technology Co., Ltd.
**
** All rights reserved by Feynman Software.
**
** Current maintainer: lvlei
**
** Create date: 2010-08-25
*/
#include "mdconfig.h"
#ifdef _MD_ENABLE_WATERMARK
#include "licenseHidden... | 29.41 | 129 | 0.702142 |
e90ddfc73a37d14850a6693e7f8f62f8cecc169b | 9,227 | cpp | C++ | lib/ofsocket.cpp | timmyw/ofsystem | 6f955d53dc3025148763333bea0a11d0bce28c06 | [
"MIT"
] | null | null | null | lib/ofsocket.cpp | timmyw/ofsystem | 6f955d53dc3025148763333bea0a11d0bce28c06 | [
"MIT"
] | null | null | null | lib/ofsocket.cpp | timmyw/ofsystem | 6f955d53dc3025148763333bea0a11d0bce28c06 | [
"MIT"
] | null | null | null | /*
Copyright (C) 1997-2011 by Suntail.com AS, Tim Whelan
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... | 24.671123 | 112 | 0.60117 |
e90e0e1b80506adc742ea818d1bbdf997615580f | 9,408 | cpp | C++ | third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.h"
#include "bindings/core/v8/ScriptPromiseResolver.h"
#include... | 44.169014 | 187 | 0.75 |
e90f4bead4b3127c61e8ccd7159d46826fd68eb8 | 1,591 | cpp | C++ | tests/msat/msat-array-models.cpp | andrewvaughanj/smt-switch | 9c1ba328f8d69fb3b832820b765df71b0cd9bc65 | [
"BSD-3-Clause"
] | 49 | 2018-02-20T12:47:28.000Z | 2021-08-14T17:06:19.000Z | tests/msat/msat-array-models.cpp | andrewvaughanj/smt-switch | 9c1ba328f8d69fb3b832820b765df71b0cd9bc65 | [
"BSD-3-Clause"
] | 117 | 2017-06-30T18:26:02.000Z | 2021-08-17T19:50:18.000Z | tests/msat/msat-array-models.cpp | andrewvaughanj/smt-switch | 9c1ba328f8d69fb3b832820b765df71b0cd9bc65 | [
"BSD-3-Clause"
] | 21 | 2019-10-10T22:22:03.000Z | 2021-07-22T14:15:10.000Z | /********************* */
/*! \file msat-array-models.cpp
** \verbatim
** Top contributors (to current version):
** Makai Mann
** This file is part of the smt-switch project.
** Copyright (c) 2020 by the authors listed in the file AUTHORS
** in the top-level sour... | 27.912281 | 80 | 0.65242 |
e90fd826c539b8636606798846eaecad36402fdb | 529 | cpp | C++ | Synthesizer/MainScreen.cpp | 161563/Sylph-Synthesizer | 548e62f1353f254af874d2d06fd6216b808edfd6 | [
"MIT"
] | null | null | null | Synthesizer/MainScreen.cpp | 161563/Sylph-Synthesizer | 548e62f1353f254af874d2d06fd6216b808edfd6 | [
"MIT"
] | null | null | null | Synthesizer/MainScreen.cpp | 161563/Sylph-Synthesizer | 548e62f1353f254af874d2d06fd6216b808edfd6 | [
"MIT"
] | null | null | null | #include "MainScreen.h"
#include "Song.h"
#include "Music.h"
#include <string>
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
void main(array<String^>^ args) {
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
for (int i = 0; i < args->Length; i... | 21.16 | 55 | 0.691871 |
e910c788acd61fff99e72aaa8cc69885e5ee4470 | 352 | cc | C++ | CondFormats/ESObjects/src/ESADCToGeVConstant.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CondFormats/ESObjects/src/ESADCToGeVConstant.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CondFormats/ESObjects/src/ESADCToGeVConstant.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "CondFormats/ESObjects/interface/ESADCToGeVConstant.h"
ESADCToGeVConstant::ESADCToGeVConstant()
{
ESvaluelow_=0.;
ESvaluehigh_=0.;
}
ESADCToGeVConstant::ESADCToGeVConstant(const float & ESvaluelow, const float & ESvaluehigh) {
ESvaluelow_ = ESvaluelow;
ESvaluehigh_ = ESvaluehigh;
}
ESADCToGeVConst... | 19.555556 | 93 | 0.775568 |
e91292a9cc731cdd25b3f6c27e9e922d6044775f | 6,155 | cc | C++ | test/frame_error_test.cc | moutonislandais/SVT-AV1 | a41f1601b01eec701c76600e472d2fc7d1f3a22f | [
"BSD-2-Clause-Patent"
] | 1 | 2019-07-14T13:20:21.000Z | 2019-07-14T13:20:21.000Z | test/frame_error_test.cc | moutonislandais/SVT-AV1 | a41f1601b01eec701c76600e472d2fc7d1f3a22f | [
"BSD-2-Clause-Patent"
] | 10 | 2019-03-13T06:57:17.000Z | 2019-04-08T02:46:17.000Z | test/frame_error_test.cc | moutonislandais/SVT-AV1 | a41f1601b01eec701c76600e472d2fc7d1f3a22f | [
"BSD-2-Clause-Patent"
] | 1 | 2019-03-07T08:56:38.000Z | 2019-03-07T08:56:38.000Z | /*
* Copyright (c) 2019, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | 35.578035 | 78 | 0.612998 |
e916529e0689dec760e84712b9d2d9244d169ea4 | 1,661 | cpp | C++ | src/nn/axpby.cpp | tahsinkose/graphnn | cf38e2a4e459a2d0138c3153d1aa9d69137b04b2 | [
"MIT"
] | 277 | 2016-01-26T10:47:03.000Z | 2022-03-28T11:47:03.000Z | src/nn/axpby.cpp | tahsinkose/graphnn | cf38e2a4e459a2d0138c3153d1aa9d69137b04b2 | [
"MIT"
] | 35 | 2017-04-05T16:02:16.000Z | 2022-02-17T15:24:25.000Z | src/nn/axpby.cpp | tahsinkose/graphnn | cf38e2a4e459a2d0138c3153d1aa9d69137b04b2 | [
"MIT"
] | 90 | 2016-01-26T10:40:39.000Z | 2022-02-28T10:55:32.000Z | #include "nn/axpby.h"
namespace gnn
{
template<typename mode, typename Dtype>
Axpby<mode, Dtype>::Axpby(std::string _name, Dtype _a, Dtype _b, PropErr _properr)
: Factor(_name, _properr), a(_a), b(_b)
{
}
template<typename mode, typename Dtype>
void Axpby<mode, Dtype>::Forward(std::vector< std::shared_ptr<Variab... | 31.942308 | 87 | 0.662854 |
e9176cffaec1e7d5f5a498abdb09a3fe2ae6dc3c | 1,072 | cpp | C++ | WirelessThermometer/TimerSwitchWithServo/ServoMotion.cpp | anders-liu/arduino-gallery | 8c65701a33358891b7105b50f831d7f5797288ad | [
"MIT"
] | 1 | 2019-11-07T22:44:27.000Z | 2019-11-07T22:44:27.000Z | WirelessThermometer/TimerSwitchWithServo/ServoMotion.cpp | anders-liu/arduino-gallery | 8c65701a33358891b7105b50f831d7f5797288ad | [
"MIT"
] | null | null | null | WirelessThermometer/TimerSwitchWithServo/ServoMotion.cpp | anders-liu/arduino-gallery | 8c65701a33358891b7105b50f831d7f5797288ad | [
"MIT"
] | null | null | null | #include "ServoMotion.h"
#include "DataStore.h"
#define START_DELAY 200
#define RUNNING_HOLD_PERIOD 1000
enum ServoMotionState_t {
SS_OFF,
SS_JUST_ON,
SS_RUNNING,
};
static void s_powerOff(uint8_t powerPin) {
digitalWrite(powerPin, LOW);
}
static void s_powerOn(uint8_t powerPin) {
digitalWrite(power... | 19.490909 | 58 | 0.697761 |
e917c8d3fb72073d52dbfa4de3fb13a5bec68f82 | 1,171 | cpp | C++ | deps/src/boost_1_65_1/libs/python/test/destroy_test.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | deps/src/boost_1_65_1/libs/python/test/destroy_test.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | deps/src/boost_1_65_1/libs/python/test/destroy_test.cpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | // Copyright David Abrahams 2004. 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/python/detail/destroy.hpp>
#include <boost/detail/lightweight_test.hpp>
int count;
int marks[] = {
-1
, -1,... | 19.847458 | 72 | 0.600342 |
e917d0a96f269a8a0fb6cc14e7c1320b3cf3a3f7 | 700 | hpp | C++ | android-29/android/media/MediaRecorder_AudioEncoder.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/media/MediaRecorder_AudioEncoder.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/media/MediaRecorder_AudioEncoder.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../JObject.hpp"
namespace android::media
{
class MediaRecorder;
}
namespace android::media
{
class MediaRecorder_AudioEncoder : public JObject
{
public:
// Fields
static jint AAC();
static jint AAC_ELD();
static jint AMR_NB();
static jint AMR_WB();
static jint DEFAULT();
s... | 20 | 167 | 0.692857 |
e91a18927dc83eb1469e3ebc933d4917f5b0214b | 944 | cc | C++ | jax/training/21-09/29/b_precessing_queries.cc | JaxVanYang/acm | ee41f1cbf692b7b1463a9467401bb6e7d38aecce | [
"MIT"
] | 2 | 2022-01-01T16:55:02.000Z | 2022-03-16T14:47:29.000Z | jax/training/21-09/29/b_precessing_queries.cc | JaxVanYang/acm | ee41f1cbf692b7b1463a9467401bb6e7d38aecce | [
"MIT"
] | null | null | null | jax/training/21-09/29/b_precessing_queries.cc | JaxVanYang/acm | ee41f1cbf692b7b1463a9467401bb6e7d38aecce | [
"MIT"
] | null | null | null | #include <iostream>
#include <queue>
using namespace std;
using ll = long long;
const int N = 2e5 + 10;
ll ans[N];
struct Node {
int t, d, id;
};
int main() {
int n, b;
scanf("%d%d", &n, &b);
ll ed = 0;
queue<Node> q;
for (int i = 0; i < n; ++i) {
int t, d;
scanf("%d%d", &t,... | 17.811321 | 60 | 0.347458 |
e91ac1f5e22f7be38a8ace97a06691abd2c9b452 | 27,860 | cpp | C++ | libqd/qd.cpp | philippeb8/fcalc | b62a78e02b56dc4319e06d8eb36bb3d6fdafd256 | [
"MIT"
] | 2 | 2020-10-24T01:15:51.000Z | 2020-10-25T04:07:30.000Z | libqd/qd.cpp | philippeb8/fcalc | b62a78e02b56dc4319e06d8eb36bb3d6fdafd256 | [
"MIT"
] | null | null | null | libqd/qd.cpp | philippeb8/fcalc | b62a78e02b56dc4319e06d8eb36bb3d6fdafd256 | [
"MIT"
] | null | null | null | /*
* src/qd.cc
*
* This work was supported by the Director, Office of Science, Division
* of Mathematical, Information, and Computational Sciences of the
* U.S. Department of Energy under contract number DE-AC03-76SF00098.
*
* Copyright (c) 2000-2001
*
* Contains implementation of non-inlined functions of quad... | 20.380395 | 112 | 0.5 |
e91ad983f822d9ff5302359d933c695141d3b9fc | 40,106 | cc | C++ | third_party/blink/renderer/core/editing/layout_selection.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/core/editing/layout_selection.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | third_party/blink/renderer/core/editing/layout_selection.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
* reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Found... | 37.587629 | 91 | 0.724181 |
e91ae89244ea57fb12b75ad7443543f1ad1c40a1 | 17,668 | cpp | C++ | src/CommandSet.cpp | jacobussystems/IoTJackAC1 | c1ad8c13d984362c1bbf1232cbfc34e64fc039ac | [
"MIT"
] | null | null | null | src/CommandSet.cpp | jacobussystems/IoTJackAC1 | c1ad8c13d984362c1bbf1232cbfc34e64fc039ac | [
"MIT"
] | null | null | null | src/CommandSet.cpp | jacobussystems/IoTJackAC1 | c1ad8c13d984362c1bbf1232cbfc34e64fc039ac | [
"MIT"
] | null | null | null | /*
CommandSet.cpp
By Jim Davies
Jacobus Systems, Brighton & Hove, UK
http://www.jacobus.co.uk
Provided under the MIT license: https://github.com/jacobussystems/ArdJack/blob/master/LICENSE
Copyright (c) 2019 James Davies, Jacobus Systems, Brighton & Hove, UK
Permission is hereby granted, free of charge, to any... | 21.467801 | 114 | 0.698325 |
e91b95a988d5806fc6591bb8e7c17a03fe79ecec | 2,716 | cpp | C++ | src/Interpreters/InterpreterExternalDDLQuery.cpp | athom/ClickHouse | 4f4cc9d7404fd489a7229633b22b5ea1889bd8c0 | [
"Apache-2.0"
] | 15,577 | 2019-09-23T11:57:53.000Z | 2022-03-31T18:21:48.000Z | src/Interpreters/InterpreterExternalDDLQuery.cpp | athom/ClickHouse | 4f4cc9d7404fd489a7229633b22b5ea1889bd8c0 | [
"Apache-2.0"
] | 16,476 | 2019-09-23T11:47:00.000Z | 2022-03-31T23:06:01.000Z | src/Interpreters/InterpreterExternalDDLQuery.cpp | athom/ClickHouse | 4f4cc9d7404fd489a7229633b22b5ea1889bd8c0 | [
"Apache-2.0"
] | 3,633 | 2019-09-23T12:18:28.000Z | 2022-03-31T15:55:48.000Z | #if !defined(ARCADIA_BUILD)
# include "config_core.h"
#endif
#include <Interpreters/InterpreterExternalDDLQuery.h>
#include <Interpreters/Context.h>
#include <Parsers/IAST.h>
#include <Parsers/ASTDropQuery.h>
#include <Parsers/ASTRenameQuery.h>
#include <Parsers/ASTIdentifier.h>
#include <Parsers/ASTExternalDDLQue... | 37.722222 | 110 | 0.716495 |
e91bb7ad2417fd19f53f460456ea1f1c77480762 | 15,625 | cc | C++ | test/cctest/compiler/test-run-jsops.cc | guillermomolina/v8-sparc | 40f43c91a59835819cdd544b25d0ea415a753bbb | [
"BSD-3-Clause"
] | null | null | null | test/cctest/compiler/test-run-jsops.cc | guillermomolina/v8-sparc | 40f43c91a59835819cdd544b25d0ea415a753bbb | [
"BSD-3-Clause"
] | null | null | null | test/cctest/compiler/test-run-jsops.cc | guillermomolina/v8-sparc | 40f43c91a59835819cdd544b25d0ea415a753bbb | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(jochen): Remove this after the setting is turned on globally.
#define V8_IMMINENT_DEPRECATION_WARNINGS
#include "test/cctest/compiler/function-... | 28.775322 | 80 | 0.574848 |
e91e00225954bf4ddeab940c29899f540699a0db | 7,822 | cpp | C++ | lib/DxilDia/DxcPixLiveVariables.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | lib/DxilDia/DxcPixLiveVariables.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | lib/DxilDia/DxcPixLiveVariables.cpp | seanbaxter/DirectXShaderCompiler | 6d02c8d43ff3fdeb9963acaf3af00c62aaa01f44 | [
"NCSA"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// //
// DxcPixLiveVariables.cpp //
// Copyright (C) Microsoft Corporation. All rights reserved. //
... | 28.34058 | 98 | 0.634748 |
e91eca6dca5931a7a428435ee48946a8912f5bc1 | 8,039 | cpp | C++ | src/IECore/ClientDisplayDriver.cpp | gcodebackups/cortex-vfx | 72fa6c6eb3327fce4faf01361c8fcc2e1e892672 | [
"BSD-3-Clause"
] | 5 | 2016-07-26T06:09:28.000Z | 2022-03-07T03:58:51.000Z | src/IECore/ClientDisplayDriver.cpp | turbosun/cortex | 4bdc01a692652cd562f3bfa85f3dae99d07c0b15 | [
"BSD-3-Clause"
] | null | null | null | src/IECore/ClientDisplayDriver.cpp | turbosun/cortex | 4bdc01a692652cd562f3bfa85f3dae99d07c0b15 | [
"BSD-3-Clause"
] | 3 | 2015-03-25T18:45:24.000Z | 2020-02-15T15:37:18.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2013, Image Engine Design Inc. All rights reserved.
// Copyright (c) 2012, John Haddon. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted pro... | 36.211712 | 198 | 0.729942 |
11e6c30dcde0cc94e1bced45e45c43acbf92c259 | 2,471 | cpp | C++ | proxygen/lib/http/codec/compress/HPACKCodec.cpp | zhuzy-xys/fb_proxygen | 1727d7bb6d9c161a4c2f01d80da6e70e29c7c29b | [
"BSD-3-Clause"
] | null | null | null | proxygen/lib/http/codec/compress/HPACKCodec.cpp | zhuzy-xys/fb_proxygen | 1727d7bb6d9c161a4c2f01d80da6e70e29c7c29b | [
"BSD-3-Clause"
] | null | null | null | proxygen/lib/http/codec/compress/HPACKCodec.cpp | zhuzy-xys/fb_proxygen | 1727d7bb6d9c161a4c2f01d80da6e70e29c7c29b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2015-present, Facebook, Inc.
* 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. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... | 28.402299 | 79 | 0.723998 |
11e8215b2b9ab33162d6c0be79765fb86481e4c3 | 5,260 | cpp | C++ | examples/freverb.cpp | vlazzarini/aurora | 4990d81a6873beace4a39d6584cc77afbda82cf4 | [
"BSD-3-Clause"
] | 11 | 2021-11-26T16:23:40.000Z | 2022-01-19T21:36:35.000Z | examples/freverb.cpp | vlazzarini/aurora | 4990d81a6873beace4a39d6584cc77afbda82cf4 | [
"BSD-3-Clause"
] | null | null | null | examples/freverb.cpp | vlazzarini/aurora | 4990d81a6873beace4a39d6584cc77afbda82cf4 | [
"BSD-3-Clause"
] | null | null | null | // freverb.cpp:
// reverb processing example
// depends on libsndfile
//
// (c) V Lazzarini, 2021
//
// 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 n... | 35.066667 | 80 | 0.585551 |
11e891310680f0eb1585c118d56651afab914aaa | 11,927 | cc | C++ | modules/perception/obstacle/fusion/probabilistic_fusion/pbf_kalman_motion_fusion.cc | berthu/apollo | 5da49a293e3ad60856448fd61bf6548714cde854 | [
"Apache-2.0"
] | 22 | 2018-10-10T14:46:32.000Z | 2022-02-28T12:43:43.000Z | modules/perception/obstacle/fusion/probabilistic_fusion/pbf_kalman_motion_fusion.cc | berthu/apollo | 5da49a293e3ad60856448fd61bf6548714cde854 | [
"Apache-2.0"
] | 1 | 2021-03-09T16:46:45.000Z | 2021-03-09T16:46:45.000Z | modules/perception/obstacle/fusion/probabilistic_fusion/pbf_kalman_motion_fusion.cc | berthu/apollo | 5da49a293e3ad60856448fd61bf6548714cde854 | [
"Apache-2.0"
] | 12 | 2018-12-24T02:17:19.000Z | 2021-12-06T01:54:09.000Z | /******************************************************************************
* Copyright 2017 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 38.598706 | 93 | 0.707722 |
11e89ae4be449dc35bba4162b7bcf602238a19b9 | 1,469 | cpp | C++ | Libraries/LibC/mman.cpp | ZKing1000/serenity | cc68654a44be00deb5edf3b2d2319a663012f015 | [
"BSD-2-Clause"
] | 3 | 2019-09-22T11:38:04.000Z | 2020-01-21T19:09:27.000Z | Libraries/LibC/mman.cpp | ZKing1000/serenity | cc68654a44be00deb5edf3b2d2319a663012f015 | [
"BSD-2-Clause"
] | 8 | 2019-08-25T12:52:40.000Z | 2019-09-08T14:46:11.000Z | Libraries/LibC/mman.cpp | ZKing1000/serenity | cc68654a44be00deb5edf3b2d2319a663012f015 | [
"BSD-2-Clause"
] | 1 | 2021-08-03T13:04:49.000Z | 2021-08-03T13:04:49.000Z | #include <Kernel/Syscall.h>
#include <errno.h>
#include <mman.h>
#include <stdio.h>
extern "C" {
void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset)
{
Syscall::SC_mmap_params params { (u32)addr, size, prot, flags, fd, offset, nullptr };
int rc = syscall(SC_mmap, ¶ms);
if (rc... | 24.483333 | 106 | 0.632403 |
11eadbad492afe970e53ec4cb9da196688a0abca | 27,642 | cpp | C++ | OpenSim/Actuators/Schutte1993Muscle_Deprecated.cpp | MariaHammer/opensim-core_HaeufleMuscle | 96257e9449d9ac430bbb54e56cd13aaebeee1242 | [
"Apache-2.0"
] | 532 | 2015-03-13T18:51:10.000Z | 2022-03-27T08:08:29.000Z | OpenSim/Actuators/Schutte1993Muscle_Deprecated.cpp | MariaHammer/opensim-core_HaeufleMuscle | 96257e9449d9ac430bbb54e56cd13aaebeee1242 | [
"Apache-2.0"
] | 2,701 | 2015-01-03T21:33:34.000Z | 2022-03-30T07:13:41.000Z | OpenSim/Actuators/Schutte1993Muscle_Deprecated.cpp | MariaHammer/opensim-core_HaeufleMuscle | 96257e9449d9ac430bbb54e56cd13aaebeee1242 | [
"Apache-2.0"
] | 271 | 2015-02-16T23:25:29.000Z | 2022-03-30T20:12:17.000Z | /* -------------------------------------------------------------------------- *
* OpenSim: Schutte1993Muscle_Deprecated.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | 44.015924 | 313 | 0.678714 |
11ec6438742eeb4119f26905fc2b29bcf4313a3c | 10,387 | cpp | C++ | src/ZeroHalfSystem.cpp | DanielKowalczyk1984/PM | 0738c662f7bf95792c86f493525d868d7b7346d8 | [
"MIT"
] | null | null | null | src/ZeroHalfSystem.cpp | DanielKowalczyk1984/PM | 0738c662f7bf95792c86f493525d868d7b7346d8 | [
"MIT"
] | null | null | null | src/ZeroHalfSystem.cpp | DanielKowalczyk1984/PM | 0738c662f7bf95792c86f493525d868d7b7346d8 | [
"MIT"
] | null | null | null | // MIT License
// Copyright (c) 2021 Daniel Kowalczyk
// 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... | 36.318182 | 81 | 0.476654 |
11efde7b5950be22407b08107a2a50dd10497eb5 | 3,137 | cc | C++ | src/canvas/canvas/Persistency/Provenance/EventAuxiliary.cc | JeffersonLab/ARIEL | 49054ac62a84d48e269f7171daabb98e12a0be90 | [
"BSD-3-Clause"
] | null | null | null | src/canvas/canvas/Persistency/Provenance/EventAuxiliary.cc | JeffersonLab/ARIEL | 49054ac62a84d48e269f7171daabb98e12a0be90 | [
"BSD-3-Clause"
] | null | null | null | src/canvas/canvas/Persistency/Provenance/EventAuxiliary.cc | JeffersonLab/ARIEL | 49054ac62a84d48e269f7171daabb98e12a0be90 | [
"BSD-3-Clause"
] | 2 | 2020-09-26T01:37:11.000Z | 2021-05-03T13:02:24.000Z | #include "canvas/Persistency/Provenance/EventAuxiliary.h"
// vim: set sw=2 expandtab :
#include <ostream>
#include <utility>
using namespace std;
namespace art {
EventAuxiliary::~EventAuxiliary() {}
EventAuxiliary::EventAuxiliary()
: id_{}, time_{}, isRealData_{false}, experimentType_{Any}
{}
EventAux... | 20.503268 | 77 | 0.630539 |
11f3cbe46634b80efade80446aa4ed7b5742fe26 | 8,136 | hpp | C++ | include/dca/io/hdf5/hdf5_reader.hpp | gonidelis/DCA | b219350a335b96c85b74de9a88bd00d4f37f0ce2 | [
"BSD-3-Clause"
] | null | null | null | include/dca/io/hdf5/hdf5_reader.hpp | gonidelis/DCA | b219350a335b96c85b74de9a88bd00d4f37f0ce2 | [
"BSD-3-Clause"
] | 11 | 2020-04-22T14:50:27.000Z | 2021-09-10T05:43:51.000Z | include/dca/io/hdf5/hdf5_reader.hpp | weilewei/DCA | b219350a335b96c85b74de9a88bd00d4f37f0ce2 | [
"BSD-3-Clause"
] | 1 | 2019-09-22T16:33:19.000Z | 2019-09-22T16:33:19.000Z | // Copyright (C) 2018 ETH Zurich
// Copyright (C) 2018 UT-Battelle, LLC
// All rights reserved.
//
// See LICENSE for terms of usage.
// See CITATION.md for citation guidelines, if DCA++ is used for scientific publications.
//
// Author: Peter Staar (taa@zurich.ibm.com)
//
// HDF5 reader.
#ifndef DCA_IO_HDF5_HDF5_READ... | 28.055172 | 101 | 0.678343 |
11f561c54c4c77935addf7364cc459c6526ab83b | 7,305 | hpp | C++ | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/state_machine/enum_state_machine.hpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 5 | 2019-11-11T07:57:26.000Z | 2022-03-28T08:26:53.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/state_machine/enum_state_machine.hpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 3 | 2019-09-05T21:47:07.000Z | 2019-09-17T18:10:45.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/include/agent-framework/state_machine/enum_state_machine.hpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 11 | 2019-07-20T00:16:32.000Z | 2022-01-11T14:17:48.000Z | /*!
* @copyright
* Copyright (c) 2016-2019 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apache.org/licenses/LICENSE-... | 34.620853 | 118 | 0.665161 |
11f72ce0b197f74c326bdb0e5b8762a804b43bbb | 27 | cpp | C++ | lib/STD/Ostream.cpp | hlp2/EnjoLib | 6bb69d0b00e367a800b0ef2804808fd1303648f4 | [
"BSD-3-Clause"
] | 3 | 2021-06-14T15:36:46.000Z | 2022-02-28T15:16:08.000Z | lib/STD/Ostream.cpp | hlp2/EnjoLib | 6bb69d0b00e367a800b0ef2804808fd1303648f4 | [
"BSD-3-Clause"
] | 1 | 2021-07-17T07:52:15.000Z | 2021-07-17T07:52:15.000Z | lib/STD/Ostream.cpp | hlp2/EnjoLib | 6bb69d0b00e367a800b0ef2804808fd1303648f4 | [
"BSD-3-Clause"
] | 3 | 2021-07-12T14:52:38.000Z | 2021-11-28T17:10:33.000Z | #include <STD/Ostream.hpp>
| 13.5 | 26 | 0.740741 |
11f87b43e5fe24fbaf37fc6f98f9b1a8f343fbb9 | 1,321 | cpp | C++ | SelfLearningFromVideo/imooc-DatastructureAndAlgorithm/AllCodeFromTeacher/08-Minimum-Span-Trees/06-Kruskal-Algorithm/main.cpp | YaKaiLi/YaKaiLi-PAT-Related | 5eca2d90a6e7fc069fd8c320721d337676200ade | [
"MIT"
] | 1 | 2018-08-22T15:12:39.000Z | 2018-08-22T15:12:39.000Z | SelfLearningFromVideo/imooc-DatastructureAndAlgorithm/AllCodeFromTeacher/08-Minimum-Span-Trees/06-Kruskal-Algorithm/main.cpp | YaKaiLi/YaKaiLi-PAT-Related | 5eca2d90a6e7fc069fd8c320721d337676200ade | [
"MIT"
] | 1 | 2020-08-31T09:32:56.000Z | 2020-08-31T09:32:56.000Z | C++/08-Minimum-Span-Trees/06-Kruskal-Algorithm/main.cpp | DragonYong/Happy-Algorithm | 7ca585d5990f5c4587ab4e22178ecb88e5d57d91 | [
"Apache-2.0"
] | 2 | 2018-08-09T13:59:29.000Z | 2018-08-23T15:02:40.000Z | #include <iostream>
#include <iomanip>
#include "DenseGraph.h"
#include "SparseGraph.h"
#include "ReadGraph.h"
#include "LazyPrimMST.h"
#include "PrimMST.h"
#include "KruskalMST.h"
using namespace std;
int main() {
string filename = "testG1.txt";
int V = 8;
SparseGraph<double> g = SparseGraph<double>(V,... | 25.403846 | 66 | 0.612415 |
11f8e7f086843de435f0ba0729c37d98bf1c72de | 1,726 | cpp | C++ | patches/exploding_villagers.cpp | HSZemi/auto-mods | 695be813636f71419490df689f2d09eda1a2c496 | [
"MIT"
] | 10 | 2020-06-14T21:00:23.000Z | 2021-12-08T12:33:01.000Z | patches/exploding_villagers.cpp | HSZemi/auto-mods | 695be813636f71419490df689f2d09eda1a2c496 | [
"MIT"
] | 15 | 2020-09-12T21:10:41.000Z | 2021-11-07T14:39:20.000Z | patches/exploding_villagers.cpp | HSZemi/auto-mods | 695be813636f71419490df689f2d09eda1a2c496 | [
"MIT"
] | 13 | 2020-08-31T22:48:34.000Z | 2021-11-07T14:17:22.000Z | #include "exploding_villagers.h"
#include <set>
#include "genie/dat/DatFile.h"
#include "ids.h"
void configureExplodingVillagers(genie::DatFile *df, bool nerfSaboteur) {
std::set<int> villagers = {
ID_FISHING_SHIP, ID_TRADE_COG, ID_TRADE_CART_EMPTY, ID_TRADE_CART_FULL,
ID_VILLAG... | 46.648649 | 101 | 0.660487 |
11f9887f888c3b0af2c96c08de66cd8d689cc1b4 | 864 | cpp | C++ | ultrasonic-sensor-with-leds.cpp | pferreirafabricio/arduvino | 0ce2ef73cc36db420787943a8372bb6ef785124d | [
"MIT"
] | null | null | null | ultrasonic-sensor-with-leds.cpp | pferreirafabricio/arduvino | 0ce2ef73cc36db420787943a8372bb6ef785124d | [
"MIT"
] | null | null | null | ultrasonic-sensor-with-leds.cpp | pferreirafabricio/arduvino | 0ce2ef73cc36db420787943a8372bb6ef785124d | [
"MIT"
] | null | null | null | #define pinTrigger 9
#define pinEcho 10
const int ledsColors[] = { 7, 6, 5 };
const int red = ledsColors[0];
const int blue = ledsColors[1];
const int green = ledsColors[2];
int readDistance()
{
digitalWrite(pinTrigger, LOW);
delayMicroseconds(2);
digitalWrite(pinTrigger, HIGH);
delayMicroseconds(10);
digi... | 20.571429 | 69 | 0.667824 |
11fa0a388389d1b9f2847950551f953a106927b7 | 2,727 | cpp | C++ | src/kalman_filter.cpp | linuxairhead/SDC-C2-P1-Extended-Kalman-Filter | 1f797f777cd1d9b9cedd0ab0fda14fc9a5b153f4 | [
"MIT"
] | null | null | null | src/kalman_filter.cpp | linuxairhead/SDC-C2-P1-Extended-Kalman-Filter | 1f797f777cd1d9b9cedd0ab0fda14fc9a5b153f4 | [
"MIT"
] | null | null | null | src/kalman_filter.cpp | linuxairhead/SDC-C2-P1-Extended-Kalman-Filter | 1f797f777cd1d9b9cedd0ab0fda14fc9a5b153f4 | [
"MIT"
] | null | null | null | #include "kalman_filter.h"
#include <string>
using Eigen::MatrixXd;
using Eigen::VectorXd;
// Please note that the Eigen library does not initialize
// VectorXd or MatrixXd objects with zeros upon creation.
KalmanFilter::KalmanFilter() {
/*
* private variable for debug
*/
fn = "Constructor";
}
KalmanFilt... | 19.905109 | 73 | 0.569124 |
11fa69c4678eecb2a577cd77411fee1a390e1c6c | 9,612 | cc | C++ | Validation/DTRecHits/plugins/DTSegment2DSLPhiQuality.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | Validation/DTRecHits/plugins/DTSegment2DSLPhiQuality.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | Validation/DTRecHits/plugins/DTSegment2DSLPhiQuality.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-19T13:44:54.000Z | 2019-03-19T13:44:54.000Z | /*
* See header file for a description of this class.
*
* \author S. Bolognesi and G. Cerminara - INFN Torino
*/
#include <iostream>
#include <map>
#include "DataFormats/DTRecHit/interface/DTRecHitCollection.h"
#include "DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h"
#include "DataFormats/MuonDetId/... | 39.719008 | 165 | 0.675198 |
11fe3791e770cdf9ea0e90baba1f10810b5b35bc | 23,298 | cpp | C++ | src/Solver/SolverNonLinear.cpp | chalmersplasmatheory/DREAM | 715637ada94f5e35db16f23c2fd49bb7401f4a27 | [
"MIT"
] | 12 | 2020-09-07T11:19:10.000Z | 2022-02-17T17:40:19.000Z | src/Solver/SolverNonLinear.cpp | chalmersplasmatheory/DREAM | 715637ada94f5e35db16f23c2fd49bb7401f4a27 | [
"MIT"
] | 110 | 2020-09-02T15:29:24.000Z | 2022-03-09T09:50:01.000Z | src/Solver/SolverNonLinear.cpp | chalmersplasmatheory/DREAM | 715637ada94f5e35db16f23c2fd49bb7401f4a27 | [
"MIT"
] | 3 | 2021-05-21T13:24:31.000Z | 2022-02-11T14:43:12.000Z | /**
* Implementation of a custom Newton solver which only utilizes
* the linear solvers of PETSc.
*/
#include <iostream>
#include <string>
#include <vector>
#include "DREAM/IO.hpp"
#include "DREAM/OutputGeneratorSFile.hpp"
#include "DREAM/Solver/SolverNonLinear.hpp"
using namespace DREAM;
using namespace std;
/... | 32.72191 | 204 | 0.671646 |
11fe9a58a48bcc51367fa66399833a89d61dfc03 | 10,976 | cpp | C++ | bindings/c/test/mako/operations.cpp | BearerPipelineTest/foundationdb | 02fc80f12eb7bbb94a12469b2ca066f33bd23aa8 | [
"Apache-2.0"
] | 1 | 2022-02-23T07:17:32.000Z | 2022-02-23T07:17:32.000Z | bindings/c/test/mako/operations.cpp | BearerPipelineTest/foundationdb | 02fc80f12eb7bbb94a12469b2ca066f33bd23aa8 | [
"Apache-2.0"
] | null | null | null | bindings/c/test/mako/operations.cpp | BearerPipelineTest/foundationdb | 02fc80f12eb7bbb94a12469b2ca066f33bd23aa8 | [
"Apache-2.0"
] | 1 | 2022-03-01T12:28:03.000Z | 2022-03-01T12:28:03.000Z | /*
* operations.cpp
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2022 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | 39.768116 | 117 | 0.52961 |
11fef5edd78a78f36c6e940c3d169c9fa005b273 | 5,082 | cc | C++ | ecs/src/model/DescribeSnapshotGroupsRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | ecs/src/model/DescribeSnapshotGroupsRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | ecs/src/model/DescribeSnapshotGroupsRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 32.576923 | 116 | 0.757182 |
f501f8e3f8c6c1e95b27c22e5aa52ac6d8439695 | 162 | cpp | C++ | test/example_divide.cpp | justasbr/cmake-example | ba059e8d24d8c92e779e9f04317fa15825869826 | [
"BSD-3-Clause"
] | null | null | null | test/example_divide.cpp | justasbr/cmake-example | ba059e8d24d8c92e779e9f04317fa15825869826 | [
"BSD-3-Clause"
] | null | null | null | test/example_divide.cpp | justasbr/cmake-example | ba059e8d24d8c92e779e9f04317fa15825869826 | [
"BSD-3-Clause"
] | null | null | null | #include "gtest/gtest.h"
#include "example.h"
TEST(example, divide)
{
double res;
res = divide_numbers(10.0, 2.0);
ASSERT_NEAR(res, 5.0, 1.0e-11);
}
| 16.2 | 36 | 0.62963 |
f502ee1deac07713d6f8eac80c65fe975c84cea6 | 1,976 | cpp | C++ | avx512-string/speed_strrchr.cpp | demonMOE-s/Toys | 09ddd7e3f1d3956427c2f3d9e99ca05fc63c177e | [
"BSD-2-Clause"
] | 2 | 2019-01-06T05:32:18.000Z | 2019-12-12T04:54:56.000Z | avx512-string/speed_strrchr.cpp | demonMOE-s/Toys | 09ddd7e3f1d3956427c2f3d9e99ca05fc63c177e | [
"BSD-2-Clause"
] | null | null | null | avx512-string/speed_strrchr.cpp | demonMOE-s/Toys | 09ddd7e3f1d3956427c2f3d9e99ca05fc63c177e | [
"BSD-2-Clause"
] | null | null | null | #include <cstdlib>
#include <cstdio>
#include <cstdint>
#include <cstring>
#include <cassert>
#include <immintrin.h>
#include "gettime.cpp"
#include "avx512f-strrchr.cpp"
class TestCase {
private:
char* buffer;
size_t size;
volatile size_t count;
public:
TestCase(size_t s)
: size(s) {
... | 19.76 | 82 | 0.520243 |
f5034e6203be2938ccfe99db5b1475da39f48d1c | 10,595 | cpp | C++ | QtMainWindow.cpp | nvoronin1337/Qt-Database-Management-System | 07ab5796f61eb95a90fef7c6e15d3048ae4549d5 | [
"MIT"
] | null | null | null | QtMainWindow.cpp | nvoronin1337/Qt-Database-Management-System | 07ab5796f61eb95a90fef7c6e15d3048ae4549d5 | [
"MIT"
] | null | null | null | QtMainWindow.cpp | nvoronin1337/Qt-Database-Management-System | 07ab5796f61eb95a90fef7c6e15d3048ae4549d5 | [
"MIT"
] | null | null | null | #include "QtMainWindow.h"
QtMainWindow::QtMainWindow(const std::string username, QWidget* parent)
: QMainWindow(parent)
{
setupUi(this);
this->username = username;
this->user = new GuiUser(username);
std::string fileName = username + "_form_gui.txt";
std::string title = "Data Hive | User: " + user... | 32.400612 | 160 | 0.695422 |
f50379b3edb9761db1e8ac54cdd79386bea95457 | 8,374 | cpp | C++ | android/android_9/frameworks/native/libs/gui/BufferItem.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/native/libs/gui/BufferItem.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/native/libs/gui/BufferItem.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
* Copyright 2014 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 applica... | 31.246269 | 82 | 0.682708 |
f5045c748160ad1a6302eed469cc2b9f98bc8aeb | 228 | cpp | C++ | src/matlab.cpp | git-steb/structural-deformable-models | 4706a65e0dc031d16e259e526fd6a55e805855d1 | [
"MIT"
] | 2 | 2017-03-01T20:07:09.000Z | 2020-07-12T11:02:21.000Z | src/matlab.cpp | git-steb/structural-deformable-models | 4706a65e0dc031d16e259e526fd6a55e805855d1 | [
"MIT"
] | null | null | null | src/matlab.cpp | git-steb/structural-deformable-models | 4706a65e0dc031d16e259e526fd6a55e805855d1 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include "common.h"
#include "matlab.h"
static string matlabprog = "matlab -nojvw -nosplash -nodesktop -r ";
int matlabCall(const std::string& cmd)
{
return system((matlabprog+cmd+", exit").c_str());
}
| 20.727273 | 68 | 0.688596 |
f5047324f534260cc5a9edba0d1fd55d268966b7 | 67,031 | cpp | C++ | libuvccamera/src/main/jni/UVCCamera/serenegiant_usb_UVCCamera.cpp | ChrisRF-W/UVCCamera | 1c9614118df7069bd571da77a4cbc6a1cf5d8468 | [
"Apache-2.0"
] | 1 | 2021-05-15T08:22:16.000Z | 2021-05-15T08:22:16.000Z | libuvccamera/src/main/jni/UVCCamera/serenegiant_usb_UVCCamera.cpp | ChrisRF-W/UVCCamera | 1c9614118df7069bd571da77a4cbc6a1cf5d8468 | [
"Apache-2.0"
] | null | null | null | libuvccamera/src/main/jni/UVCCamera/serenegiant_usb_UVCCamera.cpp | ChrisRF-W/UVCCamera | 1c9614118df7069bd571da77a4cbc6a1cf5d8468 | [
"Apache-2.0"
] | 1 | 2021-03-11T06:24:04.000Z | 2021-03-11T06:24:04.000Z | /*
* UVCCamera
* library and sample to access to UVC web camera on non-rooted Android device
*
* Copyright (c) 2014-2017 saki t_saki@serenegiant.com
*
* File name: serenegiant_usb_UVCCamera.cpp
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | 29.81806 | 129 | 0.676359 |
f505bb79f1133b578d55b81df8ad29303067731f | 3,325 | cpp | C++ | components/scream/src/physics/p3/tests/p3_ni_conservation_tests.cpp | mauzey1/scream | d12eb1b13039a09d9c031236af74e04262066bfc | [
"zlib-acknowledgement",
"RSA-MD",
"FTL"
] | null | null | null | components/scream/src/physics/p3/tests/p3_ni_conservation_tests.cpp | mauzey1/scream | d12eb1b13039a09d9c031236af74e04262066bfc | [
"zlib-acknowledgement",
"RSA-MD",
"FTL"
] | null | null | null | components/scream/src/physics/p3/tests/p3_ni_conservation_tests.cpp | mauzey1/scream | d12eb1b13039a09d9c031236af74e04262066bfc | [
"zlib-acknowledgement",
"RSA-MD",
"FTL"
] | null | null | null | #include "catch2/catch.hpp"
#include "share/scream_types.hpp"
#include "ekat/ekat_pack.hpp"
#include "ekat/kokkos/ekat_kokkos_utils.hpp"
#include "physics/p3/p3_functions.hpp"
#include "physics/p3/p3_functions_f90.hpp"
#include "p3_unit_tests_common.hpp"
namespace scream {
namespace p3 {
namespace unit_test {
templ... | 33.928571 | 178 | 0.704662 |
f5079dc0b5a15d470dcfa4ffe09aa296a1c460b2 | 1,563 | cpp | C++ | code/Brain/MarkovBrain/Gate/TritDeterministicGate.cpp | cliff-bohm/Comparitive_Hybrid_Approach_Replication | 44afa3ea663bc06eeca0bc272909329d8ffe81ec | [
"MIT"
] | null | null | null | code/Brain/MarkovBrain/Gate/TritDeterministicGate.cpp | cliff-bohm/Comparitive_Hybrid_Approach_Replication | 44afa3ea663bc06eeca0bc272909329d8ffe81ec | [
"MIT"
] | null | null | null | code/Brain/MarkovBrain/Gate/TritDeterministicGate.cpp | cliff-bohm/Comparitive_Hybrid_Approach_Replication | 44afa3ea663bc06eeca0bc272909329d8ffe81ec | [
"MIT"
] | null | null | null | // MABE is a product of The Hintze Lab @ MSU
// for general research information:
// hintzelab.msu.edu
// for MABE documentation:
// github.com/Hintzelab/MABE/wiki
//
// Copyright (c) 2015 Michigan State University. All rights reserved.
// to view the full license, visit:
// github... | 37.214286 | 262 | 0.71785 |
f509caebb3efb4ecd3e9e776cdbce2ad0248a6f8 | 1,921 | hpp | C++ | gamess/libqc/rysq/src/cuda/matrix.hpp | andremirt/v_cond | 6b5c364d7cd4243686488b2bd4318be3927e07ea | [
"Unlicense"
] | null | null | null | gamess/libqc/rysq/src/cuda/matrix.hpp | andremirt/v_cond | 6b5c364d7cd4243686488b2bd4318be3927e07ea | [
"Unlicense"
] | null | null | null | gamess/libqc/rysq/src/cuda/matrix.hpp | andremirt/v_cond | 6b5c364d7cd4243686488b2bd4318be3927e07ea | [
"Unlicense"
] | null | null | null | #ifndef _RYSQ_MATRIX_HPP_
#define _RYSQ_MATRIX_HPP_
#include <stdlib.h>
#if !defined(__host__) && !defined(__device__)
#define __host__
#define __device__
#endif
namespace rysq {
struct matrix_layout {
matrix_layout() {}
matrix_layout(size_t size1, size_t size2, size_t ld = 0)
: size1(size1),size2(size2... | 26.680556 | 82 | 0.664237 |
f50a6043320384e34588a0d5f2f10c924d01f67f | 648 | cpp | C++ | BlackVision/LibBlackVision/Source/Engine/Graphics/Shaders/Parameters/ShaderParamMat3.cpp | black-vision-engine/bv-engine | 85089d41bb22afeaa9de070646e12aa1777ecedf | [
"MIT"
] | 1 | 2022-01-28T11:43:47.000Z | 2022-01-28T11:43:47.000Z | BlackVision/LibBlackVision/Source/Engine/Graphics/Shaders/Parameters/ShaderParamMat3.cpp | black-vision-engine/bv-engine | 85089d41bb22afeaa9de070646e12aa1777ecedf | [
"MIT"
] | null | null | null | BlackVision/LibBlackVision/Source/Engine/Graphics/Shaders/Parameters/ShaderParamMat3.cpp | black-vision-engine/bv-engine | 85089d41bb22afeaa9de070646e12aa1777ecedf | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ShaderParamMat3.h"
#include "Memory/MemoryLeaks.h"
namespace bv {
// ****************************
//
ShaderParamMat3::ShaderParamMat3 ( const std::string & name, const glm::mat3 & value )
: GenericShaderParam( ShaderParamTypeTraits< ValueMat3::Va... | 17.513514 | 102 | 0.501543 |
f50a93c785c58ac6098a6651290a4b9002dd9b49 | 1,126 | hpp | C++ | src/oni.hpp | typingtanuki/chato | 61c76bda12d4ef855e3fad06338d94a3f1735971 | [
"Apache-2.0"
] | null | null | null | src/oni.hpp | typingtanuki/chato | 61c76bda12d4ef855e3fad06338d94a3f1735971 | [
"Apache-2.0"
] | null | null | null | src/oni.hpp | typingtanuki/chato | 61c76bda12d4ef855e3fad06338d94a3f1735971 | [
"Apache-2.0"
] | null | null | null | #include "constants.hpp"
#include "light.hpp"
#include "motor.hpp"
#include "timer.hpp"
#include "keypad.hpp"
enum OniState {
INIT,
IDLE,
MOVE
};
class Oni {
private:
Light *eye = new Light(DIGITAL_PIN3, 12, 24);
Motor *eyeMotor = new Motor(DIGITAL_PIN9);
Motor *axeMotor = new Motor(DIGITAL_PI... | 18.766667 | 59 | 0.668739 |
f50c0a94e46967a99ecb3936474a09e047e75c0d | 826 | cpp | C++ | summary-ranges/solution-0.cpp | tsenmu/leetcode | 6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee | [
"Apache-2.0"
] | null | null | null | summary-ranges/solution-0.cpp | tsenmu/leetcode | 6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee | [
"Apache-2.0"
] | null | null | null | summary-ranges/solution-0.cpp | tsenmu/leetcode | 6f6d11dec4e5ee0fbc0c59fd6fa97b2c556e05ee | [
"Apache-2.0"
] | null | null | null | class Solution {
protected:
string yieldRange(int begin, int end) {
if (begin == end) {
return to_string(begin);
}
return to_string(begin) + "->" + to_string(end);
}
public:
vector<string> summaryRanges(vector<int>& nums) {
const int n = nums.size();
vector<string> r... | 21.179487 | 55 | 0.493947 |
f50c6328dd3f28621e77d38577eff115188dea88 | 1,119 | cpp | C++ | Gems/EMotionFX/Code/EMotionFX/Source/MeshDeformer.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Gems/EMotionFX/Code/EMotionFX/Source/MeshDeformer.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/EMotionFX/Code/EMotionFX/Source/MeshDeformer.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
// include the required headers
#include "MeshDeformer.h"
#include <EMotionFX/Source/Allocators.h>
... | 20.722222 | 158 | 0.649687 |
f50f03ccfa9b71427ab0430e3de9159602a849f4 | 423 | cpp | C++ | tests/testsmain.cpp | k9lego/huestacean | e72b43b66cc3b6b58554fa49ac207ad9f945c3fb | [
"Apache-2.0"
] | 540 | 2018-02-16T15:15:43.000Z | 2022-03-01T22:35:18.000Z | tests/testsmain.cpp | k9lego/huestacean | e72b43b66cc3b6b58554fa49ac207ad9f945c3fb | [
"Apache-2.0"
] | 153 | 2018-02-19T13:33:14.000Z | 2022-02-26T04:57:10.000Z | tests/testsmain.cpp | k9lego/huestacean | e72b43b66cc3b6b58554fa49ac207ad9f945c3fb | [
"Apache-2.0"
] | 66 | 2018-03-17T10:54:54.000Z | 2022-02-16T16:20:46.000Z | #define CATCH_CONFIG_RUNNER
#include "catch/catch.hpp"
#include <QCoreApplication>
int main(int argc, char* argv[])
{
QCoreApplication a(argc, argv);
QCoreApplication::setOrganizationName("Brady Brenot");
QCoreApplication::setOrganizationDomain("bradybrenot.com");
QCoreApplication::setApplicationName("Huestacea... | 22.263158 | 60 | 0.751773 |
f50f1174e3844b028bb752ce92df7036d918a0df | 4,461 | cpp | C++ | source/shared/cpp/ObjectModel/ActionParserRegistration.cpp | sivasakthiv/AdaptiveCards | dfa4bfef70c1111e1a5cc8eed90b2f1e8d76f75c | [
"MIT"
] | 1 | 2020-12-07T10:57:38.000Z | 2020-12-07T10:57:38.000Z | source/shared/cpp/ObjectModel/ActionParserRegistration.cpp | sivasakthiv/AdaptiveCards | dfa4bfef70c1111e1a5cc8eed90b2f1e8d76f75c | [
"MIT"
] | 43 | 2020-09-04T23:34:16.000Z | 2022-02-26T11:36:24.000Z | source/shared/cpp/ObjectModel/ActionParserRegistration.cpp | sivasakthiv/AdaptiveCards | dfa4bfef70c1111e1a5cc8eed90b2f1e8d76f75c | [
"MIT"
] | 16 | 2021-02-10T07:46:07.000Z | 2021-11-23T10:22:44.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
#include "ActionParserRegistration.h"
#include "AdaptiveCardParseException.h"
#include "BaseElement.h"
#include "OpenUrlAction.h"
#include "ShowCardAction.h"
#include "SubmitAction.h"
#include "ToggleVisibi... | 44.61 | 139 | 0.702085 |
f5112da53a614a87c972b3056dee8ff3b0850e52 | 2,957 | hpp | C++ | include/codegen/include/UnityEngine/EventSystems/OVRPhysicsRaycaster_--c.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/EventSystems/OVRPhysicsRaycaster_--c.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/EventSystems/OVRPhysicsRaycaster_--c.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:06 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 50.118644 | 132 | 0.735543 |
f511311f7559c4372d7dd7dca01bd935d8d911ca | 1,069 | hpp | C++ | lib/inc/facter/facts/windows/dmi_resolver.hpp | whopper/cfacter | f489f62e19a161e2d909199aebd896e323dac0e8 | [
"Apache-2.0"
] | null | null | null | lib/inc/facter/facts/windows/dmi_resolver.hpp | whopper/cfacter | f489f62e19a161e2d909199aebd896e323dac0e8 | [
"Apache-2.0"
] | null | null | null | lib/inc/facter/facts/windows/dmi_resolver.hpp | whopper/cfacter | f489f62e19a161e2d909199aebd896e323dac0e8 | [
"Apache-2.0"
] | null | null | null | /**
* @file
* Declares the Windows Desktop Management Information (DMI) fact resolver.
*/
#pragma once
#include "../resolvers/dmi_resolver.hpp"
#include <facter/util/windows/wmi.hpp>
#include <string>
#include <memory>
namespace facter { namespace facts { namespace windows {
/**
* Responsible for resolvi... | 27.410256 | 108 | 0.634238 |
f511d895d75af332b9ef48f66861792b00977e63 | 6,078 | hpp | C++ | communication/include/communication/CommDefs.hpp | irisk29/concord-bft | daf6a4a156fa2e9107f65de6ec6a26c39cd99796 | [
"Apache-2.0"
] | null | null | null | communication/include/communication/CommDefs.hpp | irisk29/concord-bft | daf6a4a156fa2e9107f65de6ec6a26c39cd99796 | [
"Apache-2.0"
] | null | null | null | communication/include/communication/CommDefs.hpp | irisk29/concord-bft | daf6a4a156fa2e9107f65de6ec6a26c39cd99796 | [
"Apache-2.0"
] | null | null | null | // Concord
//
// Copyright (c) 2018-2020 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the "License").
// You may not use this product except in compliance with the Apache 2.0 License.
//
// This product may include a number of subcomponents with separate copyrigh... | 30.69697 | 116 | 0.699737 |
f512db47e285be6ddab66ee5372e8d187e73778a | 1,251 | hpp | C++ | include/pstore/http/http_date.hpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 11 | 2018-02-02T21:24:49.000Z | 2020-12-11T04:06:03.000Z | include/pstore/http/http_date.hpp | SNSystems/pstore | 74e9dd960245d6bfc125af03ed964d8ad660a62d | [
"Apache-2.0"
] | 63 | 2018-02-05T17:24:59.000Z | 2022-03-22T17:26:28.000Z | include/pstore/http/http_date.hpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | 5 | 2020-01-13T22:47:11.000Z | 2021-05-14T09:31:15.000Z | //===- include/pstore/http/http_date.hpp ------------------*- mode: C++ -*-===//
//* _ _ _ _ _ *
//* | |__ | |_| |_ _ __ __| | __ _| |_ ___ *
//* | '_ \| __| __| '_ \ / _` |/ _` | __/ _ \ *
//* | | | | |_| |_| |_) | | (_| | (_| | || __/ *
//* |_| |_|\__|\__| .__/ \__,_|\__,_|... | 35.742857 | 82 | 0.489209 |
f513e3c60c7f985be18935ddb5faf2b14b497f63 | 2,379 | cpp | C++ | python/NpcompModule.cpp | raikonenfnu/mlir-npcomp | 29e1b2fe89848d58c9bc07e7df7ce651850a5244 | [
"Apache-2.0"
] | null | null | null | python/NpcompModule.cpp | raikonenfnu/mlir-npcomp | 29e1b2fe89848d58c9bc07e7df7ce651850a5244 | [
"Apache-2.0"
] | null | null | null | python/NpcompModule.cpp | raikonenfnu/mlir-npcomp | 29e1b2fe89848d58c9bc07e7df7ce651850a5244 | [
"Apache-2.0"
] | null | null | null | //===- NpcompModule.cpp - MLIR Python bindings ----------------------------===//
//
// 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
//
//===---------------------------... | 32.148649 | 80 | 0.697352 |
f513e4ca1c2b159ea29dd107a50d782fc2c2ca51 | 7,446 | cpp | C++ | src/qpsolver/basis.cpp | WTFHCN/HiGHS | 6cec473fc821bca0d98517a11691da8b5e1b0e51 | [
"MIT"
] | null | null | null | src/qpsolver/basis.cpp | WTFHCN/HiGHS | 6cec473fc821bca0d98517a11691da8b5e1b0e51 | [
"MIT"
] | null | null | null | src/qpsolver/basis.cpp | WTFHCN/HiGHS | 6cec473fc821bca0d98517a11691da8b5e1b0e51 | [
"MIT"
] | null | null | null | #include "basis.hpp"
#include <cassert>
#include <memory>
Basis::Basis(Runtime& rt, std::vector<HighsInt> active,
std::vector<BasisStatus> lower, std::vector<HighsInt> inactive)
: runtime(rt),
buffer_column_aq(rt.instance.num_var),
buffer_row_ep(rt.instance.num_var) {
for (HighsInt i = ... | 30.145749 | 80 | 0.668278 |
f514f43dfc4e379bd2576de01936369eed88d2a8 | 14,357 | hpp | C++ | src/3rd party/boost/boost/multi_array/view.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/multi_array/view.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/multi_array/view.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | // Copyright (C) 2002 Ronald Garcia
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// ... | 31.415755 | 82 | 0.667479 |