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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a339cdb5c14e6e4c8d427ddb4d9260b62ce90e1a | 3,217 | cpp | C++ | Source/GUI/VCL_New/GUI_Main_Easy.cpp | buckmelanoma/MediaInfo | cf38b0e3d0e6ee2565f49276f423a5792ed62962 | [
"BSD-2-Clause"
] | 743 | 2015-01-13T23:16:53.000Z | 2022-03-31T22:56:27.000Z | Source/GUI/VCL_New/GUI_Main_Easy.cpp | buckmelanoma/MediaInfo | cf38b0e3d0e6ee2565f49276f423a5792ed62962 | [
"BSD-2-Clause"
] | 317 | 2015-07-28T17:50:14.000Z | 2022-03-08T02:41:19.000Z | Source/GUI/VCL_New/GUI_Main_Easy.cpp | buckmelanoma/MediaInfo | cf38b0e3d0e6ee2565f49276f423a5792ed62962 | [
"BSD-2-Clause"
] | 134 | 2015-01-30T05:33:51.000Z | 2022-03-21T09:39:38.000Z | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma ... | 28.219298 | 78 | 0.412496 | buckmelanoma |
a33b0cd8ccfcbf54e99f80f7a4a3a1e8a324cb75 | 498 | cpp | C++ | docs/mfc/reference/codesnippet/CPP/ctreectrl-class_46.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/mfc/reference/codesnippet/CPP/ctreectrl-class_46.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/mfc/reference/codesnippet/CPP/ctreectrl-class_46.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // Sort the item in reverse alphabetical order.
int CALLBACK MyCompareProc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
{
// lParamSort contains a pointer to the tree control.
// The lParam of an item is just its handle,
// as specified with SetItemData
CTreeCtrl* pmyTreeCtrl = (CTreeCtrl*)lParamSort... | 41.5 | 77 | 0.757028 | bobbrow |
a33d73fc85ff3ec02d577978e7e4e913ec059e3b | 313 | cpp | C++ | 2293/main.cpp | leesk0502/BOJ_Solving | fa4c7fe7e9b9a7bf464531ade6705f8c6c1ae3ce | [
"Apache-2.0"
] | null | null | null | 2293/main.cpp | leesk0502/BOJ_Solving | fa4c7fe7e9b9a7bf464531ade6705f8c6c1ae3ce | [
"Apache-2.0"
] | null | null | null | 2293/main.cpp | leesk0502/BOJ_Solving | fa4c7fe7e9b9a7bf464531ade6705f8c6c1ae3ce | [
"Apache-2.0"
] | null | null | null | #include <cstdio>
int main(){
int n, k, a[10001] = {0, }, d[10001] = {0,};
scanf("%d %d", &n, &k);
for(int i=1; i<=n; i++){
scanf("%d", &a[i]);
}
d[0] = 1;
for(int i=1; i<=n; i++){
for(int j=a[i]; j<=k; j++){
d[j] += d[j - a[i]];
}
}
printf("%d", d[k]);
return 0;
}
| 13.608696 | 46 | 0.367412 | leesk0502 |
a33f8efa0a8bc74b913103a4a176221073921b41 | 1,454 | cc | C++ | ash/components/attestation/fake_attestation_flow.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 | ash/components/attestation/fake_attestation_flow.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 | ash/components/attestation/fake_attestation_flow.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 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 "ash/components/attestation/fake_attestation_flow.h"
#include <string>
#include <utility>
#include "base/bind.h"
#include "base/threading/threa... | 29.673469 | 78 | 0.73934 | chromium |
a3409799027660eb7bb433e0d4591d4afee0847a | 3,593 | cpp | C++ | src/renderer/vulkan/BackendResources.cpp | Ryp/reaper | da7b3aa4a69b95ced2496214e5cea4eb7823593a | [
"MIT"
] | 10 | 2018-08-16T05:32:46.000Z | 2022-02-04T09:55:54.000Z | src/renderer/vulkan/BackendResources.cpp | Ryp/reaper | da7b3aa4a69b95ced2496214e5cea4eb7823593a | [
"MIT"
] | null | null | null | src/renderer/vulkan/BackendResources.cpp | Ryp/reaper | da7b3aa4a69b95ced2496214e5cea4eb7823593a | [
"MIT"
] | 1 | 2019-05-13T17:56:35.000Z | 2019-05-13T17:56:35.000Z | ////////////////////////////////////////////////////////////////////////////////
/// Reaper
///
/// Copyright (c) 2015-2021 Thibault Schueller
/// This file is distributed under the MIT License
////////////////////////////////////////////////////////////////////////////////
#include "BackendResources.h"
#include "Bac... | 49.219178 | 120 | 0.719733 | Ryp |
a34140d1b321e2a11d515525f9ed785c91ee4f34 | 262 | cpp | C++ | game/api_service/main.cpp | cwj5012/rdm-cppserver | 6eed70cc89e2a09eaac93f0833fd9c3c4a273eb8 | [
"MIT"
] | 1 | 2020-06-11T01:31:26.000Z | 2020-06-11T01:31:26.000Z | game/api_service/main.cpp | cwj5012/rdm-cppserver | 6eed70cc89e2a09eaac93f0833fd9c3c4a273eb8 | [
"MIT"
] | null | null | null | game/api_service/main.cpp | cwj5012/rdm-cppserver | 6eed70cc89e2a09eaac93f0833fd9c3c4a273eb8 | [
"MIT"
] | null | null | null | #include "ApiService.h"
int main(int argc, char* argv[]) {
auto service = std::make_shared<ApiService>();
service->setConfigKey("api_service");
service->setConfigPath("../../config/all.yaml");
service->init();
service->run();
return 0;
} | 26.2 | 52 | 0.633588 | cwj5012 |
a34190411a8ccfb55344da4576c4110b7c56c757 | 1,262 | cpp | C++ | algorithms/cpp/Problems 601-700/_637_AverageOfLevelsInBinaryTree.cpp | shivamacs/LeetCode | f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a | [
"MIT"
] | null | null | null | algorithms/cpp/Problems 601-700/_637_AverageOfLevelsInBinaryTree.cpp | shivamacs/LeetCode | f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a | [
"MIT"
] | null | null | null | algorithms/cpp/Problems 601-700/_637_AverageOfLevelsInBinaryTree.cpp | shivamacs/LeetCode | f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a | [
"MIT"
] | null | null | null | /* Source - https://leetcode.com/problems/average-of-levels-in-binary-tree/
Author - Shivam Arora
*/
#include <bits/stdc++.h>
using namespace std;
struct TreeNode {
int data;
TreeNode* left, *right;
TreeNode (int x) {
data = x;
left = right = NULL;
}
};
vector<double> averageOfLeve... | 22.535714 | 75 | 0.541997 | shivamacs |
a3434d77afccd8c702984f68364c298e98e9e5e8 | 13,829 | cpp | C++ | serverplugin/dbp/tinysap/AvenueSmoothMessage.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | 1 | 2016-07-12T06:00:37.000Z | 2016-07-12T06:00:37.000Z | serverplugin/dbp/tinysap/AvenueSmoothMessage.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | null | null | null | serverplugin/dbp/tinysap/AvenueSmoothMessage.cpp | shrewdlin/BPE | cf29647479b1b8ed53afadaf70557387f4c07e16 | [
"BSD-3-Clause"
] | 2 | 2016-09-06T07:59:09.000Z | 2020-12-12T03:25:24.000Z | #include "AvenueSmoothMessage.h"
#include <boost/asio.hpp>
#include "Cipher.h"
#include <boost/thread/mutex.hpp>
#include <string>
using std::string;
using sdo::dbp::CCipher;
namespace sdo{
namespace commonsdk{
static boost::mutex s_mutexSequence;
unsigned int CAvenueSmoothEncoder::sm_dwSeq=0;
CAvenueS... | 33.977887 | 137 | 0.701786 | shrewdlin |
a344911a83f6a6cc0226d14d588182ce5845f419 | 3,488 | cpp | C++ | src/message_queue/supervisor/supervisor.cpp | Toxe/cpp-threads | 88d170db26fb72d5fe569397d296e7cccc6cdf84 | [
"MIT"
] | 2 | 2021-09-02T13:57:33.000Z | 2021-09-02T17:07:33.000Z | src/message_queue/supervisor/supervisor.cpp | Toxe/cpp-concurrency | 88d170db26fb72d5fe569397d296e7cccc6cdf84 | [
"MIT"
] | null | null | null | src/message_queue/supervisor/supervisor.cpp | Toxe/cpp-concurrency | 88d170db26fb72d5fe569397d296e7cccc6cdf84 | [
"MIT"
] | null | null | null | #include "supervisor.hpp"
#include <cassert>
#include <spdlog/spdlog.h>
Supervisor::Supervisor(const int number_of_worker_threads)
{
run(number_of_worker_threads);
}
Supervisor::~Supervisor()
{
join();
}
void Supervisor::run(const int number_of_worker_threads)
{
number_of_worker_threads_ = number_of_wo... | 24.055172 | 160 | 0.701261 | Toxe |
a3449aa51756b99f36e7ab6d80f5b945d75b53d1 | 2,075 | cpp | C++ | Source/PluginAiState_Misc1/CAiState_FindEnemy.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 3 | 2019-04-12T15:22:53.000Z | 2022-01-05T02:59:56.000Z | Source/PluginAiState_Misc1/CAiState_FindEnemy.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | null | null | null | Source/PluginAiState_Misc1/CAiState_FindEnemy.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 2 | 2019-04-10T22:46:21.000Z | 2020-05-27T16:21:37.000Z | #include "CAiState_FindEnemy.h"
#include "CPlayer.h"
#include "CGameObjectManager.h"
#include "Ai/CFpsVehicle.h"
#include "Ai/Obstacle.h"
#include "CTextOutput.h"
#include "CCharacterStateManager.h"
#include "IO/CoreLogging.h"
using namespace Core;
using namespace Core::Plugin;
CAiState_FindEnemy::CAiState_FindEnemy(... | 25.304878 | 99 | 0.697349 | shanefarris |
a345389a92cadf8e10b26bf9c132db109e688859 | 26,442 | cxx | C++ | src/main.cxx | bwvdnbro/VELOCIraptor-STF | 9c4a07eee20309152bcde40602029315c8bd50ca | [
"MIT"
] | 4 | 2020-08-28T11:29:09.000Z | 2021-10-16T20:17:54.000Z | src/main.cxx | bwvdnbro/VELOCIraptor-STF | 9c4a07eee20309152bcde40602029315c8bd50ca | [
"MIT"
] | 118 | 2019-05-06T11:46:28.000Z | 2022-03-14T17:14:37.000Z | src/main.cxx | bwvdnbro/VELOCIraptor-STF | 9c4a07eee20309152bcde40602029315c8bd50ca | [
"MIT"
] | 4 | 2020-10-01T05:22:31.000Z | 2021-07-26T13:07:42.000Z | /*! \file main.cxx
* \brief Main program
This code initialize MPI (if necessary) and reads parameters from the user input (see \ref ui.cxx)
loads particle data from a N-body output (see \ref io.cxx) into an array of \ref NBody::Particle,
analyzes the system, searches for structures then substructures (se... | 42.511254 | 195 | 0.668482 | bwvdnbro |
a346417a88b0a515620618a3a54dd55742791c16 | 8,039 | cpp | C++ | example/frame/ipc/ipcserialization.cpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | example/frame/ipc/ipcserialization.cpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | example/frame/ipc/ipcserialization.cpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | #include "system/debug.hpp"
#include "system/thread.hpp"
#include "system/timespec.hpp"
#include "utility/dynamicpointer.hpp"
#include "utility/dynamictype.hpp"
#include "utility/queue.hpp"
#include "frame/ipc/ipcmessage.hpp"
#include "serialization/binary.hpp"
#include "serialization/idtypemapper.hpp"
#include "boost/... | 28.108392 | 129 | 0.641373 | joydit |
a34781b2829195b4825be4652e37e17293c0e78b | 1,893 | cpp | C++ | Problems/IOI/2009/Partial.Archery.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/IOI/2009/Partial.Archery.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/IOI/2009/Partial.Archery.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define fi first
#define se second
#define maxn 200000
#define mod 1000000007
#define pb push_back
using namespace std;
typedef long long LL;
typedef pair<int,int> pi;
int n,k;
int ar[2*maxn];
int ansLast,ansInit;
void swaps(vector<pi>& vec) {
for( int i = 0 ; i < n ; i++ )
if(vec[i].fi > ... | 20.138298 | 96 | 0.522979 | metehkaya |
a347f6d78d60e19f405ed3e9924d5beeb3fe14bd | 6,653 | hpp | C++ | include/libpmemobj++/detail/common.hpp | skygyh/libpmemobj-cpp | fbe4025fd37beec6ba1374b4b32b0e83bc9e2204 | [
"BSD-3-Clause"
] | null | null | null | include/libpmemobj++/detail/common.hpp | skygyh/libpmemobj-cpp | fbe4025fd37beec6ba1374b4b32b0e83bc9e2204 | [
"BSD-3-Clause"
] | null | null | null | include/libpmemobj++/detail/common.hpp | skygyh/libpmemobj-cpp | fbe4025fd37beec6ba1374b4b32b0e83bc9e2204 | [
"BSD-3-Clause"
] | 2 | 2021-01-19T08:22:32.000Z | 2021-01-19T08:23:32.000Z | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2016-2020, Intel Corporation */
/**
* @file
* Commonly used functionality.
*/
#ifndef LIBPMEMOBJ_CPP_COMMON_HPP
#define LIBPMEMOBJ_CPP_COMMON_HPP
#include <libpmemobj++/pexceptions.hpp>
#include <libpmemobj/tx_base.h>
#include <string>
#include <typeinfo>
#if... | 23.100694 | 80 | 0.712461 | skygyh |
a3492545ec96454448e56244669bb4671e8b8548 | 28,192 | hh | C++ | src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff-common.hh | siweilxy/openjdkstudy | 8597674ec1d6809faf55cbee1f45f4e9149d670d | [
"Apache-2.0"
] | null | null | null | src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff-common.hh | siweilxy/openjdkstudy | 8597674ec1d6809faf55cbee1f45f4e9149d670d | [
"Apache-2.0"
] | null | null | null | src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff-common.hh | siweilxy/openjdkstudy | 8597674ec1d6809faf55cbee1f45f4e9149d670d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright © 2018 Adobe Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above copyrig... | 28.448032 | 131 | 0.617906 | siweilxy |
a34ae6b8e84d95ee3e323a9d68f1eb61eb7aeaa4 | 4,646 | hpp | C++ | tpls/pressio/include/pressio/WIP/rom/galerkin/impl/continuous_time_api/policies/rom_galerkin_fom_apply_jacobian_policy.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 29 | 2019-11-11T13:17:57.000Z | 2022-03-16T01:31:31.000Z | tpls/pressio/include/pressio/WIP/rom/galerkin/impl/continuous_time_api/policies/rom_galerkin_fom_apply_jacobian_policy.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 303 | 2019-09-30T10:15:41.000Z | 2022-03-30T08:24:04.000Z | tpls/pressio/include/pressio/WIP/rom/galerkin/impl/continuous_time_api/policies/rom_galerkin_fom_apply_jacobian_policy.hpp | fnrizzi/pressio-demoapps | 6ff10bbcf4d526610580940753c9620725bff1ba | [
"BSD-3-Clause"
] | 4 | 2020-07-07T03:32:36.000Z | 2022-03-10T05:21:42.000Z | /*
//@HEADER
// ************************************************************************
//
// rom_galerkin_fom_apply_jacobian_policy.hpp
// Pressio
// Copyright 2019
// National Technology & Engineering Solutions of Sandia, LLC (NTESS)
//
// Under the terms of Con... | 40.754386 | 101 | 0.735041 | fnrizzi |
a34ca64e771d98dca9beb1129ef1fed5277ab2c4 | 675 | cpp | C++ | chapters/11/ex11_03.cpp | yG620/cpp_primer_5th_solutions | 68fdb2e5167228a3d31ac31c221c1055c2500b91 | [
"Apache-2.0"
] | null | null | null | chapters/11/ex11_03.cpp | yG620/cpp_primer_5th_solutions | 68fdb2e5167228a3d31ac31c221c1055c2500b91 | [
"Apache-2.0"
] | null | null | null | chapters/11/ex11_03.cpp | yG620/cpp_primer_5th_solutions | 68fdb2e5167228a3d31ac31c221c1055c2500b91 | [
"Apache-2.0"
] | null | null | null | //
// ex11_00.cpp
// Exercise 11.00
//
// Created by yG620 on 20/9/13
//
// @Brief > A classic example that relies on associative arrays is a
// word-counting program.
// @KeyPoint
#include <iostream>
#include <map>
#include <set>
using namespace std;
int main(int argc, char const *argv[]) {
map<strin... | 20.454545 | 74 | 0.591111 | yG620 |
a34cba792598689d59aec41dd1cdea934dd037ac | 3,512 | cxx | C++ | Modules/Filtering/ImageIntensity/test/itkPowImageFilterTest.cxx | ferdymercury/ITK | b0a86ded2edd698a6f4a3e58a9db23523a7eb871 | [
"Apache-2.0"
] | 2 | 2021-02-01T17:24:16.000Z | 2021-02-02T02:18:46.000Z | Modules/Filtering/ImageIntensity/test/itkPowImageFilterTest.cxx | ferdymercury/ITK | b0a86ded2edd698a6f4a3e58a9db23523a7eb871 | [
"Apache-2.0"
] | 4 | 2019-02-08T21:13:11.000Z | 2019-02-18T20:57:34.000Z | Modules/Filtering/ImageIntensity/test/itkPowImageFilterTest.cxx | ferdymercury/ITK | b0a86ded2edd698a6f4a3e58a9db23523a7eb871 | [
"Apache-2.0"
] | 4 | 2015-02-07T05:09:14.000Z | 2019-10-08T09:17:30.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 28.322581 | 111 | 0.672836 | ferdymercury |
a34d7b58c43fa7fff5cf3bff7020a7ddedbf58ce | 1,857 | cc | C++ | chrome/browser/extensions/menu_manager_factory.cc | iplo/Chain | 8bc8943d66285d5258fffc41bed7c840516c4422 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | chrome/browser/extensions/menu_manager_factory.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2017-02-14T21:55:58.000Z | 2017-02-14T21:55:58.000Z | chrome/browser/extensions/menu_manager_factory.cc | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // 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 "chrome/browser/extensions/menu_manager_factory.h"
#include "chrome/browser/extensions/menu_manager.h"
#include "chrome/browser/profiles/profile... | 30.95 | 88 | 0.782983 | iplo |
a35228b89a27bbc8e52a05cf12d8e9b9a3477804 | 2,739 | hpp | C++ | Extensions/Editor/AnimationTrackView.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 52 | 2018-09-11T17:18:35.000Z | 2022-03-13T15:28:21.000Z | Extensions/Editor/AnimationTrackView.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 1,409 | 2018-09-19T18:03:43.000Z | 2021-06-09T08:33:33.000Z | Extensions/Editor/AnimationTrackView.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 26 | 2018-09-11T17:16:32.000Z | 2021-11-22T06:21:19.000Z | ///////////////////////////////////////////////////////////////////////////////
///
/// \file AnimationEditor.hpp
/// Declaration of AnimationEditor Composite
///
/// Authors: Joshua Claeys
/// Copyright 2013, DigiPen Institute of Technology
///
//////////////////////////////////////////////////////////////////... | 25.839623 | 81 | 0.650602 | RachelWilSingh |
a3523059c20de90c9296ea28543219feb7117db1 | 658 | cpp | C++ | cpp/p3_python/source/p3/python/ProgressBar.cpp | 0lru/p3ui | 162c6c68f4a55ec109a593c8ced66a62520b5602 | [
"MIT"
] | 21 | 2021-07-22T21:33:01.000Z | 2022-02-12T15:17:46.000Z | cpp/p3_python/source/p3/python/ProgressBar.cpp | 0lru/p3ui | 162c6c68f4a55ec109a593c8ced66a62520b5602 | [
"MIT"
] | 3 | 2021-07-26T19:00:39.000Z | 2021-12-12T09:29:09.000Z | cpp/p3_python/source/p3/python/ProgressBar.cpp | 0lru/p3ui | 162c6c68f4a55ec109a593c8ced66a62520b5602 | [
"MIT"
] | 2 | 2021-07-23T04:57:21.000Z | 2021-12-15T22:51:45.000Z | #include "p3ui.h"
#include <p3/widgets/ProgressBar.h>
namespace p3::python
{
void Definition<ProgressBar>::apply(py::module& module)
{
py::class_<ProgressBar, Node, std::shared_ptr<ProgressBar>> progress_bar(module, "ProgressBar");
progress_bar.def(py::init<>([](py::kwargs kwargs) {
... | 31.333333 | 104 | 0.639818 | 0lru |
a352cc60dbe9cd41acb85742098d5eef24c4d147 | 9,470 | cpp | C++ | libc/src/time/mktime.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | libc/src/time/mktime.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | libc/src/time/mktime.cpp | kubamracek/llvm-project | f7ff1869cdd487d4baaf009380901e5469d8344d | [
"Apache-2.0"
] | null | null | null | //===-- Implementation of mktime function ---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 38.495935 | 80 | 0.665048 | kubamracek |
a3538b1f3f28644b5ea0c4f69ea317999d7a1ab1 | 1,438 | cpp | C++ | test_utils/message_utils.cpp | TNTtian/Faasm | 377f4235063a7834724cc750697d3e0280d4a581 | [
"Apache-2.0"
] | 1 | 2020-12-02T14:01:07.000Z | 2020-12-02T14:01:07.000Z | test_utils/message_utils.cpp | TNTtian/Faasm | 377f4235063a7834724cc750697d3e0280d4a581 | [
"Apache-2.0"
] | null | null | null | test_utils/message_utils.cpp | TNTtian/Faasm | 377f4235063a7834724cc750697d3e0280d4a581 | [
"Apache-2.0"
] | null | null | null | #include <catch/catch.hpp>
#include "utils.h"
using namespace faasm;
namespace tests {
void checkMessageEquality(const message::Message &msgA, const message::Message &msgB) {
REQUIRE(msgA.id() == msgB.id());
REQUIRE(msgA.user() == msgB.user());
REQUIRE(msgA.function() == msgB.function())... | 38.864865 | 91 | 0.608484 | TNTtian |
a353f580de9d5c28c18aee20f46b20fe469fc4fc | 8,306 | cpp | C++ | quill3d/openpmd_output.cpp | blendersamsonov/Quill | 5567b3dd70becf50084014c5cc53a95dda53ce4c | [
"MIT"
] | null | null | null | quill3d/openpmd_output.cpp | blendersamsonov/Quill | 5567b3dd70becf50084014c5cc53a95dda53ce4c | [
"MIT"
] | null | null | null | quill3d/openpmd_output.cpp | blendersamsonov/Quill | 5567b3dd70becf50084014c5cc53a95dda53ce4c | [
"MIT"
] | null | null | null | #include "openpmd_output.h"
#include <iostream>
#include <vector>
#include <cstring>
const std::string MESHES_GROUP = "meshes";
std::string get_parent(const std::string & path) {
auto last_separator = path.find_last_of('/');
if (last_separator == std::string::npos) {
return "/";
} else {
... | 36.113043 | 166 | 0.672646 | blendersamsonov |
a35439f6ee25b3a20b387c75193b7abd57a34d88 | 1,089 | cc | C++ | chrome/installer/setup/progress_calculator.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/installer/setup/progress_calculator.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/installer/setup/progress_calculator.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/installer/setup/progress_calculator.h"
#include <math.h>
#include "base/logging.h"
// An install operation generally proceeds through ... | 38.892857 | 80 | 0.752984 | google-ar |
a355ed6fb46ae61eca5acc7b26fc8100dcf130bc | 5,368 | cpp | C++ | src/osvr/Connection/GenerateVrpnDynamicServer.cpp | ccccjason/OSVR_device_plugin | 6c9171265900530341cfa79357151daa39618737 | [
"Apache-2.0"
] | 1 | 2022-03-28T05:09:11.000Z | 2022-03-28T05:09:11.000Z | src/osvr/Connection/GenerateVrpnDynamicServer.cpp | ccccjason/my_osvr | fdb2a64cbf88211c34f8c8bd42f0f83a6b98769e | [
"Apache-2.0"
] | null | null | null | src/osvr/Connection/GenerateVrpnDynamicServer.cpp | ccccjason/my_osvr | fdb2a64cbf88211c34f8c8bd42f0f83a6b98769e | [
"Apache-2.0"
] | null | null | null | /** @file
@brief Implementation
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, 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 L... | 35.084967 | 77 | 0.618666 | ccccjason |
a3560487f88fa8005890433ff89387425209517a | 4,901 | cc | C++ | RecoEgamma/ElectronIdentification/plugins/ElectronMVAVariableHelper.cc | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | RecoEgamma/ElectronIdentification/plugins/ElectronMVAVariableHelper.cc | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | RecoEgamma/ElectronIdentification/plugins/ElectronMVAVariableHelper.cc | flodamas/cmssw | fff9de2a54e62debab81057f8d6f8c82c2fd3dd6 | [
"Apache-2.0"
] | null | null | null | #include "DataFormats/Common/interface/ValueMap.h"
#include "DataFormats/EgammaCandidates/interface/Conversion.h"
#include "RecoEgamma/EgammaTools/interface/ConversionTools.h"
#include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
#include "DataFormats/PatCandidates/interface/Electron.h"
#include "DataFormats/... | 42.25 | 115 | 0.726586 | flodamas |
a356f8b24e620fa4f66951cd003fba010cc2e2f3 | 165 | cpp | C++ | template/base_template.cpp | ganmodokix/ysn | 74cad18941102539493dda821e17e767bbecde89 | [
"MIT"
] | null | null | null | template/base_template.cpp | ganmodokix/ysn | 74cad18941102539493dda821e17e767bbecde89 | [
"MIT"
] | null | null | null | template/base_template.cpp | ganmodokix/ysn | 74cad18941102539493dda821e17e767bbecde89 | [
"MIT"
] | null | null | null | // #REQ: base_template/575 base_template/ll base_template/debug_mode base_template/gcc base_template/macro base_template/dump base_template/qin
// base template set | 55 | 143 | 0.842424 | ganmodokix |
a356faac3a60c922600466077ad7e23ace62b6b5 | 8,597 | cc | C++ | seurat/baker/framework/frame.cc | Asteur/vrhelper | 7b20ac69265ca7390a6c7f52a4f25b0fe87d0b53 | [
"Apache-2.0"
] | 819 | 2018-05-04T20:43:55.000Z | 2022-03-22T01:21:24.000Z | seurat/baker/framework/frame.cc | mebalzer/seurat | 78c1293debdd2744cba11395024812f277f613f7 | [
"Apache-2.0"
] | 35 | 2018-05-05T03:50:16.000Z | 2019-11-04T22:56:02.000Z | seurat/baker/framework/frame.cc | mebalzer/seurat | 78c1293debdd2744cba11395024812f277f613f7 | [
"Apache-2.0"
] | 88 | 2018-05-04T20:53:42.000Z | 2022-03-05T03:50:07.000Z | /*
Copyright 2017 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 35.672199 | 80 | 0.68489 | Asteur |
a35832a1fa77bf6baa136160df3e6da5e89b5f80 | 13,341 | cpp | C++ | runtime/bindings/python/src/compatibility/pyngraph/frontend/place.cpp | tpwrules/openvino | 6addc0d535e9ab0b591dcefa2f771997a477ba4f | [
"Apache-2.0"
] | 1 | 2020-11-19T15:53:18.000Z | 2020-11-19T15:53:18.000Z | runtime/bindings/python/src/compatibility/pyngraph/frontend/place.cpp | tpwrules/openvino | 6addc0d535e9ab0b591dcefa2f771997a477ba4f | [
"Apache-2.0"
] | 40 | 2020-11-17T10:09:20.000Z | 2022-02-21T13:14:20.000Z | runtime/bindings/python/src/compatibility/pyngraph/frontend/place.cpp | evkotov/openvino | edb98aeb8eedc5ee2d1cc4bc03a0c5eae3fa85c8 | [
"Apache-2.0"
] | 4 | 2021-09-29T20:44:49.000Z | 2021-10-20T13:02:12.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include "frontend_manager.hpp"
#include "frontend_manager/frontend_exceptions.hpp"
#include "frontend_manager/frontend_manager.hpp"
#include "... | 39.823881 | 118 | 0.483547 | tpwrules |
a35a58d45072ac782099a90d3585896c2b41a6c8 | 32,284 | cpp | C++ | cpp/lib/src/outstation/OutstationContext.cpp | ekra-ltd/opendnp3 | f3e49c08af770da74c53d17d840bf1a4113b50df | [
"Apache-2.0"
] | null | null | null | cpp/lib/src/outstation/OutstationContext.cpp | ekra-ltd/opendnp3 | f3e49c08af770da74c53d17d840bf1a4113b50df | [
"Apache-2.0"
] | null | null | null | cpp/lib/src/outstation/OutstationContext.cpp | ekra-ltd/opendnp3 | f3e49c08af770da74c53d17d840bf1a4113b50df | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013-2020 Automatak, LLC
*
* Licensed to Green Energy Corp (www.greenenergycorp.com) and Automatak
* LLC (www.automatak.com) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Green Energy Co... | 33.629167 | 130 | 0.665686 | ekra-ltd |
a35a9b6012e100dfab3932c6c43b02b544ea184a | 5,427 | cc | C++ | meddly/examples/test_union_mxd.cc | trolando/ParallelSaturationExperiments | ee374ed750d9d3fde1b44bf4414bef5289805090 | [
"Apache-2.0"
] | null | null | null | meddly/examples/test_union_mxd.cc | trolando/ParallelSaturationExperiments | ee374ed750d9d3fde1b44bf4414bef5289805090 | [
"Apache-2.0"
] | null | null | null | meddly/examples/test_union_mxd.cc | trolando/ParallelSaturationExperiments | ee374ed750d9d3fde1b44bf4414bef5289805090 | [
"Apache-2.0"
] | null | null | null |
/*
Meddly: Multi-terminal and Edge-valued Decision Diagram LibrarY.
Copyright (C) 2009, Iowa State University Research Foundation, Inc.
This library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Softwar... | 26.473171 | 78 | 0.642897 | trolando |
a35ae202dd6cd89c20defd71dfe73d2a9d27188b | 1,258 | cpp | C++ | src/main/cpp/wee/engine/line_renderer.cpp | emdavoca/wee | 60344dd646a2e27d1cfdb1131dd679558d9cfa2b | [
"MIT"
] | 1 | 2019-02-11T12:18:39.000Z | 2019-02-11T12:18:39.000Z | src/main/cpp/wee/engine/line_renderer.cpp | emdavoca/wee | 60344dd646a2e27d1cfdb1131dd679558d9cfa2b | [
"MIT"
] | 1 | 2021-11-11T07:27:58.000Z | 2021-11-11T07:27:58.000Z | src/main/cpp/wee/engine/line_renderer.cpp | emdavoca/wee | 60344dd646a2e27d1cfdb1131dd679558d9cfa2b | [
"MIT"
] | 1 | 2021-11-11T07:22:12.000Z | 2021-11-11T07:22:12.000Z | #include <engine/line_renderer.hpp>
#include <gfx/graphics_device.hpp>
#include <ostream>
using namespace wee;
line_renderer::line_renderer(size_t n) {
_vertices.resize(n);
_buf = new vertex_buffer(n * sizeof(line_vertex));
_valid = true;
_size = 0;
}
void line_renderer::draw(graphics_device* dev) {
... | 28.590909 | 171 | 0.644674 | emdavoca |
a35b3e5408955e4e8fcbf7778b50fabfb2303690 | 16,000 | hxx | C++ | source/code/modules/vulkan_renderer/private/vk_utility.hxx | iceshard-engine/engine | 4f2092af8d2d389ea72addc729d0c2c8d944c95c | [
"BSD-3-Clause-Clear"
] | 39 | 2019-08-17T09:08:51.000Z | 2022-02-13T10:14:19.000Z | source/code/modules/vulkan_renderer/private/vk_utility.hxx | iceshard-engine/engine | 4f2092af8d2d389ea72addc729d0c2c8d944c95c | [
"BSD-3-Clause-Clear"
] | 63 | 2020-05-22T16:09:30.000Z | 2022-01-21T14:24:05.000Z | source/code/modules/vulkan_renderer/private/vk_utility.hxx | iceshard-engine/engine | 4f2092af8d2d389ea72addc729d0c2c8d944c95c | [
"BSD-3-Clause-Clear"
] | null | null | null | #pragma once
#include <ice/pod/array.hxx>
#include <ice/log_tag.hxx>
#include <ice/log.hxx>
#include <ice/render/render_pass.hxx>
#include <ice/render/render_image.hxx>
#include <ice/render/render_resource.hxx>
#include <ice/render/render_pipeline.hxx>
#include <ice/render/render_buffer.hxx>
#include "vk_include.hxx"... | 35.087719 | 109 | 0.66975 | iceshard-engine |
a35c0bcccfc6c18450ee1dbd55c8b5211f79001a | 6,350 | cpp | C++ | src/qt/qtwebkit/Source/WebCore/css/CSSSelectorList.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/WebCore/css/CSSSelectorList.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebCore/css/CSSSelectorList.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2022-02-18T10:41:38.000Z | 2022-02-18T10:41:38.000Z | /*
* Copyright (C) 2008, 2012, 2013 Apple Inc. All rights reserved.
* Copyright (C) 2009 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:
* 1. Redistributions of source code must... | 33.957219 | 140 | 0.687402 | viewdy |
a35d2a8ead32c685ceac436fe10c058f6c28f0c6 | 25,973 | cpp | C++ | src/trunk/libs/seiscomp3/datamodel/dataextent.cpp | damb/seiscomp3 | 560a8f7ae43737ae7826fb1ffca76a9f601cf9dc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 94 | 2015-02-04T13:57:34.000Z | 2021-11-01T15:10:06.000Z | src/trunk/libs/seiscomp3/datamodel/dataextent.cpp | damb/seiscomp3 | 560a8f7ae43737ae7826fb1ffca76a9f601cf9dc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 233 | 2015-01-28T15:16:46.000Z | 2021-08-23T11:31:37.000Z | src/trunk/libs/seiscomp3/datamodel/dataextent.cpp | damb/seiscomp3 | 560a8f7ae43737ae7826fb1ffca76a9f601cf9dc | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 95 | 2015-02-13T15:53:30.000Z | 2021-11-02T14:54:54.000Z | /***************************************************************************
* Copyright (C) by GFZ Potsdam *
* *
* You can redistribute and/or modify this program under the *
* terms o... | 31.67439 | 362 | 0.468756 | damb |
a35e46d2d6858945d6329147a326157d8f1cbf03 | 14,894 | hpp | C++ | include/rovio/featureTracker.hpp | marco-tranzatto/rovio | 3ec48b14e24f04295020fdacea90f8ac2f2399b0 | [
"BSD-3-Clause"
] | 1 | 2021-02-08T02:32:25.000Z | 2021-02-08T02:32:25.000Z | include/rovio/featureTracker.hpp | marco-tranzatto/rovio | 3ec48b14e24f04295020fdacea90f8ac2f2399b0 | [
"BSD-3-Clause"
] | null | null | null | include/rovio/featureTracker.hpp | marco-tranzatto/rovio | 3ec48b14e24f04295020fdacea90f8ac2f2399b0 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2014, Autonomous Systems Lab
* 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... | 56.203774 | 233 | 0.690748 | marco-tranzatto |
a35f72d3ebf33c213a9ac1056c9adfdda93b07d5 | 1,541 | cpp | C++ | Ray/Ray/Sphere.cpp | vsiles/RayEngine | 332f5935a429785b46df71c8a2799bfc37f2f8c0 | [
"MIT"
] | 1 | 2019-05-15T19:36:55.000Z | 2019-05-15T19:36:55.000Z | Ray/Ray/Sphere.cpp | vsiles/RayEngine | 332f5935a429785b46df71c8a2799bfc37f2f8c0 | [
"MIT"
] | null | null | null | Ray/Ray/Sphere.cpp | vsiles/RayEngine | 332f5935a429785b46df71c8a2799bfc37f2f8c0 | [
"MIT"
] | null | null | null | #include <cmath>
#include "constants.h"
#include "Sphere.h"
Sphere::Sphere() : center()
{
radius = 0.0;
sqrRadius = 0.0;
revRadius = 0.0;
}
Sphere::Sphere(const Vector3& center, double radius)
{
radius = fabs(radius);
this->center = center;
this->radius = radius;
sqrRadius = radius * radius;
if (radius < eps... | 15.107843 | 57 | 0.621025 | vsiles |
a35fe2158aa15578d61681e208859bae4aa6bd14 | 3,202 | cpp | C++ | tools/pb2tarscpp/CppPlugin.cpp | cSingleboy/TarsCpp | 17b228b660d540baa1a93215fc007c5131a2fc68 | [
"BSD-3-Clause"
] | 386 | 2018-09-11T06:17:10.000Z | 2022-03-31T05:59:41.000Z | tools/pb2tarscpp/CppPlugin.cpp | cSingleboy/TarsCpp | 17b228b660d540baa1a93215fc007c5131a2fc68 | [
"BSD-3-Clause"
] | 128 | 2018-09-12T03:43:33.000Z | 2022-03-24T10:03:54.000Z | tools/pb2tarscpp/CppPlugin.cpp | cSingleboy/TarsCpp | 17b228b660d540baa1a93215fc007c5131a2fc68 | [
"BSD-3-Clause"
] | 259 | 2018-09-19T08:50:37.000Z | 2022-03-11T07:17:56.000Z | // Generates C++ tars service interface out of Protobuf IDL.
//
// This is a Proto2 compiler plugin. See net/proto2/compiler/proto/plugin.proto
// and net/proto2/compiler/public/plugin.h for more information on plugins.
#include <iostream>
#include <google/protobuf/compiler/plugin.h>
#include <google/protobuf/compi... | 29.376147 | 86 | 0.630231 | cSingleboy |
a360822d4f32cd2146a959f0d9614f8587e7dea0 | 6,214 | cpp | C++ | 3rdparty/poco/Data/SQLite/src/Extractor.cpp | wohaaitinciu/zpublic | 0e4896b16e774d2f87e1fa80f1b9c5650b85c57e | [
"Unlicense"
] | 50 | 2015-01-07T01:54:54.000Z | 2021-01-15T00:41:48.000Z | 3rdparty/poco/Data/SQLite/src/Extractor.cpp | lib1256/zpublic | 64c2be9ef1abab878288680bb58122dcc25df81d | [
"Unlicense"
] | 1 | 2015-05-26T07:40:19.000Z | 2015-05-26T07:40:19.000Z | 3rdparty/poco/Data/SQLite/src/Extractor.cpp | lib1256/zpublic | 64c2be9ef1abab878288680bb58122dcc25df81d | [
"Unlicense"
] | 39 | 2015-01-07T02:03:15.000Z | 2021-01-15T00:41:50.000Z | //
// Extractor.cpp
//
// $Id: //poco/1.4/Data/SQLite/src/Extractor.cpp#1 $
//
// Library: Data/SQLite
// Package: SQLite
// Module: Extractor
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
... | 19.980707 | 90 | 0.68233 | wohaaitinciu |
a36291e7e764cc245447d0eaa95cca937feb58fa | 3,350 | cpp | C++ | nit3dyne/graphics/mesh_animated.cpp | th3-z/nit3dyne | 38b0f362ad3ddd924b4fd11b91d9e5d31fda0fbe | [
"MIT"
] | 1 | 2022-03-06T15:03:48.000Z | 2022-03-06T15:03:48.000Z | nit3dyne/graphics/mesh_animated.cpp | th3-z/nit3dyne | 38b0f362ad3ddd924b4fd11b91d9e5d31fda0fbe | [
"MIT"
] | null | null | null | nit3dyne/graphics/mesh_animated.cpp | th3-z/nit3dyne | 38b0f362ad3ddd924b4fd11b91d9e5d31fda0fbe | [
"MIT"
] | null | null | null | #include "mesh_animated.h"
namespace n3d {
MeshAnimated::MeshAnimated(const std::string &resourceName) : Mesh(resourceName, MeshType::ANIMATED) {
this->bindModel();
for (auto &animation : this->gltf.animations) {
this->animations.emplace_back(Animation(this->gltf, animation, this->skin));
}
... | 31.603774 | 119 | 0.645075 | th3-z |
a3637d25bc9ac46b8d41d5d327ac8e9c2c200d4a | 22,243 | cpp | C++ | SSCode/SSImportHIP.cpp | ultrapre/SSCore | c7d6ff221750bab051df32c7efc5798e93924100 | [
"IJG",
"FSFAP"
] | 2 | 2020-11-23T09:08:23.000Z | 2021-01-09T13:15:52.000Z | SSCode/SSImportHIP.cpp | ultrapre/SSCore | c7d6ff221750bab051df32c7efc5798e93924100 | [
"IJG",
"FSFAP"
] | null | null | null | SSCode/SSImportHIP.cpp | ultrapre/SSCore | c7d6ff221750bab051df32c7efc5798e93924100 | [
"IJG",
"FSFAP"
] | null | null | null | // SSHipparcos.cpp
// SSCore
//
// Created by Tim DeBenedictis on 3/23/20.
// Copyright © 2020 Southern Stars. All rights reserved.
#include <algorithm>
#include <iostream>
#include <fstream>
#include "SSCoordinates.hpp"
#include "SSImportHIP.hpp"
// Cleans up some oddball conventions in the Hipparcos star name iden... | 34.592535 | 212 | 0.577575 | ultrapre |
a363a6ce44cabb0e7eeeb920adcbf242c92c964c | 720 | cc | C++ | uva/etc/10405.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | 1 | 2019-05-12T23:41:00.000Z | 2019-05-12T23:41:00.000Z | uva/etc/10405.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | uva/etc/10405.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using ii = pair<int,int>;
using ll = long long;
using llu = unsigned long long;
const int INF = numeric_limits<int>::max();
const int MAX = 1010;
int main() {
cout.sync_with_stdio(false);
int m[MAX][MAX];
string a, b;
while (getline(cin, a)... | 22.5 | 46 | 0.472222 | metaflow |
a365de8b62125d4718d2148ffa7f3700363483bc | 23,749 | cpp | C++ | src/lib/mdns/Advertiser_ImplMinimalMdns.cpp | neonsoftware/connectedhomeip | 79da4a5507f0a3435174efdcaae4ad7a1f54925c | [
"Apache-2.0"
] | 1 | 2021-05-20T02:29:17.000Z | 2021-05-20T02:29:17.000Z | src/lib/mdns/Advertiser_ImplMinimalMdns.cpp | neonsoftware/connectedhomeip | 79da4a5507f0a3435174efdcaae4ad7a1f54925c | [
"Apache-2.0"
] | null | null | null | src/lib/mdns/Advertiser_ImplMinimalMdns.cpp | neonsoftware/connectedhomeip | 79da4a5507f0a3435174efdcaae4ad7a1f54925c | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2020 Project CHIP 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 requir... | 32.984722 | 126 | 0.643943 | neonsoftware |
a3665bd09ffc7ad389af7bffee52732af30c43ca | 293 | cpp | C++ | C语言程序设计基础/56. 【大学】求表示方法.cpp | xiabee/BIT-CS | 5d8d8331e6b9588773991a872c259e430ef1eae1 | [
"Apache-2.0"
] | 63 | 2021-01-10T02:32:17.000Z | 2022-03-30T04:08:38.000Z | C语言程序设计基础/56. 【大学】求表示方法.cpp | xiabee/BIT-CS | 5d8d8331e6b9588773991a872c259e430ef1eae1 | [
"Apache-2.0"
] | 2 | 2021-06-09T05:38:58.000Z | 2021-12-14T13:53:54.000Z | C语言程序设计基础/56. 【大学】求表示方法.cpp | xiabee/BIT-CS | 5d8d8331e6b9588773991a872c259e430ef1eae1 | [
"Apache-2.0"
] | 20 | 2021-01-12T11:49:36.000Z | 2022-03-26T11:04:58.000Z | #include <stdio.h>
int dic(int n, int m)
{
if (m > n) return dic(n, n);
else if (m == 1 || n == 1) return 1;
else if (m == n) return dic(n, m-1) + 1;
else return dic(n, m-1) + dic(n-m, m);
}
int main()
{
int n, m;
scanf ("%d %d", &n, &m);
int tot = dic(n, m);
printf ("%d\n", tot);
} | 19.533333 | 42 | 0.494881 | xiabee |
a36690f3aa15beeeeb55754f4d681b24773c05b5 | 16,576 | cpp | C++ | src/oc/axis.cpp | shhong/nrn | 0d64e94330c6072529e31033d579b270f742454e | [
"BSD-3-Clause"
] | 203 | 2018-05-03T11:02:11.000Z | 2022-03-31T14:18:31.000Z | src/oc/axis.cpp | shhong/nrn | 0d64e94330c6072529e31033d579b270f742454e | [
"BSD-3-Clause"
] | 1,228 | 2018-04-25T09:00:48.000Z | 2022-03-31T21:42:21.000Z | src/oc/axis.cpp | shhong/nrn | 0d64e94330c6072529e31033d579b270f742454e | [
"BSD-3-Clause"
] | 134 | 2018-04-23T09:14:13.000Z | 2022-03-16T08:57:11.000Z | #include <../../nrnconf.h>
/* /local/src/master/nrn/src/oc/axis.cpp,v 1.2 1999/01/04 13:04:55 hines Exp */
/*
axis.cpp,v
* Revision 1.2 1999/01/04 13:04:55 hines
* fabs now from include math.h
*
* Revision 1.1.1.1 1994/10/12 17:22:06 hines
* NEURON 3.0 distribution
*
* Revision 2.63 1993/11/04 15:55:48 ... | 24.814371 | 79 | 0.647744 | shhong |
a36749ba0d32cb34785213f5d46493652855775c | 2,333 | cpp | C++ | Google/KickStart/2020/Round A/Plates.cpp | Code-With-Aagam/competitive-programming | 610520cc396fb13a03c606b5fb6739cfd68cc444 | [
"MIT"
] | 2 | 2022-02-08T12:37:41.000Z | 2022-03-09T03:48:56.000Z | KickStart/2020/Round A/Plates.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | KickStart/2020/Round A/Plates.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | #pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("fast-math")
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_... | 23.09901 | 108 | 0.557222 | Code-With-Aagam |
a368240ab45837dce2ecb1fb5c9e5c5f33f6ea40 | 1,333 | cpp | C++ | test/projective/homography_decomposition.cpp | Rookfighter/cv-eigen | 0387bf62e22e9d9fb86e6fa03e05bc8250c7d651 | [
"MIT"
] | 8 | 2019-10-02T04:21:46.000Z | 2020-12-08T07:56:04.000Z | test/projective/homography_decomposition.cpp | Rookfighter/cv-eigen | 0387bf62e22e9d9fb86e6fa03e05bc8250c7d651 | [
"MIT"
] | 8 | 2019-10-21T12:13:58.000Z | 2021-08-01T15:14:28.000Z | test/projective/homography_decomposition.cpp | Rookfighter/cv-eigen | 0387bf62e22e9d9fb86e6fa03e05bc8250c7d651 | [
"MIT"
] | 2 | 2019-10-02T04:17:24.000Z | 2020-12-08T07:56:11.000Z | /* homography_decomposition.cpp
*
* Author: Fabian Meyer
* Created On: 25 Sep 2019
*/
#include "assert/eigen_require.h"
#include <cve/projective/homography_decomposition.h>
using namespace cve;
typedef double Scalar;
typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> Matrix;
typedef Eigen::Matrix<Scal... | 25.150943 | 69 | 0.603151 | Rookfighter |
a3698023d6ad85298f41646dbc762cd9dcb3ecca | 3,406 | hpp | C++ | test/framework/integration_framework/fake_peer/proposal_storage.hpp | IvanTyulyandin/iroha | 442a08325c7b808236569600653370e28ec5eff6 | [
"Apache-2.0"
] | 24 | 2016-09-26T17:11:46.000Z | 2020-03-03T13:42:58.000Z | test/framework/integration_framework/fake_peer/proposal_storage.hpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | 11 | 2016-10-13T10:09:55.000Z | 2019-06-13T08:49:11.000Z | test/framework/integration_framework/fake_peer/proposal_storage.hpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | 4 | 2016-09-27T13:18:28.000Z | 2019-08-05T20:47:15.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef INTEGRATION_FRAMEWORK_FAKE_PEER_PROPOSAL_STORAGE_HPP_
#define INTEGRATION_FRAMEWORK_FAKE_PEER_PROPOSAL_STORAGE_HPP_
#include <map>
#include <mutex>
#include <shared_mutex>
#include <unordered_set>
#include "b... | 35.479167 | 80 | 0.70552 | IvanTyulyandin |
a36a2b1a6c17399687ad1e862b22c058c4d5370f | 10,248 | cpp | C++ | src/Werk/Application/ApplicationContext.cpp | mish24/werk | 2f8822842fb8f68a4402775d1d3b41021b5a9945 | [
"MIT"
] | null | null | null | src/Werk/Application/ApplicationContext.cpp | mish24/werk | 2f8822842fb8f68a4402775d1d3b41021b5a9945 | [
"MIT"
] | null | null | null | src/Werk/Application/ApplicationContext.cpp | mish24/werk | 2f8822842fb8f68a4402775d1d3b41021b5a9945 | [
"MIT"
] | null | null | null | #include "ApplicationContext.hpp"
#include <boost/algorithm/string.hpp>
#include <cstdio>
#include <signal.h>
#include <unistd.h>
#include "Werk/Commands/WriteCommandLogAction.hpp"
#include "Werk/Console/ConsoleCommandReceiver.hpp"
#include "Werk/Console/IpcConsoleServer.hpp"
#include "Werk/OS/Signals.hpp"
#include "... | 35.337931 | 185 | 0.721116 | mish24 |
a36adcf045573fbf2aeebd4bf9e3ba2a9b37455b | 2,718 | hpp | C++ | sciplot/specs/fontspecs.hpp | CaeruleusAqua/sciplot | 4470cbd43a08b4caa897631159a47d35d72f5a18 | [
"MIT"
] | 1 | 2021-01-28T07:46:26.000Z | 2021-01-28T07:46:26.000Z | sciplot/specs/fontspecs.hpp | CaeruleusAqua/sciplot | 4470cbd43a08b4caa897631159a47d35d72f5a18 | [
"MIT"
] | null | null | null | sciplot/specs/fontspecs.hpp | CaeruleusAqua/sciplot | 4470cbd43a08b4caa897631159a47d35d72f5a18 | [
"MIT"
] | null | null | null | // sciplot - a modern C++ scientific plotting library powered by gnuplot
// https://github.com/sciplot/sciplot
//
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
//
// Copyright (c) 2018 Allan Leal
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this soft... | 31.976471 | 81 | 0.708609 | CaeruleusAqua |
a36bdd00a1c0f8574bcf456b6d803374aa4c0c04 | 1,301 | hpp | C++ | inference-engine/src/vpu/common/include/vpu/ngraph/operations/out_shape_of_reshape.hpp | calvinfeng/openvino | 11f591c16852637506b1b40d083b450e56d0c8ac | [
"Apache-2.0"
] | null | null | null | inference-engine/src/vpu/common/include/vpu/ngraph/operations/out_shape_of_reshape.hpp | calvinfeng/openvino | 11f591c16852637506b1b40d083b450e56d0c8ac | [
"Apache-2.0"
] | 16 | 2021-07-20T13:00:28.000Z | 2022-02-21T13:10:23.000Z | inference-engine/src/vpu/common/include/vpu/ngraph/operations/out_shape_of_reshape.hpp | calvinfeng/openvino | 11f591c16852637506b1b40d083b450e56d0c8ac | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <ngraph/node.hpp>
#include <ngraph/op/op.hpp>
#include "ngraph/runtime/host_tensor.hpp"
namespace ngraph { namespace vpu { namespace op {
class OutShapeOfReshape : public ngraph::op::Op {
public:
static const... | 29.568182 | 98 | 0.730208 | calvinfeng |
a36be634f14001c02591ca38e323da68ecdd9c5d | 19,538 | cpp | C++ | zebROS_ws/src/behaviors/src/autoInterpreterServer.cpp | mattwalstra/2019RobotCode | 44f2543876b95428a68dc84820f931571244e49d | [
"BSD-3-Clause"
] | 4 | 2020-11-25T18:30:33.000Z | 2021-11-14T04:50:16.000Z | zebROS_ws/src/behaviors/src/autoInterpreterServer.cpp | mattwalstra/2019RobotCode | 44f2543876b95428a68dc84820f931571244e49d | [
"BSD-3-Clause"
] | 19 | 2021-03-20T01:10:04.000Z | 2022-01-17T22:51:05.000Z | zebROS_ws/src/behaviors/src/autoInterpreterServer.cpp | mattwalstra/2019RobotCode | 44f2543876b95428a68dc84820f931571244e49d | [
"BSD-3-Clause"
] | 3 | 2019-10-29T01:13:09.000Z | 2022-01-14T21:53:06.000Z | #include "ros/ros.h"
#include <atomic>
#include <realtime_tools/realtime_buffer.h>
#include "actionlib/client/simple_action_client.h"
#include "actionlib/client/terminal_state.h"
#include "actionlib/server/simple_action_server.h"
#include "behaviors/RobotAction.h"
#include "behaviors/IntakeAction.h"
#include "behavio... | 30.291473 | 151 | 0.648838 | mattwalstra |
a36ccfc38bfe00cb8ecbd2bbe2bb15c5fee78fa9 | 23,331 | cpp | C++ | src/md/compiler/regmeta_imetadatatables.cpp | elinor-fung/coreclr | c1801e85024add717f518feb6a9caed60d54500f | [
"MIT"
] | 159 | 2020-06-17T01:01:55.000Z | 2022-03-28T10:33:37.000Z | src/md/compiler/regmeta_imetadatatables.cpp | elinor-fung/coreclr | c1801e85024add717f518feb6a9caed60d54500f | [
"MIT"
] | 19 | 2020-06-27T01:16:35.000Z | 2022-02-06T20:33:24.000Z | src/md/compiler/regmeta_imetadatatables.cpp | elinor-fung/coreclr | c1801e85024add717f518feb6a9caed60d54500f | [
"MIT"
] | 19 | 2020-05-21T08:18:20.000Z | 2021-06-29T01:13:13.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
// File: RegMeta_IMetaDataTables.cpp
//
//
// Methods of code:RegMeta class which implement public API interfa... | 32.404167 | 107 | 0.604903 | elinor-fung |
a36da3c285054b6a4e05951f39349f0e17ad5030 | 1,580 | hpp | C++ | libmeasure/gpu_nvidia_tesla_kepler/CMeasureNVMLThread.hpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | 3 | 2016-01-20T13:41:52.000Z | 2018-04-10T17:50:49.000Z | libmeasure/gpu_nvidia_tesla_kepler/CMeasureNVMLThread.hpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | null | null | null | libmeasure/gpu_nvidia_tesla_kepler/CMeasureNVMLThread.hpp | akiml/ampehre | 383a863442574ea2e6a6ac853a9b99e153daeccf | [
"BSD-2-Clause"
] | null | null | null | /*
* CMeasureNVMLThread.hpp
*
* Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Christoph Knorr <cknorr@mail.uni-paderborn.de>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*
* encoding: UTF-8
* tab si... | 30.980392 | 124 | 0.703797 | akiml |
a36dd2b333032bb1e519d87eba8573eb68244b43 | 103,063 | cpp | C++ | src/game/server/gameinterface.cpp | edunad/alyxStory | f42c62a0f74273e907a64beef8a838d3807e1b97 | [
"Unlicense"
] | null | null | null | src/game/server/gameinterface.cpp | edunad/alyxStory | f42c62a0f74273e907a64beef8a838d3807e1b97 | [
"Unlicense"
] | null | null | null | src/game/server/gameinterface.cpp | edunad/alyxStory | f42c62a0f74273e907a64beef8a838d3807e1b97 | [
"Unlicense"
] | null | null | null | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: encapsulates and implements all the accessing of the game dll from external
// sources (only the engine at the time of writing)
// This files ONLY contains functions and data necessary to build an interface
// to external ... | 29.666955 | 220 | 0.680778 | edunad |
a373700a84b443190f647ec9bdc990a95263fc21 | 5,211 | cpp | C++ | test/test11.cpp | tjachmann/utest.h | aeb78834480993866fc200f496558cc2c2436fe3 | [
"Unlicense"
] | 482 | 2015-12-11T16:20:40.000Z | 2022-03-31T05:26:22.000Z | test/test11.cpp | tjachmann/utest.h | aeb78834480993866fc200f496558cc2c2436fe3 | [
"Unlicense"
] | 43 | 2019-08-09T22:23:52.000Z | 2022-03-01T20:22:16.000Z | test/test11.cpp | tjachmann/utest.h | aeb78834480993866fc200f496558cc2c2436fe3 | [
"Unlicense"
] | 51 | 2016-01-13T11:55:51.000Z | 2022-02-17T14:29:07.000Z | // This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, commercial or non-commercial, and by any
// means.
//
// In jurisdictions ... | 21.987342 | 78 | 0.672232 | tjachmann |
a374d5bbbe78d1af6519804fdbb74558d0d14d55 | 5,184 | cpp | C++ | omron_b5l_a/src/publisher_member_function.cpp | deepinbubblegum/b5l_TOFsensor_for_ROS2 | 92c28f3ddedb821b4036127678a199072aefe825 | [
"Apache-2.0"
] | 1 | 2021-11-22T14:54:39.000Z | 2021-11-22T14:54:39.000Z | omron_b5l_a/src/publisher_member_function.cpp | deepinbubblegum/b5l_TOFsensor_for_ROS2 | 92c28f3ddedb821b4036127678a199072aefe825 | [
"Apache-2.0"
] | 1 | 2021-08-13T00:57:49.000Z | 2021-08-13T00:57:49.000Z | omron_b5l_a/src/publisher_member_function.cpp | deepinbubblegum/b5l_TOFsensor_for_ROS2 | 92c28f3ddedb821b4036127678a199072aefe825 | [
"Apache-2.0"
] | 2 | 2021-03-05T14:29:10.000Z | 2022-01-20T06:40:53.000Z | /*---------------------------------------------------------------------------*/
/* Copyright(C) 2019-2020 OMRON Corporation */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
... | 34.105263 | 101 | 0.495756 | deepinbubblegum |
a3767cb0a2d3add3a8ef2fc52db1dcddb39f33d7 | 27,211 | cpp | C++ | arangod/RestHandler/RestVocbaseBaseHandler.cpp | snykiotcubedev/arangodb-3.7.6 | fce8f85f1c2f070c8e6a8e76d17210a2117d3833 | [
"Apache-2.0"
] | null | null | null | arangod/RestHandler/RestVocbaseBaseHandler.cpp | snykiotcubedev/arangodb-3.7.6 | fce8f85f1c2f070c8e6a8e76d17210a2117d3833 | [
"Apache-2.0"
] | 109 | 2022-01-06T07:05:24.000Z | 2022-03-21T01:39:35.000Z | arangod/RestHandler/RestVocbaseBaseHandler.cpp | snykiotcubedev/arangodb-3.7.6 | fce8f85f1c2f070c8e6a8e76d17210a2117d3833 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 40.252959 | 136 | 0.501893 | snykiotcubedev |
a379d0c0fd85c3a32fdff6a56a0b1c7cb20bb5ef | 3,907 | cpp | C++ | test/imu.cpp | uos/hatsdf_slam | f30f69c0f6b9286cd4fa51ca17f0e2d423ca4682 | [
"BSD-3-Clause"
] | 5 | 2021-05-21T07:52:50.000Z | 2022-02-09T04:26:31.000Z | test/imu.cpp | uos/hatsdf_slam | f30f69c0f6b9286cd4fa51ca17f0e2d423ca4682 | [
"BSD-3-Clause"
] | null | null | null | test/imu.cpp | uos/hatsdf_slam | f30f69c0f6b9286cd4fa51ca17f0e2d423ca4682 | [
"BSD-3-Clause"
] | 1 | 2022-02-09T04:26:33.000Z | 2022-02-09T04:26:33.000Z | #include "catch2_config.h"
#include <msg/imu.h>
#include <util/filter.h>
using namespace fastsense;
using namespace fastsense::util;
#define REQUIRE_IMU(msg, val) \
REQUIRE(msg.acc(0) == Approx(val)); \
REQUIRE(msg.acc(1) == Approx(val)); \
REQUIRE(msg.acc(2) == Approx(val)); \
REQUIRE(msg.ang(0) == A... | 31.007937 | 146 | 0.609931 | uos |
a37b1edcef6f3db71b01218a180dc14bf92cc17d | 3,907 | hpp | C++ | include/range/v3/algorithm/minmax_element.hpp | mydeveloperday/range-v3 | 66c9f5fb528f55b75c5737199bd7bd82a39b8613 | [
"MIT"
] | 1 | 2019-07-21T02:51:05.000Z | 2019-07-21T02:51:05.000Z | include/range/v3/algorithm/minmax_element.hpp | mydeveloperday/range-v3 | 66c9f5fb528f55b75c5737199bd7bd82a39b8613 | [
"MIT"
] | null | null | null | include/range/v3/algorithm/minmax_element.hpp | mydeveloperday/range-v3 | 66c9f5fb528f55b75c5737199bd7bd82a39b8613 | [
"MIT"
] | null | null | null | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2014-present
//
// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Project home: https://github.com/ericniebler... | 35.518182 | 90 | 0.545943 | mydeveloperday |
a37b95ceddd85e6528c2d8abcc637d1579eae73f | 2,315 | hpp | C++ | abcd/wallet/Wallet.hpp | Airbitz/airbitz-core-private | dc6742a5622f6d8bae750e60fcee3bb473bc67ce | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-05-28T02:52:00.000Z | 2021-05-28T02:52:00.000Z | abcd/wallet/Wallet.hpp | Airbitz/airbitz-core-private | dc6742a5622f6d8bae750e60fcee3bb473bc67ce | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | abcd/wallet/Wallet.hpp | Airbitz/airbitz-core-private | dc6742a5622f6d8bae750e60fcee3bb473bc67ce | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | /*
* Copyright (c) 2015, Airbitz, Inc.
* All rights reserved.
*
* See the LICENSE file for more information.
*/
#ifndef ABCD_WALLET_WALLET_HPP
#define ABCD_WALLET_WALLET_HPP
#include "../WalletPaths.hpp"
#include "../util/Data.hpp"
#include "../util/Status.hpp"
#include "AddressDb.hpp"
#include "TxDb.hpp"
#inclu... | 19.956897 | 73 | 0.6527 | Airbitz |
a37db42f3bb6cddee63291b6110b491cc592d6d7 | 1,526 | cpp | C++ | src/tools/tools/src/assets/importers/codegen_importer.cpp | lye/halley | 16b6c9783e4b21377f902a9d02366c1f19450a21 | [
"Apache-2.0"
] | 1 | 2019-11-27T20:23:45.000Z | 2019-11-27T20:23:45.000Z | src/tools/tools/src/assets/importers/codegen_importer.cpp | lye/halley | 16b6c9783e4b21377f902a9d02366c1f19450a21 | [
"Apache-2.0"
] | null | null | null | src/tools/tools/src/assets/importers/codegen_importer.cpp | lye/halley | 16b6c9783e4b21377f902a9d02366c1f19450a21 | [
"Apache-2.0"
] | null | null | null | #include "codegen_importer.h"
#include "halley/tools/codegen/codegen.h"
#include "halley/tools/assets/import_assets_database.h"
using namespace Halley;
String CodegenImporter::getAssetId(const Path& file, const Maybe<Metadata>& metadata) const
{
return ":codegen";
}
void CodegenImporter::import(const ImportingAsset... | 29.346154 | 108 | 0.700524 | lye |
a37f7c3cc14918f2e9da1d69fb355ce6cb374cb3 | 8,966 | hpp | C++ | tsig/signal.hpp | tprk77/tsig | 33e9365b6d2b15c3a363e2f1ccde400e889a5f69 | [
"MIT"
] | null | null | null | tsig/signal.hpp | tprk77/tsig | 33e9365b6d2b15c3a363e2f1ccde400e889a5f69 | [
"MIT"
] | null | null | null | tsig/signal.hpp | tprk77/tsig | 33e9365b6d2b15c3a363e2f1ccde400e889a5f69 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Tim Perkins
// 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,
// ... | 27.087613 | 100 | 0.73511 | tprk77 |
a384ba3619b105548dc3cc788e75488429287091 | 1,347 | hpp | C++ | include/CL/sycl/allocator.hpp | infinitesnow/InceptionCL | e3d3a6218e551d42dfcead4f121cec294d50d85c | [
"Unlicense"
] | 2 | 2017-10-05T13:13:41.000Z | 2019-05-15T19:20:49.000Z | include/CL/sycl/allocator.hpp | infinitesnow/InceptionCL | e3d3a6218e551d42dfcead4f121cec294d50d85c | [
"Unlicense"
] | null | null | null | include/CL/sycl/allocator.hpp | infinitesnow/InceptionCL | e3d3a6218e551d42dfcead4f121cec294d50d85c | [
"Unlicense"
] | null | null | null | #ifndef TRISYCL_SYCL_ALLOCATOR_HPP
#define TRISYCL_SYCL_ALLOCATOR_HPP
/** \file The OpenCL SYCL allocator
Ronan at Keryell point FR
This file is distributed under the University of Illinois Open Source
License. See LICENSE.TXT for details.
*/
#include <memory>
namespace cl {
namespace sycl {
/** \addt... | 20.409091 | 73 | 0.708983 | infinitesnow |
a3867ae67b45e511543224bbde1a8dc5fea2927f | 7,814 | ipp | C++ | deps/boost-1.47.0/boost/test/impl/unit_test_main.ipp | basho-labs/riak-cxx-client | 88f7196f8c30f35ec784c6e051e82082927acc77 | [
"Apache-2.0"
] | 8 | 2015-11-05T15:28:34.000Z | 2021-08-03T10:23:07.000Z | deps/boost-1.47.0/boost/test/impl/unit_test_main.ipp | basho-labs/riak-cxx-client | 88f7196f8c30f35ec784c6e051e82082927acc77 | [
"Apache-2.0"
] | 3 | 2015-03-31T12:26:25.000Z | 2015-04-15T10:50:18.000Z | deps/boost-1.47.0/boost/test/impl/unit_test_main.ipp | basho-labs/riak-cxx-client | 88f7196f8c30f35ec784c6e051e82082927acc77 | [
"Apache-2.0"
] | 3 | 2017-05-01T01:21:48.000Z | 2020-10-20T13:13:40.000Z | // (C) Copyright Gennadiy Rozental 2001-2008.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version ... | 31.635628 | 131 | 0.548759 | basho-labs |
a388af8cb175fc2b3c509e22bbc2b5dd2c68b26a | 1,871 | cpp | C++ | arkana-lib/crc32/crc32.cpp | ttsuki/arkana | 3681f32b1ebe7f14aee03d7abc88467672aec573 | [
"MIT"
] | null | null | null | arkana-lib/crc32/crc32.cpp | ttsuki/arkana | 3681f32b1ebe7f14aee03d7abc88467672aec573 | [
"MIT"
] | null | null | null | arkana-lib/crc32/crc32.cpp | ttsuki/arkana | 3681f32b1ebe7f14aee03d7abc88467672aec573 | [
"MIT"
] | null | null | null | /// @file
/// @brief arkana::crc32
/// - An implementation of CRC32
/// @author Copyright(c) 2020 ttsuki
///
/// This software is released under the MIT License.
/// https://opensource.org/licenses/MIT
#include "../crc32.h"
#include <arkana/bits/cpuid.h>
namespace arkana::crc32
{
crc32_value_t calculate_crc32... | 31.711864 | 119 | 0.683057 | ttsuki |
a38cf110723022916273a1c571beabfefc7cfaf0 | 1,452 | cpp | C++ | codeforces/958 A2. Death Stars (medium) hasing .cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | 1 | 2021-11-22T02:26:43.000Z | 2021-11-22T02:26:43.000Z | codeforces/958 A2. Death Stars (medium) hasing .cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | null | null | null | codeforces/958 A2. Death Stars (medium) hasing .cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
#define MX 1100
#define double long double
char a[2020] [202], b[202] [2020];
map<ull, int> mp;
ull base =257;
int main()
{
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
// std::i... | 21.043478 | 46 | 0.391873 | priojeetpriyom |
a38eccb952d70edc3b07f4e3c78016ceb414ba67 | 21,648 | cc | C++ | examples/comps/egl_gl_fbo.cc | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | examples/comps/egl_gl_fbo.cc | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | examples/comps/egl_gl_fbo.cc | halleyzhao/alios-mm | bef2a6de0c207a5ae9bf4f63de2e562df864aa3e | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2017 Alibaba Group Holding Limited. 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
*
* ... | 33 | 173 | 0.633315 | halleyzhao |
a38ef7ac4e696c5480e312c8ac725e5cbbd7ab5d | 1,567 | hpp | C++ | src/engine/graphics/camera/FPSCamera.hpp | raresica1234/Helltooth | 6d30c4567c2c4a491bc72fa89a268a476ffb3e4c | [
"MIT"
] | 10 | 2016-04-27T20:18:26.000Z | 2018-01-21T09:54:37.000Z | src/engine/graphics/camera/FPSCamera.hpp | Helltooth-Engine/Helltooth | 6d30c4567c2c4a491bc72fa89a268a476ffb3e4c | [
"MIT"
] | 1 | 2020-02-27T07:28:19.000Z | 2020-02-27T07:28:19.000Z | src/engine/graphics/camera/FPSCamera.hpp | Helltooth-Engine/Helltooth | 6d30c4567c2c4a491bc72fa89a268a476ffb3e4c | [
"MIT"
] | 1 | 2018-09-04T19:21:00.000Z | 2018-09-04T19:21:00.000Z | /*
* Copyright (c) 2020 Rareș-Nicolaie Ciorbă
*
* 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, mer... | 34.065217 | 81 | 0.738354 | raresica1234 |
a38f55078977f22bb03363c120d3b73bbff097e5 | 6,672 | cc | C++ | mars/comm/memdbg.cc | jonetomtom/mars | 3f11714e0aee826eb12bfd52496b59675125204a | [
"BSD-2-Clause",
"Apache-2.0"
] | 17,104 | 2016-12-28T07:45:54.000Z | 2022-03-31T07:02:52.000Z | mars/comm/memdbg.cc | jonetomtom/mars | 3f11714e0aee826eb12bfd52496b59675125204a | [
"BSD-2-Clause",
"Apache-2.0"
] | 964 | 2016-12-28T08:13:33.000Z | 2022-03-31T13:36:40.000Z | mars/comm/memdbg.cc | pengjinning/mars | 227aff64a5b819555091a7d6eae6727701e9fff0 | [
"Apache-2.0",
"BSD-2-Clause"
] | 3,568 | 2016-12-28T07:47:46.000Z | 2022-03-31T02:13:19.000Z | // Tencent is pleased to support the open source community by making Mars available.
// Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
// Licensed under the MIT License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the Licens... | 29.919283 | 128 | 0.568795 | jonetomtom |
a390fe2c541dcee903a3f33284f3ffdf862a0e56 | 11,527 | cpp | C++ | src/wallet/wallettool.cpp | runcitadel/bitcoin | 11ba1170e4e39e167901b8626a1395572e547a50 | [
"MIT"
] | 159 | 2016-07-09T13:02:19.000Z | 2022-03-11T08:15:56.000Z | src/wallet/wallettool.cpp | runcitadel/bitcoin | 11ba1170e4e39e167901b8626a1395572e547a50 | [
"MIT"
] | 40 | 2016-07-22T17:26:37.000Z | 2022-03-22T19:37:32.000Z | src/wallet/wallettool.cpp | runcitadel/bitcoin | 11ba1170e4e39e167901b8626a1395572e547a50 | [
"MIT"
] | 57 | 2016-10-21T23:57:47.000Z | 2022-03-26T20:51:23.000Z | // Copyright (c) 2016-2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <fs.h>
#include <tinyformat.h>
#include <univalue.h>
#include <util/system.h>
#include <util/translation.h>
#include... | 40.024306 | 199 | 0.636939 | runcitadel |
a392454fb035047af4d74654690e5287c74ec037 | 21,187 | cpp | C++ | source/common/xproto/plugins/multisourcesmartplugin/src/multisourcesmartplugin/smartplugin.cpp | robort-yuan/AI-EXPRESS | 56f86d03afbb09f42c21958c8cd9f2f1c6437f48 | [
"BSD-2-Clause"
] | null | null | null | source/common/xproto/plugins/multisourcesmartplugin/src/multisourcesmartplugin/smartplugin.cpp | robort-yuan/AI-EXPRESS | 56f86d03afbb09f42c21958c8cd9f2f1c6437f48 | [
"BSD-2-Clause"
] | null | null | null | source/common/xproto/plugins/multisourcesmartplugin/src/multisourcesmartplugin/smartplugin.cpp | robort-yuan/AI-EXPRESS | 56f86d03afbb09f42c21958c8cd9f2f1c6437f48 | [
"BSD-2-Clause"
] | null | null | null | /*
* @Description: implement of multi smart plugin
* @Author: hangjun.yang@horizon.ai
* @Date: 2020-08-26 09:00:00
* @LastEditors: hangjun.yang@horizon.ai
* @LastEditTime: 2020-08-30 22:00:00
* @Copyright 2017~2020 Horizon Robotics, Inc.
*/
#include "multisourcesmartplugin/smartplugin.h"
#include <algorithm>
#... | 36.782986 | 80 | 0.627083 | robort-yuan |
a39329124a06e3c17dc9c85989643e5aaba626b5 | 468 | hpp | C++ | Application/include/ToonMaterial.hpp | inhibitor1217/cs380-lighting | 7949a743d78a4151db807c17ef89c7999a2c5334 | [
"MIT"
] | null | null | null | Application/include/ToonMaterial.hpp | inhibitor1217/cs380-lighting | 7949a743d78a4151db807c17ef89c7999a2c5334 | [
"MIT"
] | null | null | null | Application/include/ToonMaterial.hpp | inhibitor1217/cs380-lighting | 7949a743d78a4151db807c17ef89c7999a2c5334 | [
"MIT"
] | null | null | null | #pragma once
#include <Light.hpp>
#include <Material.hpp>
class ToonMaterial : public Engine::Material
{
public:
void CreateMaterial(float terrain);
void UpdateAmbientReflectance(glm::vec3 color);
void UpdateDiffuseReflectance(glm::vec3 color);
void UpdateSpecularReflectance(glm::vec3 color);
void UpdateLight(st... | 26 | 49 | 0.779915 | inhibitor1217 |
a393b843fcd86ff3837b622cd4d0d46f046a2bf8 | 8,162 | cpp | C++ | tracker-wii/wii_camera.cpp | miguel7penteado/opentrack | eaf89d80245da5778950b6b799f4f2c367b607d9 | [
"ISC"
] | null | null | null | tracker-wii/wii_camera.cpp | miguel7penteado/opentrack | eaf89d80245da5778950b6b799f4f2c367b607d9 | [
"ISC"
] | null | null | null | tracker-wii/wii_camera.cpp | miguel7penteado/opentrack | eaf89d80245da5778950b6b799f4f2c367b607d9 | [
"ISC"
] | null | null | null | /*
* Copyright (c) 2017-2018 Wei Shuai <cpuwolf@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*/
// silence #pragma deprecated in blueto... | 23.726744 | 167 | 0.697501 | miguel7penteado |
a395cfcf332f8338cfbd2b0acb7a4202c452eaf9 | 10,625 | cpp | C++ | source/DosPopupMenu.cpp | ArphonePei/DOSLib | 3aafa6b56b7910084cca96fc815aca580e1c1e3f | [
"MIT"
] | 37 | 2018-12-10T13:37:45.000Z | 2022-01-29T15:45:48.000Z | source/DosPopupMenu.cpp | ArphonePei/DOSLib | 3aafa6b56b7910084cca96fc815aca580e1c1e3f | [
"MIT"
] | 17 | 2020-01-31T21:12:51.000Z | 2022-01-28T14:30:00.000Z | source/DosPopupMenu.cpp | ArphonePei/DOSLib | 3aafa6b56b7910084cca96fc815aca580e1c1e3f | [
"MIT"
] | 18 | 2018-12-10T13:37:48.000Z | 2021-06-28T09:04:46.000Z | /////////////////////////////////////////////////////////////////////////////
// DosPopupMenu.cpp
//
// Copyright (c) 1992-2020, Robert McNeel & Associates. All rights reserved.
// DOSLib is a trademark of Robert McNeel & Associates.
//
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
// ALL IM... | 23.611111 | 131 | 0.665694 | ArphonePei |
a39770b2ca145b0134019e175d1fdcd930edad79 | 5,098 | cpp | C++ | tests/benchdnn/utils/perf_report.cpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | tests/benchdnn/utils/perf_report.cpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | tests/benchdnn/utils/perf_report.cpp | wuxun-zhang/mkl-dnn | 00a239ad2c932b967234ffb528069800ffcc0334 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2021-2022 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | 35.402778 | 80 | 0.566889 | wuxun-zhang |
a398e6442b1b4ef514df68d825c2e32812066888 | 5,809 | cpp | C++ | lib/src/Rendering/StandardShapes.cpp | F4r3n/FarenMediaLibrary | 3f71054df7178ca79781b101ca2d58cd95a20a43 | [
"Apache-2.0"
] | 7 | 2016-09-09T16:43:15.000Z | 2021-06-16T22:32:33.000Z | lib/src/Rendering/StandardShapes.cpp | F4r3n/FarenMediaLibrary | 3f71054df7178ca79781b101ca2d58cd95a20a43 | [
"Apache-2.0"
] | null | null | null | lib/src/Rendering/StandardShapes.cpp | F4r3n/FarenMediaLibrary | 3f71054df7178ca79781b101ca2d58cd95a20a43 | [
"Apache-2.0"
] | 1 | 2020-01-05T19:22:32.000Z | 2020-01-05T19:22:32.000Z | #include <Rendering/StandardShapes.h>
#include <Core/Math/Functions.h>
#include <Rendering/Mesh.hpp>
namespace fm {
using namespace rendering;
void StandardShapes::AddVertex(MeshContainer* mesh,
const fm::math::Vector3f& position,
const fm::math::Vector2f& ... | 45.382813 | 133 | 0.548115 | F4r3n |
a39969ce321905a84cc87408a19c9e0b58baa661 | 6,586 | cpp | C++ | networkit/cpp/linkprediction/EvaluationMetric.cpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 366 | 2019-06-27T18:48:18.000Z | 2022-03-29T08:36:49.000Z | networkit/cpp/linkprediction/EvaluationMetric.cpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 387 | 2019-06-24T11:30:39.000Z | 2022-03-31T10:37:28.000Z | networkit/cpp/linkprediction/EvaluationMetric.cpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 131 | 2019-07-04T15:40:13.000Z | 2022-03-29T12:34:23.000Z | // no-networkit-format
/*
* EvaluationMetric.cpp
*
* Created on: 17.03.2015
* Author: Kolja Esders
*/
#include <algorithm>
#include <numeric>
#include <set>
#include <networkit/auxiliary/Parallel.hpp>
#include <networkit/linkprediction/EvaluationMetric.hpp>
#include <networkit/linkprediction/PredictionsSor... | 37.20904 | 153 | 0.700273 | angriman |
a39c440138f7252e26d01608b6834e4b674d89bd | 2,762 | cpp | C++ | Tests/VisualTests/VTests/src/ParticleTest.cpp | Stazer/ogre-next | 4d3aa2aedf4575ac8a9e32a4e2af859562752d51 | [
"MIT"
] | 4 | 2018-11-12T02:18:44.000Z | 2020-09-03T12:16:14.000Z | Tests/VisualTests/VTests/src/ParticleTest.cpp | Stazer/ogre-next | 4d3aa2aedf4575ac8a9e32a4e2af859562752d51 | [
"MIT"
] | 2 | 2020-12-01T18:20:39.000Z | 2021-02-09T21:04:25.000Z | Tests/VisualTests/VTests/src/ParticleTest.cpp | Stazer/ogre-next | 4d3aa2aedf4575ac8a9e32a4e2af859562752d51 | [
"MIT"
] | 3 | 2020-10-15T15:11:41.000Z | 2021-04-04T03:38:54.000Z | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | 45.278689 | 97 | 0.673063 | Stazer |
a39c4bd825d9de2ce4386d370b17fe4a2cdf9c10 | 983 | cpp | C++ | battlegui.cpp | alphagocc/FiveChess- | d73d7b71f5d1d0834c08d89525964021d7ba69f5 | [
"MIT"
] | 2 | 2018-01-21T14:09:39.000Z | 2020-07-25T00:43:51.000Z | battlegui.cpp | alphagocc/FiveChess- | d73d7b71f5d1d0834c08d89525964021d7ba69f5 | [
"MIT"
] | null | null | null | battlegui.cpp | alphagocc/FiveChess- | d73d7b71f5d1d0834c08d89525964021d7ba69f5 | [
"MIT"
] | null | null | null | #include "battlegui.h"
#include "ui_battlegui.h"
#include <QDebug>
battleGui::battleGui(QWidget* parent)
: QWidget(parent), ui(new Ui::battleGui), timer(new QTimer)
{
qDebug() << "OK2" << endl;
ui->setupUi(this);
ui->labelTime->setText(tr("Time:%1 Second").arg(0));
timer->start(1000);
connect(... | 29.787879 | 120 | 0.608342 | alphagocc |
a39cd135ba76021873793878fffc241f3df943ef | 4,913 | cpp | C++ | src/GraphStatistics.cpp | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | 12 | 2015-03-13T09:58:25.000Z | 2021-09-23T11:48:42.000Z | src/GraphStatistics.cpp | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | 1 | 2015-12-09T05:21:44.000Z | 2015-12-17T19:37:12.000Z | src/GraphStatistics.cpp | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | null | null | null | #include <algorithm> // for max
#include <iostream> // for cerr
#include <set> // for set
#include <type_traits> // for __decay_and_strip<>::__type
#include "GraphStatistics.h"
namespace {
Edge make_edge(int a, int b) {
return (a <= ... | 35.861314 | 107 | 0.560757 | wilseypa |
a39d79eb3c7df804f1558a2ee46ee0d6e555c033 | 5,642 | cpp | C++ | src/Enzo/enzo_EnzoInitialSoup.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoInitialSoup.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoInitialSoup.cpp | TrevorMcCrary/enzo-e | abeb5d73d6ff210fc6cd675c25430cfb93c374ac | [
"BSD-3-Clause"
] | null | null | null | // See LICENSE_CELLO file for license and copyright information
/// @file enzo_Soup.cpp
/// @author James Bordner (jobordner@ucsd.edu)
/// @date 2016-09-10
/// @brief Definition of the Soup class for "alphabet soup" test problem
#include "enzo.hpp"
#include <random>
const int EnzoInitialSoup::position_[... | 26.739336 | 75 | 0.569302 | TrevorMcCrary |
a39fe379b1b16e7341bd46beb162254514e78673 | 13,138 | cxx | C++ | utils/pcTests/restful/QueryParamsTest/QueryParamsTestClientExample.cxx | romain-gimenez/RPC | 8a02d1189d9baeaadb3c3e3d692c2ab77c9d8d3c | [
"Apache-2.0"
] | 39 | 2015-10-21T21:57:22.000Z | 2022-02-28T09:26:26.000Z | utils/pcTests/restful/QueryParamsTest/QueryParamsTestClientExample.cxx | romain-gimenez/RPC | 8a02d1189d9baeaadb3c3e3d692c2ab77c9d8d3c | [
"Apache-2.0"
] | 14 | 2015-08-10T23:49:39.000Z | 2021-11-23T01:35:45.000Z | utils/pcTests/restful/QueryParamsTest/QueryParamsTestClientExample.cxx | romain-gimenez/RPC | 8a02d1189d9baeaadb3c3e3d692c2ab77c9d8d3c | [
"Apache-2.0"
] | 28 | 2015-08-10T23:40:44.000Z | 2021-11-29T15:18:34.000Z | /*************************************************************************
* Copyright (c) 2012 eProsima. All rights reserved.
*
* This generated file is licensed to you under the terms described in the
* FASTRPC_LICENSE file included in this FASTRPC distribution.
*
***********************************************... | 23.887273 | 131 | 0.485843 | romain-gimenez |
a3a3939a4bdcc4a81e1b0bb93d5fc8cf47834292 | 1,371 | cpp | C++ | src/Graphics/OpenGL/TileAtlas.cpp | jonkuhn/jkengine | 8c8d8d90eab47ca22cece6b31ae602c8d288a19c | [
"MIT"
] | null | null | null | src/Graphics/OpenGL/TileAtlas.cpp | jonkuhn/jkengine | 8c8d8d90eab47ca22cece6b31ae602c8d288a19c | [
"MIT"
] | null | null | null | src/Graphics/OpenGL/TileAtlas.cpp | jonkuhn/jkengine | 8c8d8d90eab47ca22cece6b31ae602c8d288a19c | [
"MIT"
] | null | null | null | #include "TileAtlas.h"
#include <memory>
#include "TileMapDrawer.h"
#include "TileMap.h"
#include "SpriteDrawer.h"
#include "Sprite.h"
using namespace Graphics::OpenGL;
std::unique_ptr<Graphics::ITileMap> TileAtlas::CreateTileMap(unsigned int layer, const Graphics::IImage& tileMapImage)
{
return std::make_uniqu... | 26.882353 | 118 | 0.658643 | jonkuhn |
a3a45f5caa66ab94dede00d074b4aaf5ef0b61e4 | 776 | cpp | C++ | gwen/src/Controls/ScrollBarButton.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | gwen/src/Controls/ScrollBarButton.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | gwen/src/Controls/ScrollBarButton.cpp | Oipo/GWork | 3dd70c090bf8708dd3e7b9cfbcb67163bb7166db | [
"MIT"
] | null | null | null | /*
* GWEN
* Copyright (c) 2010 Facepunch Studios
* See license in Gwen.h
*/
#include "Gwen/Controls/ScrollBar.h"
#include "Gwen/Controls/ScrollBarButton.h"
using namespace Gwen;
using namespace Gwen::Controls;
using namespace Gwen::ControlsInternal;
GWEN_CONTROL_CONSTRUCTOR(ScrollBarButton)
{
SetDirecti... | 17.244444 | 88 | 0.73067 | Oipo |
a3a4a844d1b5ad860436cf21522518c3d9d1738f | 12,981 | cpp | C++ | src/smtrat-modules/MaxSMTModule/MaxSMTModule.cpp | modass/smtrat | 2e6909bb764cf30d6afc231a2d447dfc13f3fa40 | [
"MIT"
] | null | null | null | src/smtrat-modules/MaxSMTModule/MaxSMTModule.cpp | modass/smtrat | 2e6909bb764cf30d6afc231a2d447dfc13f3fa40 | [
"MIT"
] | null | null | null | src/smtrat-modules/MaxSMTModule/MaxSMTModule.cpp | modass/smtrat | 2e6909bb764cf30d6afc231a2d447dfc13f3fa40 | [
"MIT"
] | null | null | null | /**
* @file MaxSMT.cpp
* @author YOUR NAME <YOUR EMAIL ADDRESS>
*
* @version 2019-01-25
* Created on 2019-01-25.
*/
#include "MaxSMTModule.h"
#include <smtrat-solver/Manager.h>
#include <smtrat-unsat-cores/smtrat-unsat-cores.h>
namespace smtrat
{
template<class Settings>
MaxSMTModule<Settings>::MaxSMTModule(... | 35.859116 | 152 | 0.732147 | modass |
a3a5057e9dda8ff9d989501c645016cd0e148cd7 | 7,897 | cpp | C++ | cpp/hpke.cpp | CryptoMathician/core | c8e8dcf6b8e04b8fcb0288057f46653130e8b7f7 | [
"Apache-2.0"
] | 2 | 2021-05-22T06:50:27.000Z | 2022-02-12T15:02:37.000Z | cpp/hpke.cpp | CryptoMathician/core | c8e8dcf6b8e04b8fcb0288057f46653130e8b7f7 | [
"Apache-2.0"
] | null | null | null | cpp/hpke.cpp | CryptoMathician/core | c8e8dcf6b8e04b8fcb0288057f46653130e8b7f7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2012-2020 MIRACL UK Ltd.
*
* This file is part of MIRACL Core
* (see https://github.com/miracl/core).
*
* 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... | 28.509025 | 137 | 0.62834 | CryptoMathician |
a3a5ad97b102f8c959c9a811a330908b69e2b1ee | 8,979 | cpp | C++ | src/tests/functional/plugin/gna/shared_tests_instances/single_layer_tests/pooling.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | src/tests/functional/plugin/gna/shared_tests_instances/single_layer_tests/pooling.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | src/tests/functional/plugin/gna/shared_tests_instances/single_layer_tests/pooling.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include "single_layer_tests/pooling.hpp"
#include "common_test_utils/test_constants.hpp"
using namespace NGraphFunctions;
using namespace LayerTestsDefinitions;
namespace {
const std::vector<InferenceEngine::P... | 56.829114 | 151 | 0.557969 | ryanloney |
a3aac52a4613339546a87ae6731c9fa4aa98d19e | 3,100 | cpp | C++ | thrift/lib/cpp2/transport/rsocket/server/test/RequestResponseTest.cpp | ahhygx/fbthrift | 48a91f91036a5201914b1ad9f98826709812ad10 | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/transport/rsocket/server/test/RequestResponseTest.cpp | ahhygx/fbthrift | 48a91f91036a5201914b1ad9f98826709812ad10 | [
"Apache-2.0"
] | null | null | null | thrift/lib/cpp2/transport/rsocket/server/test/RequestResponseTest.cpp | ahhygx/fbthrift | 48a91f91036a5201914b1ad9f98826709812ad10 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 34.065934 | 81 | 0.66871 | ahhygx |
a3ac177bba8c2692598381b934a0de51a5a70568 | 1,817 | cpp | C++ | src/anl/source/pyfunc_anl.cpp | goroyabu/anlpy | 2d5d65b898d31d69f990e973cbfdbabd8cb0a15c | [
"MIT"
] | null | null | null | src/anl/source/pyfunc_anl.cpp | goroyabu/anlpy | 2d5d65b898d31d69f990e973cbfdbabd8cb0a15c | [
"MIT"
] | null | null | null | src/anl/source/pyfunc_anl.cpp | goroyabu/anlpy | 2d5d65b898d31d69f990e973cbfdbabd8cb0a15c | [
"MIT"
] | null | null | null | /**
@date 2020/03/27
**/
#include "VANL_Module.hpp"
#include "ANLmanager.hpp"
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
PYBIND11_MODULE(anlpy, m) {
m.attr("__name__") = "anlpy";
m.doc() = R"pbdoc(
ANLpy Documentation
-----------------------
.. currentmodule:: a... | 31.327586 | 74 | 0.669785 | goroyabu |
a3aca6b7fe1b0545078aebeab335b86614c5fdb7 | 3,813 | cpp | C++ | Advanced_Programming/FinalProject(IUT-Messenger)/sources/login.cpp | mheidari98/_IUT | f684d31071512edeefe8c8405746d4f3eab6ab6b | [
"MIT"
] | 1 | 2021-07-10T19:52:38.000Z | 2021-07-10T19:52:38.000Z | Advanced_Programming/FinalProject(IUT-Messenger)/sources/login.cpp | mheidari98/_IUT | f684d31071512edeefe8c8405746d4f3eab6ab6b | [
"MIT"
] | null | null | null | Advanced_Programming/FinalProject(IUT-Messenger)/sources/login.cpp | mheidari98/_IUT | f684d31071512edeefe8c8405746d4f3eab6ab6b | [
"MIT"
] | null | null | null | /****************************************************************
#
#
# Creator Name: Sara Baradaran, Mahdi Heidari
# Create Date: Jun 2018
# Module Name: login.cpp
# Project Name: IUT_Messenger
#
#
*************************************************************... | 28.669173 | 103 | 0.61946 | mheidari98 |
a3ae324476f6d8a3108b3faabb4a34bfc5620cb5 | 2,635 | hpp | C++ | src/server/core/ConsistencyTracker.hpp | svalat/iocatcher | 4845e20d938c816f6ca5ee8d3308aa9a0e0abaff | [
"Apache-2.0"
] | 2 | 2022-01-28T16:03:14.000Z | 2022-02-18T07:35:22.000Z | src/server/core/ConsistencyTracker.hpp | svalat/iocatcher | 4845e20d938c816f6ca5ee8d3308aa9a0e0abaff | [
"Apache-2.0"
] | 2 | 2022-02-10T10:22:02.000Z | 2022-02-11T18:00:47.000Z | src/server/core/ConsistencyTracker.hpp | svalat/iocatcher | 4845e20d938c816f6ca5ee8d3308aa9a0e0abaff | [
"Apache-2.0"
] | 1 | 2022-01-31T21:09:15.000Z | 2022-01-31T21:09:15.000Z | /*****************************************************
* PROJECT : IO Catcher *
* LICENSE : Apache 2.0 *
* COPYRIGHT: 2020-2022 Bull SAS All rights reserved *
*****************************************************/
#ifndef IOC_CONSISTENCY_TRACKER_HPP
#define ... | 32.134146 | 118 | 0.614421 | svalat |
a3ae6eb4269f4e4e1f7f0ada847254caa7e424ec | 29,897 | cpp | C++ | vstgui/lib/cbitmapfilter.cpp | whydoubt/vstgui | 24c6e5e82f55fd1eff0fb5ab3b451adc912d29d5 | [
"BSD-3-Clause"
] | null | null | null | vstgui/lib/cbitmapfilter.cpp | whydoubt/vstgui | 24c6e5e82f55fd1eff0fb5ab3b451adc912d29d5 | [
"BSD-3-Clause"
] | null | null | null | vstgui/lib/cbitmapfilter.cpp | whydoubt/vstgui | 24c6e5e82f55fd1eff0fb5ab3b451adc912d29d5 | [
"BSD-3-Clause"
] | null | null | null | // This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#include "cbitmapfilter.h"
#include "cbitmap.h"
#include "platform/iplatformbitmap.h"
#include "ccolor.h"
#include "... | 32.112782 | 165 | 0.53487 | whydoubt |
a3af498e127b3e474fda3530c67d0ed9e7e52e48 | 7,312 | cpp | C++ | src/http/server/http-thread.cpp | corehacker/ch-cpp-utils | 4b03045fbecc867f7c6b088eabd8aa4cc30f1170 | [
"MIT"
] | 5 | 2017-11-05T11:41:42.000Z | 2020-09-03T07:49:12.000Z | src/http/server/http-thread.cpp | corehacker/ch-cpp-utils | 4b03045fbecc867f7c6b088eabd8aa4cc30f1170 | [
"MIT"
] | 1 | 2017-11-14T02:50:16.000Z | 2017-11-14T02:50:16.000Z | src/http/server/http-thread.cpp | corehacker/ch-cpp-utils | 4b03045fbecc867f7c6b088eabd8aa4cc30f1170 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* BSD 2-Clause License
*
* Copyright (c) 2017, Sandeep Prakash
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | 27.182156 | 86 | 0.678474 | corehacker |
a3b04fa905feac6403c4e9505fb5f87cb8774203 | 3,201 | cpp | C++ | src/rpc/Codec.cpp | evenleo/leo | 67e148e04eb7b3af9890f907f24fb4f63d8405b0 | [
"MIT"
] | null | null | null | src/rpc/Codec.cpp | evenleo/leo | 67e148e04eb7b3af9890f907f24fb4f63d8405b0 | [
"MIT"
] | null | null | null | src/rpc/Codec.cpp | evenleo/leo | 67e148e04eb7b3af9890f907f24fb4f63d8405b0 | [
"MIT"
] | null | null | null | #include "Codec.h"
#include "Buffer.h"
#include <zlib.h>
namespace leo {
namespace rpc {
void ProtobufCodec::send(const MessagePtr& message) {
Buffer::ptr buf(new Buffer);
const std::string& typeName = message->GetTypeName();
int32_t nameLen = static_cast<int32_t>(typeName.size()+1);
buf->appendInt32(nameLen);
... | 28.580357 | 88 | 0.692596 | evenleo |
a3b0d24e10ff0d861472b58b2f3e92c338779495 | 7,311 | cpp | C++ | src/libmw/test/tests/consensus/Test_KernelSumValidator.cpp | litecoin-foundation/litecoin | de61fa1580d0465edb16251a4db5267f6b1cd047 | [
"MIT"
] | null | null | null | src/libmw/test/tests/consensus/Test_KernelSumValidator.cpp | litecoin-foundation/litecoin | de61fa1580d0465edb16251a4db5267f6b1cd047 | [
"MIT"
] | null | null | null | src/libmw/test/tests/consensus/Test_KernelSumValidator.cpp | litecoin-foundation/litecoin | de61fa1580d0465edb16251a4db5267f6b1cd047 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 The Litecoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <mw/consensus/KernelSumValidator.h>
#include <mw/consensus/Aggregation.h>
#include <mw/crypto/Pedersen.h>
#include <mw/n... | 35.663415 | 123 | 0.685542 | litecoin-foundation |
a3b2808a7cac11de58de9b98de6f7f5e223949e8 | 82,114 | cpp | C++ | cvdump/dumppdb.cpp | kyle-sylvestre/building-microsoft-pdb | 547baaedb2908e996dc2446c400f12ee6ebe9b02 | [
"MIT"
] | 1 | 2021-12-30T12:52:03.000Z | 2021-12-30T12:52:03.000Z | cvdump/dumppdb.cpp | kyle-sylvestre/building-microsoft-pdb | 547baaedb2908e996dc2446c400f12ee6ebe9b02 | [
"MIT"
] | null | null | null | cvdump/dumppdb.cpp | kyle-sylvestre/building-microsoft-pdb | 547baaedb2908e996dc2446c400f12ee6ebe9b02 | [
"MIT"
] | 1 | 2021-12-31T01:17:32.000Z | 2021-12-31T01:17:32.000Z | /***********************************************************************
* Microsoft (R) Debugging Information Dumper
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* File Comments:
*
*
***********************************************************************/
#include "missing_impl.h"
#include "pdb.h"
... | 28.05398 | 132 | 0.430316 | kyle-sylvestre |
a3b4510144332fae8e26951b07addfd729a61342 | 2,943 | cpp | C++ | compiler-native/compiler/apps/bandwidth_recorder.cpp | SleepyToDeath/NetQRE | 0176a31afa45faa4877974a4a0575a4e60534090 | [
"MIT"
] | 2 | 2021-03-30T15:25:44.000Z | 2021-05-14T07:22:25.000Z | compiler-native/compiler/apps/bandwidth_recorder.cpp | SleepyToDeath/NetQRE | 0176a31afa45faa4877974a4a0575a4e60534090 | [
"MIT"
] | null | null | null | compiler-native/compiler/apps/bandwidth_recorder.cpp | SleepyToDeath/NetQRE | 0176a31afa45faa4877974a4a0575a4e60534090 | [
"MIT"
] | null | null | null | #include <pcap.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <arpa/inet.h>
#include <linux_compat.h>
#include <unordered_map>
#define ETHERNET_LINK_OFFSET 14
FILE *file = NULL;
long packet_cnt = 0;
bool debug_mode = false;
long bucket_bytes = 0;
long bucket_time_ms = 0;
s... | 25.37069 | 112 | 0.607883 | SleepyToDeath |
a3b77947bb6d27142baf68bf8d1acb9c35582dfb | 921 | cpp | C++ | 0600/00/604a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 0600/00/604a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 0600/00/604a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <array>
#include <iostream>
template <typename T, size_t N>
std::istream& operator >>(std::istream& input, std::array<T, N>& v)
{
for (T& a : v)
input >> a;
return input;
}
void answer(unsigned v)
{
std::cout << v << '\n';
}
void solve(const std::array<unsigned, 5>& m, const std::array<... | 18.42 | 104 | 0.511401 | actium |