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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a88a2a049bd49a278070def226ececefea847b96 | 4,962 | cpp | C++ | ApplicationUtilities/SystemSoundPlayer/src/SystemSoundPlayer.cpp | yodaos-project/voice-interface-avs | d01136637f92df952be894bb1869d420889689ac | [
"Apache-2.0"
] | 1 | 2019-10-22T06:08:20.000Z | 2019-10-22T06:08:20.000Z | ApplicationUtilities/SystemSoundPlayer/src/SystemSoundPlayer.cpp | yodaos-project/voice-interface-avs | d01136637f92df952be894bb1869d420889689ac | [
"Apache-2.0"
] | null | null | null | ApplicationUtilities/SystemSoundPlayer/src/SystemSoundPlayer.cpp | yodaos-project/voice-interface-avs | d01136637f92df952be894bb1869d420889689ac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "licen... | 35.442857 | 114 | 0.705159 | yodaos-project |
a88bb60b8cfba4c5329201301f9d32e310f9cfef | 2,725 | cc | C++ | tests/semaphore_unit_test.cc | boboxxd/DelayQueueCpp | b6e7d0271122932e7d947973048bae4a4769aa3c | [
"Apache-2.0"
] | 5 | 2020-11-10T00:07:35.000Z | 2022-02-08T06:27:13.000Z | tests/semaphore_unit_test.cc | boboxxd/DelayQueueCpp | b6e7d0271122932e7d947973048bae4a4769aa3c | [
"Apache-2.0"
] | null | null | null | tests/semaphore_unit_test.cc | boboxxd/DelayQueueCpp | b6e7d0271122932e7d947973048bae4a4769aa3c | [
"Apache-2.0"
] | 3 | 2021-02-07T07:16:29.000Z | 2021-06-18T01:28:07.000Z | // Copyright (c) 2020 Xi Cheng. All rights reserved.
// Use of this source code is governed by a Apache License 2.0 that can be
// found in the LICENSE file.
#include <atomic>
#include <chrono>
#include <thread>
#include "gtest/gtest.h"
#include "src/semaphore.h"
class SemaphoreUnitTest : public ::testing::Test {
};... | 34.493671 | 79 | 0.714862 | boboxxd |
a88f2e2937a230d55b889ba34b754bbfa13c1e1b | 3,251 | cc | C++ | modules/tools/fuzz/guardian/guardian_fuzz.cc | BaiduXLab/apollo | 2764e934b6d0da1342be781447348288ac84c5e9 | [
"Apache-2.0"
] | 3 | 2019-01-30T11:58:40.000Z | 2019-05-22T02:43:03.000Z | modules/tools/fuzz/guardian/guardian_fuzz.cc | BaiduXLab/apollo | 2764e934b6d0da1342be781447348288ac84c5e9 | [
"Apache-2.0"
] | 3 | 2020-02-24T14:19:55.000Z | 2022-02-10T19:49:29.000Z | modules/tools/fuzz/guardian/guardian_fuzz.cc | BaiduXLab/apollo | 2764e934b6d0da1342be781447348288ac84c5e9 | [
"Apache-2.0"
] | 3 | 2019-02-20T00:24:05.000Z | 2022-01-04T05:58:51.000Z | /******************************************************************************
* Copyright 2017 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 34.585106 | 79 | 0.730852 | BaiduXLab |
a8920ba644c3c9ba7d729fa7f8da6344aabc0ee8 | 3,099 | hpp | C++ | classdef/ObjectRoot.hpp | dwringer/a3system | b14f8992542c2c3c38c9b87644f2c5d7249affda | [
"MIT"
] | 3 | 2016-10-31T21:05:20.000Z | 2017-08-15T14:00:05.000Z | classdef/ObjectRoot.hpp | dwringer/ANIMA | a8813dbac158d05bea5d9a9c882567446caf48c3 | [
"MIT"
] | null | null | null | classdef/ObjectRoot.hpp | dwringer/ANIMA | a8813dbac158d05bea5d9a9c882567446caf48c3 | [
"MIT"
] | null | null | null | /*
ObjectRoot class
:: ObjectRoot -> nil
Methods:
_setf var_name value :: set variable in obj namespace and record key
_getf var_name :: simple getVariable interface
_push_attr var_name value :: append to an array variable
_locals :: list of all recorded keys that ... | 32.621053 | 79 | 0.611488 | dwringer |
a89281ddf5189a56b50f4ea8937666414b40aa0f | 1,187 | inl | C++ | include/ecst/context/data/step/step.inl | SuperV1234/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 475 | 2016-05-03T13:34:30.000Z | 2021-11-26T07:02:47.000Z | include/ecst/context/data/step/step.inl | vittorioromeo/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 28 | 2016-08-30T06:37:40.000Z | 2017-11-24T11:14:07.000Z | include/ecst/context/data/step/step.inl | vittorioromeo/ecst | b3c42e2c28978f1cd8ea620ade62613c6c875432 | [
"AFL-3.0"
] | 60 | 2016-05-11T22:16:15.000Z | 2021-08-02T20:42:35.000Z | // Copyright (c) 2015-2016 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
// http://vittorioromeo.info | vittorio.romeo@outlook.com
#pragma once
#include "./step.hpp"
#include "../data/data.hpp"
ECST_CONTEXT_NAMESPACE
{
namespace impl
... | 28.261905 | 72 | 0.572873 | SuperV1234 |
a894569a0124c401fc23feec88043ef883769325 | 944 | cpp | C++ | std/src/cybergarage/upnp/media/server/directory/itunes/iTunesTrack.cpp | cybergarage/CyberLink4CC | ccbda234b920ec88a36392102c1d5247c074a734 | [
"BSD-3-Clause"
] | null | null | null | std/src/cybergarage/upnp/media/server/directory/itunes/iTunesTrack.cpp | cybergarage/CyberLink4CC | ccbda234b920ec88a36392102c1d5247c074a734 | [
"BSD-3-Clause"
] | null | null | null | std/src/cybergarage/upnp/media/server/directory/itunes/iTunesTrack.cpp | cybergarage/CyberLink4CC | ccbda234b920ec88a36392102c1d5247c074a734 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************
*
* MediaServer for CyberLink
*
* Copyright (C) Satoshi Konno 2006
*
* File: iTunesTrack.cpp
*
* Revision:
*
* 03/13/06
* - first revision.
*
******************************************************************/
#ifdef SUPPORT_ITUNES
#incl... | 18.509804 | 72 | 0.435381 | cybergarage |
a89574102e7d1798c0f51304b552e553df5864df | 1,700 | cpp | C++ | ema-tools/find-rigid-coil-vertex-correspondence/src/bin/main.cpp | ahewer/mri-shape-tools | 4268499948f1330b983ffcdb43df62e38ca45079 | [
"MIT"
] | null | null | null | ema-tools/find-rigid-coil-vertex-correspondence/src/bin/main.cpp | ahewer/mri-shape-tools | 4268499948f1330b983ffcdb43df62e38ca45079 | [
"MIT"
] | 2 | 2017-05-29T09:43:01.000Z | 2017-05-29T09:50:05.000Z | ema-tools/find-rigid-coil-vertex-correspondence/src/bin/main.cpp | ahewer/mri-shape-tools | 4268499948f1330b983ffcdb43df62e38ca45079 | [
"MIT"
] | 4 | 2017-05-17T11:56:02.000Z | 2022-03-05T09:12:24.000Z | #include "mesh/MeshIO.h"
#include "ema/Ema.h"
#include "settings.h"
#include "CorrespondenceSubsetFinder.h"
#include "CorrespondenceSubsetFinderBuilder.h"
#include "VertexSubsets.h"
#include "OutputResult.h"
int main(int argc, char* argv[]) {
Settings settings(argc, argv);
Mesh mesh = MeshIO::read(settings.mesh... | 27.419355 | 94 | 0.731765 | ahewer |
a89d419de02d737fbdb96d5cb9e63a37bb25c9a1 | 2,825 | cpp | C++ | src/test_hdf5.cpp | uwmri/mri_recon | c74780d56c87603fb935744bf312e8c59d415997 | [
"BSD-3-Clause"
] | null | null | null | src/test_hdf5.cpp | uwmri/mri_recon | c74780d56c87603fb935744bf312e8c59d415997 | [
"BSD-3-Clause"
] | 2 | 2020-11-06T19:45:34.000Z | 2020-11-07T03:22:25.000Z | src/test_hdf5.cpp | uwmri/mri_recon | c74780d56c87603fb935744bf312e8c59d415997 | [
"BSD-3-Clause"
] | null | null | null | #include "recon_lib.h"
using namespace NDarray;
using namespace std;
int main(void) {
// Write Section
{
HDF5 file = HDF5("TEST.h5", "w");
Array<float, 3> TEMP(2, 3, 4, ColumnMajorArray<3>());
Array<complex<float>, 3> TEMPC(4, 3, 2, ColumnMajorArray<3>());
Array<short, 3> TEMPS(2, 3, 4, ColumnMaj... | 27.163462 | 67 | 0.458761 | uwmri |
a89dcff42adfeac4877255a9f16803f0a8e62a89 | 4,562 | cc | C++ | src/expr/Reservable.cc | taless474/plexil1 | 0da24f0330404c41a695ea367bb760fb9c7ee8dd | [
"BSD-3-Clause"
] | 1 | 2022-03-30T20:16:43.000Z | 2022-03-30T20:16:43.000Z | src/expr/Reservable.cc | taless474/plexil1 | 0da24f0330404c41a695ea367bb760fb9c7ee8dd | [
"BSD-3-Clause"
] | null | null | null | src/expr/Reservable.cc | taless474/plexil1 | 0da24f0330404c41a695ea367bb760fb9c7ee8dd | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2006-2021, Universities Space Research Association (USRA).
// 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 copyr... | 36.790323 | 81 | 0.642043 | taless474 |
a89e36f1b9d207393ec85e491eee776119e464a1 | 406 | cpp | C++ | components/math/curves/tests/plot02.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/math/curves/tests/plot02.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/math/curves/tests/plot02.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include "shared.h"
int main ()
{
printf ("Results of plot02_test:\n");
try
{
tcb_splinef spline;
spline.add_key (2.0f, 1.0f);
spline.add_key (1.0f, 0.0f);
spline.add_key (3.0f, -1.0f);
plot_spline ("three points tcb spline", spline, 80, 80);
}
catch (std::e... | 16.916667 | 63 | 0.524631 | untgames |
a8a1f8e567cd88425fd2864cba0cfaf5017f967a | 3,395 | cpp | C++ | examples/07_BLE/BLE_write/lib/BLE/BLEServiceMap.cpp | MelihOzbk/deneyapkart-platformio-core | c0fbc8ffa181ee22e597569b24bde5a011ccaaa4 | [
"Apache-2.0"
] | 17 | 2021-07-28T21:57:26.000Z | 2022-02-28T20:32:04.000Z | esp-at/libraries/BLE/src/BLEServiceMap.cpp | PowerfulCat/Works | 94b729ee2afd14a5fde03ea94f826e0b98b80dcf | [
"MIT"
] | 7 | 2021-08-07T23:20:14.000Z | 2022-03-20T15:05:21.000Z | esp-at/libraries/BLE/src/BLEServiceMap.cpp | PowerfulCat/Works | 94b729ee2afd14a5fde03ea94f826e0b98b80dcf | [
"MIT"
] | 10 | 2021-08-11T13:47:36.000Z | 2022-03-26T02:41:45.000Z | /*
* BLEServiceMap.cpp
*
* Created on: Jun 22, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <stdio.h>
#include <iomanip>
#include "BLEService.h"
/**
* @brief Return the service by UUID.
* @param [in] UUID The UUID to look up the service.
* @return The character... | 24.601449 | 81 | 0.693078 | MelihOzbk |
a8a7066949366a04cb2241d22dc414ca03c1cb48 | 782 | cpp | C++ | ablateLibrary/domain/region.cpp | UBCHREST/ablate | 02a5b390ba4e257b96bd19f4604c269598dccd9d | [
"BSD-3-Clause"
] | 3 | 2021-01-19T21:29:10.000Z | 2021-08-20T19:54:49.000Z | ablateLibrary/domain/region.cpp | UBCHREST/ablate | 02a5b390ba4e257b96bd19f4604c269598dccd9d | [
"BSD-3-Clause"
] | 124 | 2021-01-14T15:30:48.000Z | 2022-03-28T14:44:31.000Z | ablateLibrary/domain/region.cpp | UBCHREST/ablate | 02a5b390ba4e257b96bd19f4604c269598dccd9d | [
"BSD-3-Clause"
] | 17 | 2021-02-10T22:34:57.000Z | 2022-03-21T18:46:06.000Z | #include "region.hpp"
#include <algorithm>
#include <functional>
ablate::domain::Region::Region(std::string name, std::vector<int> valuesIn) : name(name), values(valuesIn.empty() ? valuesIn : std::vector<int>{1}) {
// sort the values
std::sort(values.begin(), values.end());
// Create a unique string
a... | 37.238095 | 167 | 0.648338 | UBCHREST |
a8a84ec6b2d6731049af178e48b57c0ed74bf879 | 57,757 | cpp | C++ | src/stm32_sd.cpp | andreili/STM32F4 | 9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc | [
"MIT"
] | 6 | 2019-04-16T11:38:45.000Z | 2020-12-12T16:55:03.000Z | src/stm32_sd.cpp | andreili/STM32F4 | 9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc | [
"MIT"
] | 1 | 2020-12-15T10:45:53.000Z | 2021-02-22T11:59:19.000Z | src/stm32_sd.cpp | andreili/STM32F4 | 9054d699ec1f65e7de8aa5dd7d3ee0522dad18dc | [
"MIT"
] | 2 | 2019-05-23T03:08:25.000Z | 2020-10-10T12:43:06.000Z | #include "stm32_sd.hpp"
#ifdef STM32_USE_SD
#define DATA_BLOCK_SIZE EDataBlockSize::_512B
#define SDIO_STATIC_FLAGS SDIO_STA::EMasks::CCRCFAIL, SDIO_STA::EMasks::DCRCFAIL, \
SDIO_STA::EMasks::CTIMEOUT, SDIO_STA::EMasks::DTIMEOUT, \
... | 33.231876 | 125 | 0.603546 | andreili |
a8a9e9cada22d02e04ef8d38652d2316a62eb347 | 1,786 | cpp | C++ | 01-assignment/vigenere/main.cpp | Feqzz/DCS3101-1-20H | dcdccf63d9eaec23e37cda6827ce208f3cb35728 | [
"MIT"
] | null | null | null | 01-assignment/vigenere/main.cpp | Feqzz/DCS3101-1-20H | dcdccf63d9eaec23e37cda6827ce208f3cb35728 | [
"MIT"
] | null | null | null | 01-assignment/vigenere/main.cpp | Feqzz/DCS3101-1-20H | dcdccf63d9eaec23e37cda6827ce208f3cb35728 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
std::string vigenereEncrypt(std::string plaintext, std::string key)
{
char tmp[plaintext.size()];
int outOfBoundsCharacters = 0;
for (int i = 0; i < plaintext.size(); i++)
{
bool isLowerCaseInput;
bool isLowerCaseKey;
if (static_cast<int>(plaintext[i]) > 64 && static_cas... | 23.194805 | 97 | 0.643897 | Feqzz |
a8ac83184d41a9ccaf4d1b6d51779cf607045d30 | 3,812 | cc | C++ | caffe2/mobile/contrib/opengl/operators/GLSigmoid.cc | shigengtian/caffe2 | e19489d6acd17fea8ca98cd8e4b5b680e23a93c5 | [
"Apache-2.0"
] | 1 | 2018-03-26T13:25:03.000Z | 2018-03-26T13:25:03.000Z | caffe2/mobile/contrib/opengl/operators/GLSigmoid.cc | shigengtian/caffe2 | e19489d6acd17fea8ca98cd8e4b5b680e23a93c5 | [
"Apache-2.0"
] | null | null | null | caffe2/mobile/contrib/opengl/operators/GLSigmoid.cc | shigengtian/caffe2 | e19489d6acd17fea8ca98cd8e4b5b680e23a93c5 | [
"Apache-2.0"
] | 1 | 2018-12-20T09:14:48.000Z | 2018-12-20T09:14:48.000Z |
#include "../core/GLFilter.h"
#include "../core/GLImage.h"
#include "../core/ImageAllocator.h"
#include "caffe2/core/operator.h"
#include "caffe2/core/timer.h"
#include <iostream>
#include <vector>
typedef enum { Sigmoid, Tanh } OpType;
class GLSigmoid : public GLFilter {
public:
binding* inputData;
binding* o... | 28.237037 | 98 | 0.673137 | shigengtian |
a8aef35415225fc1967e15a145501c3b551bd520 | 1,235 | cpp | C++ | test/gtx/gtx_scalar_multiplication.cpp | hrehfeld/glm_working | 8dd5acc8ccc1fb8b6557670281c9786ee643e629 | [
"MIT"
] | null | null | null | test/gtx/gtx_scalar_multiplication.cpp | hrehfeld/glm_working | 8dd5acc8ccc1fb8b6557670281c9786ee643e629 | [
"MIT"
] | null | null | null | test/gtx/gtx_scalar_multiplication.cpp | hrehfeld/glm_working | 8dd5acc8ccc1fb8b6557670281c9786ee643e629 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2014-09-22
// Updated : 20... | 28.068182 | 99 | 0.434008 | hrehfeld |
a8b03d386ec956bdb23cc703ac21b37af63514ff | 23,329 | cxx | C++ | src/test/test_CalCalibSvc.cxx | fermi-lat/CalXtalResponse | 3bd209402fa2d1ba3bb13e6a6228ea16881a3dc8 | [
"BSD-3-Clause"
] | null | null | null | src/test/test_CalCalibSvc.cxx | fermi-lat/CalXtalResponse | 3bd209402fa2d1ba3bb13e6a6228ea16881a3dc8 | [
"BSD-3-Clause"
] | null | null | null | src/test/test_CalCalibSvc.cxx | fermi-lat/CalXtalResponse | 3bd209402fa2d1ba3bb13e6a6228ea16881a3dc8 | [
"BSD-3-Clause"
] | null | null | null | // $Header: /nfs/slac/g/glast/ground/cvs/CalXtalResponse/src/test/test_CalCalibSvc.cxx,v 1.2 2008/05/19 21:49:00 chehtman Exp $
/** @file
@author Z.Fewtrell
*/
// LOCAL INCLUDES
#include "test_CalCalibSvc.h"
#include "CalXtalResponse/ICalCalibSvc.h"
#include "test_util.h"
#include "TestCfg.h"
// GLAST INCLUDES
#... | 35.890769 | 131 | 0.617858 | fermi-lat |
a8b15c63f821b46ef33930a7c9e76bce717e51a2 | 33,264 | cpp | C++ | frmts/pcidsk/sdk/blockdir/asciitiledir.cpp | sthagen/OSGeo-gdal | 07631e3f3352f4f7453344b1cb73c6b681609d38 | [
"Apache-2.0"
] | null | null | null | frmts/pcidsk/sdk/blockdir/asciitiledir.cpp | sthagen/OSGeo-gdal | 07631e3f3352f4f7453344b1cb73c6b681609d38 | [
"Apache-2.0"
] | null | null | null | frmts/pcidsk/sdk/blockdir/asciitiledir.cpp | sthagen/OSGeo-gdal | 07631e3f3352f4f7453344b1cb73c6b681609d38 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
*
* Purpose: Block directory API.
*
******************************************************************************
* Copyright (c) 2011
* PCI Geomatics, 90 Allstate Parkway, Markham, Ontario, Canada.
*
* Permission is hereby grante... | 33.633974 | 131 | 0.570707 | sthagen |
a8b22945fcd3c79673df188e2016fed380cf4809 | 326 | cpp | C++ | Module-2/Problem_7c.cpp | farhanmasud/ruet-discrete-mathematics | 4c510c48a6e5f3ed8f202a57c4761c6a1f1286ea | [
"MIT"
] | null | null | null | Module-2/Problem_7c.cpp | farhanmasud/ruet-discrete-mathematics | 4c510c48a6e5f3ed8f202a57c4761c6a1f1286ea | [
"MIT"
] | null | null | null | Module-2/Problem_7c.cpp | farhanmasud/ruet-discrete-mathematics | 4c510c48a6e5f3ed8f202a57c4761c6a1f1286ea | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int sum = 0;
int l1 = 0;
int u1 = 5;
int l2 = 0;
int u2 = 10;
for(int i = l1; i <= u1; i++)
{
for(int j = l2; j <= u2; j++)
{
sum = sum + i + j;
}
}
cout << "The sum is: " << sum;
return... | 13.583333 | 37 | 0.389571 | farhanmasud |
a8b767bd14d13c540bf9f64b0aa3d5f71e5f1b14 | 14,065 | cpp | C++ | Examples/DEPRECATED_Test_Video/src/VideoPlayer.cpp | headupinclouds/GLIP-Lib | e0315e9c5b7ceda6280be8c33734e1dcdc04de8e | [
"MIT"
] | null | null | null | Examples/DEPRECATED_Test_Video/src/VideoPlayer.cpp | headupinclouds/GLIP-Lib | e0315e9c5b7ceda6280be8c33734e1dcdc04de8e | [
"MIT"
] | null | null | null | Examples/DEPRECATED_Test_Video/src/VideoPlayer.cpp | headupinclouds/GLIP-Lib | e0315e9c5b7ceda6280be8c33734e1dcdc04de8e | [
"MIT"
] | null | null | null | #include "VideoPlayer.hpp"
// Namespace
using namespace Glip::CoreGL;
using namespace Glip::CorePipeline;
using namespace Glip::Modules;
// Objects
VideoModIHM::VideoModIHM(void)
: QWidget(), player(NULL), src(NULL), output(NULL), pbo(NULL), textureA(NULL), textureB(NULL), textureLatest(NULL), textureOldest(NUL... | 27.906746 | 468 | 0.624529 | headupinclouds |
a8bc210c67bfebf4f0bc8d51a5cbe72c2bbc0e3a | 17,616 | cpp | C++ | source/glbinding/source/gl/functions_d.cpp | j-o/glbinding | c1e3a571ea4ee7058879e46777ba728a58ca2fa8 | [
"MIT"
] | null | null | null | source/glbinding/source/gl/functions_d.cpp | j-o/glbinding | c1e3a571ea4ee7058879e46777ba728a58ca2fa8 | [
"MIT"
] | null | null | null | source/glbinding/source/gl/functions_d.cpp | j-o/glbinding | c1e3a571ea4ee7058879e46777ba728a58ca2fa8 | [
"MIT"
] | null | null | null |
#include "../Binding_pch.h"
#include <glbinding/gl/functions.h>
using namespace glbinding;
namespace gl
{
void glDebugMessageCallback(GLDEBUGPROC callback, const void * userParam)
{
return Binding::DebugMessageCallback(callback, userParam);
}
void glDebugMessageCallbackAMD(GLDEBUGPROCAMD callback, void * u... | 28.504854 | 232 | 0.770322 | j-o |
a8bd6b6dec9bb821a5b3ef6b09a21c3213aa6ec0 | 4,465 | hpp | C++ | include/seqan3/core/algorithm/all.hpp | h-2/seqan3 | 2cbc19c6f2cdb76c65ed6ff6ae70fc67334146d7 | [
"CC-BY-4.0",
"CC0-1.0"
] | 4 | 2018-03-09T09:37:51.000Z | 2020-07-28T04:52:01.000Z | include/seqan3/core/algorithm/all.hpp | h-2/seqan3 | 2cbc19c6f2cdb76c65ed6ff6ae70fc67334146d7 | [
"CC-BY-4.0",
"CC0-1.0"
] | null | null | null | include/seqan3/core/algorithm/all.hpp | h-2/seqan3 | 2cbc19c6f2cdb76c65ed6ff6ae70fc67334146d7 | [
"CC-BY-4.0",
"CC0-1.0"
] | 1 | 2018-03-09T09:37:54.000Z | 2018-03-09T09:37:54.000Z | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 55.8125 | 119 | 0.747144 | h-2 |
a8c03f48697e81f1d38f294227fc5696fc575a31 | 23,961 | cpp | C++ | _studio/enctools/src/mfx_enctools_common.cpp | alexelizarov/oneVPL-intel-gpu | 1aecebeea5e73670f194481b4c1402628837506f | [
"MIT"
] | null | null | null | _studio/enctools/src/mfx_enctools_common.cpp | alexelizarov/oneVPL-intel-gpu | 1aecebeea5e73670f194481b4c1402628837506f | [
"MIT"
] | null | null | null | _studio/enctools/src/mfx_enctools_common.cpp | alexelizarov/oneVPL-intel-gpu | 1aecebeea5e73670f194481b4c1402628837506f | [
"MIT"
] | 1 | 2021-07-13T08:25:02.000Z | 2021-07-13T08:25:02.000Z | // Copyright (c) 2019-2021 Intel Corporation
//
// 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,... | 34.377331 | 194 | 0.683527 | alexelizarov |
a8c0d02ac2dfe6f87a733efaa1d1891fe141ba39 | 1,359 | cpp | C++ | leetcode/Cpp/13.RomantoInteger.cpp | henrytien/AlgorithmSolutions | 62339269f4fa698ddd2e73458caef875af05af8f | [
"MIT"
] | 15 | 2020-06-27T03:28:39.000Z | 2021-08-13T10:42:24.000Z | leetcode/Cpp/13.RomantoInteger.cpp | henrytien/AlgorithmSolutions | 62339269f4fa698ddd2e73458caef875af05af8f | [
"MIT"
] | 40 | 2020-06-27T03:29:53.000Z | 2020-11-05T12:29:49.000Z | leetcode/Cpp/13.RomantoInteger.cpp | henrytien/AlgorithmSolutions | 62339269f4fa698ddd2e73458caef875af05af8f | [
"MIT"
] | 22 | 2020-07-16T03:23:43.000Z | 2022-02-19T16:00:55.000Z | #include"AllInclude.h"
class Solution {
public:
int romanToInt(string s) {
int res = 0;
char I = 'I', V = 'V', X = 'X', L = 'L', C = 'C', D = 'D', M = 'M';
for (size_t i = 0; i < s.length();)
{
int end = i + 1;
if (s[i] == I && s[i + 1] == V && end < s.length()) // IV = 4
{
res += 4;
i+=2;
... | 15.1 | 71 | 0.338484 | henrytien |
a8c719ad0486a0f96c8cfe09eda6bb4c74608387 | 1,533 | cc | C++ | src/ui/lib/yuv/yuv.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 3 | 2020-08-02T04:46:18.000Z | 2020-08-07T10:10:53.000Z | src/ui/lib/yuv/yuv.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | src/ui/lib/yuv/yuv.cc | ZVNexus/fuchsia | c5610ad15208208c98693618a79c705af935270c | [
"BSD-3-Clause"
] | 1 | 2020-08-07T10:11:49.000Z | 2020-08-07T10:11:49.000Z | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ui/lib/yuv/yuv.h"
#include <algorithm>
#include <cmath>
namespace {
uint8_t NormalizedFloatToUnsignedByte(float in) {
int32_t out = std:... | 33.326087 | 79 | 0.682975 | zhangpf |
a8c77a8d6511d8e05f53b5006e55b6a009c4a853 | 1,285 | hpp | C++ | src/func.hpp | Dlanis/SDLPong | 8229aae0d8b80c530a49e98cb6fb91c1f7768929 | [
"MIT"
] | null | null | null | src/func.hpp | Dlanis/SDLPong | 8229aae0d8b80c530a49e98cb6fb91c1f7768929 | [
"MIT"
] | null | null | null | src/func.hpp | Dlanis/SDLPong | 8229aae0d8b80c530a49e98cb6fb91c1f7768929 | [
"MIT"
] | null | null | null | #pragma once
#include <thread>
#include <cmath>
#include <SDL.h>
#include "ball.hpp"
#include "paddle.hpp"
constexpr float pi = 3.14159;
inline void sleep(double seconds) {
std::this_thread::sleep_for(std::chrono::duration<double>(seconds));
}
inline constexpr bool intersects(float cx, float cy, float radius, ... | 29.204545 | 116 | 0.65214 | Dlanis |
a8c8e780539ebbd41bdaf47e88918419b8c5380e | 3,671 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/net/UidRange.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/net/UidRange.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/net/UidRange.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 23.993464 | 120 | 0.61945 | jingcao80 |
a8c94980f544f30152f6937a3bfdaa292b7e6feb | 19,268 | cpp | C++ | src/trident/ml/batch.cpp | dkw-aau/trident-clone | 18f896db2be05870069ae7b3aa6b4837c74fff0f | [
"Apache-2.0"
] | 20 | 2018-10-17T21:39:40.000Z | 2021-11-10T11:07:23.000Z | src/trident/ml/batch.cpp | dkw-aau/trident-clone | 18f896db2be05870069ae7b3aa6b4837c74fff0f | [
"Apache-2.0"
] | 5 | 2020-07-06T22:50:04.000Z | 2022-03-17T10:34:15.000Z | src/trident/ml/batch.cpp | dkw-aau/trident-clone | 18f896db2be05870069ae7b3aa6b4837c74fff0f | [
"Apache-2.0"
] | 9 | 2018-09-18T11:37:35.000Z | 2022-03-29T07:46:41.000Z | #include <trident/ml/batch.h>
#include <trident/kb/kb.h>
#include <trident/kb/querier.h>
#include <fstream>
#include <algorithm>
#include <random>
#include <unordered_map>
BatchCreator::BatchCreator(string kbdir, uint64_t batchsize,
uint16_t nthreads,
const float valid,
const float test,
... | 31.847934 | 123 | 0.535344 | dkw-aau |
a8c978333b4cc8f14c54e1d6a096d8ba09193dc3 | 6,495 | inl | C++ | qbase/include/util/Iterators.inl | jeanleflambeur/silkopter | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | [
"BSD-3-Clause"
] | 36 | 2015-03-09T16:47:14.000Z | 2021-02-04T08:32:04.000Z | qbase/include/util/Iterators.inl | jeanlemotan/silkopter | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | [
"BSD-3-Clause"
] | 42 | 2017-02-11T11:15:51.000Z | 2019-12-28T16:00:44.000Z | qbase/include/util/Iterators.inl | jeanleflambeur/silkopter | cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8 | [
"BSD-3-Clause"
] | 5 | 2015-10-15T05:46:48.000Z | 2020-05-11T17:40:36.000Z | //////////////////////////////////////////////////////////////////////////
template<class T>
Const_Ptr_Iterator<T>::Const_Ptr_Iterator(uint8_t const* data, size_type stride, size_type count)
: m_begin(data)
, m_end(data ? data + stride*count : nullptr)
, m_ptr(data)
, m_stride(stride)
{
QASSERT(stride > ... | 24.602273 | 120 | 0.676982 | jeanleflambeur |
a8c9b6217d453f3fcfc699a816d4107dac77435c | 9,935 | cpp | C++ | chapter21/chapter21_drill.cpp | TingeOGinge/stroustrup_ppp | bb69533fff8a8f1890c8c866bae2030eaca1cf8b | [
"MIT"
] | 170 | 2015-05-02T18:08:38.000Z | 2018-07-31T11:35:17.000Z | chapter21/chapter21_drill.cpp | TingeOGinge/stroustrup_ppp | bb69533fff8a8f1890c8c866bae2030eaca1cf8b | [
"MIT"
] | 7 | 2018-08-29T15:43:14.000Z | 2021-09-23T21:56:49.000Z | chapter21/chapter21_drill.cpp | TingeOGinge/stroustrup_ppp | bb69533fff8a8f1890c8c866bae2030eaca1cf8b | [
"MIT"
] | 105 | 2015-05-28T11:52:19.000Z | 2018-07-17T14:11:25.000Z | // Chapter 21, drill
#include "../lib_files/std_lib_facilities.h"
#include<map>
#include<numeric>
//------------------------------------------------------------------------------
struct Item {
string name;
int iid;
double value;
Item() :name(), iid(0), value(0) { }
Item(string n, int i, double v)... | 24.899749 | 81 | 0.459386 | TingeOGinge |
a8cdcd5026c1d66b26e281d5d96e3f8f2763849f | 1,628 | cpp | C++ | tests/UnitTests/DelegateTest.cpp | evugar/Mcucpp | 202d98587e8b9584370a32c1bafa2c7315120c9e | [
"BSD-3-Clause"
] | 87 | 2015-03-16T19:09:09.000Z | 2022-03-19T19:48:49.000Z | tests/UnitTests/DelegateTest.cpp | evugar/Mcucpp | 202d98587e8b9584370a32c1bafa2c7315120c9e | [
"BSD-3-Clause"
] | 5 | 2015-04-19T11:02:35.000Z | 2021-04-21T05:29:22.000Z | tests/UnitTests/DelegateTest.cpp | evugar/Mcucpp | 202d98587e8b9584370a32c1bafa2c7315120c9e | [
"BSD-3-Clause"
] | 42 | 2015-02-11T16:29:35.000Z | 2022-03-12T11:48:08.000Z |
#include <gtest/gtest.h>
#include <delegate.h>
class Foo
{
public:
Foo()
{
barCalled = 0;
arg1 = 0;
arg2 = 0;
arg3 = 0;
}
void Bar()
{
barCalled++;
}
void Bar1(int a1)
{
barCalled++;
arg1 = a1;
}
void Bar2(int a1, int a2)
{
barCalled++;
arg1 = a1;
... | 16.612245 | 67 | 0.624693 | evugar |
a8d2a313ad5617fefbde1f293e387688f997fe2d | 7,966 | cpp | C++ | source/rx/Font.cpp | zhiayang/sim-thing | 8d9d5163146e2bdde15f4eadefa85453f12fac18 | [
"Apache-2.0"
] | 1 | 2021-02-07T08:40:11.000Z | 2021-02-07T08:40:11.000Z | source/rx/Font.cpp | zhiayang/sim-thing | 8d9d5163146e2bdde15f4eadefa85453f12fac18 | [
"Apache-2.0"
] | null | null | null | source/rx/Font.cpp | zhiayang/sim-thing | 8d9d5163146e2bdde15f4eadefa85453f12fac18 | [
"Apache-2.0"
] | null | null | null | // Font.cpp
// Copyright (c) 2014 - 2017, zhiayang@gmail.com
// Licensed under the Apache License Version 2.0.
#include <map>
#include <algorithm>
#include <stdio.h>
#include <sys/stat.h>
#include "rx.h"
#include <glbinding/gl/gl.h>
#define STB_RECT_PACK_IMPLEMENTATION
#include "stb/stb_pack_rect.h"
#define STB_T... | 27.37457 | 127 | 0.6765 | zhiayang |
a8d3237a56ea3587567abea6faf254e185968081 | 1,671 | hpp | C++ | program/object-detection-armnn-tflite/includes/detect.hpp | steffenlarsen/armnn-mlperf | c7da4c51f62af7c4e5c43e83345fa23df2fb0bc6 | [
"MIT"
] | 23 | 2019-04-24T15:12:40.000Z | 2022-01-06T16:10:34.000Z | program/object-detection-armnn-tflite/includes/detect.hpp | steffenlarsen/armnn-mlperf | c7da4c51f62af7c4e5c43e83345fa23df2fb0bc6 | [
"MIT"
] | 5 | 2019-06-04T11:07:52.000Z | 2022-01-06T16:45:40.000Z | program/object-detection-armnn-tflite/includes/detect.hpp | steffenlarsen/armnn-mlperf | c7da4c51f62af7c4e5c43e83345fa23df2fb0bc6 | [
"MIT"
] | 8 | 2019-10-31T11:55:36.000Z | 2021-11-21T04:33:34.000Z | /*
* Copyright (c) 2019 dividiti Ltd.
* Copyright (c) 2019 Arm Ltd.
*
* SPDX-License-Identifier: MIT.
*/
#ifndef DETECT_H
#define DETECT_H
#include <iomanip>
#include <vector>
#include <iterator>
#include "armnn/ArmNN.hpp"
#include "armnn/Exceptions.hpp"
#include "armnn/Tensor.hpp"
#include "armnn/INetwork.hpp"... | 28.322034 | 102 | 0.708558 | steffenlarsen |
a8d33ad75224dd08756dc3270497cc6a0db5532e | 328 | cpp | C++ | lessons/06-objects/src/main_item_v2_sol.cpp | chemphys/LearnCPP | 025a6e043c6eadb61324c261168bbd0478d9690b | [
"BSD-3-Clause"
] | null | null | null | lessons/06-objects/src/main_item_v2_sol.cpp | chemphys/LearnCPP | 025a6e043c6eadb61324c261168bbd0478d9690b | [
"BSD-3-Clause"
] | null | null | null | lessons/06-objects/src/main_item_v2_sol.cpp | chemphys/LearnCPP | 025a6e043c6eadb61324c261168bbd0478d9690b | [
"BSD-3-Clause"
] | null | null | null | #include "item_v2_sol.h"
int main() {
Item myItem;
std::cout << "Setting name to `chocolate`\n"
<< " price to `$1.15`\n"
<< " num_items to `10`\n";
myItem.SetName("chocolate");
myItem.SetPrice(1.15);
myItem.SetNumItems(10);
myItem.PrintItem();
retu... | 16.4 | 51 | 0.521341 | chemphys |
a8d482b137992070a001f7aba4e957db268c238b | 6,659 | cpp | C++ | Libtorch eval/VGG16/vgg16eighty.cpp | atcp1520/soter4 | 2c2273e1b4788bf30dc93c5590daf77c6b10fb65 | [
"MIT"
] | null | null | null | Libtorch eval/VGG16/vgg16eighty.cpp | atcp1520/soter4 | 2c2273e1b4788bf30dc93c5590daf77c6b10fb65 | [
"MIT"
] | null | null | null | Libtorch eval/VGG16/vgg16eighty.cpp | atcp1520/soter4 | 2c2273e1b4788bf30dc93c5590daf77c6b10fb65 | [
"MIT"
] | 1 | 2022-01-14T07:59:21.000Z | 2022-01-14T07:59:21.000Z | // VGG16 - 80% in CUDA
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
#include <torch/library.h>
#include <torch/script.h>
#include <torch/torch.h>
#include <ATen/ATen.h>
#include <iostream>
#include <random>
#include <string>
#include <io.h>
#include <memory>
#include <vector>
#include ... | 26.636 | 100 | 0.526055 | atcp1520 |
a8d49ff1ec11ad853d6f03fb76dd531ab76c3856 | 899 | cc | C++ | src/comm/communicator.cc | akkaze/rdc | 76e85e3fe441e3ba968a190d9496f467b9d4d2e6 | [
"BSD-3-Clause"
] | 52 | 2018-10-08T01:56:15.000Z | 2021-03-14T12:19:51.000Z | src/comm/communicator.cc | akkaze/rdc | 76e85e3fe441e3ba968a190d9496f467b9d4d2e6 | [
"BSD-3-Clause"
] | null | null | null | src/comm/communicator.cc | akkaze/rdc | 76e85e3fe441e3ba968a190d9496f467b9d4d2e6 | [
"BSD-3-Clause"
] | 3 | 2019-01-02T05:17:28.000Z | 2020-01-06T03:53:12.000Z | /*!
* Copyright (c) 2018 by Contributors
* \file comm.cc
* \brief this file governs which implementation of comm we are actually using
* provides an singleton of comm interface
*
* \author Ankun Zheng
*/
#include "comm/communicator.h"
#include <memory>
#include "comm/communicator_base.h"
#include "comm/communi... | 28.09375 | 78 | 0.686318 | akkaze |
a8d4fe181bcec3f99675a7a771839ca38b3db16f | 458 | hpp | C++ | telnetpp/include/telnetpp/options/msdp/detail/decoder.hpp | CalielOfSeptem/septem | fe7a615eb6c279d3746ee78de8864b5e07bf7e3e | [
"MIT"
] | 1 | 2017-03-30T14:31:33.000Z | 2017-03-30T14:31:33.000Z | telnetpp/include/telnetpp/options/msdp/detail/decoder.hpp | HoraceWeebler/septem | fe7a615eb6c279d3746ee78de8864b5e07bf7e3e | [
"MIT"
] | null | null | null | telnetpp/include/telnetpp/options/msdp/detail/decoder.hpp | HoraceWeebler/septem | fe7a615eb6c279d3746ee78de8864b5e07bf7e3e | [
"MIT"
] | null | null | null | #pragma once
#include "telnetpp/options/msdp/variable.hpp"
namespace telnetpp { namespace options { namespace msdp { namespace detail {
//* =========================================================================
/// \brief Decode a byte stream into a list of MSDP variables.
//* ====================================... | 32.714286 | 77 | 0.4869 | CalielOfSeptem |
a8d56ed7fbb946a2683c587b702609c12bc06614 | 1,570 | cc | C++ | src/developer/forensics/testing/stubs/device_id_provider.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/developer/forensics/testing/stubs/device_id_provider.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/developer/forensics/testing/stubs/device_id_provider.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/developer/forensics/testing/stubs/device_id_provider.h"
#include <lib/syslog/cpp/macros.h>
#include <zircon/errors.h>
namespace forensics {... | 27.068966 | 96 | 0.733758 | allansrc |
a8d583db195c82521f55ed7dc779441d8da2e4ae | 1,922 | cpp | C++ | UdpReciever/test_udp_receiver/SequencerTest.cpp | tomoyuki-nakabayashi/MyQtSamples | 2bb2d74b989bd3895338a9d3740c26d813e76b74 | [
"MIT"
] | null | null | null | UdpReciever/test_udp_receiver/SequencerTest.cpp | tomoyuki-nakabayashi/MyQtSamples | 2bb2d74b989bd3895338a9d3740c26d813e76b74 | [
"MIT"
] | 5 | 2018-03-31T11:54:59.000Z | 2018-10-14T10:32:15.000Z | UdpReciever/test_udp_receiver/SequencerTest.cpp | tomoyuki-nakabayashi/MyQtSamples | 2bb2d74b989bd3895338a9d3740c26d813e76b74 | [
"MIT"
] | null | null | null | /**
* Copyright <2017> <Tomoyuki Nakabayashi>
* This software is released under the MIT License, see LICENSE.
*/
#include <gtest/gtest.h>
#include <QObject>
#include <QVector>
#include "Sequencer.h"
#include "FrameBuilder.h"
#include "SubFrameBuilder.h"
namespace sequencer_test {
using udp_receiver::Sequencer;
usi... | 24.961039 | 75 | 0.712799 | tomoyuki-nakabayashi |
a8d7152a7c5c73f4b69e0391ae6068e95ad5d417 | 699 | cpp | C++ | libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/empty_tuple_trivial.pass.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 778 | 2015-01-01T03:30:02.000Z | 2022-03-20T15:58:39.000Z | libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/empty_tuple_trivial.pass.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 47 | 2019-12-11T02:34:13.000Z | 2020-06-08T19:26:59.000Z | libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/empty_tuple_trivial.pass.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 412 | 2015-01-01T06:25:38.000Z | 2022-03-26T16:58:34.000Z | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | 30.391304 | 80 | 0.552217 | medismailben |
a8d8972bac80e68d05e8e6b1cd9287ae3f9dbe91 | 685 | cpp | C++ | lab2/Lab2Task4Var4/Lab2Task4Var4/Lab2Task4Var4.cpp | AlexanderChibirev/OOP | e30adebbf961d9573a2d14981e5d8b92466207fd | [
"MIT"
] | null | null | null | lab2/Lab2Task4Var4/Lab2Task4Var4/Lab2Task4Var4.cpp | AlexanderChibirev/OOP | e30adebbf961d9573a2d14981e5d8b92466207fd | [
"MIT"
] | 9 | 2016-02-17T09:08:02.000Z | 2016-05-19T12:02:59.000Z | lab2/Lab2Task4Var4/Lab2Task4Var4/Lab2Task4Var4.cpp | AlexanderChibirev/OOP | e30adebbf961d9573a2d14981e5d8b92466207fd | [
"MIT"
] | null | null | null | // Lab2Task4Var4.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "GeneratePrimeNumbersSet.h"
int main(int argc, char** argv)
{
if (argc != 2)
{
std::cout << "Wrong amount of arguments was proposed\nEnter a correct arguments amount please, for example:\n'upperBound < 0 or... | 22.096774 | 154 | 0.670073 | AlexanderChibirev |
a8d8c005a64253a10cb9005070a72d00ef246a2c | 9,993 | cpp | C++ | src/monStaGen/incrementalDeterministicGraphGenerator.cpp | tyrex-team/gmark | e9f16c06d2c9fb76167077a3839d2f10585bc546 | [
"MIT"
] | 8 | 2020-01-04T15:12:36.000Z | 2021-12-15T16:26:52.000Z | src/monStaGen/incrementalDeterministicGraphGenerator.cpp | tyrex-team/gmark | e9f16c06d2c9fb76167077a3839d2f10585bc546 | [
"MIT"
] | 2 | 2019-12-17T18:29:57.000Z | 2020-04-09T14:01:37.000Z | src/monStaGen/incrementalDeterministicGraphGenerator.cpp | tyrex-team/gmark | e9f16c06d2c9fb76167077a3839d2f10585bc546 | [
"MIT"
] | 5 | 2020-02-22T20:20:13.000Z | 2022-01-19T21:12:47.000Z | /*
* incrementalDeterministicGraphGenerator.cpp
*
* Created on: Sep 16, 2016
* Author: wilcovanleeuwen
*/
#include <vector>
#include <algorithm> // std::set_intersection, std::sort
#include <chrono>
#include "incrementalDeterministicGraphGenerator.h"
#include "graphNode.h"
namespace std {
incrementalDe... | 35.18662 | 158 | 0.749925 | tyrex-team |
a8da46207fb40fcd8b6a5cda7b0bfc146bef0671 | 7,681 | cpp | C++ | bullet-2.81-rev2613/src/BulletFluids/btFluidHfRigidDynamicsWorld.cpp | rtrius/Bullet-FLUIDS | b58dbc5108512e5a4bb0a532284a98128fd8f8ce | [
"Zlib"
] | 19 | 2015-01-18T09:34:48.000Z | 2021-07-22T08:00:17.000Z | bullet-2.81-rev2613/src/BulletFluids/btFluidHfRigidDynamicsWorld.cpp | rtrius/Bullet-FLUIDS | b58dbc5108512e5a4bb0a532284a98128fd8f8ce | [
"Zlib"
] | null | null | null | bullet-2.81-rev2613/src/BulletFluids/btFluidHfRigidDynamicsWorld.cpp | rtrius/Bullet-FLUIDS | b58dbc5108512e5a4bb0a532284a98128fd8f8ce | [
"Zlib"
] | 8 | 2015-02-09T08:03:04.000Z | 2021-07-22T08:01:54.000Z | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is grant... | 36.402844 | 243 | 0.728291 | rtrius |
a8df659c0231eab9f7ce36fbe8fe6c5553ba3673 | 9,504 | cc | C++ | src/arg_parse.cc | dstrain115/Stim | 82a161741c05d637fe16ea20b1d99a48b4ca4750 | [
"Apache-2.0"
] | 2 | 2021-07-24T13:56:07.000Z | 2021-11-17T11:03:51.000Z | src/arg_parse.cc | ephxyscj1996/Stim | 1f35e36c33a6dba244318e904c35b63a3d82977a | [
"Apache-2.0"
] | null | null | null | src/arg_parse.cc | ephxyscj1996/Stim | 1f35e36c33a6dba244318e904c35b63a3d82977a | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Google LLC
//
// 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 ... | 32.216949 | 117 | 0.539983 | dstrain115 |
a8e1a3df1922b5c8d625de3942b1b5e1f9824e29 | 20,621 | hpp | C++ | include/vuk/Image.hpp | zacharycarter/vuk | db3808fbbebcbf1912f060b54aad083e0e0168ae | [
"MIT"
] | 173 | 2020-02-25T08:35:12.000Z | 2022-03-28T07:48:39.000Z | include/vuk/Image.hpp | zacharycarter/vuk | db3808fbbebcbf1912f060b54aad083e0e0168ae | [
"MIT"
] | 42 | 2020-10-15T12:48:29.000Z | 2022-03-19T17:08:58.000Z | include/vuk/Image.hpp | zacharycarter/vuk | db3808fbbebcbf1912f060b54aad083e0e0168ae | [
"MIT"
] | 13 | 2020-05-28T13:28:46.000Z | 2022-02-06T09:34:50.000Z | #pragma once
#include "Types.hpp"
#include "../src/CreateInfo.hpp"
namespace vuk {
using Image = VkImage;
using Sampler = Handle<VkSampler>;
enum class ImageTiling {
eOptimal = VK_IMAGE_TILING_OPTIMAL,
eLinear = VK_IMAGE_TILING_LINEAR,
eDrmFormatModifierEXT = VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT
};
en... | 34.83277 | 124 | 0.772513 | zacharycarter |
a8e1d1f51c9a32543413ffbe421b34292acf6167 | 23,990 | cpp | C++ | android/android_9/frameworks/av/media/libmediaplayer2/MediaPlayer2AudioOutput.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/av/media/libmediaplayer2/MediaPlayer2AudioOutput.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/av/media/libmediaplayer2/MediaPlayer2AudioOutput.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
**
** Copyright 2018, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by appl... | 32.953297 | 99 | 0.641517 | yakuizhao |
a8e2677a71bad7cf97c3dcd5ab12238ebcdaf3ab | 33,487 | cc | C++ | zircon/system/ulib/paver/paver.cc | sysidos/fuchsia | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | [
"BSD-3-Clause"
] | null | null | null | zircon/system/ulib/paver/paver.cc | sysidos/fuchsia | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | [
"BSD-3-Clause"
] | null | null | null | zircon/system/ulib/paver/paver.cc | sysidos/fuchsia | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "paver.h"
#include <dirent.h>
#include <fcntl.h>
#include <lib/fdio/directory.h>
#include <lib/fidl-async/cpp/bind.h>
#include <lib/fidl/epitaph.... | 35.776709 | 100 | 0.672858 | sysidos |
a8e89b3a2181f913f0b8d6d9fb35d04715d32ed0 | 1,447 | cxx | C++ | src/mlio/data_type.cxx | rizwangilani/ml-io | d9572227281168139c4e99d79a6d2ebc83323a61 | [
"Apache-2.0"
] | null | null | null | src/mlio/data_type.cxx | rizwangilani/ml-io | d9572227281168139c4e99d79a6d2ebc83323a61 | [
"Apache-2.0"
] | 2 | 2020-04-08T01:37:44.000Z | 2020-04-14T20:14:07.000Z | src/mlio/data_type.cxx | rizwangilani/ml-io | d9572227281168139c4e99d79a6d2ebc83323a61 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of
* the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "lice... | 25.839286 | 74 | 0.656531 | rizwangilani |
a8efb1646c1d2d5bf11a8a4516d5fbe95fc08062 | 445 | cpp | C++ | wliotproxy-src-base/libVDIL/src/core/StopBlock.cpp | ooolms/wl_iot_framework | 77f5d577105d505fd1c5a21940f29b72eb3391ea | [
"Apache-2.0"
] | null | null | null | wliotproxy-src-base/libVDIL/src/core/StopBlock.cpp | ooolms/wl_iot_framework | 77f5d577105d505fd1c5a21940f29b72eb3391ea | [
"Apache-2.0"
] | null | null | null | wliotproxy-src-base/libVDIL/src/core/StopBlock.cpp | ooolms/wl_iot_framework | 77f5d577105d505fd1c5a21940f29b72eb3391ea | [
"Apache-2.0"
] | null | null | null | #include "VDIL/core/StopBlock.h"
#include "VDIL/core/Program.h"
using namespace WLIOTVDIL;
const QString StopBlock::mBlockName="stop";
StopBlock::StopBlock(quint32 blockId)
:BaseBlock(blockId)
{
}
QString StopBlock::groupName()const
{
return Program::reservedCoreGroupName;
}
QString StopBlock::blockName()const
{... | 15.892857 | 43 | 0.761798 | ooolms |
a8efc9758eab0c4b43bb0207d8cc213a4241e5e6 | 1,171 | hh | C++ | tests/using_class/bind.using_class.hh | LLNL/bindee | 3df620803ef5b198a32732341e52971342493863 | [
"MIT"
] | 5 | 2020-02-19T08:10:46.000Z | 2021-02-03T01:28:34.000Z | tests/using_class/bind.using_class.hh | LLNL/bindee | 3df620803ef5b198a32732341e52971342493863 | [
"MIT"
] | null | null | null | tests/using_class/bind.using_class.hh | LLNL/bindee | 3df620803ef5b198a32732341e52971342493863 | [
"MIT"
] | null | null | null | // Generated by bindee 2.1.2 from using_class.hh.
#ifndef BIND_USING_CLASS_HH
#define BIND_USING_CLASS_HH
#include <pybind11/pybind11.h>
@INCLUDES@
// Records.
template <typename Target>
void bind_LongName(Target &target);
template <typename Target>
void bind_Name(Target &target);
// Bind functions.
template <typ... | 26.613636 | 100 | 0.698548 | LLNL |
a8f02d009d4a1e7002ae1c6d7d0c5b6936f5146a | 2,908 | cpp | C++ | Source/Hamakaze/idrv/gmer.cpp | mfkiwl/KDU | b33b2338606ebef4c9cbeef5b2fcbc2052f6bfb8 | [
"MIT"
] | null | null | null | Source/Hamakaze/idrv/gmer.cpp | mfkiwl/KDU | b33b2338606ebef4c9cbeef5b2fcbc2052f6bfb8 | [
"MIT"
] | null | null | null | Source/Hamakaze/idrv/gmer.cpp | mfkiwl/KDU | b33b2338606ebef4c9cbeef5b2fcbc2052f6bfb8 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* (C) COPYRIGHT AUTHORS, 2022
*
* TITLE: GMER.CPP
*
* VERSION: 1.12
*
* DATE: 25 Jan 2022
*
* GMER driver routines.
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
* ANY KIND, EITHER EXPRESSED ... | 21.540741 | 80 | 0.611761 | mfkiwl |
a8f1206a684e311f8692318e04eeeb0f28c73f4a | 173 | hpp | C++ | src/intersim/booksim_config.hpp | beneslami/Multi-GPU | 89101177a29a0f238fa85671943f2f584e82a815 | [
"Apache-2.0"
] | null | null | null | src/intersim/booksim_config.hpp | beneslami/Multi-GPU | 89101177a29a0f238fa85671943f2f584e82a815 | [
"Apache-2.0"
] | null | null | null | src/intersim/booksim_config.hpp | beneslami/Multi-GPU | 89101177a29a0f238fa85671943f2f584e82a815 | [
"Apache-2.0"
] | null | null | null | #ifndef _BOOKSIM_CONFIG_HPP_
#define _BOOKSIM_CONFIG_HPP_
#include "config_utils.hpp"
class BookSimConfig : public Configuration {
public:
BookSimConfig( );
};
#endif
| 14.416667 | 44 | 0.780347 | beneslami |
a8f1450e8d56be831e3c0b8fa3c744f83dd959c6 | 24,470 | cpp | C++ | nGenEx/Window.cpp | RogerioY/starshatter-open | 3a507e08b1d4e5970b27401a7e6517570d529400 | [
"BSD-3-Clause"
] | null | null | null | nGenEx/Window.cpp | RogerioY/starshatter-open | 3a507e08b1d4e5970b27401a7e6517570d529400 | [
"BSD-3-Clause"
] | 4 | 2019-09-05T22:22:57.000Z | 2021-03-28T02:09:24.000Z | nGenEx/Window.cpp | RogerioY/starshatter-open | 3a507e08b1d4e5970b27401a7e6517570d529400 | [
"BSD-3-Clause"
] | null | null | null | /* Starshatter OpenSource Distribution
Copyright (c) 1997-2004, Destroyer Studios LLC.
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 t... | 25.463059 | 106 | 0.479403 | RogerioY |
5ef47ed827fd88cd573bd7c95daec49cb7a816ee | 1,170 | cpp | C++ | qtgui/ResultImage.cpp | starturtle/one-bit | 32138249e20c42bd164c1d91a209f338087730f9 | [
"MIT"
] | null | null | null | qtgui/ResultImage.cpp | starturtle/one-bit | 32138249e20c42bd164c1d91a209f338087730f9 | [
"MIT"
] | 25 | 2020-03-18T22:50:22.000Z | 2020-10-30T10:49:16.000Z | qtgui/ResultImage.cpp | starturtle/one-bit | 32138249e20c42bd164c1d91a209f338087730f9 | [
"MIT"
] | null | null | null | #include "ResultImage.h"
#include "logging.h"
#include <algorithm>
#include <QMouseEvent>
ResultImage::ResultImage(QQuickItem* parent)
: QQuickPaintedItem()
, image{}
{
}
void ResultImage::setData(const QImage& data)
{
if (data.isNull())
{
logging::logger() << logging::Level::NOTE << "Input Image empty!" <<... | 21.666667 | 97 | 0.642735 | starturtle |
5ef76395fe577771422a3fe5adc717b25613601f | 5,459 | cpp | C++ | src/test_array_of_ordered.cpp | mheyman/daw_json_link_vcpkg_tests | efb56c122bec2f1a80d6a1843752510a2a8ca956 | [
"BSL-1.0"
] | 275 | 2019-04-28T18:53:01.000Z | 2022-03-29T23:10:14.000Z | src/test_array_of_ordered.cpp | mheyman/daw_json_link_vcpkg_tests | efb56c122bec2f1a80d6a1843752510a2a8ca956 | [
"BSL-1.0"
] | 78 | 2019-11-15T16:20:11.000Z | 2022-02-23T01:24:49.000Z | src/test_array_of_ordered.cpp | mheyman/daw_json_link_vcpkg_tests | efb56c122bec2f1a80d6a1843752510a2a8ca956 | [
"BSL-1.0"
] | 15 | 2019-06-20T10:28:47.000Z | 2022-03-10T16:45:10.000Z | // Copyright (c) Darrell Wright
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/beached/daw_json_link
//
#include <daw/json/daw_json_link.h>
#include <cstdint>
#include <io... | 62.747126 | 1,543 | 0.66111 | mheyman |
5ef78d02c64c47f4d9c91d76878ca14bf8b2679d | 8,274 | cpp | C++ | generator/maxspeeds_builder.cpp | sthirvela/organicmaps | 14885ba070ac9d1b7241ebb89eeefa46c9fdc1e4 | [
"Apache-2.0"
] | 3,062 | 2021-04-09T16:51:55.000Z | 2022-03-31T21:02:51.000Z | generator/maxspeeds_builder.cpp | MAPSWorks/organicmaps | b5fef4b5954cb27153c0dafddd7eed3bfa0b1e7f | [
"Apache-2.0"
] | 1,396 | 2021-04-08T07:26:49.000Z | 2022-03-31T20:27:46.000Z | generator/maxspeeds_builder.cpp | MAPSWorks/organicmaps | b5fef4b5954cb27153c0dafddd7eed3bfa0b1e7f | [
"Apache-2.0"
] | 242 | 2021-04-10T17:10:46.000Z | 2022-03-31T13:41:07.000Z | #include "generator/maxspeeds_builder.hpp"
#include "generator/maxspeeds_parser.hpp"
#include "generator/routing_helpers.hpp"
#include "routing/index_graph.hpp"
#include "routing/maxspeeds_serialization.hpp"
#include "routing/routing_helpers.hpp"
#include "routing_common/maxspeed_conversion.hpp"
#include "indexer/f... | 29.236749 | 103 | 0.630771 | sthirvela |
5ef794e29145b5cc25e08d018a5106b6718e7650 | 2,485 | cpp | C++ | cpuBoosters/bmv2/booster_switch/memcached_booster_primitives.cpp | CSEYJ/Flightplan | e1424f42c8f06446094941c38ef5989a76b7ee0a | [
"Apache-2.0"
] | 20 | 2020-10-06T08:37:22.000Z | 2022-03-28T07:32:23.000Z | cpuBoosters/bmv2/booster_switch/memcached_booster_primitives.cpp | CSEYJ/Flightplan | e1424f42c8f06446094941c38ef5989a76b7ee0a | [
"Apache-2.0"
] | 1 | 2021-01-24T15:51:40.000Z | 2021-01-24T15:51:40.000Z | cpuBoosters/bmv2/booster_switch/memcached_booster_primitives.cpp | CSEYJ/Flightplan | e1424f42c8f06446094941c38ef5989a76b7ee0a | [
"Apache-2.0"
] | 3 | 2021-01-06T03:43:50.000Z | 2021-10-15T20:09:32.000Z | #include "booster_primitives.hpp"
#include "memcached.h"
#include "simple_switch.h"
#include <bm/bm_sim/actions.h>
#include <bm/bm_sim/data.h>
#include <bm/bm_sim/packet.h>
using bm::Data;
using bm::Packet;
using bm::Header;
template <typename... Args>
using BoosterExtern = boosters::BoosterExtern<Args...>;
templat... | 27.921348 | 92 | 0.632596 | CSEYJ |
5ef91b0debb6fa7dde8c828d2b821777420bdb49 | 1,165 | cpp | C++ | src/tests/thirdparty/t_silo_smoke.cpp | adrienbernede/conduit | 38379643d570941164b4fad76e269d2862f0e47b | [
"BSD-3-Clause"
] | 120 | 2015-12-09T00:58:22.000Z | 2022-03-25T00:14:39.000Z | src/tests/thirdparty/t_silo_smoke.cpp | adrienbernede/conduit | 38379643d570941164b4fad76e269d2862f0e47b | [
"BSD-3-Clause"
] | 808 | 2016-02-27T22:25:15.000Z | 2022-03-30T23:42:12.000Z | src/tests/thirdparty/t_silo_smoke.cpp | adrienbernede/conduit | 38379643d570941164b4fad76e269d2862f0e47b | [
"BSD-3-Clause"
] | 49 | 2016-02-12T17:19:16.000Z | 2022-02-01T14:36:21.000Z | // Copyright (c) Lawrence Livermore National Security, LLC and other Conduit
// Project developers. See top-level LICENSE AND COPYRIGHT files for dates and
// other details. No copyright assignment is required to contribute to Conduit.
//-----------------------------------------------------------------------------
///... | 31.486486 | 84 | 0.538197 | adrienbernede |
5efa026717b62246a310b684745fda4e85d07fb8 | 2,160 | hpp | C++ | rtcf/include/rtcf/rt_rosconsole_logging.hpp | daoran/RTCF | dd4faebe13a733cd6ef93074d4b909aa831f4c57 | [
"MIT"
] | 11 | 2021-04-26T17:30:20.000Z | 2022-03-27T14:15:10.000Z | rtcf/include/rtcf/rt_rosconsole_logging.hpp | daoran/RTCF | dd4faebe13a733cd6ef93074d4b909aa831f4c57 | [
"MIT"
] | 12 | 2021-03-29T10:15:37.000Z | 2021-05-21T16:25:58.000Z | rtcf/include/rtcf/rt_rosconsole_logging.hpp | daoran/RTCF | dd4faebe13a733cd6ef93074d4b909aa831f4c57 | [
"MIT"
] | 2 | 2021-07-05T16:22:02.000Z | 2021-12-29T10:05:25.000Z | #ifndef RT_ROSONSOLE_LOGGING_HPP
#define RT_ROSONSOLE_LOGGING_HPP
#include <ros/ros.h>
#include <roscpp/SetLoggerLevel.h>
#include "rtcf/macros.hpp"
OROCOS_HEADERS_BEGIN
// this is a workaround for old log4cpp version that do not compile in C++17 due to usage of deprecated features
#define throw(...)
#include <log4cp... | 30.422535 | 112 | 0.72963 | daoran |
5efbeea1d451979703edf492de43826be70fc94f | 2,018 | cpp | C++ | number theory/segmented_sieve.cpp | ferdouszislam/Algorithms | bfae54231a3a27bcc69aa6585574e9ec8863e8ba | [
"MIT"
] | 1 | 2020-10-15T10:55:45.000Z | 2020-10-15T10:55:45.000Z | number theory/segmented_sieve.cpp | ferdouszislam/Algorithms | bfae54231a3a27bcc69aa6585574e9ec8863e8ba | [
"MIT"
] | null | null | null | number theory/segmented_sieve.cpp | ferdouszislam/Algorithms | bfae54231a3a27bcc69aa6585574e9ec8863e8ba | [
"MIT"
] | null | null | null | /**
Segmented Sieve
Find all prime numbers in the range- [a, b] where (a, b)<=10^14 and b-a<=10^5
Complexity: O(loglogN)
**/
#include <bits/stdc++.h>
using namespace std;
///------------------- Segmented Sieve start -------------------///
vector<int> primes;
// Sieve Of Eratosthenes to find primes u... | 19.784314 | 81 | 0.512884 | ferdouszislam |
6f06c982cb4f6df43487f4be1d7153ba54206d82 | 1,206 | cpp | C++ | Timus/Devices.cpp | MartinAparicioPons/Competitive-Programming | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | [
"Apache-2.0"
] | 1 | 2019-09-29T03:58:35.000Z | 2019-09-29T03:58:35.000Z | Timus/Devices.cpp | MartinAparicioPons/Competitive-Programming | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | [
"Apache-2.0"
] | null | null | null | Timus/Devices.cpp | MartinAparicioPons/Competitive-Programming | 58151df0ed08a5e4e605abefdd69fef1ecc10fa0 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
#ifdef ONLINE_JUDGE
#define DB(x)
#define DBL(x)
#define EL
#else
#define DB(x) cerr << "#" << (#x) << ": " << (x) << " ";
#define DBL(x) cerr << "#" << (#x) << ": " << (x) << endl;
#define EL cerr << endl;
#endif
#define EPS 1e-11
#define X first
#define Y second
#define PB push_back
... | 23.647059 | 64 | 0.548093 | MartinAparicioPons |
6f08483d4f17cb075d9126823f81938f1bbdd3e3 | 1,226 | cpp | C++ | src/CefWing/CefRenderApp/CefViewAppBase.cpp | klarso-gmbh/CefView_CefViewCore | 18958c0dbcc44e851ce8569909b098a13ea37953 | [
"MIT"
] | null | null | null | src/CefWing/CefRenderApp/CefViewAppBase.cpp | klarso-gmbh/CefView_CefViewCore | 18958c0dbcc44e851ce8569909b098a13ea37953 | [
"MIT"
] | null | null | null | src/CefWing/CefRenderApp/CefViewAppBase.cpp | klarso-gmbh/CefView_CefViewCore | 18958c0dbcc44e851ce8569909b098a13ea37953 | [
"MIT"
] | null | null | null | //
// CefWingAppBase.cpp
// CeViewfWing
//
// Created by Sheen Tian on 2020/6/17.
//
#pragma region project_heasers
#include "CefViewAppBase.h"
#pragma endregion project_heasers
#pragma region mac_headers
#include <Common/CefViewCoreLog.h>
#pragma endregion mac_headers
#include <CefViewCoreProtocol.h>
// These ... | 26.652174 | 86 | 0.769984 | klarso-gmbh |
6f0a060710a429c01f573ee16ab3dfa63d96f9be | 6,332 | cc | C++ | arch/testing/rcu_protected_test.cc | kstepanmpmg/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 1 | 2019-04-29T12:39:34.000Z | 2019-04-29T12:39:34.000Z | arch/testing/rcu_protected_test.cc | tomzhang/mldb | a09cf2d9ca454d1966b9e49ae69f2fe6bf571494 | [
"Apache-2.0"
] | 2 | 2021-03-20T05:52:26.000Z | 2021-11-15T17:52:54.000Z | arch/testing/rcu_protected_test.cc | matebestek/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 1 | 2018-11-23T20:03:38.000Z | 2018-11-23T20:03:38.000Z | // This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved.
/* rcu_protected_test.cc
Jeremy Barnes, 12 April 2014
Copyright (c) 2014 mldb.ai inc. All rights reserved.
*/
#include "mldb/arch/rcu_protected.h"
#include "mldb/utils/vector_utils.h"
#include <thread>
#include <map>
#define BOOST... | 25.95082 | 80 | 0.501421 | kstepanmpmg |
6f0d8852d96eb107a385ea7ca3e1c83189e2f07a | 11,150 | cpp | C++ | tests/GrCCPRTest.cpp | lightbell/skia | 37aea440fdb0257a4cffb0b41ab9745a9fc4d4fa | [
"BSD-3-Clause"
] | null | null | null | tests/GrCCPRTest.cpp | lightbell/skia | 37aea440fdb0257a4cffb0b41ab9745a9fc4d4fa | [
"BSD-3-Clause"
] | null | null | null | tests/GrCCPRTest.cpp | lightbell/skia | 37aea440fdb0257a4cffb0b41ab9745a9fc4d4fa | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkTypes.h"
#include "Test.h"
#if SK_SUPPORT_GPU
#include "GrContext.h"
#include "GrContextPriv.h"
#include "GrClip.h"
#include "GrDrawingManager.h"
#include "GrPat... | 36.201299 | 100 | 0.634978 | lightbell |
6f10c3ca253ea68208faa87e31d11465acb79831 | 9,178 | hpp | C++ | proton-c/bindings/cpp/include/proton/container.hpp | aikchar/qpid-proton | 10df4133e8877ee535e24b494738356369dcd24c | [
"Apache-2.0"
] | null | null | null | proton-c/bindings/cpp/include/proton/container.hpp | aikchar/qpid-proton | 10df4133e8877ee535e24b494738356369dcd24c | [
"Apache-2.0"
] | null | null | null | proton-c/bindings/cpp/include/proton/container.hpp | aikchar/qpid-proton | 10df4133e8877ee535e24b494738356369dcd24c | [
"Apache-2.0"
] | 1 | 2020-12-17T15:47:50.000Z | 2020-12-17T15:47:50.000Z | #ifndef PROTON_CONTAINER_HPP
#define PROTON_CONTAINER_HPP
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you ... | 38.563025 | 99 | 0.686097 | aikchar |
6f113c7ceaf012d43d811725ee60a28738cd04cf | 67,271 | cpp | C++ | frameworks/av/media/libcedarx/android_adapter/awplayer/awplayer.cpp | ghsecuritylab/Android-7.0 | e65af741a5cd5ac6e49e8735b00b456d00f6c0d0 | [
"MIT"
] | 10 | 2020-04-17T04:02:36.000Z | 2021-11-23T11:38:42.000Z | frameworks/av/media/libcedarx/android_adapter/awplayer/awplayer.cpp | ghsecuritylab/Android-7.0 | e65af741a5cd5ac6e49e8735b00b456d00f6c0d0 | [
"MIT"
] | 3 | 2020-02-19T16:53:25.000Z | 2021-04-29T07:28:40.000Z | frameworks/av/media/libcedarx/android_adapter/awplayer/awplayer.cpp | ghsecuritylab/Android-7.0 | e65af741a5cd5ac6e49e8735b00b456d00f6c0d0 | [
"MIT"
] | 5 | 2019-12-25T04:05:02.000Z | 2022-01-14T16:57:55.000Z | /*
* Copyright (c) 2008-2016 Allwinner Technology Co. Ltd.
* All rights reserved.
*
* File : awplayer.cpp
* Description : mediaplayer adapter for operator
* History :
* Author : AL3
* Date : 2015/05/05
* Comment : first version
*
*/
#define LOG_TAG "awplayer"
#include "cdx_log.h"
#include "awplayer.h"
#inclu... | 32.419759 | 100 | 0.547963 | ghsecuritylab |
6f1759908d4bb42a1f3f7b6639aca363236a09ab | 4,484 | cpp | C++ | Source/Scripting/bsfScript/Generated/BsScriptParticleDepthCollisionSettings.generated.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 1,745 | 2018-03-16T02:10:28.000Z | 2022-03-26T17:34:21.000Z | Source/Scripting/bsfScript/Generated/BsScriptParticleDepthCollisionSettings.generated.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 395 | 2018-03-16T10:18:20.000Z | 2021-08-04T16:52:08.000Z | Source/Scripting/bsfScript/Generated/BsScriptParticleDepthCollisionSettings.generated.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 267 | 2018-03-17T19:32:54.000Z | 2022-02-17T16:55:50.000Z | //********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "BsScriptParticleDepthCollisionSettings.generated.h"
#include... | 40.763636 | 170 | 0.807538 | bsf2dev |
6f195701b3d8b036667764a16c9d86cd5153be77 | 20,347 | cpp | C++ | inetsrv/iis/svcs/cmp/asp/ie449.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/svcs/cmp/asp/ie449.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/svcs/cmp/asp/ie449.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*===================================================================
Microsoft IIS 5.0 (ASP)
Microsoft Confidential.
Copyright 1998 Microsoft Corporation. All Rights Reserved.
Component: 449 negotiations w/IE
File: ie449.cpp
Owner: DmitryR
This file contains the implementation of the 449 negotiations ... | 25.625945 | 89 | 0.436625 | npocmaka |
6f1bcda59f47ce894a61e4f743de58b2941f4687 | 20,321 | cpp | C++ | lv_cpp/core/LvObj.cpp | lvgl/lv_binding_cpp | 5ce27254ac8526dd1ca61e883785ed2606076a68 | [
"MIT"
] | 7 | 2021-07-26T12:26:48.000Z | 2022-03-19T16:30:56.000Z | lv_cpp/core/LvObj.cpp | lvgl/lv_binding_cpp | 5ce27254ac8526dd1ca61e883785ed2606076a68 | [
"MIT"
] | 4 | 2021-07-15T21:31:48.000Z | 2022-02-03T11:48:16.000Z | lv_cpp/core/LvObj.cpp | kisvegabor/lv_binding_cpp | 5ce27254ac8526dd1ca61e883785ed2606076a68 | [
"MIT"
] | 2 | 2021-10-06T00:59:52.000Z | 2022-02-18T15:03:51.000Z | /*
* LvObj.cpp
*
* Created on: Jun 24, 2021
* Author: fstuffdev
*/
#include "LvObj.h"
namespace lvglpp {
LvObj::LvObj() : LvObj(NULL){
}
LvObj::LvObj(LvObj* Parent) {
if(Parent)
cObj.reset(lv_obj_create(Parent->raw()));
else
cObj.reset(lv_obj_create(lv_scr_act()));
}
lv_obj_t* LvObj::raw() {
retur... | 28.341702 | 146 | 0.771763 | lvgl |
6f1ce37f18f27a5a0216f1df4ca5e79255e52500 | 3,475 | hh | C++ | include/util/Singleton.hh | janpipek/g4application | 6b063636474a7a8f212023ada7fbb60bd4439606 | [
"MIT"
] | 1 | 2018-04-14T08:53:04.000Z | 2018-04-14T08:53:04.000Z | include/util/Singleton.hh | janpipek/g4application | 6b063636474a7a8f212023ada7fbb60bd4439606 | [
"MIT"
] | 23 | 2015-01-13T10:57:36.000Z | 2015-11-25T17:49:27.000Z | include/util/Singleton.hh | janpipek/g4application | 6b063636474a7a8f212023ada7fbb60bd4439606 | [
"MIT"
] | null | null | null | #ifndef SINGLETON_HH
#define SINGLETON_HH
#include <stdexcept>
#include <cstdlib>
#include <mutex>
namespace g4
{
namespace util
{
template<typename T> bool instanceExists();
/**
* @short A simple, non-thread-safe singleton template.
*
* You have to inherit it wi... | 28.958333 | 116 | 0.488345 | janpipek |
6f1dd15915c59fcca8fb365fc00616914ba42b0d | 2,152 | cc | C++ | chromecast/browser/extensions/cast_extension_host_delegate.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chromecast/browser/extensions/cast_extension_host_delegate.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chromecast/browser/extensions/cast_extension_host_delegate.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/browser/extensions/cast_extension_host_delegate.h"
#include "base/logging.h"
#include "base/no_destructor.h"
#include "chromecast/br... | 32.606061 | 79 | 0.798792 | zipated |
6f1e713f595884b4d652c9ae231061b70f145424 | 805 | hpp | C++ | inc/GraphicsLib/ImGui/ImGuiImage.hpp | Sushiwave/graphics-lib | c303e9fb9f11276230a09b45581cdbefa8d2a356 | [
"MIT"
] | 1 | 2020-07-13T18:10:33.000Z | 2020-07-13T18:10:33.000Z | inc/GraphicsLib/ImGui/ImGuiImage.hpp | Sushiwave/graphics-lib | c303e9fb9f11276230a09b45581cdbefa8d2a356 | [
"MIT"
] | null | null | null | inc/GraphicsLib/ImGui/ImGuiImage.hpp | Sushiwave/graphics-lib | c303e9fb9f11276230a09b45581cdbefa8d2a356 | [
"MIT"
] | null | null | null | #pragma once
#include <GraphicsLib/Graphics/GPUResource/ShaderResource/Texture/Texture2D/Base/ITexture2D.hpp>
#include <GraphicsLib/Graphics/GPUResource/RenderTarget/IRenderTarget.hpp>
#include <GraphicsLib/Graphics/GPUResource/MultipleRenderTargets/IMultipleRenderTargets.hpp>
#include <ThirdParty/ExtendedImGui/ImGui/i... | 40.25 | 100 | 0.81118 | Sushiwave |
6f1ece7ed80cb3a9c5d6e23c842ca150dc61a491 | 2,627 | cpp | C++ | QTfrontend/ui/widget/databrowser.cpp | roman-murashov/hedgewars | 74f633d76bf95674f68f6872472bd21825f1f8c0 | [
"Apache-2.0"
] | null | null | null | QTfrontend/ui/widget/databrowser.cpp | roman-murashov/hedgewars | 74f633d76bf95674f68f6872472bd21825f1f8c0 | [
"Apache-2.0"
] | null | null | null | QTfrontend/ui/widget/databrowser.cpp | roman-murashov/hedgewars | 74f633d76bf95674f68f6872472bd21825f1f8c0 | [
"Apache-2.0"
] | null | null | null | /*
* Hedgewars, a free turn based strategy game
* Copyright (c) 2004-2015 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License
*
... | 32.8375 | 105 | 0.686334 | roman-murashov |
6f1f9856c88581221b21b119acd2e35b70ba3ee1 | 3,029 | cpp | C++ | BashuOJ-Code/3829.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/3829.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/3829.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<cmath>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<vector>
#define ri register int
#define ll long long
using namespace std;
const int MAXN=35;
const int INF=0x7fffffff/2;
struct que{int x,y;};
struct nod... | 22.774436 | 108 | 0.563222 | magicgh |
6f20dd329fa70ab578a7ed420ddc2d0fdcf0ceff | 17,714 | cpp | C++ | src/graph-lib/homology/_Perseus/Complexes/DenseCToplex.cpp | mitxael/SSHIVA | 2cdcadb2ba49cc47d0860b88378e11a67b2cb8ed | [
"MIT"
] | 1 | 2018-04-12T11:19:50.000Z | 2018-04-12T11:19:50.000Z | src/graph-lib/homology/_Perseus/Complexes/DenseCToplex.cpp | mitxael/SSHIVA | 2cdcadb2ba49cc47d0860b88378e11a67b2cb8ed | [
"MIT"
] | null | null | null | src/graph-lib/homology/_Perseus/Complexes/DenseCToplex.cpp | mitxael/SSHIVA | 2cdcadb2ba49cc47d0860b88378e11a67b2cb8ed | [
"MIT"
] | null | null | null | /*
* DenseCToplex.hpp
*
* Created on: Dec 23, 2010
* Author: Vidit
*/
#include "DenseCToplex.h"
// makes face links and inherits birth times for lower cubes once top cubes are populated!
template <typename C, typename BT>
bool DenseCToplex<C,BT>::makeFaces(bool incbirth = false)
{
if (faced) return false;... | 29.47421 | 150 | 0.653099 | mitxael |
6f21551664d6a4ffe76fb75a24f400a79177f9f0 | 1,036 | cpp | C++ | leetcode/cpp/390_elimination_game.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | 5 | 2016-10-29T09:28:11.000Z | 2019-10-19T23:02:48.000Z | leetcode/cpp/390_elimination_game.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | null | null | null | leetcode/cpp/390_elimination_game.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | null | null | null | /*
There is a list of sorted integers from 1 to n. Starting from left to right, remove the first number and every other number afterward until you reach the end of the list.
Repeat the previous step again, but this time from right to left, remove the right most number and every other number from the remaining numbers.... | 23.545455 | 170 | 0.632239 | qiaotian |
6f2729a5e8dce03a714376c2442e5fb626b833e2 | 5,644 | cpp | C++ | modfile/records/SrDebrRecord.cpp | uesp/tes5lib | 07b052983f2e26b9ba798f234ada00f83c90e9a4 | [
"MIT"
] | 11 | 2015-07-19T08:33:00.000Z | 2021-07-28T17:40:26.000Z | modfile/records/SrDebrRecord.cpp | uesp/tes5lib | 07b052983f2e26b9ba798f234ada00f83c90e9a4 | [
"MIT"
] | null | null | null | modfile/records/SrDebrRecord.cpp | uesp/tes5lib | 07b052983f2e26b9ba798f234ada00f83c90e9a4 | [
"MIT"
] | 1 | 2015-02-28T22:52:18.000Z | 2015-02-28T22:52:18.000Z | /*===========================================================================
*
* File: SrDebrRecord.CPP
* Author: Dave Humphrey (dave@uesp.net)
* Created On: 5 December 2011
*
* Description
*
*=========================================================================*/
/* Include Files */
#includ... | 36.179487 | 78 | 0.289511 | uesp |
6f279f381c5517f9ddf7302f692f61c63fb0a09e | 9,563 | cpp | C++ | ext/d3_queue.cpp | SymbioticLab/YAPS | 1bf25abe0fe1ea7c7dec60645dda49ffcc59c7a0 | [
"BSD-3-Clause"
] | null | null | null | ext/d3_queue.cpp | SymbioticLab/YAPS | 1bf25abe0fe1ea7c7dec60645dda49ffcc59c7a0 | [
"BSD-3-Clause"
] | 1 | 2021-06-18T19:12:19.000Z | 2021-06-18T19:12:19.000Z | ext/d3_queue.cpp | SymbioticLab/YAPS | 1bf25abe0fe1ea7c7dec60645dda49ffcc59c7a0 | [
"BSD-3-Clause"
] | 1 | 2021-06-18T07:01:16.000Z | 2021-06-18T07:01:16.000Z | #include "d3_queue.h"
#include <assert.h>
#include <iostream>
#include <stdlib.h>
#include <math.h>
#include <iomanip>
#include "../coresim/event.h"
#include "../coresim/flow.h"
#include "../coresim/packet.h"
#include "../run/params.h"
extern double get_current_time();
extern void add_to_event_queue(Event* ev);
exte... | 47.341584 | 192 | 0.615184 | SymbioticLab |
6f2812c72819a586601a26520e68c02418434c2d | 51,157 | cxx | C++ | libbuild2/variable.cxx | build2/build2 | af662849b756ef2ff0f3d5148a6771acab78fd80 | [
"MIT"
] | 422 | 2018-05-30T12:00:00.000Z | 2022-03-29T07:29:56.000Z | libbuild2/variable.cxx | build2/build2 | af662849b756ef2ff0f3d5148a6771acab78fd80 | [
"MIT"
] | 183 | 2018-07-02T20:38:30.000Z | 2022-03-31T09:54:35.000Z | libbuild2/variable.cxx | build2/build2 | af662849b756ef2ff0f3d5148a6771acab78fd80 | [
"MIT"
] | 14 | 2019-01-09T12:34:02.000Z | 2021-03-16T09:10:53.000Z | // file : libbuild2/variable.cxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
#include <libbuild2/variable.hxx>
#include <cstring> // memcmp()
#include <libbutl/path-pattern.hxx>
#include <libbuild2/target.hxx>
#include <libbuild2/diagnostics.hxx>
using namespace std;
namespace build2
{
//... | 25.425944 | 94 | 0.523487 | build2 |
6f285d643ccafd41d15127989f6c9aa7e022512d | 243 | cpp | C++ | Day 15/Q.2]/RAO.cpp | gopalshendge18/Practice-Question | c0dfefb4b6d7c3c5344d09b23d311f07a4444149 | [
"MIT"
] | 1 | 2022-01-03T14:04:26.000Z | 2022-01-03T14:04:26.000Z | Day 15/Q.2]/RAO.cpp | gopalshendge18/Practice-Question | c0dfefb4b6d7c3c5344d09b23d311f07a4444149 | [
"MIT"
] | null | null | null | Day 15/Q.2]/RAO.cpp | gopalshendge18/Practice-Question | c0dfefb4b6d7c3c5344d09b23d311f07a4444149 | [
"MIT"
] | 8 | 2021-11-03T04:12:17.000Z | 2021-12-11T09:28:54.000Z | class Solution {
public:
void moveZeroes(vector<int>& A) {
int num = 0;
for(int i=0; i<A.size(); i++){
if(A[i]!=0) A[num++] = A[i];
}
while(num<A.size()) A[num++] = 0;
}
};
| 18.692308 | 41 | 0.386831 | gopalshendge18 |
6f2a0a323650e354c611b51725880cc698fbda16 | 901 | cpp | C++ | topic_wise/backtracking/subsets.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | 1 | 2021-01-27T16:37:36.000Z | 2021-01-27T16:37:36.000Z | topic_wise/backtracking/subsets.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | topic_wise/backtracking/subsets.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | /**
* @author : archit
* @GitHub : archit-1997
* @email : architsingh456@gmail.com
* @file : subsets.cpp
* @created : Wednesday Jul 28, 2021 12:47:45 IST
*/
#include <bits/stdc++.h>
using namespace std;
class Solution {
public:
void findSubsets(vector<vector<int>> &ans,vector<i... | 23.102564 | 91 | 0.564928 | archit-1997 |
6f2c9fcc66e881bee573ecd9d925125b19c9fae0 | 11,409 | cc | C++ | pigasus/software/tools/snort2lua/preprocessor_states/pps_smtp.cc | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | pigasus/software/tools/snort2lua/preprocessor_states/pps_smtp.cc | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | pigasus/software/tools/snort2lua/preprocessor_states/pps_smtp.cc | zhipengzhaocmu/fpga2022_artifact | 0ac088a5b04c5c75ae6aef25202b66b0f674acd3 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | //--------------------------------------------------------------------------
// Copyright (C) 2015-2018 Cisco and/or its affiliates. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License Version 2 as published
// by the Fr... | 29.944882 | 96 | 0.537733 | zhipengzhaocmu |
6f2fdd220abe67337e0a805327cedbdda42266f8 | 1,830 | cpp | C++ | src/GameState/PhysicalObject/Enemies/Enemy.cpp | Heaven31415/SpaceShooter | 385e43aa2deb8720c1b0a23834ad31de97fd25eb | [
"Zlib"
] | null | null | null | src/GameState/PhysicalObject/Enemies/Enemy.cpp | Heaven31415/SpaceShooter | 385e43aa2deb8720c1b0a23834ad31de97fd25eb | [
"Zlib"
] | null | null | null | src/GameState/PhysicalObject/Enemies/Enemy.cpp | Heaven31415/SpaceShooter | 385e43aa2deb8720c1b0a23834ad31de97fd25eb | [
"Zlib"
] | null | null | null | #include "Enemy.hpp"
#include "../../../Game.hpp"
#include "../../../Common/Randomizer.hpp"
Enemy::Enemy(Context& context, World& world, LaserFactory& laserFactory)
: PhysicalObject(context, world, Type::Enemy, context.textures.get("EnemyShip"))
, m_laserFactory(laserFactory)
, m_manager(nullptr)
{
setVelocity({0.... | 24.72973 | 129 | 0.644809 | Heaven31415 |
6f3253248ac38b5e8fdff4ca2f25591258362cbb | 5,685 | cc | C++ | tc/core/polyhedral/reduction_matcher.cc | abdullah1908/TensorComprehensions | 90360b9290244ff96f8a89d5311dc75981f70bb7 | [
"Apache-2.0"
] | 1 | 2021-08-28T17:59:20.000Z | 2021-08-28T17:59:20.000Z | tc/core/polyhedral/reduction_matcher.cc | abdullah1908/TensorComprehensions | 90360b9290244ff96f8a89d5311dc75981f70bb7 | [
"Apache-2.0"
] | null | null | null | tc/core/polyhedral/reduction_matcher.cc | abdullah1908/TensorComprehensions | 90360b9290244ff96f8a89d5311dc75981f70bb7 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 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 ... | 31.236264 | 79 | 0.692876 | abdullah1908 |
6f33423b21c98d04085a3b6dbe585b8062842975 | 1,208 | cpp | C++ | CodeForces/Complete/1000-1099/1006E-MilitaryProblem-OLD.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/1000-1099/1006E-MilitaryProblem-OLD.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/1000-1099/1006E-MilitaryProblem-OLD.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <cstdio>
#include <vector>
#include <algorithm>
void dfs(const std::vector<std::vector<long>> &g, long cur, std::vector<long> &below){
below[cur] = 1;
for(long p = 0; p < g[cur].size(); p++){
long node = g[cur][p];
dfs(g, g[cur][p], below);
below[cur] += below[node];
}
}
... | 22.792453 | 104 | 0.481788 | Ashwanigupta9125 |
6f36ba3779fc499e30c0d77e201cc4ead021382f | 1,621 | cpp | C++ | command.cpp | KonradCzerw/portal2util | 07bd8fbafe887bed35b076434a899db6444f901d | [
"MIT"
] | null | null | null | command.cpp | KonradCzerw/portal2util | 07bd8fbafe887bed35b076434a899db6444f901d | [
"MIT"
] | null | null | null | command.cpp | KonradCzerw/portal2util | 07bd8fbafe887bed35b076434a899db6444f901d | [
"MIT"
] | null | null | null | #include <command.hpp>
#include <utils.hpp>
#include <tier1.hpp>
std::vector<Command*>& Command::GetList() {
static std::vector<Command*> list;
return list;
}
Command::Command() :
ptr(nullptr),
version(0),
isRegistered(false),
isReference(false)
{}
Command::~Command() {
if(!this->isReference) SAFE_DELETE(thi... | 21.905405 | 143 | 0.705737 | KonradCzerw |
6f3be101b8b0473963ac5727bedbfb2520a03c5f | 7,133 | cpp | C++ | AwsGameKit/Source/AwsGameKitEditor/Private/AwsGameKitStyleSet.cpp | aws/aws-gamekit-unreal | 72ecf02081e06f2926a5db9269e551f86df9bd10 | [
"Apache-2.0"
] | 17 | 2022-03-23T18:30:33.000Z | 2022-03-31T19:59:27.000Z | AwsGameKit/Source/AwsGameKitEditor/Private/AwsGameKitStyleSet.cpp | aws/aws-gamekit-unreal | 72ecf02081e06f2926a5db9269e551f86df9bd10 | [
"Apache-2.0"
] | null | null | null | AwsGameKit/Source/AwsGameKitEditor/Private/AwsGameKitStyleSet.cpp | aws/aws-gamekit-unreal | 72ecf02081e06f2926a5db9269e551f86df9bd10 | [
"Apache-2.0"
] | 4 | 2022-03-24T00:52:16.000Z | 2022-03-28T18:09:08.000Z | // Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// GameKit
#include "AwsGameKitStyleSet.h"
// Unreal
#include <Interfaces/IPluginManager.h>
#include <Styling/SlateStyle.h>
#include <Styling/SlateStyleRegistry.h>
#include <Styling/SlateTypes.h>
TShared... | 50.95 | 141 | 0.730408 | aws |
6f3dd367e6ef4ffc34e6c37a711ee907ac0db512 | 20,019 | cc | C++ | ncrack/timing.cc | Adam-K-P/dwm | 7a95bb7e68abe713c4fd45809897ab19b33e65f7 | [
"MIT"
] | null | null | null | ncrack/timing.cc | Adam-K-P/dwm | 7a95bb7e68abe713c4fd45809897ab19b33e65f7 | [
"MIT"
] | null | null | null | ncrack/timing.cc | Adam-K-P/dwm | 7a95bb7e68abe713c4fd45809897ab19b33e65f7 | [
"MIT"
] | null | null | null |
/***************************************************************************
* timing.cc -- Functions related to computing crack timing and keeping *
* track of rates. *
* *
**********... | 38.572254 | 155 | 0.636445 | Adam-K-P |
6f3ddcedff81425b1bbbbd4bc05feec1b03a490b | 1,618 | cpp | C++ | Engine/lib/sdl/src/video/winrt/SDL_winrtopengles.cpp | John3/crabmusket_Torque3D | d84bd0fce2837ffac69d9fc9aadcdf5ee2c98b5c | [
"Unlicense"
] | 77 | 2015-09-09T00:00:15.000Z | 2021-08-28T04:37:35.000Z | Engine/lib/sdl/src/video/winrt/SDL_winrtopengles.cpp | John3/crabmusket_Torque3D | d84bd0fce2837ffac69d9fc9aadcdf5ee2c98b5c | [
"Unlicense"
] | 10 | 2015-01-20T23:14:46.000Z | 2019-04-05T22:04:15.000Z | Engine/lib/sdl/src/video/winrt/SDL_winrtopengles.cpp | John3/crabmusket_Torque3D | d84bd0fce2837ffac69d9fc9aadcdf5ee2c98b5c | [
"Unlicense"
] | 53 | 2015-12-14T08:33:27.000Z | 2021-12-28T04:51:43.000Z | /*
Simple DirectMedia Layer
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | 31.72549 | 76 | 0.765142 | John3 |
6f406536ff342b5b4f54733cbd9cf6e0a69a38e3 | 2,671 | cc | C++ | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_multicore/python/focal/window4total.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_multicore/python/focal/window4total.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_multicore/python/focal/window4total.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | #include "pcraster_multicore/python/focal/window4total.h"
// PCRaster
#include "calc_spatial.h"
// Field wrapper
#include "pcraster_multicore/wrapper/datatype_customization_points/multicore_spatial.h"
#include "pcraster_multicore/wrapper/datatype_traits/multicore_spatial.h"
#include "pcraster_multicore/wrapper/argu... | 26.979798 | 87 | 0.750281 | quanpands |
6f4079e4415ef8af8f2de5d02fccf8e96c58c68a | 10,359 | cpp | C++ | Experimental/Samples/VR/src/Sample_VR.cpp | azhirnov/DE-Experimental | be0872e603ff0ea1a2aa2b4e579807f6931e65ff | [
"MIT"
] | 1 | 2020-12-19T02:16:12.000Z | 2020-12-19T02:16:12.000Z | Experimental/Samples/VR/src/Sample_VR.cpp | azhirnov/DE-Experimental | be0872e603ff0ea1a2aa2b4e579807f6931e65ff | [
"MIT"
] | null | null | null | Experimental/Samples/VR/src/Sample_VR.cpp | azhirnov/DE-Experimental | be0872e603ff0ea1a2aa2b4e579807f6931e65ff | [
"MIT"
] | null | null | null | #include <random>
#include <thread>
#include "Timer.hpp"
#include "MapHelper.hpp"
#include "Sample_VR.hpp"
#include "TextureUtilities.h"
#include "TexturedCube.hpp"
#include "EngineFactoryVk.h"
#include "OpenVRDevice.h"
#include "VREmulator.h"
namespace DEVR
{
using EHmdStatus = IVRDevice::EHmdStatus;
void Sample_VR... | 36.094077 | 153 | 0.643209 | azhirnov |
6f42c54b47627b1736ae9f57b429f87311734095 | 1,204 | cc | C++ | components/autofill_assistant/browser/features.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/autofill_assistant/browser/features.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/autofill_assistant/browser/features.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill_assistant/browser/features.h"
#include "base/feature_list.h"
namespace autofill_assistant {
namespace features {
const ba... | 37.625 | 78 | 0.77907 | mghgroup |
6f480fe7d809ba9a8af7a76b60e358c45a94ec6c | 2,569 | cc | C++ | chrome/browser/sync/util/user_settings_posix.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-09-02T19:08:28.000Z | 2021-11-15T15:15:14.000Z | chrome/browser/sync/util/user_settings_posix.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | chrome/browser/sync/util/user_settings_posix.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-08-09T09:03:23.000Z | 2020-05-26T09:14:49.000Z | // Copyright (c) 2010 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.
//
// Implement the storage of service tokens in memory.
#include "chrome/browser/sync/util/user_settings.h"
#include "base/logging.h"
#include "chro... | 34.253333 | 79 | 0.644609 | SlimKatLegacy |
6f4832a47b91566139d2569ab9e05e6c03acc272 | 2,083 | cpp | C++ | Top Interview Questions/130. Surrounded Regions/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 1 | 2021-11-19T19:58:33.000Z | 2021-11-19T19:58:33.000Z | Top Interview Questions/130. Surrounded Regions/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | null | null | null | Top Interview Questions/130. Surrounded Regions/main.cpp | Minecodecraft/LeetCode-Minecode | 185fd6efe88d8ffcad94e581915c41502a0361a0 | [
"MIT"
] | 2 | 2021-11-26T12:47:27.000Z | 2022-01-13T16:14:46.000Z | //
// main.cpp
// 130. Surrounded Regions
//
// Created by 边俊林 on 2019/10/20.
// Copyright © 2019 Minecode.Link. All rights reserved.
//
#include <map>
#include <set>
#include <queue>
#include <string>
#include <stack>
#include <vector>
#include <cstdio>
#include <numeric>
#include <cstdlib>
#include <utility>
#in... | 26.367089 | 68 | 0.473836 | Minecodecraft |
6f4860860d3892964a0adf854adff6219f3b37ca | 1,733 | hpp | C++ | bsengine/src/bstorm/mesh.hpp | At-sushi/bstorm | 156036afd698d98f0ed67f0efa6bc416115806f7 | [
"MIT"
] | null | null | null | bsengine/src/bstorm/mesh.hpp | At-sushi/bstorm | 156036afd698d98f0ed67f0efa6bc416115806f7 | [
"MIT"
] | null | null | null | bsengine/src/bstorm/mesh.hpp | At-sushi/bstorm | 156036afd698d98f0ed67f0efa6bc416115806f7 | [
"MIT"
] | null | null | null | #pragma once
#include <bstorm/cache_store.hpp>
#include <vector>
#include <memory>
#include <unordered_map>
#include <d3dx9.h>
namespace bstorm
{
struct MeshVertex
{
MeshVertex() : x(0), y(0), z(0), nx(0), ny(0), nz(0), u(0), v(0) {}
MeshVertex(float x, float y, float z, float nx, float ny, float nz, float u... | 25.865672 | 147 | 0.651471 | At-sushi |
6f4b2016ad7ae6eb186aaa70fa1f31b8e9db2bb9 | 582 | cpp | C++ | src/resources/pattern_store.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | src/resources/pattern_store.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | src/resources/pattern_store.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | /*
* TS Elements
* Copyright 2015-2018 M. Newhouse
* Released under the MIT license.
*/
#include "pattern_store.hpp"
#include "pattern.hpp"
namespace ts
{
namespace resources
{
Pattern& PatternStore::load_from_file(const std::string& file_name)
{
auto it = loaded_patterns_.find(file_name);
if... | 20.068966 | 91 | 0.654639 | mnewhouse |
6f4c3ad56bda5cc867130af27b5df9949f2f502e | 25,884 | cpp | C++ | amara/amara_uiBox.cpp | BigBossErndog/Amara-RPG | 0a95a35fcddd69775a7ca7b34f3f23be9eb77178 | [
"MIT"
] | null | null | null | amara/amara_uiBox.cpp | BigBossErndog/Amara-RPG | 0a95a35fcddd69775a7ca7b34f3f23be9eb77178 | [
"MIT"
] | null | null | null | amara/amara_uiBox.cpp | BigBossErndog/Amara-RPG | 0a95a35fcddd69775a7ca7b34f3f23be9eb77178 | [
"MIT"
] | null | null | null | #pragma once
#ifndef AMARA_UIBOX
#define AMARA_UIBOX
#include "amara.h"
namespace Amara {
class UIBox: public Amara::Actor {
public:
SDL_Renderer* gRenderer = nullptr;
SDL_Texture* canvas = nullptr;
Amara::ImageTexture* texture = nullptr;
std::string textur... | 35.264305 | 139 | 0.42478 | BigBossErndog |
6f4d3fc0b0beb8d9cdded7f3b25a283b0cc65d00 | 5,923 | cpp | C++ | tests/knnshow.cpp | HIPERT-SRL/libnabo | b3864c8ecab86932e27bd4d463977bfa4e3dc584 | [
"BSD-3-Clause"
] | null | null | null | tests/knnshow.cpp | HIPERT-SRL/libnabo | b3864c8ecab86932e27bd4d463977bfa4e3dc584 | [
"BSD-3-Clause"
] | null | null | null | tests/knnshow.cpp | HIPERT-SRL/libnabo | b3864c8ecab86932e27bd4d463977bfa4e3dc584 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2010--2011, Stephane Magnenat, ASL, ETHZ, Switzerland
You can contact the author at <stephane at magnenat dot net>
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... | 35.467066 | 180 | 0.650346 | HIPERT-SRL |
6f4fe5bc42841fbf76bea2508a67be5874d8abff | 836 | cpp | C++ | application/main.cpp | Italo1994/SimuladorMips | 075bfd9e1bc6e47f8c37f14208afe450bfad46b1 | [
"MIT"
] | null | null | null | application/main.cpp | Italo1994/SimuladorMips | 075bfd9e1bc6e47f8c37f14208afe450bfad46b1 | [
"MIT"
] | null | null | null | application/main.cpp | Italo1994/SimuladorMips | 075bfd9e1bc6e47f8c37f14208afe450bfad46b1 | [
"MIT"
] | null | null | null | #include "conjuntoInstrucoes.h"
#include "operador.h"
#include "registrador.h"
#include "tokenizacao.h"
#include "pipeline.h"
#include "dependencias.h"
//#include "tela.h"
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
//Simulador simulador;
//simulador.criarInstrucoes()... | 17.061224 | 46 | 0.741627 | Italo1994 |
6f568b8959b2d624e7df9210b2fa793e83de6fd0 | 11,250 | hpp | C++ | public/anton/algorithm.hpp | kociap/atl | a7dc9b35c14453040db82dbbeca3c305bb25c66e | [
"MIT"
] | null | null | null | public/anton/algorithm.hpp | kociap/atl | a7dc9b35c14453040db82dbbeca3c305bb25c66e | [
"MIT"
] | null | null | null | public/anton/algorithm.hpp | kociap/atl | a7dc9b35c14453040db82dbbeca3c305bb25c66e | [
"MIT"
] | 1 | 2020-12-15T13:51:38.000Z | 2020-12-15T13:51:38.000Z | #pragma once
#include <anton/algorithm/sort.hpp>
#include <anton/array.hpp>
#include <anton/iterators.hpp>
#include <anton/math/math.hpp>
#include <anton/memory.hpp>
#include <anton/pair.hpp>
#include <anton/swap.hpp>
namespace anton {
// fill_with_consecutive
// Fills range [first, last[ with consecutive val... | 36.407767 | 160 | 0.594133 | kociap |