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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28ee0b09530bb564c043786c81c7d40a8cd0c19d | 3,026 | cpp | C++ | lib/astc-encoder/Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp | atteneder/KTX-Software | 15369663a43d72972dfe0a7e3597d3ef6d90b6b9 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-1-Clause",
"BSD-3-Clause"
] | 619 | 2015-04-30T14:55:02.000Z | 2022-03-30T06:56:14.000Z | lib/astc-encoder/Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp | atteneder/KTX-Software | 15369663a43d72972dfe0a7e3597d3ef6d90b6b9 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-1-Clause",
"BSD-3-Clause"
] | 283 | 2018-02-05T01:42:19.000Z | 2022-03-24T09:26:16.000Z | lib/astc-encoder/Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp | atteneder/KTX-Software | 15369663a43d72972dfe0a7e3597d3ef6d90b6b9 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-1-Clause",
"BSD-3-Clause"
] | 167 | 2015-04-30T15:06:25.000Z | 2022-03-24T03:02:00.000Z | // SPDX-License-Identifier: Apache-2.0
// ----------------------------------------------------------------------------
// Copyright 2020-2021 Arm Limited
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
// of ... | 28.54717 | 79 | 0.672835 | atteneder |
28ee484112f80d1a4c2f3e47ed67657f101f755c | 16,086 | cc | C++ | head/contrib/libstdc++/src/locale_init.cc | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 4 | 2016-08-22T22:02:55.000Z | 2017-03-04T22:56:44.000Z | head/contrib/libstdc++/src/locale_init.cc | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | head/contrib/libstdc++/src/locale_init.cc | dplbsd/soc2013 | c134f5e2a5725af122c94005c5b1af3720706ce3 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 S... | 34.893709 | 80 | 0.725973 | dplbsd |
28eed34edf1d4be3aa5d018efd6e130922ed1c09 | 1,282 | cpp | C++ | trajopt_sco/test/solver-interface-unit.cpp | Levi-Armstrong/trajopt_ros | a90cd90478d4048af501ad503360d8dfd7460f20 | [
"BSD-2-Clause"
] | 2 | 2017-12-08T14:43:43.000Z | 2017-12-09T16:41:36.000Z | trajopt_sco/test/solver-interface-unit.cpp | Levi-Armstrong/trajopt_ros | a90cd90478d4048af501ad503360d8dfd7460f20 | [
"BSD-2-Clause"
] | 2 | 2017-12-08T04:57:34.000Z | 2020-02-07T21:46:45.000Z | trajopt_sco/test/solver-interface-unit.cpp | Levi-Armstrong/trajopt_ros | a90cd90478d4048af501ad503360d8dfd7460f20 | [
"BSD-2-Clause"
] | null | null | null | #include <trajopt_sco/solver_interface.hpp>
#include <trajopt_utils/logging.hpp>
#include <trajopt_sco/expr_ops.hpp>
#include <trajopt_utils/stl_to_string.hpp>
#include <gtest/gtest.h>
#include <cstdio>
#include <boost/foreach.hpp>
#include <iostream>
using namespace std;
using namespace sco;
TEST(solver_interface... | 23.740741 | 84 | 0.663027 | Levi-Armstrong |
28eff6aa924b1ece0bf63d7e5b958956e467cee4 | 7,812 | cpp | C++ | IvyProjects/GLTestApp/Particles.cpp | endy/Ivy | 23d5a61d34793c74527ef803bf3693df79291539 | [
"MIT"
] | null | null | null | IvyProjects/GLTestApp/Particles.cpp | endy/Ivy | 23d5a61d34793c74527ef803bf3693df79291539 | [
"MIT"
] | null | null | null | IvyProjects/GLTestApp/Particles.cpp | endy/Ivy | 23d5a61d34793c74527ef803bf3693df79291539 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////////////////////////
///
/// Ivy Engine - Generic OpenGL Test App
///
/// Copyright 2010-2012, Brandon Light
/// All rights reserved.
///
///////////////////////////////////////////////////////////////////////////////////////////... | 32.686192 | 132 | 0.64913 | endy |
28f05c487615d2881dd09a84e967cd67654db858 | 36,449 | cpp | C++ | isis/src/qisis/apps/qtie/QtieTool.cpp | seignovert/ISIS3 | bc8e662d356017a3252ca3c6a342b41e3d552a31 | [
"Unlicense"
] | 1 | 2019-10-13T15:31:33.000Z | 2019-10-13T15:31:33.000Z | isis/src/qisis/apps/qtie/QtieTool.cpp | seignovert/ISIS3 | bc8e662d356017a3252ca3c6a342b41e3d552a31 | [
"Unlicense"
] | null | null | null | isis/src/qisis/apps/qtie/QtieTool.cpp | seignovert/ISIS3 | bc8e662d356017a3252ca3c6a342b41e3d552a31 | [
"Unlicense"
] | null | null | null | #include "QtieTool.h"
#include <QApplication>
#include <QCheckBox>
#include <QDebug>
#include <QDialog>
#include <QFileDialog>
#include <QHBoxLayout>
#include <QInputDialog>
#include <QLineEdit>
#include <QList>
#include <QMenuBar>
#include <QMenu>
#include <QMessageBox>
#include <QPoint>
#include <QRadioButton>
#incl... | 34.77958 | 100 | 0.610552 | seignovert |
28f250ef07d37c533c06837ed623cf5f50961916 | 574 | hpp | C++ | cpp/StringTokenize.hpp | sigurdstorve/supersplines | a49cac9f7e166b660fb1da688f9bf5d90f05dcdb | [
"BSL-1.0"
] | 2 | 2020-01-07T02:40:42.000Z | 2022-03-21T07:09:08.000Z | cpp/StringTokenize.hpp | sigurdstorve/supersplines | a49cac9f7e166b660fb1da688f9bf5d90f05dcdb | [
"BSL-1.0"
] | null | null | null | cpp/StringTokenize.hpp | sigurdstorve/supersplines | a49cac9f7e166b660fb1da688f9bf5d90f05dcdb | [
"BSL-1.0"
] | null | null | null | // RealtimeCppAV - Developed by Sigurd Storve (sigurd.storve@ntnu.no)
// This file contains convenience code to split ut a string.
#include <iostream>
#include <string>
#include <vector>
#include <boost/tokenizer.hpp>
inline std::vector<std::string> StringTokenize(const std::string& str, const std::string& separator... | 31.888889 | 103 | 0.691638 | sigurdstorve |
28f274927c371865b88c1547e9958a961eb18f79 | 900 | cpp | C++ | SurfaceReconstruction/SurfaceReconstruction/Refinement/RangedVertexIdx.cpp | pavelsevecek/TSR | ca411dedf178e5830f0536e361136f1e16751bc8 | [
"BSD-3-Clause"
] | 102 | 2017-10-17T10:10:59.000Z | 2022-01-19T02:10:29.000Z | SurfaceReconstruction/SurfaceReconstruction/Refinement/RangedVertexIdx.cpp | pavelsevecek/TSR | ca411dedf178e5830f0536e361136f1e16751bc8 | [
"BSD-3-Clause"
] | 2 | 2019-12-21T11:59:15.000Z | 2020-09-08T11:38:36.000Z | SurfaceReconstruction/SurfaceReconstruction/Refinement/RangedVertexIdx.cpp | pavelsevecek/TSR | ca411dedf178e5830f0536e361136f1e16751bc8 | [
"BSD-3-Clause"
] | 27 | 2017-10-18T09:37:34.000Z | 2022-03-22T01:30:51.000Z | /*
* Copyright (C) 2018 by Author: Aroudj, Samir
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the License.txt file for details.
*/
#include "SurfaceReconstruction/Ref... | 31.034483 | 102 | 0.752222 | pavelsevecek |
28f50f1a32eb1827a242d527cd42c58487877959 | 7,463 | cc | C++ | tensorflow/contrib/tensor_forest/hybrid/core/ops/k_feature_gradient_op.cc | AlexChrisF/udacity | b7f85a74058fc63ccb7601c418450ab934ef5953 | [
"Apache-2.0"
] | 522 | 2016-06-08T02:15:50.000Z | 2022-03-02T05:30:36.000Z | tensorflow/contrib/tensor_forest/hybrid/core/ops/k_feature_gradient_op.cc | AlexChrisF/udacity | b7f85a74058fc63ccb7601c418450ab934ef5953 | [
"Apache-2.0"
] | 48 | 2016-07-26T00:11:55.000Z | 2022-02-23T13:36:33.000Z | tensorflow/contrib/tensor_forest/hybrid/core/ops/k_feature_gradient_op.cc | AlexChrisF/udacity | b7f85a74058fc63ccb7601c418450ab934ef5953 | [
"Apache-2.0"
] | 108 | 2016-06-16T15:34:05.000Z | 2022-03-12T13:23:11.000Z | // Copyright 2016 The TensorFlow Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | 36.763547 | 80 | 0.664746 | AlexChrisF |
28f6077f0621e0f3888722288ef6893897f254dc | 4,587 | cpp | C++ | src/tracer/raytracer.cpp | NHollmann/CmdPathtracer | 6c6c0382948bb6ea547458f743937b70c090ca6c | [
"MIT"
] | null | null | null | src/tracer/raytracer.cpp | NHollmann/CmdPathtracer | 6c6c0382948bb6ea547458f743937b70c090ca6c | [
"MIT"
] | null | null | null | src/tracer/raytracer.cpp | NHollmann/CmdPathtracer | 6c6c0382948bb6ea547458f743937b70c090ca6c | [
"MIT"
] | null | null | null | #include "raytracer.hpp"
#include "../material/material.hpp"
#include <thread>
#include <atomic>
#include <vector>
namespace tracer
{
inline int colorFloatToInt(floating color)
{
return (int)(255.99f * color);
}
void raytraceSimple(output::ImageOutput* imageOut, world::WorldData* world, int w... | 35.55814 | 166 | 0.444953 | NHollmann |
28f66354a6aaa2d8b4b8622548649591a7afba5c | 274 | cpp | C++ | c/prueba mqtt/ias/src/main.cpp | joseluis8906/tests | df222f4bbef0ed4a3bfb53ebc2d1fd44179551f4 | [
"MIT"
] | null | null | null | c/prueba mqtt/ias/src/main.cpp | joseluis8906/tests | df222f4bbef0ed4a3bfb53ebc2d1fd44179551f4 | [
"MIT"
] | null | null | null | c/prueba mqtt/ias/src/main.cpp | joseluis8906/tests | df222f4bbef0ed4a3bfb53ebc2d1fd44179551f4 | [
"MIT"
] | null | null | null | #include <iostream>
#include "db.hpp"
int main (int argc, char* argv[])
{
ias::db db = ias::db ("sqlite3:db=db.sqlite");
if(db.check_user ())
{
std::cout << "Acceso permitido" << std::endl;
}
else
{
std::cout << "Acceso denegado" << std::endl;
}
return 0;
}
| 15.222222 | 47 | 0.583942 | joseluis8906 |
28f7e38cdf423e4f4d40939d4cd0281c3ab77f91 | 743 | hpp | C++ | cudamapper/include/claragenomics/cudamapper/cudamapper.hpp | billchenxi/ClaraGenomicsAnalysis | 544effc5881560de6d316f39c47c87014da14d70 | [
"Apache-2.0"
] | 1 | 2020-01-21T09:07:02.000Z | 2020-01-21T09:07:02.000Z | cudamapper/include/claragenomics/cudamapper/cudamapper.hpp | billchenxi/ClaraGenomicsAnalysis | 544effc5881560de6d316f39c47c87014da14d70 | [
"Apache-2.0"
] | 1 | 2020-12-04T06:24:05.000Z | 2020-12-04T06:24:05.000Z | cudamapper/include/claragenomics/cudamapper/cudamapper.hpp | billchenxi/ClaraGenomicsAnalysis | 544effc5881560de6d316f39c47c87014da14d70 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this software and ... | 23.21875 | 76 | 0.755047 | billchenxi |
28f953274602a43bb104a999f8e935ce088b8ac1 | 2,086 | cpp | C++ | LightWalker/bluetooth/Bluetooth.cpp | gerstle/LightWalker | e865befc119e477c0ae301ba67457cbe903b60fe | [
"Apache-2.0"
] | null | null | null | LightWalker/bluetooth/Bluetooth.cpp | gerstle/LightWalker | e865befc119e477c0ae301ba67457cbe903b60fe | [
"Apache-2.0"
] | 11 | 2016-03-26T16:19:10.000Z | 2016-03-26T19:02:31.000Z | LightWalker/bluetooth/Bluetooth.cpp | gerstle/LightWalker | e865befc119e477c0ae301ba67457cbe903b60fe | [
"Apache-2.0"
] | null | null | null | /*
* Bluetooth.cpp
*
* Created on: Mar 26, 2016
* Author: cgerstle
*/
#include "Bluetooth.h"
#include "../config/Enums.h"
#include <Adafruit_BLE.h>
#include <Adafruit_BluefruitLE_UART.h>
namespace util {
Adafruit_BluefruitLE_UART ble(Serial4, 0);
Bluetooth::Bluetooth(config::Properties *properties) {
t... | 20.653465 | 89 | 0.588686 | gerstle |
28f9768b0a756b0301d91380cb8b92043c02bf2e | 2,118 | hpp | C++ | Source/scalar_eom.hpp | JLRipley314/scalar-field-kerr | 92b2dc9dc718be3dfef11a2c54119876a6fbacf0 | [
"MIT"
] | 3 | 2021-06-27T02:43:01.000Z | 2021-12-27T21:32:12.000Z | Source/scalar_eom.hpp | JLRipley314/scalar-field-kerr | 92b2dc9dc718be3dfef11a2c54119876a6fbacf0 | [
"MIT"
] | null | null | null | Source/scalar_eom.hpp | JLRipley314/scalar-field-kerr | 92b2dc9dc718be3dfef11a2c54119876a6fbacf0 | [
"MIT"
] | 1 | 2021-07-06T01:44:41.000Z | 2021-07-06T01:44:41.000Z | /*
* Field equations for scalar field about a Kerr black hole.
*/
#ifndef SCALAR_EOM_HPP__
#define SCALAR_EOM_HPP__
#include <vector>
#include "grid.hpp"
#include "params.hpp"
#include "field.hpp"
/*==========================================================================*/
class Scalar_eom
{
public:
Scalar_e... | 22.531915 | 78 | 0.606232 | JLRipley314 |
28f9b9e02926d532e3f2f23ef65d52ad52ce8c44 | 4,673 | cpp | C++ | C++/Read_from_file/is_palindromic.cpp | juliafeingold/My-Cpp-programs | cbc7095082da25ce2a4f66d711d77af8d794206c | [
"Apache-2.0"
] | null | null | null | C++/Read_from_file/is_palindromic.cpp | juliafeingold/My-Cpp-programs | cbc7095082da25ce2a4f66d711d77af8d794206c | [
"Apache-2.0"
] | null | null | null | C++/Read_from_file/is_palindromic.cpp | juliafeingold/My-Cpp-programs | cbc7095082da25ce2a4f66d711d77af8d794206c | [
"Apache-2.0"
] | null | null | null | //libraries
#include <iostream>
#include <cstring>
#include <string>
using namespace std;
//Programmer defined functions
int myStrlen (char *s1);
void myStrcat (char *s1, char *s2);
void myStrcpy (char *s1, char *s2);
void myStrcat_BC (char *s1, char *s2, int SIZE);
bool isPalindromic (char *s1);
//main program
int ... | 22.906863 | 81 | 0.55168 | juliafeingold |
28fb599ed55c4df97dc288785db3a5542b41d361 | 227 | hpp | C++ | tutorials/SkipGram/TextDataSet_utils.hpp | ChanhyoLee/TextDataset | 397571f476a89ad42ef3ed77b82c76fc19ac3e33 | [
"Apache-2.0"
] | null | null | null | tutorials/SkipGram/TextDataSet_utils.hpp | ChanhyoLee/TextDataset | 397571f476a89ad42ef3ed77b82c76fc19ac3e33 | [
"Apache-2.0"
] | null | null | null | tutorials/SkipGram/TextDataSet_utils.hpp | ChanhyoLee/TextDataset | 397571f476a89ad42ef3ed77b82c76fc19ac3e33 | [
"Apache-2.0"
] | null | null | null | #ifndef __TEXT_DATA_SET_UTILS_HPP__
#define __TEXT_DATA_SET_UTILS_HPP__
#include "TextDataSet/ParalleledCorpusDataset.hpp"
#include "TextDataSet/SkipGramDataset.hpp"
#include "TextDataSet/FourTermAnalogyDataset.hpp"
#endif
| 20.636364 | 50 | 0.854626 | ChanhyoLee |
28fcacfab70818e159088c672833347784be7f06 | 2,876 | cpp | C++ | src/mongo/db/commands/find_and_modify_common.cpp | DavidAlphaFox/mongodb | 23c903459a9f599ca2f1a5c3c952142c598967fc | [
"Apache-2.0"
] | 1 | 2019-06-11T20:22:32.000Z | 2019-06-11T20:22:32.000Z | src/mongo/db/commands/find_and_modify_common.cpp | DavidAlphaFox/mongodb | 23c903459a9f599ca2f1a5c3c952142c598967fc | [
"Apache-2.0"
] | null | null | null | src/mongo/db/commands/find_and_modify_common.cpp | DavidAlphaFox/mongodb | 23c903459a9f599ca2f1a5c3c952142c598967fc | [
"Apache-2.0"
] | null | null | null | // find_and_modify.cpp
/**
* Copyright (C) 2012 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that ... | 38.864865 | 84 | 0.689152 | DavidAlphaFox |
28fd9919f861eea6a1677447dc099d344721ee2f | 123 | cpp | C++ | triangle.cpp | Piain/GeoShapeCalculator | a102b2b3a1776c92b7220e4bedee733b954394f1 | [
"MIT"
] | 2 | 2021-11-27T17:40:05.000Z | 2021-11-28T07:22:36.000Z | triangle.cpp | Piain/GeoShapeCalculator | a102b2b3a1776c92b7220e4bedee733b954394f1 | [
"MIT"
] | null | null | null | triangle.cpp | Piain/GeoShapeCalculator | a102b2b3a1776c92b7220e4bedee733b954394f1 | [
"MIT"
] | null | null | null | #include "triangle.h"
float Triangle::Area()
{
return 0.5 * dim1 * dim2;
}
char Triangle::Type()
{
return 't';
}
| 10.25 | 29 | 0.585366 | Piain |
28fe3a0a51aaeea36b871c3a6099665a365a0e82 | 14,596 | hpp | C++ | Lib/Chip/CM4/STMicro/STM32L4x6/FLASH.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/CM4/STMicro/STM32L4x6/FLASH.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/CM4/STMicro/STM32L4x6/FLASH.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//Flash
namespace FlashAcr{ ///<Access control register
using Addr = Register::Address<0x40022000,0xffff80f8,0x00000000,std::uint32_t>;
///Latency
constexpr Register::FieldLocation<Addr,Register::maskFromRange(2,0),Register:... | 75.237113 | 222 | 0.702042 | operativeF |
28fe8b07c358ed5bd14b37a70b3abfca9d0a3cf5 | 977 | cpp | C++ | mp2-lab4-queue-processor/TextBoxFilters.cpp | alexChurkin/mp2-lab4-queue | bfd8f7a195278b39f8da480edbfc74e1b2017185 | [
"Apache-2.0"
] | null | null | null | mp2-lab4-queue-processor/TextBoxFilters.cpp | alexChurkin/mp2-lab4-queue | bfd8f7a195278b39f8da480edbfc74e1b2017185 | [
"Apache-2.0"
] | null | null | null | mp2-lab4-queue-processor/TextBoxFilters.cpp | alexChurkin/mp2-lab4-queue | bfd8f7a195278b39f8da480edbfc74e1b2017185 | [
"Apache-2.0"
] | 3 | 2021-12-25T18:54:00.000Z | 2022-03-18T08:31:26.000Z | using namespace System;
using namespace System::Windows::Forms;
#include "TextBoxFilters.h"
void TextBoxFilters::AllowOnlyOne(TextBox^ sender, KeyPressEventArgs^ e, char ch) {
if (e->KeyChar == ch && sender->Text->IndexOf(ch) > -1)
{
e->Handled = true;
}
}
void TextBoxFilters::NaturalNumber(Object^ sender, Key... | 22.72093 | 83 | 0.658137 | alexChurkin |
28fef1108a15175e233e9563b862b821b2413cc7 | 9,431 | cpp | C++ | robot/src/rt/rt_rc_interface.cpp | Tomato1107/MiLAB-Cheetah-Software | 6d00421de49970b31bbeb8a6e165ba5608128d33 | [
"MIT"
] | 8 | 2021-09-23T06:38:14.000Z | 2022-03-02T17:29:58.000Z | robot/src/rt/rt_rc_interface.cpp | raess1/MiLAB-Cheetah-Software | 6d00421de49970b31bbeb8a6e165ba5608128d33 | [
"MIT"
] | 1 | 2022-01-14T10:14:32.000Z | 2022-01-14T10:14:32.000Z | robot/src/rt/rt_rc_interface.cpp | AWang-Cabin/MILAB-Cheetah-Software | 6d00421de49970b31bbeb8a6e165ba5608128d33 | [
"MIT"
] | 10 | 2021-08-14T07:52:12.000Z | 2022-03-02T02:07:00.000Z | #include <pthread.h>
#include <rt/rt_rc_interface.h>
#include "Utilities/EdgeTrigger.h"
#include <string.h> // memcpy
#include <stdio.h>
#include <rt/rt_sbus.h>
static pthread_mutex_t lcm_get_set_mutex =
PTHREAD_MUTEX_INITIALIZER; /**< mutex to protect gui settings coming over
LCM */
// Co... | 33.802867 | 119 | 0.593999 | Tomato1107 |
28ffc297ece5cd91d76ee9f084cc438286825b78 | 18,000 | cpp | C++ | lib/SILOptimizer/Analysis/CallerAnalysis.cpp | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | 1 | 2022-02-02T20:21:10.000Z | 2022-02-02T20:21:10.000Z | lib/SILOptimizer/Analysis/CallerAnalysis.cpp | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | null | null | null | lib/SILOptimizer/Analysis/CallerAnalysis.cpp | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | null | null | null | //===--- CallerAnalysis.cpp - Determine callsites to a function ----------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 36.363636 | 80 | 0.667611 | xjc90s |
e900ab0e7fb08de1c4e6c846260a5e417ac47ec9 | 32,319 | cxx | C++ | dtool/src/interrogatedb/py_panda.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | dtool/src/interrogatedb/py_panda.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | dtool/src/interrogatedb/py_panda.cxx | cmarshall108/panda3d-python3 | 8bea2c0c120b03ec1c9fd179701fdeb7510bb97b | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file py_panda.cxx
* @author... | 34.091772 | 165 | 0.697887 | cmarshall108 |
e90390da38c32e8c601412c45fe0b2b171107b1c | 1,161 | cpp | C++ | KMPSearch/main.cpp | Kapil706/GeeksForGeeks.Cpp- | 3251fe2caf29e485656626d758058bd968e50ae1 | [
"MIT"
] | 1 | 2019-07-31T16:47:51.000Z | 2019-07-31T16:47:51.000Z | KMPSearch/main.cpp | Kapil706/GeeksForGeeks.Cpp- | 3251fe2caf29e485656626d758058bd968e50ae1 | [
"MIT"
] | null | null | null | KMPSearch/main.cpp | Kapil706/GeeksForGeeks.Cpp- | 3251fe2caf29e485656626d758058bd968e50ae1 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
void ComputeLpsArray(string pat, int m, int*lps){
lps[0]=0;
int i=1;
int len=0;
while (i<m){
if(pat[i]==pat[len]){
len++;
lps[i]=len;
i++;
}
else{
if(len!=0){
len=lps[len-1];... | 13.5 | 49 | 0.342808 | Kapil706 |
e9040b6c857b5dd3b24698d4834f9b97cf4aa209 | 2,187 | cpp | C++ | src/main/credentials/LibSecretCredentialProvider.cpp | TNG/mustard-cli | aa8db4e923271546b46a1f9a71778b3bed1efe3a | [
"Apache-2.0"
] | 7 | 2019-04-12T07:13:32.000Z | 2021-09-22T20:53:44.000Z | src/main/credentials/LibSecretCredentialProvider.cpp | TNG/mustard-cli | aa8db4e923271546b46a1f9a71778b3bed1efe3a | [
"Apache-2.0"
] | 2 | 2020-07-21T05:01:13.000Z | 2020-08-14T15:38:17.000Z | src/main/credentials/LibSecretCredentialProvider.cpp | TNG/mustard-cli | aa8db4e923271546b46a1f9a71778b3bed1efe3a | [
"Apache-2.0"
] | 1 | 2020-07-21T05:03:09.000Z | 2020-07-21T05:03:09.000Z | #include <Provide.h>
#include "LibSecretCredentialProvider.h"
#include "CredentialProvider.h"
#ifndef WITH_LIBSECRET
ProvideDependency<CredentialProvider> credentialProvider;
#endif
#ifdef WITH_LIBSECRET
#include <glib.h>
#include <libsecret/secret.h>
#include <Depend.h>
ProvideImplementationForDependency<LibSecret... | 27 | 110 | 0.623685 | TNG |
e905bd6971c4717a7cd38b8b99a598ae100833b8 | 390 | hpp | C++ | src/widgets/settingspages/AccountsPage.hpp | devolution2409/chatterino2 | 978931bcfc40bae63f65c18e7a3274c77c0f45ca | [
"MIT"
] | null | null | null | src/widgets/settingspages/AccountsPage.hpp | devolution2409/chatterino2 | 978931bcfc40bae63f65c18e7a3274c77c0f45ca | [
"MIT"
] | null | null | null | src/widgets/settingspages/AccountsPage.hpp | devolution2409/chatterino2 | 978931bcfc40bae63f65c18e7a3274c77c0f45ca | [
"MIT"
] | null | null | null | #pragma once
#include "widgets/AccountSwitchWidget.hpp"
#include "widgets/settingspages/SettingsPage.hpp"
#include <QPushButton>
namespace chatterino {
class AccountsPage : public SettingsPage
{
public:
AccountsPage();
private:
QPushButton *addButton;
QPushButton *removeButton;
Acc... | 17.727273 | 50 | 0.720513 | devolution2409 |
e905e9b07d91960f9659ef9fe7291a47d8ede80e | 424 | cpp | C++ | 1100/90/1196.cpp | actium/timus | 6231d9e7fd325cae36daf5ee2ec7e61381f04003 | [
"Unlicense"
] | null | null | null | 1100/90/1196.cpp | actium/timus | 6231d9e7fd325cae36daf5ee2ec7e61381f04003 | [
"Unlicense"
] | null | null | null | 1100/90/1196.cpp | actium/timus | 6231d9e7fd325cae36daf5ee2ec7e61381f04003 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <unordered_set>
int main()
{
unsigned n;
std::cin >> n;
std::unordered_set<unsigned> s;
while (n-- > 0) {
unsigned x;
std::cin >> x;
s.insert(x);
}
unsigned m;
std::cin >> m;
unsigned q = 0;
while (m-- > 0) {
unsigned ... | 13.25 | 35 | 0.441038 | actium |
e9077d3ac3414027735b4cbc8880fb92a6e9a996 | 30,090 | cpp | C++ | externals/skia/third_party/externals/icu/source/i18n/uspoof_impl.cpp | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 4 | 2019-10-18T05:53:30.000Z | 2021-08-21T07:36:37.000Z | externals/skia/third_party/externals/icu/source/i18n/uspoof_impl.cpp | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 1 | 2017-06-18T00:25:03.000Z | 2017-11-29T16:01:48.000Z | externals/skia/third_party/externals/icu/source/i18n/uspoof_impl.cpp | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 5 | 2017-11-30T06:06:50.000Z | 2022-03-31T21:48:49.000Z | /*
**********************************************************************
* Copyright (C) 2008-2015, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*/
#include "unicode/utypes.h"
#include "unicode/uspoof.h"
#inc... | 34.546498 | 138 | 0.605916 | terrajobst |
e90a396e37cf316b800bb1638a672768528671b4 | 1,285 | hpp | C++ | hpx/traits/has_xxx.hpp | bremerm31/hpx | a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa | [
"BSL-1.0"
] | 1 | 2019-07-04T10:18:01.000Z | 2019-07-04T10:18:01.000Z | hpx/traits/has_xxx.hpp | bremerm31/hpx | a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa | [
"BSL-1.0"
] | 1 | 2018-04-20T14:17:33.000Z | 2018-04-20T14:17:33.000Z | hpx/traits/has_xxx.hpp | bremerm31/hpx | a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa | [
"BSL-1.0"
] | 1 | 2019-03-13T04:53:43.000Z | 2019-03-13T04:53:43.000Z | // Copyright (c) 2016 Agustin Berge
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef HPX_TRAITS_HAS_XXX_HPP
#define HPX_TRAITS_HAS_XXX_HPP
#include <hpx/util/always_void.hpp>
#include <hpx/util/de... | 40.15625 | 79 | 0.52607 | bremerm31 |
e90ad2f8f5858ce14c49962eba6790c26aabccad | 15,951 | cpp | C++ | net/ias/mmc/ias/serverpage2.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | net/ias/mmc/ias/serverpage2.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | net/ias/mmc/ias/serverpage2.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //////////////////////////////////////////////////////////////////////////////
/*++
Copyright (C) Microsoft Corporation, 1997 - 1999
Module Name:
ServerPage2.cpp
Abstract:
Implementation file for the CServerPage2 class.
We implement the class needed to handle the second property page for a Mach... | 26.673913 | 160 | 0.625039 | npocmaka |
e90c8de5d81626b457d462d98738f0a455b2cb29 | 3,664 | cxx | C++ | StRoot/StPxlSimMaker/DIGMAPS/digadc.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StPxlSimMaker/DIGMAPS/digadc.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StPxlSimMaker/DIGMAPS/digadc.cxx | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////////////////////
// //
// DIGADC //
// ... | 36.64 | 106 | 0.491266 | xiaohaijin |
e90d6270cb1a7c77a3e59e11f2183b4f5a2aaeb8 | 2,237 | cc | C++ | tensorflow/compiler/mlir/lite/utils/variables_utils.cc | weikhor/tensorflow | ce047fc05c7b5ff54868ba53d724d9c171c4adbb | [
"Apache-2.0"
] | 10 | 2021-05-25T17:43:04.000Z | 2022-03-08T10:46:09.000Z | tensorflow/compiler/mlir/lite/utils/variables_utils.cc | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 1,056 | 2019-12-15T01:20:31.000Z | 2022-02-10T02:06:28.000Z | tensorflow/compiler/mlir/lite/utils/variables_utils.cc | CaptainGizzy21/tensorflow | 3457a2b122e50b4d44ceaaed5a663d635e5c22df | [
"Apache-2.0"
] | 6 | 2016-09-07T04:00:15.000Z | 2022-01-12T01:47:38.000Z | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 39.245614 | 80 | 0.692892 | weikhor |
e90ded7a67d3e0d2b70ea29f3c88c62f3096cdb4 | 13,040 | cpp | C++ | tests/gtests/test_reorder.cpp | yzhliu/mkl-dnn | 3e1f8f53f6845dce23abf8089501c2eb45420b9e | [
"Apache-2.0"
] | 1 | 2021-04-05T19:16:20.000Z | 2021-04-05T19:16:20.000Z | tests/gtests/test_reorder.cpp | yzhliu/mkl-dnn | 3e1f8f53f6845dce23abf8089501c2eb45420b9e | [
"Apache-2.0"
] | null | null | null | tests/gtests/test_reorder.cpp | yzhliu/mkl-dnn | 3e1f8f53f6845dce23abf8089501c2eb45420b9e | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2016-2017 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... | 48.838951 | 87 | 0.58796 | yzhliu |
e90e2e5d2bbae2764a68b6f7df88deb4231acee8 | 5,579 | cpp | C++ | Tudat/SimulationSetup/PropagationSetup/createStateDerivativeModel.cpp | different91988/tudat | 97b287fe759979cf2028c9180f0abafa2487dde4 | [
"BSD-3-Clause"
] | null | null | null | Tudat/SimulationSetup/PropagationSetup/createStateDerivativeModel.cpp | different91988/tudat | 97b287fe759979cf2028c9180f0abafa2487dde4 | [
"BSD-3-Clause"
] | null | null | null | Tudat/SimulationSetup/PropagationSetup/createStateDerivativeModel.cpp | different91988/tudat | 97b287fe759979cf2028c9180f0abafa2487dde4 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2010-2018, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
*... | 51.183486 | 143 | 0.743861 | different91988 |
e90ecf520f336febca918fd4eaeeeda87580c83c | 36,245 | cc | C++ | tensorflow/core/ir/importexport/graphdef_import.cc | Stevanus-Christian/tensorflow | d44afcf5ca16c5d704c66f891b99eac804e7cd14 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/ir/importexport/graphdef_import.cc | Stevanus-Christian/tensorflow | d44afcf5ca16c5d704c66f891b99eac804e7cd14 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/ir/importexport/graphdef_import.cc | Stevanus-Christian/tensorflow | d44afcf5ca16c5d704c66f891b99eac804e7cd14 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 39.353963 | 80 | 0.67659 | Stevanus-Christian |
e9121d4f6021a1c11e115da4acd28998134e5074 | 8,033 | cc | C++ | unitest/fastring.cc | MerlinXYoung/co_ | 35ed6137cbe24a7a77af08736117e2b67396cb88 | [
"MIT"
] | null | null | null | unitest/fastring.cc | MerlinXYoung/co_ | 35ed6137cbe24a7a77af08736117e2b67396cb88 | [
"MIT"
] | null | null | null | unitest/fastring.cc | MerlinXYoung/co_ | 35ed6137cbe24a7a77af08736117e2b67396cb88 | [
"MIT"
] | null | null | null | #include "co/unitest.h"
#include "co/fastring.h"
namespace test {
DEF_test(fastring) {
DEF_case(base) {
fastring s;
EXPECT(s.empty());
EXPECT_EQ(s.size(), 0);
s = "xxx";
EXPECT_EQ(s, "xxx");
fastring x(std::string("888"));
EXPECT_EQ(... | 27.7 | 72 | 0.480767 | MerlinXYoung |
e912754c7a362cbcfffacfd153478740497bd4e7 | 210 | cpp | C++ | cpp_primer/01/1.4/printIntNumber_for.cpp | jo-ny/cplusplus_learn | d1a126b2d7efd0c7599785c14a25b6c7e1b19c73 | [
"Apache-2.0"
] | null | null | null | cpp_primer/01/1.4/printIntNumber_for.cpp | jo-ny/cplusplus_learn | d1a126b2d7efd0c7599785c14a25b6c7e1b19c73 | [
"Apache-2.0"
] | null | null | null | cpp_primer/01/1.4/printIntNumber_for.cpp | jo-ny/cplusplus_learn | d1a126b2d7efd0c7599785c14a25b6c7e1b19c73 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
int main(){
int start,end;
std::cout << "Enter start and end number:";
std::cin >> start >> end;
for (; start <= end; ++start){
std::cout << start << " ";
}
std::cout << std::endl;
}
| 19.090909 | 44 | 0.561905 | jo-ny |
e912d79a48ed51f65a29fc19c25ce0ebb7737135 | 10,434 | cpp | C++ | Level_9_HW/F_FiniteDifferenceMethods/F_FiniteDifferenceMethods/main.cpp | ZhehaoLi9705/QuantNet_CPP | a889f4656e757842f4163b0cda7e098cc6ad1193 | [
"MIT"
] | null | null | null | Level_9_HW/F_FiniteDifferenceMethods/F_FiniteDifferenceMethods/main.cpp | ZhehaoLi9705/QuantNet_CPP | a889f4656e757842f4163b0cda7e098cc6ad1193 | [
"MIT"
] | null | null | null | Level_9_HW/F_FiniteDifferenceMethods/F_FiniteDifferenceMethods/main.cpp | ZhehaoLi9705/QuantNet_CPP | a889f4656e757842f4163b0cda7e098cc6ad1193 | [
"MIT"
] | null | null | null | //
// main.cpp
// F_FiniteDifferenceMethods
//
// Created by Zhehao Li on 2020/5/27.
// Copyright © 2020 Zhehao Li. All rights reserved.
//
// F. Finite Difference Methods (Introduction)
#include "FDMDirector.hpp"
#include <iostream>
#include <string>
#include <cmath>
using namespace std;
// Black Scholes names... | 33.549839 | 99 | 0.437512 | ZhehaoLi9705 |
e914b0504a4a37f31875d012cb9980fd92d63821 | 988 | hpp | C++ | engine/runtime/rendering/generator/axis_swap_shape.hpp | ValtoForks/EtherealEngine | ab769803dcd71a61c2805afd259959b62fcdc1ff | [
"BSD-2-Clause"
] | 791 | 2016-11-04T14:13:41.000Z | 2022-03-20T20:47:31.000Z | engine/runtime/rendering/generator/axis_swap_shape.hpp | ValtoForks/EtherealEngine | ab769803dcd71a61c2805afd259959b62fcdc1ff | [
"BSD-2-Clause"
] | 28 | 2016-12-01T05:59:30.000Z | 2021-03-20T09:49:26.000Z | engine/runtime/rendering/generator/axis_swap_shape.hpp | ValtoForks/EtherealEngine | ab769803dcd71a61c2805afd259959b62fcdc1ff | [
"BSD-2-Clause"
] | 151 | 2016-12-21T09:44:43.000Z | 2022-03-31T13:42:18.000Z | #ifndef GENERATOR_AXISSWAPSHAPE_HPP
#define GENERATOR_AXISSWAPSHAPE_HPP
#include "transform_shape.hpp"
namespace generator
{
/// Swaps the x and y axis.
template <typename shape_t>
class axis_swap_shape_t
{
private:
using impl_t = transform_shape_t<shape_t>;
impl_t transform_shape_;
public:
/// @param shape Sour... | 19.76 | 67 | 0.733806 | ValtoForks |
e914c30bd57cf84a2460967272810126e63625c0 | 5,990 | cpp | C++ | NoFTL_v1.0/shoreMT/src/sm/pax-tests/sm_hash.cpp | DBlabRT/NoFTL | cba8b5a6d9c422bdd39b01575244e557cbd12e43 | [
"Unlicense"
] | 4 | 2019-01-24T02:00:23.000Z | 2021-03-17T11:56:59.000Z | NoFTL_v1.0/shoreMT/src/sm/pax-tests/sm_hash.cpp | DBlabRT/NoFTL | cba8b5a6d9c422bdd39b01575244e557cbd12e43 | [
"Unlicense"
] | null | null | null | NoFTL_v1.0/shoreMT/src/sm/pax-tests/sm_hash.cpp | DBlabRT/NoFTL | cba8b5a6d9c422bdd39b01575244e557cbd12e43 | [
"Unlicense"
] | 4 | 2019-01-22T10:35:55.000Z | 2021-03-17T11:57:23.000Z | /////////////////////////////////////////////////////////
// memory hash table to be used in hash join.
///////////////////////////////////////////////////////
#include "sm_hash.h"
// import the hash function from stringhash.C
w_base_t::uint4_t hash(const char *p) {
//FUNC(hash(char *));
const char *c=p;
... | 24.54918 | 96 | 0.546912 | DBlabRT |
e915a52d0863d1963ed11820027f9e01f5e1a972 | 8,424 | cpp | C++ | Libraries/Editor/ColorScheme.cpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | 1 | 2019-07-13T03:36:11.000Z | 2019-07-13T03:36:11.000Z | Libraries/Editor/ColorScheme.cpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | Libraries/Editor/ColorScheme.cpp | RyanTylerRae/WelderEngineRevamp | 3efdad59dd1821ddb1c09b59520e8e2d7023bb10 | [
"MIT"
] | null | null | null | // MIT Licensed (see LICENSE.md).
#include "Precompiled.hpp"
namespace Zero
{
namespace Events
{
DefineEvent(ColorSchemeChanged);
}
void GetStringsTextConfig(HandleParam instance, Property* property, Array<String>& strings)
{
ColorScheme* colorScheme = instance.Get<ColorScheme*>();
forRange (auto& scheme, colorS... | 32.152672 | 117 | 0.757597 | RyanTylerRae |
e915d58ddc52be378b67ad716cf8dfdf39d03f45 | 641 | cpp | C++ | lab_01/month.cpp | srafi1/csci13600-labs-1 | 60081dced2c237f6843b28f335db9a4ed56a8ac2 | [
"BSD-3-Clause"
] | null | null | null | lab_01/month.cpp | srafi1/csci13600-labs-1 | 60081dced2c237f6843b28f335db9a4ed56a8ac2 | [
"BSD-3-Clause"
] | 2 | 2018-11-15T17:15:08.000Z | 2018-11-20T18:14:33.000Z | lab_01/month.cpp | srafi1/csci13600-labs-1 | 60081dced2c237f6843b28f335db9a4ed56a8ac2 | [
"BSD-3-Clause"
] | 4 | 2018-11-08T15:05:15.000Z | 2018-12-14T04:08:49.000Z | #include <iostream>
[[noreturn]] void myexit(unsigned int val) {
std::cout << val;
std::cout << " days";
std::cout << std::endl;
exit(0);
}
int main() {
std::cout << "Enter year: ";
int year;
std::cin >> year;
std::cout << "Enter month: ";
int month;
std::cin >> month;
std::cout << std::endl;
... | 14.244444 | 44 | 0.464899 | srafi1 |
e918c2ab70f3b76deb17239e7b39c7c72a5553ae | 51,260 | cc | C++ | talk/owt/sdk/p2p/p2ppeerconnectionchannel.cc | JamesTerm/owt-client-native | 91eff5607438690c88e01b718c1fd5441e89e1f7 | [
"Apache-2.0"
] | 1 | 2021-01-26T07:57:43.000Z | 2021-01-26T07:57:43.000Z | talk/owt/sdk/p2p/p2ppeerconnectionchannel.cc | JamesTerm/owt-client-native | 91eff5607438690c88e01b718c1fd5441e89e1f7 | [
"Apache-2.0"
] | null | null | null | talk/owt/sdk/p2p/p2ppeerconnectionchannel.cc | JamesTerm/owt-client-native | 91eff5607438690c88e01b718c1fd5441e89e1f7 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) <2018> Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
#include <thread>
#include <vector>
#include "talk/owt/sdk/base/eventtrigger.h"
#include "talk/owt/sdk/base/functionalobserver.h"
#include "talk/owt/sdk/base/sdputils.h"
#include "talk/owt/sdk/base/sysinfo.h"
#include "talk/owt/sdk/p2p/... | 39.159664 | 99 | 0.686208 | JamesTerm |
e919b6820d132e9196c2855ea3da2de4c3feb5d3 | 470 | cpp | C++ | src/thread.cpp | wondervictor/Rina | 987c4be48d18f134fac857feb11f51a27f6d04ac | [
"MIT"
] | null | null | null | src/thread.cpp | wondervictor/Rina | 987c4be48d18f134fac857feb11f51a27f6d04ac | [
"MIT"
] | null | null | null | src/thread.cpp | wondervictor/Rina | 987c4be48d18f134fac857feb11f51a27f6d04ac | [
"MIT"
] | 2 | 2019-03-03T03:14:48.000Z | 2019-11-03T07:20:00.000Z | /**
* @brief Thread Package
* @author Vic Chan
* @date 2017-10-23
* */
#include "./thread.h"
#include "log.h"
namespace Rina {
ThreadManager::ThreadManager() {
}
void ThreadManager::createThread(int key, void (*handle)(void *), void *data) {
threadNum ++;
if (threads[key] != nullptr) {
LOG_WARN("New T... | 15.666667 | 79 | 0.642553 | wondervictor |
e919ded56f97970a728d8414184d8f180b9e3ce6 | 2,063 | cxx | C++ | src/Cxx/Filtering/GaussianSplat.cxx | mwestphal/VTKExamples | 1fdebe2c51534e4465071ea7e660cd68640d8017 | [
"Apache-2.0"
] | null | null | null | src/Cxx/Filtering/GaussianSplat.cxx | mwestphal/VTKExamples | 1fdebe2c51534e4465071ea7e660cd68640d8017 | [
"Apache-2.0"
] | null | null | null | src/Cxx/Filtering/GaussianSplat.cxx | mwestphal/VTKExamples | 1fdebe2c51534e4465071ea7e660cd68640d8017 | [
"Apache-2.0"
] | null | null | null | #include <vtkVersion.h>
#include <vtkSmartPointer.h>
#include <vtkPolyData.h>
#include <vtkXMLPolyDataWriter.h>
#include <vtkContourFilter.h>
#include <vtkGaussianSplatter.h>
#include <vtkSphereSource.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkRenderWindow.h>
#include <vtkRenderer.h>
#include... | 29.471429 | 70 | 0.756665 | mwestphal |
e919f6adf3e97dbd17434dee435304c8044efaf5 | 991 | cpp | C++ | Nov2020/29Nov/KKAndCrush.cpp | shivanisbp/2monthsOfCoding | 26dc53e3160c7b313dff974b957c81350bf9f1a1 | [
"MIT"
] | null | null | null | Nov2020/29Nov/KKAndCrush.cpp | shivanisbp/2monthsOfCoding | 26dc53e3160c7b313dff974b957c81350bf9f1a1 | [
"MIT"
] | null | null | null | Nov2020/29Nov/KKAndCrush.cpp | shivanisbp/2monthsOfCoding | 26dc53e3160c7b313dff974b957c81350bf9f1a1 | [
"MIT"
] | null | null | null | /*
Problem Name: KK and crush
Problem Link: https://www.hackerearth.com/practice/data-structures/hash-tables/basics-of-hash-tables/practice-problems/algorithm/exists/
*/
#include<bits/stdc++.h>
using namespace std;
#define test(t) int t; cin>>t; while(t--)
int main(){
ios::sync_with_stdio(0);
cin.tie... | 22.022222 | 136 | 0.400605 | shivanisbp |
e91a5110d3239a2d614c1eec21696c1d6281fdb5 | 16,381 | cpp | C++ | media/libnblog/PerformanceAnalysis.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | media/libnblog/PerformanceAnalysis.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | media/libnblog/PerformanceAnalysis.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | 2 | 2021-07-08T07:42:11.000Z | 2021-07-09T21:56:10.000Z | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 39.282974 | 99 | 0.652646 | Dreadwyrm |
e91a81d334bc022d3b2f4f84778408808fb26317 | 7,986 | cc | C++ | ui/app_list/views/apps_container_view.cc | Acidburn0zzz/chromium-1 | 4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/app_list/views/apps_container_view.cc | Acidburn0zzz/chromium-1 | 4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/app_list/views/apps_container_view.cc | Acidburn0zzz/chromium-1 | 4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/app_list/views/apps_container_view.h"
#include <algorithm>
#include <vector>
#include "base/command_line.h"
#include "ui/app_list/app_list_... | 33.982979 | 79 | 0.749061 | Acidburn0zzz |
e91bd998f0b8dd5bb328ede2d5c32564c80a5fae | 14,978 | hpp | C++ | library/src/auxiliary/rocauxiliary_stein.hpp | rkamd/rocSOLVER | de338c6cfc78e9e00be141d11529b8faeaba911f | [
"BSD-2-Clause"
] | null | null | null | library/src/auxiliary/rocauxiliary_stein.hpp | rkamd/rocSOLVER | de338c6cfc78e9e00be141d11529b8faeaba911f | [
"BSD-2-Clause"
] | null | null | null | library/src/auxiliary/rocauxiliary_stein.hpp | rkamd/rocSOLVER | de338c6cfc78e9e00be141d11529b8faeaba911f | [
"BSD-2-Clause"
] | null | null | null | /************************************************************************
* Derived from the BSD3-licensed
* LAPACK routine (version 3.7.0) --
* Univ. of Tennessee, Univ. of California Berkeley,
* Univ. of Colorado Denver and NAG Ltd..
* December 2016
* Copyright (c) 2019-2022 Advanced Micro Devices, ... | 37.074257 | 100 | 0.426225 | rkamd |
e91ed4687e4a95e875686b90f5bff55c6a88cda9 | 15,797 | cpp | C++ | Messy_Test-master/demo/miniz_Test/funset.cpp | shenjl/Cplusplus | 345c2f582bf160d663c8accfafbcabc2ff011e57 | [
"MIT"
] | 1 | 2019-11-10T08:23:00.000Z | 2019-11-10T08:23:00.000Z | Messy_Test-master/demo/miniz_Test/funset.cpp | selonsy/Cplusplus | 345c2f582bf160d663c8accfafbcabc2ff011e57 | [
"MIT"
] | null | null | null | Messy_Test-master/demo/miniz_Test/funset.cpp | selonsy/Cplusplus | 345c2f582bf160d663c8accfafbcabc2ff011e57 | [
"MIT"
] | null | null | null | #include "funset.hpp"
#include <limits.h>
#include "../../src/miniz/miniz.c"
// Blog: http://blog.csdn.net/fengbingchun/article/details/52903219
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint;
#define my_max(a,b) (((a) > (b)) ? (a) : (b))
#define my_min(a,b) (((a) < (b)) ? (a) ... | 31.913131 | 259 | 0.680066 | shenjl |
e91ed5234d4df1704c2f4c24c07f307433e53710 | 633 | cpp | C++ | BCA/CPP/lab/8.cpp | muhammadmuzzammil1998/CollegeStuff | 618cec9ebfbfd29a2d1e5a182b90cfb36b38a906 | [
"MIT"
] | 3 | 2018-03-13T12:34:51.000Z | 2018-10-02T18:54:22.000Z | BCA/CPP/lab/8.cpp | muhammadmuzzammil1998/CollegeStuff | 618cec9ebfbfd29a2d1e5a182b90cfb36b38a906 | [
"MIT"
] | null | null | null | BCA/CPP/lab/8.cpp | muhammadmuzzammil1998/CollegeStuff | 618cec9ebfbfd29a2d1e5a182b90cfb36b38a906 | [
"MIT"
] | null | null | null | #include <string.h>
#include <iostream>
class String {
private:
char* data;
public:
String(char* s) : data(s) {}
char* get() {
return this->data;
}
bool operator==(String comp) {
for (int i = 0; i < strlen(comp.data); i++)
if (this->data[i] != comp.data[i])
... | 19.181818 | 117 | 0.453397 | muhammadmuzzammil1998 |
11ead98b728074eba9901c432769b0091275c0a5 | 972 | hpp | C++ | include/tao/json/external/pegtl/internal/require.hpp | ClausKlein/json | eeabe4bdef13ccba985b4423ce558438fd2f5497 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | include/tao/json/external/pegtl/internal/require.hpp | ClausKlein/json | eeabe4bdef13ccba985b4423ce558438fd2f5497 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | include/tao/json/external/pegtl/internal/require.hpp | ClausKlein/json | eeabe4bdef13ccba985b4423ce558438fd2f5497 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (c) 2016-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_JSON_PEGTL_INTERNAL_REQUIRE_HPP
#define TAO_JSON_PEGTL_INTERNAL_REQUIRE_HPP
#include "../config.hpp"
#include "enable_control.hpp"
#include "success.hpp"
#include "../t... | 22.604651 | 92 | 0.686214 | ClausKlein |
11eb95469c375c969c97813e8bea43a3ba8adcda | 7,517 | cpp | C++ | examples/strings_example.cpp | Ptomaine/nstd | 72daa4abab97dc82b407c774b00476459df0730b | [
"MIT"
] | 31 | 2017-06-28T09:50:03.000Z | 2021-08-11T14:09:35.000Z | examples/strings_example.cpp | Ptomaine/nstd | 72daa4abab97dc82b407c774b00476459df0730b | [
"MIT"
] | null | null | null | examples/strings_example.cpp | Ptomaine/nstd | 72daa4abab97dc82b407c774b00476459df0730b | [
"MIT"
] | 5 | 2017-06-29T13:43:23.000Z | 2020-09-01T02:47:11.000Z | /*
MIT License
Copyright (c) 2017 Arlen Keshabyan (arlen.albert@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use,... | 44.217647 | 197 | 0.603698 | Ptomaine |
11ed1b9e0328f4afa71af4d18c3da6b495dd25ef | 77,919 | cpp | C++ | src/ast/simplifier/bv_simplifier_plugin.cpp | ezulkosk/z3 | 1361340d553f67d86bd373e73c64876015a508f8 | [
"MIT"
] | 1 | 2018-06-15T00:27:24.000Z | 2018-06-15T00:27:24.000Z | src/ast/simplifier/bv_simplifier_plugin.cpp | smt-js/z3 | f54a7db1086b8151d42315ae7e2d96efa8ebdbd0 | [
"MIT"
] | null | null | null | src/ast/simplifier/bv_simplifier_plugin.cpp | smt-js/z3 | f54a7db1086b8151d42315ae7e2d96efa8ebdbd0 | [
"MIT"
] | null | null | null | /*++
Copyright (c) 2007 Microsoft Corporation
Module Name:
bv_simplifier_plugin.cpp
Abstract:
Simplifier for the bv family.
Author:
Leonardo (leonardo) 2008-01-08
Nikolaj Bjorner (nbjorner) 2008-01-05
--*/
#include"bv_simplifier_plugin.h"
#include"ast_ll_pp.h"
#include"ast_pp.h"
#include"arit... | 34.615282 | 151 | 0.534029 | ezulkosk |
11eee67e9cd88a25428e83e5c2c896d6ce908252 | 5,818 | cpp | C++ | examples/vectoradd.cpp | JackWolfard/cash | a646c0b94d075fa424a93904b7499a0dee90ac89 | [
"BSD-3-Clause"
] | 14 | 2018-08-08T19:02:21.000Z | 2022-01-07T14:42:43.000Z | examples/vectoradd.cpp | JackWolfard/cash | a646c0b94d075fa424a93904b7499a0dee90ac89 | [
"BSD-3-Clause"
] | null | null | null | examples/vectoradd.cpp | JackWolfard/cash | a646c0b94d075fa424a93904b7499a0dee90ac89 | [
"BSD-3-Clause"
] | 3 | 2020-04-20T20:58:34.000Z | 2021-11-23T14:50:14.000Z | #include <core.h>
#include <htl/fixed.h>
#include <eda/altera/avalon.h>
#include <eda/altera/avalon_sim.h>
#include "common.h"
using namespace ch::core;
using namespace ch::htl;
using namespace eda::altera::avalon;
template <typename T>
class vectoradd {
public:
__io (
__in (ch_uint<avm_v0::AddrW>) dst,
__i... | 29.989691 | 111 | 0.64438 | JackWolfard |
11f0946859c9ce8aacbbb58e7668aefeb92b4579 | 1,384 | cpp | C++ | tests/music/playMusic/mp3.cpp | jamesl-github/scc | c1dddf41778eeb2ef2a910372d1eb6a6a8dfa68e | [
"Zlib"
] | 8 | 2018-04-21T07:49:58.000Z | 2019-02-21T15:04:28.000Z | tests/music/playMusic/mp3.cpp | jamesl-github/scc | c1dddf41778eeb2ef2a910372d1eb6a6a8dfa68e | [
"Zlib"
] | null | null | null | tests/music/playMusic/mp3.cpp | jamesl-github/scc | c1dddf41778eeb2ef2a910372d1eb6a6a8dfa68e | [
"Zlib"
] | 2 | 2018-04-21T02:25:47.000Z | 2018-04-21T15:03:15.000Z | /*
SDL C++ Classes
Copyright (C) 2017-2018 Mateus Carmo M. de F. Barbosa
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 software fo... | 32.952381 | 76 | 0.742775 | jamesl-github |
11f10517359204a8ecccfb6213b897b4d94e0573 | 705 | cpp | C++ | LeetCode/530.Minimum_Absolute_Difference_in_BST.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 9 | 2017-10-08T16:22:03.000Z | 2021-08-20T09:32:17.000Z | LeetCode/530.Minimum_Absolute_Difference_in_BST.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | null | null | null | LeetCode/530.Minimum_Absolute_Difference_in_BST.cpp | w181496/OJ | 67d1d32770376865eba8a9dd1767e97dae68989a | [
"MIT"
] | 2 | 2018-01-15T16:35:44.000Z | 2019-03-21T18:30:04.000Z | // 即中序相鄰最小絕對差值
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int getMinimumDifference(TreeNode* root) {
vector<int> arr;
dfs(... | 22.741935 | 59 | 0.497872 | w181496 |
11f3e133b0853a2119c6b848c70e9bbee788a674 | 2,792 | cc | C++ | gcc-gcc-7_3_0-release/libstdc++-v3/libsupc++/eh_exception.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/libstdc++-v3/libsupc++/eh_exception.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/libstdc++-v3/libsupc++/eh_exception.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | // -*- C++ -*- std::exception implementation.
// Copyright (C) 1994-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
// GCC is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either versio... | 32.091954 | 77 | 0.746418 | best08618 |
11f4dc1a41b17ac7ac139196ff7aa3f95eeb6d45 | 6,549 | cpp | C++ | tools/intro/mciAVI.cpp | isabella232/savagewheels | be1865845f3c357b02b64048ce4822a7616175bb | [
"MIT"
] | 19 | 2017-04-13T11:56:54.000Z | 2022-01-13T09:18:31.000Z | tools/intro/mciAVI.cpp | isabella232/savagewheels | be1865845f3c357b02b64048ce4822a7616175bb | [
"MIT"
] | 1 | 2022-01-04T10:42:05.000Z | 2022-01-04T10:42:05.000Z | tools/intro/mciAVI.cpp | isabella232/savagewheels | be1865845f3c357b02b64048ce4822a7616175bb | [
"MIT"
] | 9 | 2017-10-17T04:40:05.000Z | 2022-01-04T10:36:37.000Z | // mciAVI.cpp -
#include "mciAvi.h"
///////////////////////////////////////////////////////////////////////////////////////////////
//// Name: Initialize()
//// Desc: Init MCI player
///////////////////////////////////////////////////////////////////////////////////////////////
int CAvi::Initialize()
{... | 27.2875 | 102 | 0.441289 | isabella232 |
11fa84e0e6ed2b4b1950cdb19b4b651fe4292f1c | 9,074 | cpp | C++ | net.cpp | yibopi/latency-imbalance | 2a5836bdbcf197d3373d1478b27c0ffcc8bd8a77 | [
"BSD-3-Clause"
] | 5 | 2020-06-24T21:42:41.000Z | 2021-09-15T12:27:30.000Z | net.cpp | yibopi/latency-imbalance | 2a5836bdbcf197d3373d1478b27c0ffcc8bd8a77 | [
"BSD-3-Clause"
] | null | null | null | net.cpp | yibopi/latency-imbalance | 2a5836bdbcf197d3373d1478b27c0ffcc8bd8a77 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
Program: $Id: net.cpp 14 2014-12-30 02:33:44Z laalt $
Date: $Date: 2014-12-29 18:33:44 -0800 (Mon, 29 Dec 2014) $
Description: networking routines
***************************************************************************... | 27.413897 | 86 | 0.606789 | yibopi |
11fae4b00f9f70979fc328a28517b4b082983df7 | 634 | cpp | C++ | windows/feime/fe/infcat/mymfile.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/feime/fe/infcat/mymfile.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/feime/fe/infcat/mymfile.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "stdafx.h"
#include "mymfile.h"
CMyMemFile::CMyMemFile()
{
}
CMyMemFile::~CMyMemFile()
{
Close();
}
BOOL CMyMemFile::bOpen(LPCTSTR FileName)
{
BOOL bRet = FALSE;
const WORD UnicodePrefix=0xFEFF;
if (! Open(FileName,CFile::modeCreate | CFile::modeReadWrite)) {
f... | 16.25641 | 73 | 0.586751 | npocmaka |
11fb8629bc2d749964b5661922a1aab236e7860a | 2,455 | cpp | C++ | cpp-htp/standard/ch05solutions/Ex05_16/ex05_16.cpp | yanshengjia/cplusplus-practice-range | 6767a0ac50de8b532255511cd450dc84c66d1517 | [
"Apache-2.0"
] | 75 | 2020-03-23T11:00:31.000Z | 2022-02-20T05:22:53.000Z | cpp-htp/standard/ch05solutions/Ex05_16/ex05_16.cpp | yanshengjia/cplusplus-practice-range | 6767a0ac50de8b532255511cd450dc84c66d1517 | [
"Apache-2.0"
] | null | null | null | cpp-htp/standard/ch05solutions/Ex05_16/ex05_16.cpp | yanshengjia/cplusplus-practice-range | 6767a0ac50de8b532255511cd450dc84c66d1517 | [
"Apache-2.0"
] | 39 | 2020-04-03T23:47:24.000Z | 2022-01-19T05:06:39.000Z | // Exercise 5.16 Solution: ex05_16.cpp
// Calculate compound interest using only integers.
#include <iostream>
#include <iomanip> // parameterized stream manipulators
#include <cmath>
using namespace std;
int main()
{
int amount; // amount on deposit, in pennies
int principal = 100000; // starting pr... | 41.610169 | 77 | 0.55723 | yanshengjia |
11fcf32f4cb3c16813af018f6d576b3077f21e02 | 22,611 | cc | C++ | src/vnsw/agent/oper/agent_route.cc | Juniper/contrail-dev-controller | d4fd8fa8e309fd6746c9998f7e8644c2910affbb | [
"Apache-2.0"
] | 5 | 2015-01-08T17:34:41.000Z | 2017-09-28T16:00:25.000Z | src/vnsw/agent/oper/agent_route.cc | Juniper/contrail-dev-controller | d4fd8fa8e309fd6746c9998f7e8644c2910affbb | [
"Apache-2.0"
] | null | null | null | src/vnsw/agent/oper/agent_route.cc | Juniper/contrail-dev-controller | d4fd8fa8e309fd6746c9998f7e8644c2910affbb | [
"Apache-2.0"
] | 2 | 2016-06-24T20:16:45.000Z | 2020-02-05T10:47:43.000Z | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <boost/uuid/uuid_io.hpp>
#include <boost/lexical_cast.hpp>
#include <cmn/agent_cmn.h>
#include <route/route.h>
#include <vnc_cfg_types.h>
#include <agent_types.h>
#include <oper/peer.h>
#include <oper/vrf.h>
#include <oper/interface_co... | 32.627706 | 80 | 0.60705 | Juniper |
11ff047791d9e44ef03347df805f7aac43d6faea | 13,374 | cpp | C++ | FindMeSAT_SW/amateurfunk-funkrufmaster_19862/src/astronom.cpp | DF4IAH/GPS-TrackMe | 600511a41c995e98ec6e06a9e5bb1b64cce9b7a6 | [
"MIT"
] | 2 | 2018-01-18T16:03:41.000Z | 2018-04-01T15:55:59.000Z | FindMeSAT_SW/amateurfunk-funkrufmaster_19862/src/astronom.cpp | DF4IAH/GPS-TrackMe | 600511a41c995e98ec6e06a9e5bb1b64cce9b7a6 | [
"MIT"
] | null | null | null | FindMeSAT_SW/amateurfunk-funkrufmaster_19862/src/astronom.cpp | DF4IAH/GPS-TrackMe | 600511a41c995e98ec6e06a9e5bb1b64cce9b7a6 | [
"MIT"
] | 2 | 2020-05-22T17:01:24.000Z | 2021-10-08T15:53:01.000Z | /****************************************************************************
* *
* *
* Copyright (C) 2002-2004 by Holger Flemming *
* ... | 29.137255 | 96 | 0.53761 | DF4IAH |
11ffdc3de39a6430778541145c9523b2ba69f400 | 15,649 | cpp | C++ | models/model_jakstat_adjoint_o2/model_jakstat_adjoint_o2_dxdotdp.cpp | paszkow/AMICI | a0407673453d6e18a9abec5b6f73758dd09f7aaf | [
"BSD-3-Clause"
] | null | null | null | models/model_jakstat_adjoint_o2/model_jakstat_adjoint_o2_dxdotdp.cpp | paszkow/AMICI | a0407673453d6e18a9abec5b6f73758dd09f7aaf | [
"BSD-3-Clause"
] | null | null | null | models/model_jakstat_adjoint_o2/model_jakstat_adjoint_o2_dxdotdp.cpp | paszkow/AMICI | a0407673453d6e18a9abec5b6f73758dd09f7aaf | [
"BSD-3-Clause"
] | null | null | null |
#include "amici/symbolic_functions.h"
#include "amici/defines.h" //realtype definition
typedef amici::realtype realtype;
#include <cmath>
using namespace amici;
void dxdotdp_model_jakstat_adjoint_o2(realtype *dxdotdp, const realtype t, const realtype *x, const realtype *p, const realtype *k, const realtype *h, cons... | 33.726293 | 207 | 0.525401 | paszkow |
f50080b795108d17c462e85194a9d1350fe17c9e | 69 | cpp | C++ | test/clustering_coef_wd_cpp.cpp | devuci/bct-cpp | bbb33f476bffbb5669e051841f00c3241f4d6f69 | [
"MIT"
] | null | null | null | test/clustering_coef_wd_cpp.cpp | devuci/bct-cpp | bbb33f476bffbb5669e051841f00c3241f4d6f69 | [
"MIT"
] | null | null | null | test/clustering_coef_wd_cpp.cpp | devuci/bct-cpp | bbb33f476bffbb5669e051841f00c3241f4d6f69 | [
"MIT"
] | null | null | null | #include "bct_test.h"
MATRIX_TO_VECTOR_FUNCTION(clustering_coef_wd)
| 17.25 | 45 | 0.855072 | devuci |
f500c81f3e88e1cd156ac9a01105476d156b4a91 | 5,766 | hpp | C++ | src/AFQMC/SlaterDeterminantOperations/SlaterDetOperations.hpp | prckent/qmcpack | 127caf219ee99c2449b803821fcc8b1304b66ee1 | [
"NCSA"
] | null | null | null | src/AFQMC/SlaterDeterminantOperations/SlaterDetOperations.hpp | prckent/qmcpack | 127caf219ee99c2449b803821fcc8b1304b66ee1 | [
"NCSA"
] | null | null | null | src/AFQMC/SlaterDeterminantOperations/SlaterDetOperations.hpp | prckent/qmcpack | 127caf219ee99c2449b803821fcc8b1304b66ee1 | [
"NCSA"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source License.
// See LICENSE file in top directory for details.
//
// Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
//
// File developed by: Miguel Mo... | 32.033333 | 130 | 0.6188 | prckent |
f50294c0e8a48b97ea6b2d8cff601e165dcc9439 | 5,988 | cpp | C++ | software/DSGRN-Database/source/DSGRN-Database.cpp | yingxinac/DSGRN | b5bc64e5a99e6d266f6ac5ba7ac9d04954f12d32 | [
"MIT"
] | 9 | 2017-10-15T20:49:36.000Z | 2022-02-24T19:26:39.000Z | software/DSGRN-Database/source/DSGRN-Database.cpp | yingxinac/DSGRN | b5bc64e5a99e6d266f6ac5ba7ac9d04954f12d32 | [
"MIT"
] | 19 | 2015-07-02T15:59:06.000Z | 2020-06-09T18:13:05.000Z | software/DSGRN-Database/source/DSGRN-Database.cpp | yingxinac/DSGRN | b5bc64e5a99e6d266f6ac5ba7ac9d04954f12d32 | [
"MIT"
] | 21 | 2015-11-06T16:28:34.000Z | 2019-09-20T09:26:54.000Z | /// Main algorithm
#include "DSGRN-Database.h"
using namespace sqlite;
int main ( int argc, char * argv [] ) {
if ( argc < 3 ) {
std::cout << "Please supply the following arguments:\n"
" --> network specification file \n"
" --> output file \n"
" --> [start... | 40.734694 | 151 | 0.625919 | yingxinac |
f50774a7e3e632e1e34fb515e6ff79141b031210 | 25,520 | cpp | C++ | saber/core/tensor_op.cpp | baajur/Anakin | 5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730 | [
"Apache-2.0"
] | 533 | 2018-05-18T06:14:04.000Z | 2022-03-23T11:46:30.000Z | saber/core/tensor_op.cpp | baajur/Anakin | 5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730 | [
"Apache-2.0"
] | 100 | 2018-05-26T08:32:48.000Z | 2022-03-17T03:26:25.000Z | saber/core/tensor_op.cpp | baajur/Anakin | 5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730 | [
"Apache-2.0"
] | 167 | 2018-05-18T06:14:35.000Z | 2022-02-14T01:44:20.000Z | #include "saber/core/tensor_op.h"
#include <random>
#include <math.h>
#include <stdio.h>
namespace anakin {
namespace saber {
template <typename HostType>
static void reorder_nhwc_nchw(const Tensor<HostType>& input,
Tensor<HostType>& output) {
CHECK_EQ(input.get_dtype(), AK_FLOAT) <... | 31.741294 | 142 | 0.603958 | baajur |
f5077d62c587ef57666530d2c62e24859aa6aa27 | 16,249 | cpp | C++ | gdal/ogr/ogrsf_frmts/carto/ogrcartolayer.cpp | klassenjs/gdal-old | adfa6d9c247af4b431f6d6b705612c77caf65844 | [
"MIT"
] | null | null | null | gdal/ogr/ogrsf_frmts/carto/ogrcartolayer.cpp | klassenjs/gdal-old | adfa6d9c247af4b431f6d6b705612c77caf65844 | [
"MIT"
] | null | null | null | gdal/ogr/ogrsf_frmts/carto/ogrcartolayer.cpp | klassenjs/gdal-old | adfa6d9c247af4b431f6d6b705612c77caf65844 | [
"MIT"
] | null | null | null | /******************************************************************************
*
* Project: Carto Translator
* Purpose: Implements OGRCARTOLayer class.
* Author: Even Rouault, <even dot rouault at mines dash paris dot org>
*
******************************************************************************
* Co... | 35.400871 | 96 | 0.467844 | klassenjs |
f50bb88e714b2c3badf2d3383a1472ce553182eb | 962 | cpp | C++ | contest/C181/Q2/main.cpp | Modnars/LeetCode | 1c91fe9598418e6ed72233260f9cd8d5737fe216 | [
"Apache-2.0"
] | 2 | 2021-11-26T14:06:13.000Z | 2021-11-26T14:34:34.000Z | contest/C181/Q2/main.cpp | Modnars/LeetCode | 1c91fe9598418e6ed72233260f9cd8d5737fe216 | [
"Apache-2.0"
] | 2 | 2021-11-26T14:06:49.000Z | 2021-11-28T11:28:49.000Z | contest/C181/Q2/main.cpp | Modnars/LeetCode | 1c91fe9598418e6ed72233260f9cd8d5737fe216 | [
"Apache-2.0"
] | null | null | null | // URL : https://leetcode-cn.com/contest/weekly-contest-181/problems/four-divisors/
// Author : Modnar
// Date : 2020/03/22
#include <bits/stdc++.h>
/* ************************* */
class Solution {
public:
int sumFourDivisors(std::vector<int> &nums) {
int ans = 0;
for (int i = 0; i != nums.s... | 23.463415 | 86 | 0.453222 | Modnars |
f50d9fec2a8298fe7643c856e87b779af2eae057 | 1,964 | cpp | C++ | src/mongo/db/audit/audit_file.cpp | wangke1020/percona-server-mongodb | 5008975f1ac220fdb82ea85c85f2794f554ce3d9 | [
"Apache-2.0"
] | 1 | 2019-01-16T12:59:12.000Z | 2019-01-16T12:59:12.000Z | src/mongo/db/audit/audit_file.cpp | wangke1020/percona-server-mongodb | 5008975f1ac220fdb82ea85c85f2794f554ce3d9 | [
"Apache-2.0"
] | 4 | 2019-02-22T10:05:59.000Z | 2021-03-26T00:20:23.000Z | src/mongo/db/audit/audit_file.cpp | wangke1020/percona-server-mongodb | 5008975f1ac220fdb82ea85c85f2794f554ce3d9 | [
"Apache-2.0"
] | 10 | 2018-11-29T07:17:30.000Z | 2022-03-07T01:33:41.000Z | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
/*======
This file is part of Percona Server for MongoDB.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
Percona Server for MongoDB is free software: you can redistri... | 31.677419 | 80 | 0.645621 | wangke1020 |
f50f5dbfc2ea160a169c5329b660927ede48004e | 2,841 | cpp | C++ | modules/tracktion_engine/tracktion_engine_model_1.cpp | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | null | null | null | modules/tracktion_engine/tracktion_engine_model_1.cpp | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | null | null | null | modules/tracktion_engine/tracktion_engine_model_1.cpp | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | null | null | null | /*
,--. ,--. ,--. ,--.
,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2018
'-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software
| | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation
`---' `--' `... | 45.822581 | 84 | 0.746568 | jbloit |
f510e4cf79ef1b6762759fccac213ba0854dcc1a | 984 | hpp | C++ | src/includes/Module_interface.hpp | Exus1/eBot | f39a967de5207d81f4ee3671c23dd98b932a2cb6 | [
"MIT"
] | null | null | null | src/includes/Module_interface.hpp | Exus1/eBot | f39a967de5207d81f4ee3671c23dd98b932a2cb6 | [
"MIT"
] | null | null | null | src/includes/Module_interface.hpp | Exus1/eBot | f39a967de5207d81f4ee3671c23dd98b932a2cb6 | [
"MIT"
] | null | null | null | #ifndef _MODULE_INTEFACE__HPP
#define _MODULE_INTEFACE__HPP
#include <iostream>
#include <map>
#include <string>
#include <Ts3Api/Server.hpp>
#include <ConfigFile.hpp>
using namespace std;
class Module_interface {
friend class Modules_manager;
friend class Module_thread;
protected:
struct module_informations {
... | 20.5 | 117 | 0.753049 | Exus1 |
f51162164009b440b9dd9f3778d1bea683f0c1c6 | 1,125 | cpp | C++ | ProjectModellib/scr/internal/independent_member/IndependentSourceMethod.cpp | kuafuwang/JCDT | 2b009ea887b4816303fed9e6e1dc104a90c67d16 | [
"MIT"
] | 1 | 2021-04-17T01:55:27.000Z | 2021-04-17T01:55:27.000Z | ProjectModellib/scr/internal/independent_member/IndependentSourceMethod.cpp | kuafuwang/JCDT | 2b009ea887b4816303fed9e6e1dc104a90c67d16 | [
"MIT"
] | null | null | null | ProjectModellib/scr/internal/independent_member/IndependentSourceMethod.cpp | kuafuwang/JCDT | 2b009ea887b4816303fed9e6e1dc104a90c67d16 | [
"MIT"
] | 1 | 2022-02-18T12:02:00.000Z | 2022-02-18T12:02:00.000Z | #include "stdafx.h"
#include <JavaModelLib/internal/independent_member/IndependentSourceMethod.h>
#include <JavaModelLib/internal/independent_member/IndependentMoses.h>
#include <JavaModelLib/internal/core/BaseJavaType.h>
namespace Jikes { // Open namespace Jikes block
namespace JavaModel{
IJavaElement* IndependentS... | 22.959184 | 108 | 0.777778 | kuafuwang |
f511d0898e80cdd1cc526c54f8f806e620cd1a73 | 38,580 | cc | C++ | chrome/browser/resource_coordinator/tab_lifecycle_unit.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/resource_coordinator/tab_lifecycle_unit.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/resource_coordinator/tab_lifecycle_unit.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 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/resource_coordinator/tab_lifecycle_unit.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "base/feature_l... | 37.897839 | 94 | 0.734629 | sarang-apps |
f5131c5bdc829268e6d3eb42bf8b9cce5fa984fe | 25,269 | cpp | C++ | src/brpc/policy/thrift_protocol.cpp | ziyoujiyi/brpc | 9f5596ad7ea2b46b4a1a46bcc8451bc48c1f3b87 | [
"Apache-2.0"
] | null | null | null | src/brpc/policy/thrift_protocol.cpp | ziyoujiyi/brpc | 9f5596ad7ea2b46b4a1a46bcc8451bc48c1f3b87 | [
"Apache-2.0"
] | null | null | null | src/brpc/policy/thrift_protocol.cpp | ziyoujiyi/brpc | 9f5596ad7ea2b46b4a1a46bcc8451bc48c1f3b87 | [
"Apache-2.0"
] | 4 | 2021-04-28T02:22:00.000Z | 2022-03-25T10:25:38.000Z | // Copyright (c) 2015 Baidu, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 35.842553 | 105 | 0.627647 | ziyoujiyi |
f5135ce80e758c114faab4c6abf99c7a7be23b12 | 5,608 | cpp | C++ | apps/openmw/mwgui/itemmodel.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/openmw/mwgui/itemmodel.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/openmw/mwgui/itemmodel.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | #include "itemmodel.hpp"
#include "../mwworld/class.hpp"
#include "../mwworld/containerstore.hpp"
#include "../mwworld/store.hpp"
#include "../mwworld/esmstore.hpp"
#include "../mwbase/world.hpp"
#include "../mwbase/environment.hpp"
namespace MWGui
{
ItemStack::ItemStack(const MWWorld::Ptr &base, ItemModel *cre... | 33.783133 | 160 | 0.613053 | Bodillium |
f5137d5e20980a1ea4f291a2eda20052d46be966 | 1,087 | hpp | C++ | openbmc_modules/ipmi-blob-tool/src/ipmiblob/test/blob_interface_mock.hpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | 14 | 2021-11-04T07:47:37.000Z | 2022-03-21T10:10:30.000Z | openbmc_modules/ipmi-blob-tool/src/ipmiblob/test/blob_interface_mock.hpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | null | null | null | openbmc_modules/ipmi-blob-tool/src/ipmiblob/test/blob_interface_mock.hpp | Eyerunmyden/HWMgmt-MegaRAC-OpenEdition | 72b03e9fc6e2a13184f1c57b8045b616db9b0a6d | [
"Apache-2.0",
"MIT"
] | 6 | 2021-11-02T10:56:19.000Z | 2022-03-06T11:58:20.000Z | #include <ipmiblob/blob_interface.hpp>
#include <gmock/gmock.h>
namespace ipmiblob
{
class BlobInterfaceMock : public BlobInterface
{
public:
virtual ~BlobInterfaceMock() = default;
MOCK_METHOD2(commit, void(std::uint16_t, const std::vector<std::uint8_t>&));
MOCK_METHOD3(writeMeta, void(std::uint16_t, ... | 37.482759 | 80 | 0.639374 | Eyerunmyden |
f516e5001905ce67efe58e80aa9a09a220fe6391 | 2,221 | cc | C++ | DreamDaq/codeBackup/DreamDaq.101104/decode_tb2008/MCommon/mhistof.cc | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 3 | 2021-07-22T12:17:48.000Z | 2021-07-27T07:22:54.000Z | DreamDaq/codeBackup/DreamDaq.101104/decode_tb2008/MCommon/mhistof.cc | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 38 | 2021-07-14T15:41:04.000Z | 2022-03-29T14:18:20.000Z | DreamDaq/codeBackup/DreamDaq.101104/decode_tb2008/MCommon/mhistof.cc | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 7 | 2021-07-21T12:00:33.000Z | 2021-11-13T10:45:30.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "mhistof.h"
mhistof::mhistof(char *Name, int aSize) {
name = (char *) calloc(strlen(Name)+1, sizeof *name);
sprintf(name, "%s", Name);
asize = aSize;
n = (int *) calloc(asize, sizeof *n);
sum = (float *) calloc(a... | 17.217054 | 74 | 0.488969 | ivivarel |
f517025895a9a90496a57ea181b3b7aa6eb97ce5 | 1,485 | cpp | C++ | src/storage/admin/AdminTaskProcessor.cpp | liuqian1990/nebula | ff202e2a1860cc10e7757afc02e683f0e2d4b09a | [
"Apache-2.0"
] | 1 | 2022-02-17T03:41:13.000Z | 2022-02-17T03:41:13.000Z | src/storage/admin/AdminTaskProcessor.cpp | liuqian1990/nebula | ff202e2a1860cc10e7757afc02e683f0e2d4b09a | [
"Apache-2.0"
] | null | null | null | src/storage/admin/AdminTaskProcessor.cpp | liuqian1990/nebula | ff202e2a1860cc10e7757afc02e683f0e2d4b09a | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2019 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#include "storage/admin/AdminTaskProcessor.h"
#include <thrift/lib/cpp/util/EnumUtils.h>
#include "interface/gen-cpp2/common_types.h"
#include "storage/admin/AdminTaskManager.h"
namespace nebula {... | 29.7 | 94 | 0.707071 | liuqian1990 |
f51ab425bdf060ca1ae74c7d2491d507508e3224 | 2,507 | cpp | C++ | packages/CLPBN/clpbn/bp/Histogram.cpp | miar/yap-6.3 | 6b2121d03942ba821da87a829b86ce40caf06585 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | null | null | null | packages/CLPBN/clpbn/bp/Histogram.cpp | miar/yap-6.3 | 6b2121d03942ba821da87a829b86ce40caf06585 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | null | null | null | packages/CLPBN/clpbn/bp/Histogram.cpp | miar/yap-6.3 | 6b2121d03942ba821da87a829b86ce40caf06585 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | null | null | null | #include <cassert>
#include <algorithm>
#include <numeric>
#include "Histogram.h"
#include "Util.h"
HistogramSet::HistogramSet (unsigned size, unsigned range)
{
size_ = size;
hist_.resize (range, 0);
hist_[0] = size;
}
void
HistogramSet::nextHistogram (void)
{
for (int i = hist_.size() - 2; i >= 0; i--) ... | 17.289655 | 75 | 0.62146 | miar |
f51bed92cb87d2a564142c6c39f3dea330c6fcb9 | 2,626 | ipp | C++ | windows/include/boost/archive/impl/archive_pointer_iserializer.ipp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | 6 | 2015-12-29T07:21:01.000Z | 2020-05-29T10:47:38.000Z | windows/include/boost/archive/impl/archive_pointer_iserializer.ipp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | windows/include/boost/archive/impl/archive_pointer_iserializer.ipp | jaredhoberock/gotham | e3551cc355646530574d086d7cc2b82e41e8f798 | [
"Apache-2.0"
] | null | null | null | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// pointer_iserializer.ipp:
// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy a... | 31.638554 | 88 | 0.684311 | jaredhoberock |
f51c7c1aed80dec13240d8831d6c939f20ce8f79 | 6,756 | cpp | C++ | ace/tao/orbsvcs/tests/CosEvent/Basic/MT_Disconnect.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | ace/tao/orbsvcs/tests/CosEvent/Basic/MT_Disconnect.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | ace/tao/orbsvcs/tests/CosEvent/Basic/MT_Disconnect.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | // MT_Disconnect.cpp,v 1.1 2000/02/12 21:52:36 coryan Exp
#include "MT_Disconnect.h"
#include "Counting_Consumer.h"
#include "Counting_Supplier.h"
#include "orbsvcs/CosEvent/CEC_EventChannel.h"
#include "orbsvcs/CosEvent/CEC_Default_Factory.h"
ACE_RCSID(CEC_Tests, MT_Disconnect, "MT_Disconnect.cpp,v 1.1 200... | 27.802469 | 94 | 0.578597 | tharindusathis |
f51cadb9a52acebd4a9905ca5bebbb3dd40b99c2 | 315 | hpp | C++ | rtos/Source/taskertimerservice.hpp | ntsiopliakis/CortexLib | da33b8312de4d3547b28458b8e9c896c72211ed0 | [
"MIT"
] | null | null | null | rtos/Source/taskertimerservice.hpp | ntsiopliakis/CortexLib | da33b8312de4d3547b28458b8e9c896c72211ed0 | [
"MIT"
] | null | null | null | rtos/Source/taskertimerservice.hpp | ntsiopliakis/CortexLib | da33b8312de4d3547b28458b8e9c896c72211ed0 | [
"MIT"
] | null | null | null | // Filename: taskertypes.hpp
// Created by by Sergey Kolody aka Lamerok on 29.03.2020.
#pragma once
template <typename Tasker, typename ...Timers>
struct TaskerTimerService {
static void OnSystemTick()
{
Tasker::IsrEntry() ;
(Timers::OnTick(), ...) ;
Tasker::IsrExit() ;
}
} ;
| 21 | 57 | 0.622222 | ntsiopliakis |
f5206c801a740b14a1667eb61240f7fd153b663e | 3,648 | cpp | C++ | mipsdk-policyapi-cpp-sample-basic/utils.cpp | Azure-Samples/mipsdk-policyapi-cpp-sample-basic | 59dfab338e516570a546abefa3127750095aed35 | [
"MIT"
] | 2 | 2019-02-04T13:57:55.000Z | 2019-12-29T02:30:35.000Z | mipsdk-policyapi-cpp-sample-basic/utils.cpp | Azure-Samples/mipsdk-policyapi-cpp-sample-basic | 59dfab338e516570a546abefa3127750095aed35 | [
"MIT"
] | 2 | 2020-01-24T05:16:17.000Z | 2022-01-14T02:59:23.000Z | mipsdk-policyapi-cpp-sample-basic/utils.cpp | Azure-Samples/mipsdk-policyapi-cpp-sample-basic | 59dfab338e516570a546abefa3127750095aed35 | [
"MIT"
] | 6 | 2019-02-04T13:57:59.000Z | 2021-01-14T04:59:41.000Z | /**
*
* Copyright (c) Microsoft Corporation.
* All rights reserved.
*
* This code is licensed under the MIT License.
*
* 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, inc... | 30.655462 | 93 | 0.723684 | Azure-Samples |
f5234a324d231047108a168dcd6d4e8808c38ad4 | 3,369 | cpp | C++ | android-project/jni/libtesseract/src/ccstruct/ocrpara.cpp | pixelsquare/tesseract-ocr-unity | f5f16c3d77cb4898f3fa96aed4abd82817de39fd | [
"MIT"
] | 6 | 2019-08-22T11:42:27.000Z | 2021-12-24T09:23:23.000Z | android-project/jni/libtesseract/src/ccstruct/ocrpara.cpp | pixelsquare/tesseract-ocr-unity | f5f16c3d77cb4898f3fa96aed4abd82817de39fd | [
"MIT"
] | 1 | 2018-11-30T15:53:24.000Z | 2020-01-23T16:46:24.000Z | android-project/jni/libtesseract/src/ccstruct/ocrpara.cpp | pixelsquare/tesseract-ocr-unity | f5f16c3d77cb4898f3fa96aed4abd82817de39fd | [
"MIT"
] | 3 | 2019-05-30T04:13:56.000Z | 2021-12-24T09:23:26.000Z | /////////////////////////////////////////////////////////////////////
// File: ocrpara.cpp
// Description: OCR Paragraph Output Type
// Author: David Eger
//
// (C) Copyright 2010, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... | 35.840426 | 101 | 0.677649 | pixelsquare |
f52747e0c8c5b969ebf48c1030442da6ea45c751 | 2,990 | cpp | C++ | misc/cardiovasc_changetype.cpp | gift-surg/vessel-tools | 9f39a8324c4626036c0d3f7b73912062ad85f964 | [
"BSD-3-Clause"
] | null | null | null | misc/cardiovasc_changetype.cpp | gift-surg/vessel-tools | 9f39a8324c4626036c0d3f7b73912062ad85f964 | [
"BSD-3-Clause"
] | null | null | null | misc/cardiovasc_changetype.cpp | gift-surg/vessel-tools | 9f39a8324c4626036c0d3f7b73912062ad85f964 | [
"BSD-3-Clause"
] | 2 | 2018-08-21T20:10:51.000Z | 2019-07-30T14:08:03.000Z | /**
* change_datatype.cpp
* Rescales and casts an image to be
* unsigned char.
* @author M.A. Zuluaga
*/
#include "itkImage.h"
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkRescaleIntensityImageFilter.h"
#include "itkCastImageFilter.h"
void Usage(char *exec)
{
std::cout << " ... | 28.75 | 88 | 0.597993 | gift-surg |
f527efe3d0d2e041fb32fa2cc6f40baf71a5efff | 1,259 | hpp | C++ | include/TreeDS/policy/siblings.hpp | barsan-ds/generic-tree | a01ff9dc0a0e0e6dd9d380cf2469d7ea0cc86c60 | [
"MIT"
] | 3 | 2018-10-02T20:18:52.000Z | 2018-10-04T20:16:45.000Z | include/TreeDS/policy/siblings.hpp | barsan-ds/tree-ds | a01ff9dc0a0e0e6dd9d380cf2469d7ea0cc86c60 | [
"MIT"
] | null | null | null | include/TreeDS/policy/siblings.hpp | barsan-ds/tree-ds | a01ff9dc0a0e0e6dd9d380cf2469d7ea0cc86c60 | [
"MIT"
] | null | null | null | #pragma once
#include <TreeDS/policy/policy_base.hpp>
namespace md::detail {
template <typename NodePtr, typename NodeNavigator, typename Allocator>
class siblings_impl final
: public policy_base<siblings_impl<NodePtr, NodeNavigator, Allocator>, NodePtr, NodeNavigator, Allocator> {
public:
using pol... | 28.613636 | 115 | 0.687847 | barsan-ds |
f52858a7b4eca2ae55b22f3d6864140a6191a4c7 | 265 | hpp | C++ | tests/headers/class_with_dtor.hpp | pcwalton/rust-bindgen | fae3dc180fef48cb806b4953bceffd7d15efe587 | [
"BSD-3-Clause"
] | 1,848 | 2018-11-22T06:08:21.000Z | 2022-03-31T10:54:10.000Z | tests/headers/class_with_dtor.hpp | pcwalton/rust-bindgen | fae3dc180fef48cb806b4953bceffd7d15efe587 | [
"BSD-3-Clause"
] | 845 | 2016-06-22T21:55:20.000Z | 2018-10-31T15:50:10.000Z | tests/headers/class_with_dtor.hpp | pcwalton/rust-bindgen | fae3dc180fef48cb806b4953bceffd7d15efe587 | [
"BSD-3-Clause"
] | 274 | 2018-11-23T17:46:29.000Z | 2022-03-27T04:52:37.000Z | // bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
template <typename T>
class HandleWithDtor {
T* ptr;
~HandleWithDtor() {}
};
typedef HandleWithDtor<int> HandleValue;
class WithoutDtor {
HandleValue shouldBeWithDtor;
};
| 17.666667 | 77 | 0.713208 | pcwalton |
f5289cfcb52b7222da6cf6a4df3f88edc4592edb | 4,980 | cpp | C++ | src/lib/testdht/gtest/AsyncMultiPutAsyncMultiGetMeta.cpp | Clara19/SilverKing | dd0db242ac0864ae4f5912cfc595e782ffdf0484 | [
"Apache-2.0"
] | 1 | 2021-09-08T11:55:18.000Z | 2021-09-08T11:55:18.000Z | src/lib/testdht/gtest/AsyncMultiPutAsyncMultiGetMeta.cpp | Clara19/SilverKing | dd0db242ac0864ae4f5912cfc595e782ffdf0484 | [
"Apache-2.0"
] | 85 | 2021-06-30T01:20:47.000Z | 2021-09-14T01:09:41.000Z | src/lib/testdht/gtest/AsyncMultiPutAsyncMultiGetMeta.cpp | Clara19/SilverKing | dd0db242ac0864ae4f5912cfc595e782ffdf0484 | [
"Apache-2.0"
] | 7 | 2021-01-21T18:57:06.000Z | 2022-03-04T06:51:31.000Z | #include "AsyncMultiPutAsyncMultiGetMeta.h"
#include "AsyncNSP.h"
#include "GetOpts.h"
#include "Util.h"
AsyncMultiPutAsyncMultiGetMeta::AsyncMultiPutAsyncMultiGetMeta(const string& gc, const string& h, const string& n, const string& log, int verb, const string& nsOpts, const string& jvmOpts, SKCompression::SKCompres... | 28.62069 | 331 | 0.677912 | Clara19 |
f52c37c3f4091bedb68b3814df90410211dc0b2b | 4,713 | cpp | C++ | cpp/lib/src/gen/MasterTaskType.cpp | HMGrunthos/opendnp3 | ae4c578f5ffb248155abe032f563239839f9378b | [
"Apache-2.0"
] | 108 | 2019-06-06T14:37:45.000Z | 2022-03-30T12:58:46.000Z | cpp/lib/src/gen/MasterTaskType.cpp | HMGrunthos/opendnp3 | ae4c578f5ffb248155abe032f563239839f9378b | [
"Apache-2.0"
] | 136 | 2019-05-20T23:53:30.000Z | 2022-03-22T08:49:46.000Z | cpp/lib/src/gen/MasterTaskType.cpp | HMGrunthos/opendnp3 | ae4c578f5ffb248155abe032f563239839f9378b | [
"Apache-2.0"
] | 72 | 2019-06-03T11:44:10.000Z | 2022-03-18T14:47:00.000Z | //
// _ _ ______ _ _ _ _ _ _ _
// | \ | | | ____| | (_) | (_) | | | |
// | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | |
// | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | |
// | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_|
// |_| \_|\___/ |______\__,_|_|\... | 33.906475 | 84 | 0.679397 | HMGrunthos |
f52c5dd56a34d69adefa111835c8ad2265b2f7a9 | 5,059 | cpp | C++ | Source/Foundation/bsfCore/Material/BsTechnique.cpp | Milerius/bsf | 8715b344d6b7893f64fd5dccaaf10603a27c7a15 | [
"MIT"
] | 3 | 2020-04-14T06:23:18.000Z | 2020-06-02T11:07:08.000Z | Source/Foundation/bsfCore/Material/BsTechnique.cpp | Milerius/bsf | 8715b344d6b7893f64fd5dccaaf10603a27c7a15 | [
"MIT"
] | null | null | null | Source/Foundation/bsfCore/Material/BsTechnique.cpp | Milerius/bsf | 8715b344d6b7893f64fd5dccaaf10603a27c7a15 | [
"MIT"
] | 4 | 2019-06-23T09:55:47.000Z | 2019-07-08T17:23:05.000Z | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "Material/BsTechnique.h"
#include "Error/BsException.h"
#incl... | 29.074713 | 124 | 0.717533 | Milerius |
f52ef911dad5bd6ddceed4935a551136e99cebe9 | 7,579 | cpp | C++ | data/converted/busy_0_svg.cpp | mdubb2341/EmulationStationGV | 8e7ee6c93190bc8ca1879f3877184cffff530496 | [
"Apache-2.0",
"MIT"
] | 30 | 2015-12-13T18:25:04.000Z | 2021-03-07T11:24:31.000Z | data/converted/busy_0_svg.cpp | mdubb2341/EmulationStationGV | 8e7ee6c93190bc8ca1879f3877184cffff530496 | [
"Apache-2.0",
"MIT"
] | 46 | 2015-12-17T09:00:15.000Z | 2018-08-27T21:02:58.000Z | data/converted/busy_0_svg.cpp | mdubb2341/EmulationStationGV | 8e7ee6c93190bc8ca1879f3877184cffff530496 | [
"Apache-2.0",
"MIT"
] | 14 | 2016-03-17T19:19:34.000Z | 2017-06-01T03:47:21.000Z | // this file was auto-generated from "busy_0.svg" by res2h
#include "../Resources.h"
const uint16_t busy_0_svg_size = 1347;
const uint8_t busy_0_svg_data[1347] = {
0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,
0x69,0x6f,0x6e,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,
0x65,0x6e,0x63,0x6f,0x64,0x69,0x6e,0x67,... | 52.631944 | 58 | 0.727273 | mdubb2341 |
f52f2d7cd6aead7d39446f734e1c4cf3510edfdb | 7,485 | hpp | C++ | lib/CUDA/kernel/matrix.hpp | Bensuperpc/BenLib | 1708a27e272a54f437cda50b2ca98ed92f03d721 | [
"MIT"
] | 5 | 2020-12-02T21:17:14.000Z | 2021-05-24T19:57:42.000Z | lib/CUDA/kernel/matrix.hpp | bensuperpc/BenLib | 1708a27e272a54f437cda50b2ca98ed92f03d721 | [
"MIT"
] | null | null | null | lib/CUDA/kernel/matrix.hpp | bensuperpc/BenLib | 1708a27e272a54f437cda50b2ca98ed92f03d721 | [
"MIT"
] | 1 | 2021-02-28T08:43:46.000Z | 2021-02-28T08:43:46.000Z |
//////////////////////////////////////////////////////////////
// ____ //
// | __ ) ___ _ __ ___ _ _ _ __ ___ _ __ _ __ ___ //
// | _ \ / _ \ '_ \/ __| | | | '_ \ / _ \ '__| '_ \ / __| //
// | |_) | __/ | | \__ \ |_| | |_) | __/ | | |_) | (__ //
// ... | 52.711268 | 160 | 0.583567 | Bensuperpc |
f530c68193170027d4de78c5a0d6b632c1dd33cf | 3,956 | hpp | C++ | external/vulkancts/modules/vulkan/draw/vktDrawBaseClass.hpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | 1 | 2020-06-18T05:11:24.000Z | 2020-06-18T05:11:24.000Z | external/vulkancts/modules/vulkan/draw/vktDrawBaseClass.hpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | null | null | null | external/vulkancts/modules/vulkan/draw/vktDrawBaseClass.hpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | null | null | null | #ifndef _VKTDRAWBASECLASS_HPP
#define _VKTDRAWBASECLASS_HPP
/*------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2015 The Khronos Group Inc.
* Copyright (c) 2015 Intel Corporation
*
* Licensed under the Apache License, ... | 24.725 | 211 | 0.683266 | iabernikhin |
f5316e58bab4b97f023c9871b45ecc5d281d685a | 2,273 | cpp | C++ | Frontend/GItems/Mini/RUKeyUp.cpp | Gattic/gfxplusplus | f0c05a0f424fd65c8f7fd26ee0dee1802a033336 | [
"MIT"
] | 3 | 2020-02-12T23:22:45.000Z | 2020-02-19T01:03:07.000Z | Frontend/GItems/Mini/RUKeyUp.cpp | MeeseeksLookAtMe/gfxplusplus | f0c05a0f424fd65c8f7fd26ee0dee1802a033336 | [
"MIT"
] | null | null | null | Frontend/GItems/Mini/RUKeyUp.cpp | MeeseeksLookAtMe/gfxplusplus | f0c05a0f424fd65c8f7fd26ee0dee1802a033336 | [
"MIT"
] | null | null | null | // Copyright 2020 Robert Carneiro, Derek Meer, Matthew Tabak, Eric Lujan
//
// 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... | 31.136986 | 101 | 0.714474 | Gattic |
f532819a10ab366e07177a187bed928822559df6 | 1,200 | cpp | C++ | demo/tuple.cpp | divad1196/CPPTools | 9526708469ed899fd8f73dc8ad32eeb4bee8e05c | [
"MIT"
] | 1 | 2021-06-15T09:25:31.000Z | 2021-06-15T09:25:31.000Z | demo/tuple.cpp | divad1196/CPPTools | 9526708469ed899fd8f73dc8ad32eeb4bee8e05c | [
"MIT"
] | null | null | null | demo/tuple.cpp | divad1196/CPPTools | 9526708469ed899fd8f73dc8ad32eeb4bee8e05c | [
"MIT"
] | 1 | 2022-01-07T19:09:55.000Z | 2022-01-07T19:09:55.000Z | #include <cstdlib>
#include <iostream>
#include "../src/tuple.h"
int main(int argc, char* argv[]) {
auto a = std::index_sequence<1,4,5>();
auto b = cond_extends<true, 3>(a);
auto c = cond_extends<false, 3>(a);
std::tuple<int, int> d{};
auto e = extends(d, std::string("hello"), 5.6);
auto ... | 24.489796 | 81 | 0.545833 | divad1196 |
f536953e03a417a52b8bef7a7e4bfbbc47c393c6 | 605 | cpp | C++ | VosVideo.Common/AutoResetEvent.cpp | atelyshev/vosvideoserver | 689e6b2a49ee253528903b93011e3d16af1fa74b | [
"MIT"
] | 19 | 2017-11-24T05:18:27.000Z | 2021-06-25T19:34:17.000Z | VosVideo.Common/AutoResetEvent.cpp | atelyshev/vosvideoserver | 689e6b2a49ee253528903b93011e3d16af1fa74b | [
"MIT"
] | null | null | null | VosVideo.Common/AutoResetEvent.cpp | atelyshev/vosvideoserver | 689e6b2a49ee253528903b93011e3d16af1fa74b | [
"MIT"
] | 9 | 2017-10-02T03:42:49.000Z | 2020-09-17T07:59:04.000Z | #include "stdafx.h"
#include "AutoResetEvent.h"
using namespace threading;
AutoResetEvent::AutoResetEvent(bool initial)
: flag_(initial)
{
}
void AutoResetEvent::Set()
{
std::lock_guard<std::mutex> _(protect_);
flag_ = true;
signal_.notify_one();
}
void AutoResetEvent::Reset()
{
std::lock_gu... | 17.794118 | 61 | 0.669421 | atelyshev |
f5370e51458579828041face338bff43354f968f | 12,310 | hpp | C++ | boost/asio/detail/timer_queue.hpp | mike-code/boost_1_38_0 | 7ff8b2069344ea6b0b757aa1f0778dfb8526df3c | [
"BSL-1.0"
] | 30 | 2016-04-23T04:55:52.000Z | 2021-05-19T10:26:27.000Z | boost/asio/detail/timer_queue.hpp | mike-code/boost_1_38_0 | 7ff8b2069344ea6b0b757aa1f0778dfb8526df3c | [
"BSL-1.0"
] | 1 | 2016-03-31T20:56:08.000Z | 2016-04-18T08:56:40.000Z | boost/asio/detail/timer_queue.hpp | mike-code/boost_1_38_0 | 7ff8b2069344ea6b0b757aa1f0778dfb8526df3c | [
"BSL-1.0"
] | 15 | 2016-04-26T13:16:38.000Z | 2022-03-08T06:13:14.000Z | //
// timer_queue.hpp
// ~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_ASIO_DETAIL_TIMER_QUEUE... | 28.041002 | 80 | 0.651259 | mike-code |
f53a2d93891ac72d7feeda17a9666e5e6ee613b0 | 22,088 | cpp | C++ | src/libshit/options.cpp | u3shit/libshit | 8ab8f12b4068edc269356debef78cd04de67edb4 | [
"WTFPL",
"BSD-3-Clause"
] | null | null | null | src/libshit/options.cpp | u3shit/libshit | 8ab8f12b4068edc269356debef78cd04de67edb4 | [
"WTFPL",
"BSD-3-Clause"
] | null | null | null | src/libshit/options.cpp | u3shit/libshit | 8ab8f12b4068edc269356debef78cd04de67edb4 | [
"WTFPL",
"BSD-3-Clause"
] | null | null | null | #include "libshit/options.hpp"
#include <algorithm>
#include <array>
#include <climits>
#include <cstring>
#include <iostream>
#include <iterator>
#include <map>
#include <string>
#include <type_traits>
#include "libshit/doctest.hpp"
namespace Libshit
{
TEST_SUITE_BEGIN("Libshit::Options");
namespace
{
str... | 25.185861 | 96 | 0.48592 | u3shit |