hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0ffcf51b1886253cc551639358ae85d13d4faa33 | 6,271 | cc | C++ | scripts/makePlotsOfAllBranches.cc | ats2008/CMS-TIFR | 339b61fac76d65079cb4c53708117e255cbe8af8 | [
"MIT"
] | null | null | null | scripts/makePlotsOfAllBranches.cc | ats2008/CMS-TIFR | 339b61fac76d65079cb4c53708117e255cbe8af8 | [
"MIT"
] | null | null | null | scripts/makePlotsOfAllBranches.cc | ats2008/CMS-TIFR | 339b61fac76d65079cb4c53708117e255cbe8af8 | [
"MIT"
] | null | null | null | /*
Plot all the branches in a tree froma .root file
Usage :
root -b -q 'makePlotsOfAllBranches.cc("<pathToRootFile>","<nameOfTTreeInFile>","<prefixToThePicToSave>")"
eg. : user@pc $ root -b -q 'makePlaotsOfAllBranches.cc("data/bmm5sample.root","Events","outputs/plots/test/")
*/
... | 29.861905 | 174 | 0.629884 | ats2008 |
0ffe0a0a729deba6b4bbb19765b96198d3cb7b93 | 17,097 | hh | C++ | aspects/thermal/network/ThermFileParser.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 18 | 2020-01-23T12:14:09.000Z | 2022-02-27T22:11:35.000Z | aspects/thermal/network/ThermFileParser.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 39 | 2020-11-20T12:19:35.000Z | 2022-02-22T18:45:55.000Z | aspects/thermal/network/ThermFileParser.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 7 | 2020-02-10T19:25:43.000Z | 2022-03-16T01:10:00.000Z | #ifndef ThermFileParser_EXISTS
#define ThermFileParser_EXISTS
/************************************** TRICK HEADER ***********************************************
@defgroup TSM_GUNNS_THERMAL_NETWORK_ThermFileParser Thermal links config-file parser
@ingroup TSM_GUNNS_THERMAL_NETWORK
@copyright Copyright 2019 United St... | 68.662651 | 155 | 0.502486 | nasa |
0fffcc4b0b7e2e256f2e0767813b0ef72922aed3 | 2,722 | cc | C++ | src/DBFile.cc | adriandarian/CSE177 | 5ede58f8174f966c0cf3e551ffb1479c4de21e77 | [
"MIT"
] | 1 | 2019-05-02T21:29:36.000Z | 2019-05-02T21:29:36.000Z | src/DBFile.cc | adriandarian/CSE177 | 5ede58f8174f966c0cf3e551ffb1479c4de21e77 | [
"MIT"
] | null | null | null | src/DBFile.cc | adriandarian/CSE177 | 5ede58f8174f966c0cf3e551ffb1479c4de21e77 | [
"MIT"
] | null | null | null | #include <string>
#include <iostream>
#include "Config.h"
#include "Record.h"
#include "Schema.h"
#include "File.h"
#include "DBFile.h"
#include <fstream>
using namespace std;
DBFile::DBFile() : fileName("")
{
currPage = 0;
}
DBFile::~DBFile()
{
}
DBFile::DBFile(const DBFile &_copyMe) : file(_copyMe.file), fileNam... | 20.014706 | 93 | 0.670463 | adriandarian |
0fffea98831996cb1b969a04a3e7701983feeceb | 340 | cpp | C++ | src/py/wrapper/wrapper_cfd7d1ec1fbc514b9feba31d16e55cf6.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | null | null | null | src/py/wrapper/wrapper_cfd7d1ec1fbc514b9feba31d16e55cf6.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | 7 | 2018-03-20T14:23:16.000Z | 2019-04-09T11:57:57.000Z | src/py/wrapper/wrapper_cfd7d1ec1fbc514b9feba31d16e55cf6.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | 7 | 2017-04-28T07:41:01.000Z | 2021-03-15T18:17:20.000Z | #include "_core.h"
class ::statiskit::IntegerSampleSpace const & (*function_pointer_cfd7d1ec1fbc514b9feba31d16e55cf6)() = ::statiskit::get_NN;
void wrapper_cfd7d1ec1fbc514b9feba31d16e55cf6(pybind11::module& module)
{
module.def("get_nn", function_pointer_cfd7d1ec1fbc514b9feba31d16e55cf6, pybind11::return_value_... | 34 | 123 | 0.802941 | StatisKit |
ba003456b04fcbabeabae4b93f913d582df43de2 | 10,900 | cxx | C++ | arrows/klv/tests/test_klv_0104.cxx | chetnieter/kwiver | cebc8156b5109d423ffac34f6e4bb442d36c24ab | [
"BSD-3-Clause"
] | null | null | null | arrows/klv/tests/test_klv_0104.cxx | chetnieter/kwiver | cebc8156b5109d423ffac34f6e4bb442d36c24ab | [
"BSD-3-Clause"
] | null | null | null | arrows/klv/tests/test_klv_0104.cxx | chetnieter/kwiver | cebc8156b5109d423ffac34f6e4bb442d36c24ab | [
"BSD-3-Clause"
] | null | null | null | // This file is part of KWIVER, and is distributed under the
// OSI-approved BSD 3-Clause License. See top-level LICENSE file or
// https://github.com/Kitware/kwiver/blob/master/LICENSE for details.
/// \file
/// \brief Test KLV 0104 read / write.
#include "data_format.h"
#include <arrows/klv/klv_0104_new.h>
#includ... | 35.048232 | 79 | 0.638991 | chetnieter |
ba01b4fda0f7d7daab727d72f63850318184f9cb | 3,325 | hh | C++ | uuv_simulator/uuv_gazebo_plugins/uuv_gazebo_plugins/include/uuv_gazebo_plugins/FinPlugin.hh | dsor-isr/medusa_gazebo | 7066d2e3fe77d6bc1fdb6cd36a1f8a92539a5a72 | [
"MIT"
] | null | null | null | uuv_simulator/uuv_gazebo_plugins/uuv_gazebo_plugins/include/uuv_gazebo_plugins/FinPlugin.hh | dsor-isr/medusa_gazebo | 7066d2e3fe77d6bc1fdb6cd36a1f8a92539a5a72 | [
"MIT"
] | null | null | null | uuv_simulator/uuv_gazebo_plugins/uuv_gazebo_plugins/include/uuv_gazebo_plugins/FinPlugin.hh | dsor-isr/medusa_gazebo | 7066d2e3fe77d6bc1fdb6cd36a1f8a92539a5a72 | [
"MIT"
] | null | null | null | // Copyright (c) 2016 The UUV Simulator Authors.
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | 29.954955 | 92 | 0.719699 | dsor-isr |
ba01c11aa73a164597705f35cafc1d31b3a72af1 | 815 | cpp | C++ | Strings/pairs_with_concatenation_equal_to_target.cpp | khushisinha20/Data-Structures-and-Algorithms | 114d365d03f7ba7175eefeace281972820a7fc76 | [
"Apache-2.0"
] | null | null | null | Strings/pairs_with_concatenation_equal_to_target.cpp | khushisinha20/Data-Structures-and-Algorithms | 114d365d03f7ba7175eefeace281972820a7fc76 | [
"Apache-2.0"
] | null | null | null | Strings/pairs_with_concatenation_equal_to_target.cpp | khushisinha20/Data-Structures-and-Algorithms | 114d365d03f7ba7175eefeace281972820a7fc76 | [
"Apache-2.0"
] | null | null | null | //leetcode.com/problems/number-of-pairs-of-strings-with-concatenation-equal-to-target
#include <bits/stdc++.h>
#include <unordered_map>
using namespace std;
class Solution {
public:
int numOfPairs(vector<string>& nums, string target) {
int pairs = 0;
unordered_map<string, int> mp;
for (int... | 30.185185 | 85 | 0.484663 | khushisinha20 |
ba0237e24aa1ebcdc70487900bfd1230ad090285 | 4,043 | cpp | C++ | src/generated/CPACSPointListRelXYZVector.cpp | DLR-SC/tigl | e866b7b11fb3449106072ecd36c3736346ea588c | [
"Apache-2.0"
] | 171 | 2015-04-13T11:24:34.000Z | 2022-03-26T00:56:38.000Z | src/generated/CPACSPointListRelXYZVector.cpp | DLR-SC/tigl | e866b7b11fb3449106072ecd36c3736346ea588c | [
"Apache-2.0"
] | 620 | 2015-01-20T08:34:36.000Z | 2022-03-30T11:05:33.000Z | src/generated/CPACSPointListRelXYZVector.cpp | DLR-SC/tigl | e866b7b11fb3449106072ecd36c3736346ea588c | [
"Apache-2.0"
] | 56 | 2015-02-09T13:33:56.000Z | 2022-03-19T04:52:51.000Z | // Copyright (c) 2020 RISC Software GmbH
//
// This file was generated by CPACSGen from CPACS XML Schema (c) German Aerospace Center (DLR/SC).
// Do not edit, all changes are lost when files are re-generated.
//
// Licensed under the Apache License, Version 2.0 (the "License")
// you may not use this file except in com... | 29.086331 | 117 | 0.65768 | DLR-SC |
ba027caa83a6e0634cde84d640ea368b334b5172 | 2,896 | cpp | C++ | s32v234_sdk/libs/apex/llrt/src/utilities_desc.cpp | intesight/Panorama4AIWAYS | 46e1988e54a5155be3b3b47c486b3f722be00b5c | [
"WTFPL"
] | null | null | null | s32v234_sdk/libs/apex/llrt/src/utilities_desc.cpp | intesight/Panorama4AIWAYS | 46e1988e54a5155be3b3b47c486b3f722be00b5c | [
"WTFPL"
] | null | null | null | s32v234_sdk/libs/apex/llrt/src/utilities_desc.cpp | intesight/Panorama4AIWAYS | 46e1988e54a5155be3b3b47c486b3f722be00b5c | [
"WTFPL"
] | 2 | 2021-01-21T02:06:16.000Z | 2021-01-28T10:47:37.000Z | /*****************************************************************************
*
* NXP Confidential Proprietary
*
* Copyright (c) 2018 NXP Semiconductor;
* All Rights Reserved
*
*****************************************************************************
*
* THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED O... | 35.317073 | 129 | 0.703039 | intesight |
ba03ae0a18cc852aa31ca6d267c7a470232dd7ff | 917 | hpp | C++ | experimental/Pomdog.Experimental/ImageEffects/SepiaToneEffect.hpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | experimental/Pomdog.Experimental/ImageEffects/SepiaToneEffect.hpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | experimental/Pomdog.Experimental/ImageEffects/SepiaToneEffect.hpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#ifndef POMDOG_SEPIATONEEFFECT_BD1A4ABD_HPP
#define POMDOG_SEPIATONEEFFECT_BD1A4ABD_HPP
#include "ImageEffectBase.hpp"
#include "Pomdog/Content/AssetManager.hpp"
#include "Pomdog/Graphics/detail/ForwardDeclarat... | 27.787879 | 72 | 0.764449 | bis83 |
ba048d89a0b8afd289a150129c260604a8b0df1f | 1,436 | hpp | C++ | Compiler/boost/boost/asio/detail/thread.hpp | davidov541/MiniC | d3b16a1568b97a4d801880b110a8be04fe848adb | [
"Apache-2.0"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | LibsExternes/Includes/boost/asio/detail/thread.hpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | 1 | 2017-04-05T01:56:28.000Z | 2017-04-05T01:56:28.000Z | LibsExternes/Includes/boost/asio/detail/thread.hpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | //
// detail/thread.hpp
// ~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_ASIO_DETA... | 26.109091 | 80 | 0.729109 | davidov541 |
ba04a0b8c3972b187a4090a17f246219f2246b7f | 32,820 | cc | C++ | runtime/vm/timeline_test.cc | fossabot/sdk | 938c939554d00c87d4fd1d1647d965e20b5abe79 | [
"BSD-Source-Code"
] | 1 | 2021-05-08T18:02:11.000Z | 2021-05-08T18:02:11.000Z | runtime/vm/timeline_test.cc | fossabot/sdk | 938c939554d00c87d4fd1d1647d965e20b5abe79 | [
"BSD-Source-Code"
] | null | null | null | runtime/vm/timeline_test.cc | fossabot/sdk | 938c939554d00c87d4fd1d1647d965e20b5abe79 | [
"BSD-Source-Code"
] | null | null | null | // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include <cstring>
#include "platform/assert.h"
#include "vm/dart_api_impl.h"
#include "vm/dart_api_s... | 35.557963 | 80 | 0.674193 | fossabot |
ba0615216a7dbc0b59e385f207aebd423a6eac24 | 1,098 | cpp | C++ | test/rpc_tests.cpp | FissionAndFusion/FnFnMvWallet-Pre | 80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032 | [
"MIT"
] | 22 | 2018-08-17T07:05:56.000Z | 2019-09-16T09:22:32.000Z | test/rpc_tests.cpp | FissionAndFusion/FnFnMvWallet-Pre | 80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032 | [
"MIT"
] | 23 | 2018-08-18T11:09:42.000Z | 2019-04-22T10:02:02.000Z | test/rpc_tests.cpp | FissionAndFusion/FnFnMvWallet-Pre | 80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032 | [
"MIT"
] | 13 | 2018-08-17T01:12:58.000Z | 2019-09-16T09:05:31.000Z | // Copyright (c) 2017-2019 The Multiverse developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//#include "rpcmod.h"
#include "test_fnfn.h"
#include <boost/test/unit_test.hpp>
using namespace boost;
struct RPCSetup
{... | 21.96 | 71 | 0.657559 | FissionAndFusion |
61311db4cd89321df15698bf359c261a681db502 | 22,260 | cpp | C++ | Source/cursor.cpp | codemaster/devilution | 5772426a7cf5cf54b0b70c186ac5097a32f82e5c | [
"Unlicense"
] | 1 | 2019-06-27T11:26:56.000Z | 2019-06-27T11:26:56.000Z | Source/cursor.cpp | Sun4oyZ/devilution | fb10d2e7b28c69d50f1c0da8e551b2e1862a5c39 | [
"Unlicense"
] | null | null | null | Source/cursor.cpp | Sun4oyZ/devilution | fb10d2e7b28c69d50f1c0da8e551b2e1862a5c39 | [
"Unlicense"
] | 1 | 2018-08-30T15:55:33.000Z | 2018-08-30T15:55:33.000Z | //HEADER_GOES_HERE
#include "../types.h"
int cursH; // weak
int icursH28; // idb
int cursW; // idb
int pcursmonst; // idb
int icursW28; // idb
void *pCursCels;
int icursH; // weak
char pcursinvitem; // weak
int icursW; // weak
char pcursitem; // weak
char pcursobj; // weak
char pcursplr; // weak
int c... | 17.096774 | 103 | 0.457682 | codemaster |
6134f72cdf7f99b0dccc9f34c4022922d810a7dc | 512 | cpp | C++ | modules/sdk/examples/meta/any.cpp | brycelelbach/nt2 | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | [
"BSL-1.0"
] | 1 | 2022-03-24T03:35:10.000Z | 2022-03-24T03:35:10.000Z | modules/sdk/examples/meta/any.cpp | brycelelbach/nt2 | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | [
"BSL-1.0"
] | null | null | null | modules/sdk/examples/meta/any.cpp | brycelelbach/nt2 | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | [
"BSL-1.0"
] | null | null | null | #include <cstdio>
#include <boost/mpl/vector.hpp>
#include <nt2/sdk/meta/any.hpp>
#include <boost/type_traits/is_same.hpp>
using namespace boost;
using namespace boost::mpl;
int main()
{
typedef vector<int,bool,float> seq_t;
typedef nt2::meta::any<is_same<_,bool>,seq_t> any_seq;
typedef nt2::meta::any<is_same<... | 26.947368 | 78 | 0.710938 | brycelelbach |
61363142933453e1e1c783db9bd67e6f692ca462 | 2,420 | cc | C++ | test/core/util/subprocess_posix.cc | echo80313/grpc | 93cdc8b77e7b3fe4a3afec1c9c7e29b3f02ec3cf | [
"Apache-2.0"
] | 36,552 | 2015-02-26T17:30:13.000Z | 2022-03-31T22:41:33.000Z | test/core/util/subprocess_posix.cc | echo80313/grpc | 93cdc8b77e7b3fe4a3afec1c9c7e29b3f02ec3cf | [
"Apache-2.0"
] | 23,536 | 2015-02-26T17:50:56.000Z | 2022-03-31T23:39:42.000Z | test/core/util/subprocess_posix.cc | echo80313/grpc | 93cdc8b77e7b3fe4a3afec1c9c7e29b3f02ec3cf | [
"Apache-2.0"
] | 11,050 | 2015-02-26T17:22:10.000Z | 2022-03-31T10:12:35.000Z | /*
*
* Copyright 2015 gRPC 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 23.960396 | 79 | 0.665289 | echo80313 |
613aef1296ec2118a26f018b8ba341b215895546 | 115,578 | cc | C++ | chromium/chrome/browser/apps/guest_view/web_view_browsertest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/apps/guest_view/web_view_browsertest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/chrome/browser/apps/guest_view/web_view_browsertest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 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 <queue>
#include <utility>
#include "base/location.h"
#include "base/macros.h"
#include "base/path_service.h"
#include "base/process/process.h"
... | 38.144554 | 84 | 0.748559 | wedataintelligence |
614044a6922e8af5f07399244208328f621b7fb8 | 22 | cpp | C++ | GBE/cpu/gb_cpu.cpp | OnyxFlames/GBE | 6189f02b482f15ad59748f8739fc9d9c36390953 | [
"MIT"
] | 1 | 2020-08-14T13:51:11.000Z | 2020-08-14T13:51:11.000Z | GBE/cpu/gb_cpu.cpp | OnyxFlames/GBE | 6189f02b482f15ad59748f8739fc9d9c36390953 | [
"MIT"
] | null | null | null | GBE/cpu/gb_cpu.cpp | OnyxFlames/GBE | 6189f02b482f15ad59748f8739fc9d9c36390953 | [
"MIT"
] | null | null | null | #include "gb_cpu.hpp"
| 11 | 21 | 0.727273 | OnyxFlames |
6140e3ccf5f7cd20118def127da6670c27741c37 | 1,697 | cpp | C++ | week_03/05_manySines/src/ofApp.cpp | bschorr/OFAnimation_Spring2015 | 869ededa36bf0bd432129e5a551db5d19d1f5d35 | [
"MIT"
] | 37 | 2015-01-28T13:20:19.000Z | 2021-04-02T02:50:35.000Z | week_03/05_manySines/src/ofApp.cpp | bschorr/OFAnimation_Spring2015 | 869ededa36bf0bd432129e5a551db5d19d1f5d35 | [
"MIT"
] | null | null | null | week_03/05_manySines/src/ofApp.cpp | bschorr/OFAnimation_Spring2015 | 869ededa36bf0bd432129e5a551db5d19d1f5d35 | [
"MIT"
] | 13 | 2015-02-06T23:16:22.000Z | 2018-02-03T14:44:06.000Z | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(0);
ofNoFill();
ofSetCircleResolution(60);
for (float i = 0; i < 10; i++) {
customCircle myCirc;
myCirc.setup(i/5);
circleList.push_back(myCirc);
}... | 21.2125 | 64 | 0.317619 | bschorr |
61410a3b5c8b68e167e87b55016d9865c2d58454 | 1,165 | hpp | C++ | include/frg/hash.hpp | czapek1337/frigg | ad1b6947047f492ed42b189fb208e600d9ec6915 | [
"MIT"
] | 37 | 2018-11-05T19:15:46.000Z | 2022-03-09T10:16:28.000Z | include/frg/hash.hpp | czapek1337/frigg | ad1b6947047f492ed42b189fb208e600d9ec6915 | [
"MIT"
] | 13 | 2020-01-05T13:32:27.000Z | 2022-03-09T17:21:07.000Z | include/frg/hash.hpp | czapek1337/frigg | ad1b6947047f492ed42b189fb208e600d9ec6915 | [
"MIT"
] | 16 | 2020-01-01T15:45:02.000Z | 2022-03-06T22:19:58.000Z | #ifndef FRG_HASH_HPP
#define FRG_HASH_HPP
#include <stdint.h>
#include <frg/macros.hpp>
namespace frg FRG_VISIBILITY {
template<typename T>
class hash;
template<>
class hash<uint64_t> {
public:
unsigned int operator() (uint64_t v) const {
static_assert(sizeof(unsigned int) == 4, "Expected sizeof(int) == 4");
r... | 16.884058 | 72 | 0.650644 | czapek1337 |
6141ac6be3fa1473965bfe0e106e9917a1f1fb1c | 1,386 | hpp | C++ | include/bucket.hpp | SimonRussia/COURSEWORK | 03846c649ff202dfdd7e69b0a639f69f737d1614 | [
"MIT"
] | null | null | null | include/bucket.hpp | SimonRussia/COURSEWORK | 03846c649ff202dfdd7e69b0a639f69f737d1614 | [
"MIT"
] | 1 | 2017-12-25T06:33:57.000Z | 2018-01-31T21:50:53.000Z | include/bucket.hpp | SimonRussia/COURSEWORK | 03846c649ff202dfdd7e69b0a639f69f737d1614 | [
"MIT"
] | null | null | null | // "Copyright [2017] <MGTU IU8-33>"
// BUCKET.HPP
/*!
\file
\brief bucket_sort
\details В данном файле реализован шаблонный алгоритм устойчивой сортировки BUCKET.
\author Овчаров Анисим
\date 20/12/2017
*/
#ifndef _BUCKET_HPP_
#define _BUCKET_HPP_
#include <iostream>
#include <algorithm>
#inclu... | 24.315789 | 87 | 0.642857 | SimonRussia |
61425c3fc0eb3b3985dd0e7444974cdc06d1bbcf | 3,332 | cpp | C++ | third-year/GeometricModelling/Aufgabe01/Aufgabe01/AffineGeometry.cpp | JulianGR/university | 2f643825b238892d602baf0c8e71e4c1b0fdefc2 | [
"MIT"
] | null | null | null | third-year/GeometricModelling/Aufgabe01/Aufgabe01/AffineGeometry.cpp | JulianGR/university | 2f643825b238892d602baf0c8e71e4c1b0fdefc2 | [
"MIT"
] | null | null | null | third-year/GeometricModelling/Aufgabe01/Aufgabe01/AffineGeometry.cpp | JulianGR/university | 2f643825b238892d602baf0c8e71e4c1b0fdefc2 | [
"MIT"
] | null | null | null | //-------------------------------------------------------------------
//
// Affine Geometry
//
// Class for affine points and vectors in homogeneous coordinates
//
// (c) Georg Umlauf, 2014
// (c) Georg Umlauf, 2018: added const-specifiers
//
//-------------------------------------------------------------------
#i... | 21.358974 | 90 | 0.487095 | JulianGR |
614337c61bcb0c280d1a7ec3e9e6b0e3c8760b68 | 13,610 | cpp | C++ | WebKit2-7604.1.38.0.7/WebKit2-7604.1.38.0.7/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | 1 | 2021-05-27T07:29:31.000Z | 2021-05-27T07:29:31.000Z | WebKit2-7604.1.38.0.7/WebKit2-7604.1.38.0.7/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | WebKit2-7604.1.38.0.7/WebKit2-7604.1.38.0.7/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | /*
* This file is part of the WebKit open source project.
*
* 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 Foundation; either
* version 2 of the License, or (at your option) any later ve... | 38.885714 | 201 | 0.759589 | mlcldh |
61450b6c9744cc3bcafe9ee8a3851080d876d641 | 2,164 | hh | C++ | arm-linux-ulibc-4.8.5/usr/arm-nuvoton-linux-uclibcgnueabi/sysroot/usr/include/log4cpp/SyslogAppender.hh | next-generate/armv5TE-toolchain | 8f107ce06fdc6d7f6e56f3b1b1c9f0f13cfa6727 | [
"Apache-2.0"
] | 26 | 2019-06-02T15:22:01.000Z | 2022-03-11T06:54:23.000Z | arm-linux-ulibc-4.8.5/usr/arm-nuvoton-linux-uclibcgnueabi/sysroot/usr/include/log4cpp/SyslogAppender.hh | next-generate/armv5TE-toolchain | 8f107ce06fdc6d7f6e56f3b1b1c9f0f13cfa6727 | [
"Apache-2.0"
] | 26 | 2019-09-20T06:46:05.000Z | 2022-03-11T08:07:14.000Z | arm-linux-ulibc-4.8.5/usr/arm-nuvoton-linux-uclibcgnueabi/sysroot/usr/include/log4cpp/SyslogAppender.hh | next-generate/armv5TE-toolchain | 8f107ce06fdc6d7f6e56f3b1b1c9f0f13cfa6727 | [
"Apache-2.0"
] | 18 | 2019-06-02T13:00:17.000Z | 2022-01-21T13:12:29.000Z | /*
* SyslogAppender.hh
*
* Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
* Copyright 2000, Bastiaan Bakker. All rights reserved.
*
* See the COPYING file for the terms of usage and distribution.
*/
#ifndef _LOG4CPP_SYSLOGAPPENDER_HH
#define _LOG4CPP_SYSLOGAPPENDER_HH
#include <lo... | 28.103896 | 79 | 0.610444 | next-generate |
61489422b315a12fd5b36740808512f936cb5291 | 9,568 | cpp | C++ | orion_protocol/test/test_orion_major.cpp | ros-ukraine/orion | 050d9df15c2b8e58d42a2b1aa467f08a14da099f | [
"MIT"
] | null | null | null | orion_protocol/test/test_orion_major.cpp | ros-ukraine/orion | 050d9df15c2b8e58d42a2b1aa467f08a14da099f | [
"MIT"
] | null | null | null | orion_protocol/test/test_orion_major.cpp | ros-ukraine/orion | 050d9df15c2b8e58d42a2b1aa467f08a14da099f | [
"MIT"
] | null | null | null | /**
* Copyright 2021 ROS Ukraine
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distrib... | 41.781659 | 120 | 0.78449 | ros-ukraine |
614a578cc289b1970cbf16424dd34c59d4379c72 | 3,608 | cc | C++ | test/cpp/util/grpc_cli.cc | arghyadip01/grpc | 9e10bfc8a096ef91a327e22f84f10c0fabff4417 | [
"Apache-2.0"
] | 4 | 2020-08-11T10:00:16.000Z | 2021-10-08T15:17:25.000Z | test/cpp/util/grpc_cli.cc | arghyadip01/grpc | 9e10bfc8a096ef91a327e22f84f10c0fabff4417 | [
"Apache-2.0"
] | 1 | 2022-03-23T16:17:20.000Z | 2022-03-23T16:17:20.000Z | test/cpp/util/grpc_cli.cc | arghyadip01/grpc | 9e10bfc8a096ef91a327e22f84f10c0fabff4417 | [
"Apache-2.0"
] | 7 | 2020-02-17T19:32:48.000Z | 2022-03-08T15:46:23.000Z | /*
* Copyright 2015 gRPC 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 39.648352 | 80 | 0.7051 | arghyadip01 |
614ae804a45e44892cb0dfa33ad9ea19d2b177a7 | 3,397 | cpp | C++ | src/main/java/Commands/Drive/HandleMecanumDrive.cpp | frc4646/2018-competition-code | 6fd8288c1789849ab3054de6186f2040161588a8 | [
"MIT"
] | 1 | 2018-01-31T20:23:38.000Z | 2018-01-31T20:23:38.000Z | src/main/java/Commands/Drive/HandleMecanumDrive.cpp | frc4646/2018-competition-code | 6fd8288c1789849ab3054de6186f2040161588a8 | [
"MIT"
] | null | null | null | src/main/java/Commands/Drive/HandleMecanumDrive.cpp | frc4646/2018-competition-code | 6fd8288c1789849ab3054de6186f2040161588a8 | [
"MIT"
] | null | null | null | #include "HandleMecanumDrive.h"
#include <LOOP/IDriveTrain.h>
#include <LOOP/Utils.h>
#include <config.h>
#include <iostream>
using namespace loop;
#if (DRIVETRAIN == MecanumDriveTrain)
HandleMecanumDrive::HandleMecanumDrive() : CommandBase("HandleDrive"), joyDB(0.1), joytar(false) {
// Use Requires() here to declare... | 39.045977 | 166 | 0.748896 | frc4646 |
614c4bb25c8a30d9512643ee5fbfa7a1c4072002 | 586 | cpp | C++ | 03-Making Decisions/Program_4-30.cpp | ringosimonchen0820/How-to-C-- | 69b0310e6aeab25a7e2eed41e4d6cff85a034e00 | [
"MIT"
] | null | null | null | 03-Making Decisions/Program_4-30.cpp | ringosimonchen0820/How-to-C-- | 69b0310e6aeab25a7e2eed41e4d6cff85a034e00 | [
"MIT"
] | 1 | 2020-10-11T18:39:08.000Z | 2020-10-11T18:39:17.000Z | 03-Making Decisions/Program_4-30.cpp | ringosimonchen0820/How-to-C-- | 69b0310e6aeab25a7e2eed41e4d6cff85a034e00 | [
"MIT"
] | 2 | 2020-10-12T20:33:32.000Z | 2020-10-12T20:34:00.000Z | // This program uses two variables with the name number.
#include <iostream>
using namespace std;
int main()
{
// Define a variable named number.
int number;
cout << "Enter a number greater than 0: ";
cin >> number;
if (number > 0)
{
int number; // Another variable named number.
... | 20.206897 | 56 | 0.535836 | ringosimonchen0820 |
614cd7748f25e025682cad3a3ee08a10af5249cf | 1,225 | cpp | C++ | test/environment_self.cpp | correaa/b-mpi3 | 161e52a28ab9043be9ef33acd8f31dbeae483b61 | [
"BSL-1.0"
] | 14 | 2020-12-22T21:20:10.000Z | 2022-03-15T21:27:51.000Z | test/environment_self.cpp | correaa/b-mpi3 | 161e52a28ab9043be9ef33acd8f31dbeae483b61 | [
"BSL-1.0"
] | 11 | 2020-05-09T20:57:21.000Z | 2020-06-10T00:00:17.000Z | test/environment_self.cpp | correaa/b-mpi3 | 161e52a28ab9043be9ef33acd8f31dbeae483b61 | [
"BSL-1.0"
] | null | null | null | #if COMPILATION_INSTRUCTIONS
mpicxx -O3 -std=c++14 `#-Wfatal-errors` $0 -o $0x.x && time mpirun -np 4 -H localhost,localhost,localhost,localhost,localhost $0x.x $@ && rm -f $0x.x; exit
#endif
// (C) Copyright Alfredo A. Correa 2018.
#include "../../mpi3/environment.hpp"
using std::cout;
namespace mpi3 = boost::mpi3;
... | 32.236842 | 155 | 0.691429 | correaa |
614f2ff8f10879f38b827d159f9873a6348feb91 | 226 | cpp | C++ | 486A Calculating Function/solve.cpp | FahimFBA/Codeforces-Problem-Solution-by-FBA | de7b5b11b978fb28d9817832fec56ddfea02f7a9 | [
"Apache-2.0"
] | 1 | 2020-11-12T13:06:09.000Z | 2020-11-12T13:06:09.000Z | 486A Calculating Function/solve.cpp | FahimFBA/Codeforces-Problem-Solution-by-FBA | de7b5b11b978fb28d9817832fec56ddfea02f7a9 | [
"Apache-2.0"
] | null | null | null | 486A Calculating Function/solve.cpp | FahimFBA/Codeforces-Problem-Solution-by-FBA | de7b5b11b978fb28d9817832fec56ddfea02f7a9 | [
"Apache-2.0"
] | 1 | 2021-10-17T05:08:47.000Z | 2021-10-17T05:08:47.000Z | #include <bits/stdc++.h>
using namespace std;
int main()
{
long long n, i;
cin >> n;
if (n % 2 == 0)
{
i = n / 2;
}
else
{
i = (((n + 1) / 2) * (-1));
}
cout << i << endl;
} | 13.294118 | 35 | 0.353982 | FahimFBA |
614f682f56019d32768138d77502c7d1eb12fad4 | 6,530 | hpp | C++ | src/main/include/AutonomousChooser.hpp | calcmogul/Robot-2020 | b416c202794fb7deea0081beff2f986de7001ed9 | [
"BSD-3-Clause"
] | 5 | 2022-01-12T02:08:29.000Z | 2022-03-13T00:57:16.000Z | src/main/include/AutonomousChooser.hpp | calcmogul/Robot-2020 | b416c202794fb7deea0081beff2f986de7001ed9 | [
"BSD-3-Clause"
] | 11 | 2022-01-29T22:00:14.000Z | 2022-03-26T20:10:07.000Z | src/main/include/AutonomousChooser.hpp | calcmogul/Robot-2020 | b416c202794fb7deea0081beff2f986de7001ed9 | [
"BSD-3-Clause"
] | 1 | 2022-01-19T01:31:11.000Z | 2022-01-19T01:31:11.000Z | // Copyright (c) FRC Team 3512. All Rights Reserved.
#pragma once
#include <functional>
#include <map>
#include <string>
#include <string_view>
#include <thread>
#include <vector>
#include <networktables/NTSendable.h>
#include <networktables/NetworkTableEntry.h>
#include <units/time.h>
#include <wpi/condition_variab... | 32.326733 | 80 | 0.669678 | calcmogul |
61546a609099e35573897c7d5f9e9196aefa32f0 | 21,190 | cpp | C++ | src/Leddar/LdLjrRecorder.cpp | deucedrone/LeddarSDK | c1deb6621e8ad845341e0185763c4a7706ecb788 | [
"BSD-3-Clause"
] | null | null | null | src/Leddar/LdLjrRecorder.cpp | deucedrone/LeddarSDK | c1deb6621e8ad845341e0185763c4a7706ecb788 | [
"BSD-3-Clause"
] | null | null | null | src/Leddar/LdLjrRecorder.cpp | deucedrone/LeddarSDK | c1deb6621e8ad845341e0185763c4a7706ecb788 | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////
/// \file Leddar/LdLjrRecorder.cpp
///
/// \brief Implements the LdLjrRecorder class
/// A recorder using json lines format
////////////////////////////////////////////////////////////////////////////////////... | 34.5677 | 161 | 0.512978 | deucedrone |
61572cacd1b905a9b31e358aecbfc855f61454b5 | 855 | cpp | C++ | Codeforces/8/a.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | 14 | 2019-08-14T00:43:10.000Z | 2021-12-16T05:43:31.000Z | Codeforces/8/a.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | null | null | null | Codeforces/8/a.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | 6 | 2020-12-30T03:30:17.000Z | 2022-03-11T03:40:02.000Z | #include <bits/stdc++.h>
#define endl '\n'
#define eat cin
#define moo cout
#define int long long
using namespace std;
string a, b, c;
int32_t main(){
eat.tie(0) -> sync_with_stdio(0);
eat >> a >> b >> c;
bool ok[2] = {0, 0};
for(int t = 0; t < 2; t++){
for(int i = 0; i < (int)a.size(); i++){... | 25.147059 | 64 | 0.404678 | eyangch |
6157ba65a6fa0532e52c9f91104c726ab2c6430c | 4,765 | cpp | C++ | src/Plugins/TTFPlugin/TTFDataflow.cpp | Terryhata6/Mengine | dfe36fdc84d7398fbbbd199feffc46c6f157f1d4 | [
"MIT"
] | null | null | null | src/Plugins/TTFPlugin/TTFDataflow.cpp | Terryhata6/Mengine | dfe36fdc84d7398fbbbd199feffc46c6f157f1d4 | [
"MIT"
] | null | null | null | src/Plugins/TTFPlugin/TTFDataflow.cpp | Terryhata6/Mengine | dfe36fdc84d7398fbbbd199feffc46c6f157f1d4 | [
"MIT"
] | null | null | null | #include "TTFDataflow.h"
#include "TTFData.h"
#include "Kernel/ThreadMutexScope.h"
#include "Kernel/ResourceImage.h"
#include "Kernel/FactoryPool.h"
#include "Kernel/AssertionFactory.h"
#include "Kernel/AssertionMemoryPanic.h"
#include "Kernel/Stream.h"
#include "Kernel/MemoryStreamHelper.h"
#include "Kernel/Logger.h... | 32.862069 | 156 | 0.480797 | Terryhata6 |
61586465d501b30319347f775a0bab512ac85261 | 892 | hh | C++ | pelitehdas.hh | WhiteDeathFIN/Labyrinttipeli | f89b62d17f6b4bddd5a5df4729c157649b8f64b4 | [
"Apache-2.0"
] | null | null | null | pelitehdas.hh | WhiteDeathFIN/Labyrinttipeli | f89b62d17f6b4bddd5a5df4729c157649b8f64b4 | [
"Apache-2.0"
] | null | null | null | pelitehdas.hh | WhiteDeathFIN/Labyrinttipeli | f89b62d17f6b4bddd5a5df4729c157649b8f64b4 | [
"Apache-2.0"
] | null | null | null | #ifndef JULKINEN_PELITEHDAS_HH
#define JULKINEN_PELITEHDAS_HH
/**
* \version $Id: pelitehdas.hh 2660 2013-02-15 10:27:37Z bitti $
* \file pelitehdas.hh
* \brief Rajapinta pelin luomiseksi
* \author ©2010 Eero Salonen <eero.j.salonen@tut.fi>
*
**/
#include "pelirajapinta.hh"
#include <memory>
/// \namespace Julkinen
... | 25.485714 | 74 | 0.701794 | WhiteDeathFIN |
61593bd24d093cacf2099e408e72ed9e7c4e43d1 | 27,628 | cpp | C++ | Libraries/Geometry/Mesh/Delaunay.cpp | pat-sweeney/Caustic | 0bef667dd3fb77de4b8e8b02a341760ab869d1fe | [
"MIT"
] | 1 | 2021-05-19T14:58:46.000Z | 2021-05-19T14:58:46.000Z | Libraries/Geometry/Mesh/Delaunay.cpp | pat-sweeney/Caustic | 0bef667dd3fb77de4b8e8b02a341760ab869d1fe | [
"MIT"
] | 2 | 2019-09-28T17:29:47.000Z | 2019-09-28T17:46:37.000Z | Libraries/Geometry/Mesh/Delaunay.cpp | pat-sweeney/Caustic | 0bef667dd3fb77de4b8e8b02a341760ab869d1fe | [
"MIT"
] | null | null | null | //**********************************************************************
// Copyright Patrick Sweeney 2015-2021
// Licensed under the MIT license.
// See file LICENSE for details.
//**********************************************************************
import Base.Core.Core;
import Base.Core.Error;
import Base.Math.BBo... | 44.56129 | 170 | 0.46319 | pat-sweeney |
6159b2824876f6d8c069357f64a29657c3cb0ed2 | 8,804 | inl | C++ | modules/SofaConstraint/FixedLMConstraint.inl | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | modules/SofaConstraint/FixedLMConstraint.inl | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | modules/SofaConstraint/FixedLMConstraint.inl | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | 33.992278 | 187 | 0.62642 | sofa-framework |
615fc6d5b84903995fe4091996f89d39a91e5fe7 | 4,298 | hh | C++ | predictor/always.hh | yashpatel5400/neuropath | b995234030931a7b82b11c9ff8d3cb977907acd7 | [
"MIT"
] | 13 | 2017-07-07T04:44:06.000Z | 2021-04-13T23:31:13.000Z | predictor/always.hh | yashpatel5400/neuropath | b995234030931a7b82b11c9ff8d3cb977907acd7 | [
"MIT"
] | 1 | 2019-12-31T07:16:49.000Z | 2019-12-31T07:18:19.000Z | predictor/always.hh | yashpatel5400/neuropath | b995234030931a7b82b11c9ff8d3cb977907acd7 | [
"MIT"
] | 1 | 2019-02-26T00:35:21.000Z | 2019-02-26T00:35:21.000Z | /*
* Copyright (c) 2011, 2014 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the... | 41.326923 | 77 | 0.73383 | yashpatel5400 |
61607bb2d9b882cafd6e5d7a5b3be5af7f671c28 | 6,816 | cpp | C++ | labsound/src/extended/SpectralMonitorNode.cpp | ngokevin/LabSound | 1cd830e44befae10111675a2799dee3082e6ae1f | [
"MIT"
] | 6 | 2018-02-24T05:55:56.000Z | 2018-12-09T05:09:33.000Z | labsound/src/extended/SpectralMonitorNode.cpp | ngokevin/LabSound | 1cd830e44befae10111675a2799dee3082e6ae1f | [
"MIT"
] | 10 | 2018-06-05T09:45:19.000Z | 2019-05-24T12:53:03.000Z | labsound/src/extended/SpectralMonitorNode.cpp | ngokevin/LabSound | 1cd830e44befae10111675a2799dee3082e6ae1f | [
"MIT"
] | 3 | 2018-03-29T16:16:03.000Z | 2018-10-16T02:53:42.000Z | // License: BSD 2 Clause
// Copyright (C) 2015+, The LabSound Authors. All rights reserved.
#include "LabSound/core/AudioNodeInput.h"
#include "LabSound/core/AudioNodeOutput.h"
#include "LabSound/core/WindowFunctions.h"
#include "LabSound/core/AudioBus.h"
#include "LabSound/core/Macros.h"
#include "LabSound/extended/... | 29.634783 | 133 | 0.542254 | ngokevin |
6160bc578ead9cf7a0ac959326382c797adf40ae | 1,773 | hpp | C++ | esl/economics/markets/indication.hpp | rht/ESL | f883155a167d3c48e5ecdca91c8302fefc901c22 | [
"Apache-2.0"
] | 37 | 2019-10-13T12:23:32.000Z | 2022-03-19T10:40:29.000Z | esl/economics/markets/indication.hpp | rht/ESL | f883155a167d3c48e5ecdca91c8302fefc901c22 | [
"Apache-2.0"
] | 3 | 2020-03-20T04:44:06.000Z | 2021-01-12T06:18:33.000Z | esl/economics/markets/indication.hpp | vishalbelsare/ESL | cea6feda1e588d5f441742dbb1e4c5479b47d357 | [
"Apache-2.0"
] | 10 | 2019-11-06T15:59:06.000Z | 2021-08-09T17:28:24.000Z | /// \file indication.hpp
///
/// \brief
///
/// \authors Maarten P. Scholl
/// \date 2019-10-08
/// \copyright Copyright 2017-2019 The Institute for New Economic Thinking,
/// Oxford Martin School, University of Oxford
///
/// Licensed under the Apache License, Version 2.0 (the "Lice... | 30.050847 | 80 | 0.624365 | rht |
61632c447a9b8aad61cf7be3847351b0be3619de | 1,241 | cc | C++ | lib/trie-factory.cc | rockeet/taiju | 90f152d5e66b1741d35b9d871f7a5db68699d48d | [
"BSD-3-Clause"
] | null | null | null | lib/trie-factory.cc | rockeet/taiju | 90f152d5e66b1741d35b9d871f7a5db68699d48d | [
"BSD-3-Clause"
] | null | null | null | lib/trie-factory.cc | rockeet/taiju | 90f152d5e66b1741d35b9d871f7a5db68699d48d | [
"BSD-3-Clause"
] | null | null | null | #include <taiju/trie-factory.h>
#include <taiju/pods-trie.h>
#include <taiju/lob-trie.h>
#include <taiju/louds-trie.h>
#include <taiju/plouds-trie.h>
#include <taiju/bp-trie.h>
#include <taiju/dfuds-trie.h>
#include <memory>
namespace taiju {
TrieBase *TrieFactory::Create(TrieType type)
{
try
{
switch (type)
... | 19.390625 | 67 | 0.701048 | rockeet |
6163497f16940e99d513e99f10ac07289f18675a | 1,583 | hpp | C++ | include/System/Threading/PlatformHelper.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Threading/PlatformHelper.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Threading/PlatformHelper.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Completed includes
// Type namespace: System.Threading
namespace System::Threading {
... | 43.972222 | 98 | 0.711308 | darknight1050 |
61641d490d72922c8bd819b02160b7e6a5584d35 | 63,624 | cxx | C++ | Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx | bartholmberg/VTK | e047cec7cffdcd8b134809c6fe97f7c7f7360603 | [
"BSD-3-Clause"
] | null | null | null | Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx | bartholmberg/VTK | e047cec7cffdcd8b134809c6fe97f7c7f7360603 | [
"BSD-3-Clause"
] | null | null | null | Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx | bartholmberg/VTK | e047cec7cffdcd8b134809c6fe97f7c7f7360603 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLRenderWindow.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This sof... | 28.479857 | 100 | 0.620772 | bartholmberg |
61651a3274079f9c68bec51499a4546f77f42399 | 1,636 | cc | C++ | dacbench/envs/rl-plan/fast-downward/src/search/evaluators/combining_evaluator.cc | ndangtt/LeadingOnesDAC | 953747d8702f179851d7973c65779a1f830e03a1 | [
"Apache-2.0"
] | 1 | 2021-09-09T13:03:02.000Z | 2021-09-09T13:03:02.000Z | dacbench/envs/rl-plan/fast-downward/src/search/evaluators/combining_evaluator.cc | ndangtt/LeadingOnesDAC | 953747d8702f179851d7973c65779a1f830e03a1 | [
"Apache-2.0"
] | null | null | null | dacbench/envs/rl-plan/fast-downward/src/search/evaluators/combining_evaluator.cc | ndangtt/LeadingOnesDAC | 953747d8702f179851d7973c65779a1f830e03a1 | [
"Apache-2.0"
] | null | null | null | #include "combining_evaluator.h"
#include "../evaluation_context.h"
#include "../evaluation_result.h"
using namespace std;
namespace combining_evaluator {
CombiningEvaluator::CombiningEvaluator(
const vector<shared_ptr<Evaluator>> &subevaluators_)
: subevaluators(subevaluators_) {
all_dead_ends_are_relia... | 30.296296 | 85 | 0.721271 | ndangtt |
6165d4667166d5a46c09cf173c3143d76254af5a | 8,435 | hpp | C++ | src/RNG/Random123.hpp | franjgonzalez/Quinoa | 411eb8815e92618c563881b784e287e2dd916f89 | [
"RSA-MD"
] | null | null | null | src/RNG/Random123.hpp | franjgonzalez/Quinoa | 411eb8815e92618c563881b784e287e2dd916f89 | [
"RSA-MD"
] | null | null | null | src/RNG/Random123.hpp | franjgonzalez/Quinoa | 411eb8815e92618c563881b784e287e2dd916f89 | [
"RSA-MD"
] | null | null | null | // *****************************************************************************
/*!
\file src/RNG/Random123.hpp
\copyright 2012-2015 J. Bakosi,
2016-2018 Los Alamos National Security, LLC.,
2019 Triad National Security, LLC.
All rights reserved. See the LICENSE file for ... | 43.479381 | 80 | 0.628216 | franjgonzalez |
6166070f36a659fe1e076a70554099655bef86a9 | 17,867 | cc | C++ | googleurl/src/url_canon_path.cc | etnrlz/rtbkit | 0d9cd9e2ee2d7580a27453ad0a2d815410d87091 | [
"Apache-2.0"
] | 737 | 2015-01-04T01:40:46.000Z | 2022-03-07T10:09:23.000Z | googleurl/src/url_canon_path.cc | TuanTranEngineer/rtbkit | 502d06acc3f8d90438946b6ae742190f2f4b4fbb | [
"Apache-2.0"
] | 797 | 2015-12-09T19:48:19.000Z | 2022-03-07T02:19:47.000Z | googleurl/src/url_canon_path.cc | TuanTranEngineer/rtbkit | 502d06acc3f8d90438946b6ae742190f2f4b4fbb | [
"Apache-2.0"
] | 329 | 2015-01-01T06:54:27.000Z | 2022-02-12T22:21:02.000Z | // Copyright 2007, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | 46.895013 | 149 | 0.621201 | etnrlz |
616ab47145ebd54d70b6bac5af1e3efda2fcd00d | 2,617 | hpp | C++ | cpp/src/io/pysam.hpp | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 8 | 2018-10-08T15:47:21.000Z | 2021-11-09T07:13:05.000Z | cpp/src/io/pysam.hpp | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 4 | 2018-11-05T09:16:27.000Z | 2020-04-09T12:32:56.000Z | cpp/src/io/pysam.hpp | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 4 | 2019-09-03T15:46:39.000Z | 2021-06-04T07:28:33.000Z | // All content Copyright (C) 2018 Genomics plc
#ifndef PYSAM_UTIL_HPP
#define PYSAM_UTIL_HPP
#include "samtools/bam.h"
#include "samtools/khash.h"
#include "samtools/ksort.h"
#include "tabix/bam_endian.h"
#include "samtools/knetfile.h"
#include "pysam.hpp"
#include <stdint.h>
/////////////////////////////////////////... | 37.927536 | 113 | 0.642339 | dylex |
616b3243e42e5c6eb1d4f963d24bf8ff1c36782c | 1,261 | hpp | C++ | core/core_util.hpp | tamasgoga/SnakeRipoff | a9ca7fbaf7803173e803929f3dbd5dbd43fe223e | [
"MIT"
] | null | null | null | core/core_util.hpp | tamasgoga/SnakeRipoff | a9ca7fbaf7803173e803929f3dbd5dbd43fe223e | [
"MIT"
] | null | null | null | core/core_util.hpp | tamasgoga/SnakeRipoff | a9ca7fbaf7803173e803929f3dbd5dbd43fe223e | [
"MIT"
] | null | null | null | #ifndef FLAG_CORE_CORE_UTIL_HPP
#define FLAG_CORE_CORE_UTIL_HPP
//------------------------------------------------------------
// Utility functions and variables
//------------------------------------------------------------
#include "core_def.hpp"
#include <SDL2/SDL_rect.h>
namespace core {
/** Find the center ... | 33.184211 | 100 | 0.63521 | tamasgoga |
616df23411178cebad8598f46886421ce209f3b3 | 2,280 | hpp | C++ | include/bhtree.hpp | shohirose/sphcode | 67efb8882520cd8d53ca12ec07439dfa515fd862 | [
"MIT"
] | 14 | 2019-06-23T12:39:44.000Z | 2022-03-01T06:29:30.000Z | include/bhtree.hpp | shohirose/sphcode | 67efb8882520cd8d53ca12ec07439dfa515fd862 | [
"MIT"
] | 7 | 2019-10-20T14:07:19.000Z | 2019-11-12T13:51:22.000Z | include/bhtree.hpp | shohirose/sphcode | 67efb8882520cd8d53ca12ec07439dfa515fd862 | [
"MIT"
] | 3 | 2019-09-13T11:21:28.000Z | 2021-05-28T05:56:07.000Z | #pragma once
#include <memory>
#include <vector>
#include <algorithm>
#include "vector_type.hpp"
#include "particle.hpp"
namespace sph
{
struct SPHParameters;
class Periodic;
constexpr int NCHILD = DIM == 1 ? 2 : DIM == 2 ? 4 : 8;
class BHTree
{
class BHNode
{
public:
SPHParticle * first;
... | 27.142857 | 153 | 0.59693 | shohirose |
61726eeb997a33b68dd51fa5fe627b038233e8ed | 3,015 | cc | C++ | mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/clip_by_norm_no_div_square_sum_fusion.cc | GuoSuiming/mindspore | 48afc4cfa53d970c0b20eedfb46e039db2a133d5 | [
"Apache-2.0"
] | 55 | 2020-12-17T10:26:06.000Z | 2022-03-28T07:18:26.000Z | mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/clip_by_norm_no_div_square_sum_fusion.cc | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/clip_by_norm_no_div_square_sum_fusion.cc | forwhat461/mindspore | 59a277756eb4faad9ac9afcc7fd526e8277d4994 | [
"Apache-2.0"
] | 14 | 2021-01-29T02:39:47.000Z | 2022-03-23T05:00:26.000Z | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 41.30137 | 119 | 0.755556 | GuoSuiming |
61734910f7cbb370b5d2801a3f353ad84ef626d6 | 25,571 | cpp | C++ | toonz/sources/toonz/trackerpopup.cpp | Savraska2/opentoonz | 47ab3039c899ae1a50d612d097415ab09f10f35e | [
"BSD-3-Clause"
] | 36 | 2020-05-18T22:26:35.000Z | 2022-02-19T00:09:25.000Z | toonz/sources/toonz/trackerpopup.cpp | LibrePhone/opentoonz | cb95a29db4c47ab1f36a6e85a039c4c9c901f88a | [
"BSD-3-Clause"
] | 22 | 2017-03-16T18:52:36.000Z | 2019-09-09T06:02:53.000Z | toonz/sources/toonz/trackerpopup.cpp | LibrePhone/opentoonz | cb95a29db4c47ab1f36a6e85a039c4c9c901f88a | [
"BSD-3-Clause"
] | 9 | 2019-05-27T02:48:16.000Z | 2022-03-29T12:32:04.000Z |
#include "trackerpopup.h"
// Tnz6 includes
#include "tapp.h"
#include "filmstripselection.h"
#include "cellselection.h"
#include "menubarcommandids.h"
// TnzTools includes
#include "tools/toolhandle.h"
#include "tools/tool.h"
// TnzQt includes
#include "toonzqt/doublefield.h"
#include "toonzqt/checkbox.h"
#include... | 30.808434 | 80 | 0.608072 | Savraska2 |
6173ebdcae2aec378fb075e580965e549b7cb447 | 2,435 | cpp | C++ | misc/fexcept/execdump/xxlib/Std/io_patt.cpp | MKadaner/FarManager | c99a14c12e3481dd25ce71451ecd264656f631bb | [
"BSD-3-Clause"
] | 1,256 | 2015-07-07T12:19:17.000Z | 2022-03-31T18:41:41.000Z | misc/fexcept/execdump/xxlib/Std/io_patt.cpp | MKadaner/FarManager | c99a14c12e3481dd25ce71451ecd264656f631bb | [
"BSD-3-Clause"
] | 305 | 2017-11-01T18:58:50.000Z | 2022-03-22T11:07:23.000Z | misc/fexcept/execdump/xxlib/Std/io_patt.cpp | MKadaner/FarManager | c99a14c12e3481dd25ce71451ecd264656f631bb | [
"BSD-3-Clause"
] | 183 | 2017-10-28T11:31:14.000Z | 2022-03-30T16:46:24.000Z | #include <all_lib.h>
#pragma hdrstop
#if defined(__MYPACKAGE__)
#pragma package(smart_init)
#endif
static BOOL CharInStr( const MyString& str, char ch )
{
for ( int n = 0; str[n]; n++ )
if ( CMP_CHAR(str[n],ch) )
return TRUE;
return FALSE;
}
BOOL MYRTLEXP InPattern( CONSTSTR pattern,CONSTSTR name... | 30.4375 | 87 | 0.398357 | MKadaner |
61752df3d9deaaa07372810e34fa14d8ed36ab7f | 1,270 | hpp | C++ | libvast/include/vast/concept/printable/vast/port.hpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | 249 | 2019-08-26T01:44:45.000Z | 2022-03-26T14:12:32.000Z | libvast/include/vast/concept/printable/vast/port.hpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | 586 | 2019-08-06T13:10:36.000Z | 2022-03-31T08:31:00.000Z | libvast/vast/concept/printable/vast/port.hpp | satta/vast | 6c7587effd4265c4a5de23252bc7c7af3ef78bee | [
"BSD-3-Clause"
] | 37 | 2019-08-16T02:01:14.000Z | 2022-02-21T16:13:59.000Z | // _ _____ __________
// | | / / _ | / __/_ __/ Visibility
// | |/ / __ |_\ \ / / Across
// |___/_/ |_/___/ /_/ Space and Time
//
// SPDX-FileCopyrightText: (c) 2016 The VAST Contributors
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include "vast/concept/printable/core/prin... | 25.4 | 57 | 0.612598 | rdettai |
6175c22c79a2e29bdb4906aa175995792620795a | 5,374 | hh | C++ | dune/gdt/test/operators/darcy.hh | TiKeil/dune-gdt | 25c8b987cc07a4b8b966c1a07ea21b78dba7852f | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/test/operators/darcy.hh | TiKeil/dune-gdt | 25c8b987cc07a4b8b966c1a07ea21b78dba7852f | [
"BSD-2-Clause"
] | null | null | null | dune/gdt/test/operators/darcy.hh | TiKeil/dune-gdt | 25c8b987cc07a4b8b966c1a07ea21b78dba7852f | [
"BSD-2-Clause"
] | null | null | null | // This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/lice... | 44.04918 | 120 | 0.731857 | TiKeil |
61764e62bfbe03e1f5a1c5a50c70228764fd1e73 | 1,617 | cpp | C++ | PlatformLib/common/cpp/revTexture.cpp | YIMonge/Rev | db3b71a27659a2652bdd50069a881702b3ae059e | [
"MIT"
] | null | null | null | PlatformLib/common/cpp/revTexture.cpp | YIMonge/Rev | db3b71a27659a2652bdd50069a881702b3ae059e | [
"MIT"
] | null | null | null | PlatformLib/common/cpp/revTexture.cpp | YIMonge/Rev | db3b71a27659a2652bdd50069a881702b3ae059e | [
"MIT"
] | null | null | null | #include "revTexture.h"
#define STB_IMAGE_IMPLEMENTATION
// TODO: set memory allocation way
//#define STBI_MALLOC(sz) malloc(sz)
//#define STBI_REALLOC(p,newsz) realloc(p,newsz)
//#define STBI_FREE(p) free(p)
#include "stb_image.h"
bool revTexture::LoadFromFile(revDevice* device, const char... | 30.509434 | 165 | 0.66543 | YIMonge |
617663da4370a123479d40aa1c8dc29a556a7a2c | 24,594 | cpp | C++ | Gems/Atom/RPI/Code/Source/RPI.Public/Shader/ShaderResourceGroup.cpp | ninpo3d/o3de | 69bd0e85199829643a25f8829a1ae283b1016260 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Atom/RPI/Code/Source/RPI.Public/Shader/ShaderResourceGroup.cpp | ninpo3d/o3de | 69bd0e85199829643a25f8829a1ae283b1016260 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Atom/RPI/Code/Source/RPI.Public/Shader/ShaderResourceGroup.cpp | ninpo3d/o3de | 69bd0e85199829643a25f8829a1ae283b1016260 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* 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 <Atom/RHI.Reflect/ShaderDataMappings.h>
#include <Atom/RPI.Public/Shader/ShaderResourceGro... | 41.684746 | 170 | 0.634342 | ninpo3d |
6177da275c2e79b272694b9899c5903627444f73 | 5,002 | cc | C++ | 1Layer/Systolic_sim/src/graphdata.cc | guohaoqiang/wegnn | 9452f1b051a057a054d436e99610d766e6ed63fb | [
"MIT"
] | null | null | null | 1Layer/Systolic_sim/src/graphdata.cc | guohaoqiang/wegnn | 9452f1b051a057a054d436e99610d766e6ed63fb | [
"MIT"
] | null | null | null | 1Layer/Systolic_sim/src/graphdata.cc | guohaoqiang/wegnn | 9452f1b051a057a054d436e99610d766e6ed63fb | [
"MIT"
] | null | null | null | #include "../include/graphdata.h"
void Graph::node_sort(const std::vector<std::vector<int>>& in){
int in_counts = 0;
for(size_t it=1;it<in.at(0).size();++it){
//LOG(INFO) << "it = "<<it<<std::endl;
int key = in.at(0).at(it) - in.at(0).at(it-1);
//push back rowID
auto pt = pre_so... | 33.57047 | 133 | 0.513395 | guohaoqiang |
6179f1b525ebc4542bcd7804ab61304bca156689 | 1,034 | cpp | C++ | philibs/scene/sceneframebuffer.cpp | prwhite/philibs | 3cb65bd0dae105026839a3e88d9cebafb72c2616 | [
"Zlib"
] | 5 | 2015-05-12T14:48:03.000Z | 2021-07-14T13:18:16.000Z | philibs/scene/sceneframebuffer.cpp | prwhite/philibs | 3cb65bd0dae105026839a3e88d9cebafb72c2616 | [
"Zlib"
] | null | null | null | philibs/scene/sceneframebuffer.cpp | prwhite/philibs | 3cb65bd0dae105026839a3e88d9cebafb72c2616 | [
"Zlib"
] | 1 | 2021-04-18T07:32:43.000Z | 2021-04-18T07:32:43.000Z | /////////////////////////////////////////////////////////////////////
//
// file: sceneframebuffer.cpp
//
/////////////////////////////////////////////////////////////////////
#include "sceneframebuffer.h"
/////////////////////////////////////////////////////////////////////
namespace scene {
///////////////////... | 18.464286 | 71 | 0.381044 | prwhite |
617ae705cd5bc12a419697d99c4850debe156926 | 31,969 | cpp | C++ | language-extensions/python/test/src/PythonGetResultColumnTests.cpp | rabryst/sql-server-language-extensions | a6a25890d1c3e449537eaaafab706c6c1e8b51cb | [
"MIT"
] | 82 | 2019-05-24T00:36:57.000Z | 2022-02-21T23:51:46.000Z | language-extensions/python/test/src/PythonGetResultColumnTests.cpp | rabryst/sql-server-language-extensions | a6a25890d1c3e449537eaaafab706c6c1e8b51cb | [
"MIT"
] | 20 | 2019-07-05T06:12:28.000Z | 2022-03-31T20:48:30.000Z | language-extensions/python/test/src/PythonGetResultColumnTests.cpp | rabryst/sql-server-language-extensions | a6a25890d1c3e449537eaaafab706c6c1e8b51cb | [
"MIT"
] | 35 | 2019-05-24T01:44:07.000Z | 2022-02-28T13:29:44.000Z | //*************************************************************************************************
// Copyright (C) Microsoft Corporation.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
//
// @File: Pyt... | 33.82963 | 109 | 0.675279 | rabryst |
617d5f46f4927b6ea4497e8debbf6ccdfbdd0e04 | 1,230 | hpp | C++ | src/utils/Vector2f.hpp | Rookfighter/MultiAgentExploration | f67c9d6652726faf143c364dd1a465bc3ce77dda | [
"MIT"
] | 4 | 2015-01-22T11:26:55.000Z | 2021-03-21T06:03:45.000Z | src/utils/Vector2f.hpp | Rookfighter/MultiAgentExploration | f67c9d6652726faf143c364dd1a465bc3ce77dda | [
"MIT"
] | null | null | null | src/utils/Vector2f.hpp | Rookfighter/MultiAgentExploration | f67c9d6652726faf143c364dd1a465bc3ce77dda | [
"MIT"
] | null | null | null | #ifndef MAE_VECTOR2F_HPP
#define MAE_VECTOR2F_HPP
#include <string>
namespace mae
{
class Vector2f
{
public:
double x;
double y;
Vector2f(): x(0), y(0) { }
Vector2f(double p_x, double p_y): x(p_x), y(p_y) { }
~Vector2f() { }
void set(const double p_x, con... | 28.604651 | 77 | 0.656098 | Rookfighter |
617de37215a71ca054d0c60ff0aed2e4fafd3748 | 1,875 | cpp | C++ | Wrappers/C/Testing/core/base.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | Wrappers/C/Testing/core/base.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | Wrappers/C/Testing/core/base.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | #include <string>
#include "UnitTest++.h"
#include "rr_c_api.h"
using namespace std;
using namespace UnitTest;
RRHandle gRR; //Global roadrunner C handle
SUITE(Base)
{
TEST(AllocateRR)
{
if(!gRR)
{
gRR = getRRInstance();
}
CHECK(gRR!=NULL); //I... | 25 | 84 | 0.555733 | gregmedlock |
617e70c4ef72d25d997aca8127e296d9f6b07849 | 35,449 | cpp | C++ | modules/core/src/IkIndexOutput.cpp | JosDenysGitHub/iknow | e6a142253513ad4365d7998e36c569d4174e8248 | [
"MIT"
] | 49 | 2020-02-05T15:54:24.000Z | 2022-03-03T20:10:39.000Z | modules/core/src/IkIndexOutput.cpp | JosDenysGitHub/iknow | e6a142253513ad4365d7998e36c569d4174e8248 | [
"MIT"
] | 84 | 2020-02-06T13:09:16.000Z | 2022-03-22T19:36:00.000Z | modules/core/src/IkIndexOutput.cpp | JosDenysGitHub/iknow | e6a142253513ad4365d7998e36c569d4174e8248 | [
"MIT"
] | 20 | 2020-02-04T21:38:57.000Z | 2022-02-23T20:30:13.000Z | // IndexOutput.cpp: implementation of the CIndexOutput class.
//
//////////////////////////////////////////////////////////////////////
#include "IkIndexOutput.h"
#include <sstream>
#include <numeric>
#include "IkPath.h"
#include "IkConceptProximity.h"
//////////////////////////////////////////////////////////////... | 46.766491 | 184 | 0.733871 | JosDenysGitHub |
617e86f51a938281f60ef3138da3a4fdba0e4c5f | 6,704 | cpp | C++ | src/sli_gpg/finger_hand.cpp | Smilels/sli_gpg | bf00c773b187ca13da0a2c949f9cfbee2c038172 | [
"BSD-2-Clause"
] | null | null | null | src/sli_gpg/finger_hand.cpp | Smilels/sli_gpg | bf00c773b187ca13da0a2c949f9cfbee2c038172 | [
"BSD-2-Clause"
] | null | null | null | src/sli_gpg/finger_hand.cpp | Smilels/sli_gpg | bf00c773b187ca13da0a2c949f9cfbee2c038172 | [
"BSD-2-Clause"
] | null | null | null | #include <gpg/finger_hand.h>
FingerHand::FingerHand(double finger_width, double hand_outer_diameter, double hand_depth)
: finger_width_(finger_width), hand_depth_(hand_depth), lateral_axis_(-1),
forward_axis_(-1)
{
int n = 10; // number of finger placements to consider over a single hand diameter
// Calculat... | 25.587786 | 118 | 0.62858 | Smilels |
61824c95ab95da4e692969a805325bdb363629be | 11,915 | cpp | C++ | test/reserve_test.cpp | mattwatts/marzone | 85082e3346937010703ecad829f0eb2fd132d82f | [
"MIT"
] | 3 | 2021-03-17T14:36:54.000Z | 2021-03-17T20:25:21.000Z | test/reserve_test.cpp | mattwatts/marzone | 85082e3346937010703ecad829f0eb2fd132d82f | [
"MIT"
] | null | null | null | test/reserve_test.cpp | mattwatts/marzone | 85082e3346937010703ecad829f0eb2fd132d82f | [
"MIT"
] | 1 | 2020-10-02T20:06:07.000Z | 2020-10-02T20:06:07.000Z | #include "../reserve.hpp"
#include "CppUTest/TestHarness.h"
using namespace marzone;
TEST_GROUP(ReserveTestsGroup)
{
};
// ensure loadZones correctly parses.
TEST(ReserveTestsGroup, Reserve_InitializeSolution_test)
{
sfname fnames = {};
fnames.costsname = "data/costs_test1.dat";
fnames.spec... | 39.849498 | 129 | 0.67243 | mattwatts |
61831df5548e171a05be307e7e92e854edbcef7f | 50,372 | cpp | C++ | TongueQT/TongueQT/src/Vega/libraries/objMesh/objMeshOffsetVoxels.cpp | lrkk1234/TongueSimulation | 347cf38452aa62d1173da1c4935f691456255e46 | [
"MIT"
] | 2 | 2020-03-28T03:15:49.000Z | 2020-09-09T02:54:33.000Z | TongueQT/TongueQT/src/Vega/libraries/objMesh/objMeshOffsetVoxels.cpp | lrkk1234/TongueSimulation | 347cf38452aa62d1173da1c4935f691456255e46 | [
"MIT"
] | null | null | null | TongueQT/TongueQT/src/Vega/libraries/objMesh/objMeshOffsetVoxels.cpp | lrkk1234/TongueSimulation | 347cf38452aa62d1173da1c4935f691456255e46 | [
"MIT"
] | 2 | 2020-09-08T19:28:19.000Z | 2021-07-25T00:35:26.000Z | /*************************************************************************
* *
* Vega FEM Simulation Library Version 2.2 *
* *
* "objMesh" library... | 34.95628 | 206 | 0.608552 | lrkk1234 |
618364aa14f73c4b730d07cf527bff4fa1021624 | 1,893 | cpp | C++ | client/src/win/win_registry.cpp | realrasengan/desktop | 41213ed9efd70955bdd5872c68425868040afae2 | [
"Apache-2.0"
] | 1 | 2020-09-08T00:41:27.000Z | 2020-09-08T00:41:27.000Z | client/src/win/win_registry.cpp | realrasengan/desktop | 41213ed9efd70955bdd5872c68425868040afae2 | [
"Apache-2.0"
] | null | null | null | client/src/win/win_registry.cpp | realrasengan/desktop | 41213ed9efd70955bdd5872c68425868040afae2 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 London Trust Media Incorporated
//
// This file is part of the Private Internet Access Desktop Client.
//
// The Private Internet Access Desktop Client 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 Softwa... | 36.403846 | 125 | 0.742736 | realrasengan |
61837db47ebde841d5c69877c510263991fb4c80 | 5,021 | cc | C++ | xls/tools/delay_info_main.cc | RobSpringer/xls | a5521c7ecbd1a071828760cf429d74810f248681 | [
"Apache-2.0"
] | null | null | null | xls/tools/delay_info_main.cc | RobSpringer/xls | a5521c7ecbd1a071828760cf429d74810f248681 | [
"Apache-2.0"
] | null | null | null | xls/tools/delay_info_main.cc | RobSpringer/xls | a5521c7ecbd1a071828760cf429d74810f248681 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 The XLS 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 36.649635 | 80 | 0.673372 | RobSpringer |
618394454f4b8e20ac9b1032fcec69f9a2ba5913 | 1,107 | hpp | C++ | core/include/game/objects/gameobj.hpp | Darckore/SpaceAssault | 287db7eff40e83fe08a34d50f617eedfaccb3a55 | [
"MIT"
] | null | null | null | core/include/game/objects/gameobj.hpp | Darckore/SpaceAssault | 287db7eff40e83fe08a34d50f617eedfaccb3a55 | [
"MIT"
] | null | null | null | core/include/game/objects/gameobj.hpp | Darckore/SpaceAssault | 287db7eff40e83fe08a34d50f617eedfaccb3a55 | [
"MIT"
] | null | null | null | #pragma once
#include "game/components/component.hpp"
namespace engine::world
{
class game_object
{
public:
using component_type = component;
using id_type = component_type::id_type;
using data_type = std::unordered_map<id_type, component_type*>;
public:
CLASS_SPECIALS_NOCOPY_CUSTOM(game_objec... | 23.0625 | 85 | 0.684734 | Darckore |
6183f4f0afa6dbeb93b5eefc9e81357e84bf8dca | 7,257 | cpp | C++ | src/layer/gru.cpp | zchrissirhcz/ncnn | 6550a517ef947d62a69e0940180e7bb2b1c3b7ef | [
"BSD-3-Clause"
] | 14 | 2021-07-30T11:03:47.000Z | 2021-08-24T08:08:23.000Z | src/layer/gru.cpp | zchrissirhcz/ncnn | 6550a517ef947d62a69e0940180e7bb2b1c3b7ef | [
"BSD-3-Clause"
] | 72 | 2020-09-13T18:19:44.000Z | 2022-03-30T21:17:23.000Z | src/layer/gru.cpp | zchrissirhcz/ncnn | 6550a517ef947d62a69e0940180e7bb2b1c3b7ef | [
"BSD-3-Clause"
] | 5 | 2021-09-12T03:26:28.000Z | 2021-10-09T07:39:15.000Z | // Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy ... | 28.570866 | 167 | 0.562491 | zchrissirhcz |
61866e95ca20f494bed8f1ce6cc7804a37cb395d | 3,764 | cpp | C++ | src/common/NameSpaceUtil.cpp | tclfs/rocketmq-client-cpp | ecfd7d3a598a54288817c038cb13f25c26bd370f | [
"Apache-2.0"
] | 314 | 2018-10-11T06:58:56.000Z | 2022-03-22T14:03:54.000Z | src/common/NameSpaceUtil.cpp | tclfs/rocketmq-client-cpp | ecfd7d3a598a54288817c038cb13f25c26bd370f | [
"Apache-2.0"
] | 275 | 2018-11-12T03:55:44.000Z | 2022-03-28T10:13:15.000Z | src/common/NameSpaceUtil.cpp | tclfs/rocketmq-client-cpp | ecfd7d3a598a54288817c038cb13f25c26bd370f | [
"Apache-2.0"
] | 165 | 2018-10-17T11:47:16.000Z | 2022-01-31T12:10:19.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 35.509434 | 119 | 0.717322 | tclfs |
6188a7485f0c2870f925ec4c69b40c9ae44b23fa | 1,729 | hpp | C++ | src/slave/qos_controller.hpp | ankurcha/mesos | 46dc9979e9cc38d36dc7300db13af39bdfbfd52e | [
"Apache-2.0"
] | null | null | null | src/slave/qos_controller.hpp | ankurcha/mesos | 46dc9979e9cc38d36dc7300db13af39bdfbfd52e | [
"Apache-2.0"
] | 2 | 2015-09-29T12:09:44.000Z | 2016-01-06T05:12:29.000Z | src/slave/qos_controller.hpp | ankurcha/mesos | 46dc9979e9cc38d36dc7300db13af39bdfbfd52e | [
"Apache-2.0"
] | 4 | 2015-08-05T21:47:37.000Z | 2018-08-31T23:40:03.000Z | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 29.305085 | 80 | 0.757085 | ankurcha |
61892a05214472337a3206d5aa6d7f471abe4b5e | 899 | cpp | C++ | components/xtl/tests/stl/alg_find16_1.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/xtl/tests/stl/alg_find16_1.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/xtl/tests/stl/alg_find16_1.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | //Тестирование алгоритма lexicographical_compare (range1, range2)
#include <stdio.h>
#include <stl/algorithm>
#include "test.h"
using namespace stl;
int main ()
{
printf ("Results of alg_find16_1:\n");
int A1[] = {3, 1, 4, 1, 5, 9, 3};
int A2[] = {3, 1, 4, 2, 8, 5, 7};
int A3[] = {1, 2, 3, 4};
int A4[] = ... | 27.242424 | 65 | 0.565072 | untgames |
618e5ce63b7bcefddd54a2322eeadae477f2c2bd | 1,103 | cpp | C++ | src/engine/src/dt_recv_decoder.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/engine/src/dt_recv_decoder.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/engine/src/dt_recv_decoder.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "dt_recv_decoder.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
// ------------------... | 20.425926 | 90 | 0.534905 | cstom4994 |
618e98efb125ea7259cf06097503c3f62ece2cc0 | 2,044 | cpp | C++ | src/vsg/vk/BufferView.cpp | jinpengxuan/VulkanSceneGraph | cf6c6815f1a35e1a4ec53f345ba367a3f72e30f2 | [
"MIT"
] | null | null | null | src/vsg/vk/BufferView.cpp | jinpengxuan/VulkanSceneGraph | cf6c6815f1a35e1a4ec53f345ba367a3f72e30f2 | [
"MIT"
] | null | null | null | src/vsg/vk/BufferView.cpp | jinpengxuan/VulkanSceneGraph | cf6c6815f1a35e1a4ec53f345ba367a3f72e30f2 | [
"MIT"
] | null | null | null | /* <editor-fold desc="MIT License">
Copyright(c) 2018 Robert Osfield
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, mod... | 46.454545 | 460 | 0.75636 | jinpengxuan |
618ebc733c97763f4d6ba283a096c0e8a2c63f45 | 16,301 | cpp | C++ | src/core/NEON/kernels/arm_gemm/kernels/a64_sgemm_12x8/a53.cpp | LeeHayun/ArmCL | e2542c9f35ca427286822cd0c9296f49914f78b0 | [
"MIT"
] | 1 | 2018-08-02T06:49:04.000Z | 2018-08-02T06:49:04.000Z | src/core/NEON/kernels/arm_gemm/kernels/a64_sgemm_12x8/a53.cpp | clydeliuyan/ComputeLibrary | e2542c9f35ca427286822cd0c9296f49914f78b0 | [
"MIT"
] | null | null | null | src/core/NEON/kernels/arm_gemm/kernels/a64_sgemm_12x8/a53.cpp | clydeliuyan/ComputeLibrary | e2542c9f35ca427286822cd0c9296f49914f78b0 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | 44.782967 | 212 | 0.363843 | LeeHayun |
618fb4c9310059308c70d02e0f1564c2986ced21 | 1,153 | cpp | C++ | gym/102784/C.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | 1 | 2021-07-16T19:59:39.000Z | 2021-07-16T19:59:39.000Z | gym/102784/C.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | gym/102784/C.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <random>
#include <chrono>
using namespace std;
using namespace __gnu_pbds;
#define endl '\n'
typedef long long ll;
typedef pair<int, int> pii;
// typedef tree<int, null_type,less<int>, rb_tree_tag, tre... | 17.208955 | 102 | 0.588899 | albexl |
619086d3839bae0098a9d31e45062209a4d095e8 | 1,056 | cpp | C++ | src/main.cpp | raichea/SJR-PixelStick | 462e7b29b54a68d7a4b4727fd5bcd0b85656ea25 | [
"MIT"
] | 1 | 2022-01-20T16:26:02.000Z | 2022-01-20T16:26:02.000Z | src/main.cpp | raichea/SJR-PixelStick | 462e7b29b54a68d7a4b4727fd5bcd0b85656ea25 | [
"MIT"
] | null | null | null | src/main.cpp | raichea/SJR-PixelStick | 462e7b29b54a68d7a4b4727fd5bcd0b85656ea25 | [
"MIT"
] | 1 | 2022-01-20T16:26:04.000Z | 2022-01-20T16:26:04.000Z | #include "pixelstick.h"
void initConfig();
void initLeds();
void initWifi();
// void checkWifi();
void initWebserver();
void serviceClient();
void initWebSocket();
void serviceSocket();
void initOTA();
void serviceOTA();
void serviceLeds();
void checkBattery();
void checkSwitch();
void setup()
{
Serial.begin(115200... | 24.55814 | 104 | 0.680871 | raichea |
6191601f1f0d7e9cd410816b064fd4ceceddeb1a | 6,270 | cpp | C++ | test/hxArrayTest.cpp | adrianjohnston345/hatchlingplatform | 6113b84a0dcb944c94f6e95aa3f1b92fab1f9276 | [
"Apache-2.0"
] | 4 | 2019-11-27T00:38:56.000Z | 2020-04-19T05:32:01.000Z | test/hxArrayTest.cpp | adrianjohnston345/hatchlingplatform | 6113b84a0dcb944c94f6e95aa3f1b92fab1f9276 | [
"Apache-2.0"
] | 1 | 2021-08-06T21:30:50.000Z | 2021-08-06T21:30:50.000Z | test/hxArrayTest.cpp | adrianjohnston345/hatchlingplatform | 6113b84a0dcb944c94f6e95aa3f1b92fab1f9276 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017-2019 Adrian Johnston
// Copyright 2017 Leap Motion
#include <hx/hatchling.h>
#include <hx/hxArray.h>
#include <hx/hxStockpile.h>
#include <hx/hxTest.h>
HX_REGISTER_FILENAME_HASH
// ----------------------------------------------------------------------------
static class hxArrayTest* s_hxTestCurren... | 21.546392 | 86 | 0.649601 | adrianjohnston345 |
6193ffa535969651140bfedb3b1e7ee18d817d0e | 3,584 | cc | C++ | xdl/xdl/core/ops/ps_ops/model_server/model_server_forward.cc | Ru-Xiang/x-deeplearning | 04cc0497150920c64b06bb8c314ef89977a3427a | [
"Apache-2.0"
] | 4,071 | 2018-12-13T04:17:38.000Z | 2022-03-30T03:29:35.000Z | xdl/xdl/core/ops/ps_ops/model_server/model_server_forward.cc | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 359 | 2018-12-21T01:14:57.000Z | 2022-02-15T07:18:02.000Z | xdl/xdl/core/ops/ps_ops/model_server/model_server_forward.cc | laozhuang727/x-deeplearning | 781545783a4e2bbbda48fc64318fb2c6d8bbb3cc | [
"Apache-2.0"
] | 1,054 | 2018-12-20T09:57:42.000Z | 2022-03-29T07:16:53.000Z | /* Copyright 2018 Alibaba Group. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | 32.581818 | 106 | 0.698661 | Ru-Xiang |
619412378592dbedbcb0fc9f2d2b901f21a14d62 | 2,757 | cpp | C++ | src/examples/games/snake/main.cpp | TheMrButcher/opengl_lessons | 76ac96c45773a54a85d49c6994770b0c3496303f | [
"MIT"
] | 1 | 2016-10-25T21:15:16.000Z | 2016-10-25T21:15:16.000Z | src/examples/games/snake/main.cpp | TheMrButcher/gamebase | 76ac96c45773a54a85d49c6994770b0c3496303f | [
"MIT"
] | 375 | 2016-06-04T11:27:40.000Z | 2019-04-14T17:11:09.000Z | src/examples/games/snake/main.cpp | TheMrButcher/gamebase | 76ac96c45773a54a85d49c6994770b0c3496303f | [
"MIT"
] | null | null | null | #include <gamebase/Gamebase.h>
using namespace gamebase;
using namespace std;
class MyApp : public App
{
void load()
{
randomize();
record = 0;
restart();
connect(restartButton, restart);
timer.setPeriod(0.2);
connect(timer, step);
}
void restart()
{
... | 19.692857 | 78 | 0.543707 | TheMrButcher |
619519a4395822901587a5c74f751b5657e97d0a | 12,329 | hpp | C++ | hpx/runtime/actions/transfer_base_action.hpp | picanumber/hpx | 76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d | [
"BSL-1.0"
] | null | null | null | hpx/runtime/actions/transfer_base_action.hpp | picanumber/hpx | 76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d | [
"BSL-1.0"
] | null | null | null | hpx/runtime/actions/transfer_base_action.hpp | picanumber/hpx | 76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2017 Hartmut Kaiser
// Copyright (c) 2011 Bryce Lelbach
// Copyright (c) 2011-2016 Thomas Heller
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt... | 33.594005 | 85 | 0.631357 | picanumber |
6195c56a4482f70e48033ad05e8ded9c99904d43 | 167 | hpp | C++ | task4_simd/Util.hpp | cakebytheoceanLuo/data_processing_on_modern_hardware | 9d334be7a9cd426a881164a2938195422006e069 | [
"MIT"
] | null | null | null | task4_simd/Util.hpp | cakebytheoceanLuo/data_processing_on_modern_hardware | 9d334be7a9cd426a881164a2938195422006e069 | [
"MIT"
] | null | null | null | task4_simd/Util.hpp | cakebytheoceanLuo/data_processing_on_modern_hardware | 9d334be7a9cd426a881164a2938195422006e069 | [
"MIT"
] | null | null | null | #pragma once
#include <cstring>
#include <immintrin.h>
void *malloc_huge(size_t size);
void _mm512i_print_epi64 (__m512i v);
void _mm512i_print_epi32 (__m512i v);
| 15.181818 | 37 | 0.766467 | cakebytheoceanLuo |
619788a04d01038851f426d457bf9232ae750ad1 | 8,802 | cpp | C++ | features/netsocket/emac-drivers/TARGET_UNISOC_EMAC/uwp_emac.cpp | caixue901102/mbed-os | 483833a8d4612845408fea5b1986d20ab8428580 | [
"Apache-2.0"
] | null | null | null | features/netsocket/emac-drivers/TARGET_UNISOC_EMAC/uwp_emac.cpp | caixue901102/mbed-os | 483833a8d4612845408fea5b1986d20ab8428580 | [
"Apache-2.0"
] | null | null | null | features/netsocket/emac-drivers/TARGET_UNISOC_EMAC/uwp_emac.cpp | caixue901102/mbed-os | 483833a8d4612845408fea5b1986d20ab8428580 | [
"Apache-2.0"
] | 4 | 2018-12-10T12:03:54.000Z | 2019-01-26T02:46:40.000Z | #include <stdlib.h>
#include "mbed_shared_queues.h"
#include "netsocket/nsapi_types.h"
#include "lwip/arch.h"
#include "debug.h"
#include "uwp_emac.h"
#include "uwp_wifi_main.h"
#include "sipc.h"
#include "uwp_sys_wrapper.h"
#include "uwp_buf_mgmt.h"
// TODO:need confirm
#define UWP_HWADDR_SIZE (6)
#define U... | 27.166667 | 141 | 0.629743 | caixue901102 |
6197d0651e8ef67eba61d39fbdffee035f06963a | 257 | cpp | C++ | benchmarks/speed3d_c2c.cpp | jli111/heffte_osc_a2av | 59d69500cb86ef6a37212326c35cd85176f45526 | [
"BSD-3-Clause"
] | 6 | 2021-03-05T18:19:02.000Z | 2022-03-08T10:47:00.000Z | benchmarks/speed3d_c2c.cpp | jli111/heffte_osc_a2av | 59d69500cb86ef6a37212326c35cd85176f45526 | [
"BSD-3-Clause"
] | 1 | 2021-07-09T14:26:17.000Z | 2021-07-09T14:26:17.000Z | benchmarks/speed3d_c2c.cpp | jli111/heffte_osc_a2av | 59d69500cb86ef6a37212326c35cd85176f45526 | [
"BSD-3-Clause"
] | 1 | 2021-12-15T16:45:41.000Z | 2021-12-15T16:45:41.000Z | /*
-- heFFTe --
Univ. of Tennessee, Knoxville
@date
Performance test for 3D FFTs using heFFTe to compute 3D complex-to-complex transforms
*/
#define BENCH_INPUT std::complex<precision_type>
#define BENCH_C2C
#include "speed3d.h"
| 21.416667 | 93 | 0.688716 | jli111 |
619a008cd2519a2703cb0a4463ace40b108a4dba | 27,923 | cpp | C++ | src/libbrep/debug_plot.cpp | ejno/brlcad | b21b3e1728ade0fea2d36a105609566cb114c382 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/libbrep/debug_plot.cpp | ejno/brlcad | b21b3e1728ade0fea2d36a105609566cb114c382 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | src/libbrep/debug_plot.cpp | ejno/brlcad | b21b3e1728ade0fea2d36a105609566cb114c382 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | /* D E B U G _ P L O T . C P P
* BRL-CAD
*
* Copyright (c) 2014-2021 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2... | 28.176589 | 126 | 0.661247 | ejno |
619ae2367cb562599aa5b4c8c9980d7dd1d042f5 | 373 | cpp | C++ | src/libserver/src/serverconnectionfactory.cpp | tsaah/whisper | afe9fd000ed3ebd684d78193ce0c12217bb68fde | [
"MIT"
] | 1 | 2021-03-22T07:22:43.000Z | 2021-03-22T07:22:43.000Z | src/libserver/src/serverconnectionfactory.cpp | tsaah/whisper | afe9fd000ed3ebd684d78193ce0c12217bb68fde | [
"MIT"
] | null | null | null | src/libserver/src/serverconnectionfactory.cpp | tsaah/whisper | afe9fd000ed3ebd684d78193ce0c12217bb68fde | [
"MIT"
] | null | null | null | #include "serverconnectionfactory.h"
#include <connection.h>
namespace whisper {
namespace server {
QTcpSocket *ServerConnectionFactory::create(qintptr handle) {
auto* socket = new common::Connection;
if (socket != nullptr && socket->setSocketDescriptor(handle)) {
return socket;
}
return null... | 20.722222 | 67 | 0.705094 | tsaah |
619c51bfcfbbfddab1b1b73df7e8542ad6a92bf2 | 1,321 | cc | C++ | src/flutter/shell/platform/linux_embedded/surface/egl_utils.cc | TomohideMorimoto/flutter-embedded-linux | e7b1e98e646e88aa52dc1abe9f14444c2b070a39 | [
"BSD-3-Clause"
] | 743 | 2021-03-09T07:56:39.000Z | 2022-03-30T20:22:32.000Z | src/flutter/shell/platform/linux_embedded/surface/egl_utils.cc | TomohideMorimoto/flutter-embedded-linux | e7b1e98e646e88aa52dc1abe9f14444c2b070a39 | [
"BSD-3-Clause"
] | 165 | 2021-03-09T06:44:39.000Z | 2022-03-25T20:48:03.000Z | src/flutter/shell/platform/linux_embedded/surface/egl_utils.cc | TomohideMorimoto/flutter-embedded-linux | e7b1e98e646e88aa52dc1abe9f14444c2b070a39 | [
"BSD-3-Clause"
] | 59 | 2021-03-09T04:25:01.000Z | 2022-03-29T19:15:46.000Z |
// Copyright 2021 Sony Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/linux_embedded/surface/egl_utils.h"
#include <EGL/egl.h>
#include <string>
#include <vector>
namespace flutter {
std::st... | 30.72093 | 73 | 0.692657 | TomohideMorimoto |
619d823723202e8203a5452bb70f0a8d65b91d77 | 1,838 | cpp | C++ | src/Mesh.cpp | Crupette/decent-engine | 9934df33e8f1e87adf7298baa731c48eee2b2b5b | [
"Apache-2.0"
] | null | null | null | src/Mesh.cpp | Crupette/decent-engine | 9934df33e8f1e87adf7298baa731c48eee2b2b5b | [
"Apache-2.0"
] | null | null | null | src/Mesh.cpp | Crupette/decent-engine | 9934df33e8f1e87adf7298baa731c48eee2b2b5b | [
"Apache-2.0"
] | null | null | null | #include "Mesh.h"
namespace DecentEngine {
Mesh::Mesh(){
}
Mesh::~Mesh(){
}
void Mesh::preInit(){
glGenVertexArrays(1, &m_vao);
glBindVertexArray(m_vao);
glGenBuffers(3, m_vbo);
glBindBuffer(GL_ARRAY_BUFFER, m_vbo[0]);
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, 2, GL_FLOAT, GL_FALSE, 0, nullp... | 22.414634 | 107 | 0.748096 | Crupette |
61a70b8afdf2e7dcc350a153d07edd7295051b92 | 21,060 | cc | C++ | server/modules/filter/topfilter/topfilter.cc | DatabasKarlsson/MaxScale | ccf90f2e5d28f589eecd54bcb3fb20dfec5b14ff | [
"BSD-3-Clause"
] | null | null | null | server/modules/filter/topfilter/topfilter.cc | DatabasKarlsson/MaxScale | ccf90f2e5d28f589eecd54bcb3fb20dfec5b14ff | [
"BSD-3-Clause"
] | 1 | 2021-02-12T10:08:58.000Z | 2021-02-18T02:57:57.000Z | server/modules/filter/topfilter/topfilter.cc | ThomasDai/MaxScale | 766afedbada386b4402b8dbb21805e7eaba52323 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2024-11-26
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 32.103659 | 104 | 0.553561 | DatabasKarlsson |
61a893116827692e7704664b6deddb7ad256742a | 1,447 | cpp | C++ | Problem Solving with C++/Source Code/Chapter06/06-04.cpp | MorganBergen/Learning-CPP | a8d8ed92a6e4cb6c96d091d6c7e1ef551968932b | [
"Unlicense"
] | null | null | null | Problem Solving with C++/Source Code/Chapter06/06-04.cpp | MorganBergen/Learning-CPP | a8d8ed92a6e4cb6c96d091d6c7e1ef551968932b | [
"Unlicense"
] | null | null | null | Problem Solving with C++/Source Code/Chapter06/06-04.cpp | MorganBergen/Learning-CPP | a8d8ed92a6e4cb6c96d091d6c7e1ef551968932b | [
"Unlicense"
] | null | null | null | //DISPLAY 6.4 Inputting a File Name
//Reads three numbers from the file specified by the user, sums the numbers,
//and writes the sum to another file specified by the user.
#include <fstream>
#include <iostream>
#include <cstdlib>
int main( )
{
using namespace std;
char inFileName[16], outFileName[16];
ifs... | 27.826923 | 76 | 0.583276 | MorganBergen |
61aad0da5061a8b7892b1bb71bced6592fe61ac2 | 1,735 | hpp | C++ | src/Factory/Simulation/BFER/BFER_std.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2022-02-17T08:47:47.000Z | 2022-02-17T08:47:47.000Z | src/Factory/Simulation/BFER/BFER_std.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | null | null | null | src/Factory/Simulation/BFER/BFER_std.hpp | WilliamMajor/aff3ct | 4e71ab99f33a040ec06336d3e1d50bd2c0d6a579 | [
"MIT"
] | 1 | 2021-11-24T01:54:41.000Z | 2021-11-24T01:54:41.000Z | #ifndef FACTORY_SIMULATION_BFER_STD_HPP_
#define FACTORY_SIMULATION_BFER_STD_HPP_
#include <string>
#include <map>
#include "Tools/Arguments/Argument_tools.hpp"
#include "Factory/Module/Codec/Codec_SIHO.hpp"
#include "Factory/Simulation/BFER/BFER.hpp"
namespace aff3ct
{
namespace simulation
{
template <typename B, t... | 28.442623 | 113 | 0.647839 | WilliamMajor |
61ab43eabbe07d8144ffb1874ee17c32b2ce12b0 | 1,016 | cpp | C++ | source/cards/sources/move-condition.cpp | mexus/medici2 | 8ffadc0f72459e5b59f12460575925e5a578a389 | [
"MIT"
] | null | null | null | source/cards/sources/move-condition.cpp | mexus/medici2 | 8ffadc0f72459e5b59f12460575925e5a578a389 | [
"MIT"
] | null | null | null | source/cards/sources/move-condition.cpp | mexus/medici2 | 8ffadc0f72459e5b59f12460575925e5a578a389 | [
"MIT"
] | null | null | null | #include <cards/move-condition.h>
#include <algorithm>
namespace cards {
MoveCondition::MoveCondition(size_t position, const std::shared_ptr<Condition>& condition)
: position_(position), condition_(condition) {}
bool MoveCondition::CheckSequence(const std::vector<Card>& cards) const {
if (position_ >= c... | 36.285714 | 90 | 0.690945 | mexus |
61abed85910aa62dad08a3dc827b63f826462cba | 3,872 | hpp | C++ | include/GlobalNamespace/LightPairRotationEventEffect_RotationData.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/LightPairRotationEventEffect_RotationData.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/LightPairRotationEventEffect_RotationData.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: LightPairRotationEventEffect
#include "GlobalNamespace/LightPairRotati... | 45.552941 | 398 | 0.713326 | darknight1050 |
61af5d190e5a9fd8234c1b37489b1d558bc1cd4f | 2,995 | cc | C++ | fuchsia/base/legacymetrics_user_event_recorder_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | fuchsia/base/legacymetrics_user_event_recorder_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | fuchsia/base/legacymetrics_user_event_recorder_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2020 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 "fuchsia/base/legacymetrics_user_event_recorder.h"
#include "base/test/task_environment.h"
#include "base/threading/thread_task_runner_handle.h"... | 32.912088 | 78 | 0.761269 | zealoussnow |
ba067cf1377009a031135662345483f46609a34b | 2,468 | cpp | C++ | Modules/IGT/TrackingDevices/mitkVirtualTrackerTypeInformation.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Modules/IGT/TrackingDevices/mitkVirtualTrackerTypeInformation.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Modules/IGT/TrackingDevices/mitkVirtualTrackerTypeInformation.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied w... | 35.257143 | 127 | 0.692058 | liu3xing3long |
ba06e521487c08b81adcb7f1a4e0f43718508383 | 914 | hpp | C++ | gui/dialogs/dialogeditunit.hpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 4 | 2019-07-18T15:05:09.000Z | 2020-03-14T09:50:07.000Z | gui/dialogs/dialogeditunit.hpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 328 | 2019-06-30T12:03:01.000Z | 2020-10-05T15:56:35.000Z | gui/dialogs/dialogeditunit.hpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 1 | 2019-06-08T22:47:14.000Z | 2019-06-08T22:47:14.000Z | #pragma once
#include "sme/model_units.hpp"
#include <QDialog>
#include <memory>
namespace Ui {
class DialogEditUnit;
}
class DialogEditUnit : public QDialog {
Q_OBJECT
public:
explicit DialogEditUnit(const sme::model::Unit &unit,
const QString &unitType = {},
... | 26.114286 | 57 | 0.683807 | lkeegan |
ba089712b85354f90687f6f9481f5a94ba20b2a7 | 1,271 | cpp | C++ | floating-point/sse-avx-mix.cpp | Secure-AI-Systems-Group/Hardware-Effects | 9839e0e2a4cfe7bb7be15c2a3050b4e279b8a67b | [
"MIT"
] | 2,434 | 2018-11-18T20:31:23.000Z | 2022-03-22T14:04:01.000Z | floating-point/sse-avx-mix.cpp | xiaoxiaohuoshan/hardware-effects | 6748195c1799b3a5ea8eb43ae4ce594c865639d8 | [
"MIT"
] | 22 | 2018-11-19T03:14:38.000Z | 2022-01-21T07:48:46.000Z | floating-point/sse-avx-mix.cpp | xiaoxiaohuoshan/hardware-effects | 6748195c1799b3a5ea8eb43ae4ce594c865639d8 | [
"MIT"
] | 136 | 2018-11-19T00:57:18.000Z | 2022-03-22T11:47:58.000Z | /**
* Code adapted from https://stackoverflow.com/questions/41303780/why-is-this-sse-code-6-times-slower-without-vzeroupper-on-skylake
*/
#include <immintrin.h>
#include <iostream>
#include <chrono>
#ifndef REPETITIONS
#define REPETITIONS 100 * 1024 * 1024
#endif
int main(int argc, char** argv)
{
if (argc ... | 24.921569 | 131 | 0.572777 | Secure-AI-Systems-Group |
ba0a217e3671c14dc9bab13e91ecd1f6b87fd1a6 | 1,901 | cpp | C++ | SampleMathematics/NonlocalBlowup/GpuAvrPyramid2.cpp | CRIMSONCardiovascularModelling/WildMagic5 | fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c | [
"BSL-1.0"
] | null | null | null | SampleMathematics/NonlocalBlowup/GpuAvrPyramid2.cpp | CRIMSONCardiovascularModelling/WildMagic5 | fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c | [
"BSL-1.0"
] | null | null | null | SampleMathematics/NonlocalBlowup/GpuAvrPyramid2.cpp | CRIMSONCardiovascularModelling/WildMagic5 | fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c | [
"BSL-1.0"
] | null | null | null | // Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.3.0 (2010/09/07)
#include "GpuAvrPyramid2.h"
const GLchar* GpuAvrPyramid2::msQua... | 34.563636 | 78 | 0.530247 | CRIMSONCardiovascularModelling |
ba0a755029a67c45441111439059afcbf1ae19ec | 629 | cpp | C++ | src/ChainSword/src/StateMachine/States/StartState.cpp | LePetitAtelierDeJon/ChainSword | acdcf8d26589eeb6df2c8db4caf39bf21b990c14 | [
"MIT"
] | null | null | null | src/ChainSword/src/StateMachine/States/StartState.cpp | LePetitAtelierDeJon/ChainSword | acdcf8d26589eeb6df2c8db4caf39bf21b990c14 | [
"MIT"
] | null | null | null | src/ChainSword/src/StateMachine/States/StartState.cpp | LePetitAtelierDeJon/ChainSword | acdcf8d26589eeb6df2c8db4caf39bf21b990c14 | [
"MIT"
] | null | null | null | #include "StateMachine/States/StartState.h"
#include "ChainSword.h"
void StartState::execute(ChainSword *context, unsigned long millis)
{
context->lightController()->execute(millis);
if (context->lightController()->isEffectStopped(STARTUP_ANIMATION))
{
stateMachine_->makeTransition(IDLE_TRANSITION,... | 28.590909 | 71 | 0.720191 | LePetitAtelierDeJon |
ba0adadbe7d2b43840a7d5be7084e3da64df25a9 | 2,097 | cpp | C++ | src/FastAccelStepperHoming.cpp | HX2003/FastAccelStepperHoming | 6e4603242d38ca43ebb92011ec92c0ac4e2591ba | [
"MIT"
] | 1 | 2022-03-07T06:21:26.000Z | 2022-03-07T06:21:26.000Z | src/FastAccelStepperHoming.cpp | HX2003/FastAccelStepperHoming | 6e4603242d38ca43ebb92011ec92c0ac4e2591ba | [
"MIT"
] | null | null | null | src/FastAccelStepperHoming.cpp | HX2003/FastAccelStepperHoming | 6e4603242d38ca43ebb92011ec92c0ac4e2591ba | [
"MIT"
] | null | null | null | #include "FastAccelStepperHoming.h"
void FastAccelStepperHoming::init(FastAccelStepper* stepper) {
_stepper = stepper;
}
void FastAccelStepperHoming::setLimitPin(uint8_t limitPin, uint8_t mode){
_limitPin = limitPin;
_limitPinSet = true;
pinMode(limitPin, mode);
_limitPinState = digitalRead(limitPin);
attachInt... | 29.957143 | 135 | 0.756319 | HX2003 |