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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a92e719895de35344ed7bfd628fce1c0c16dec71 | 230 | cpp | C++ | Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/node/nwrcvcode.cpp | raulest50/MicroGrid_GITCoD | 885001242c8e581a6998afb4be2ae1c0b923e9c4 | [
"MIT"
] | 1 | 2019-08-31T08:06:48.000Z | 2019-08-31T08:06:48.000Z | Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/node/nwrcvcode.cpp | raulest50/MicroGrid_GITCoD | 885001242c8e581a6998afb4be2ae1c0b923e9c4 | [
"MIT"
] | null | null | null | Signal Flow Simulation/truetime-2.0/examples/advanced_demos/RUNES_demo/node/nwrcvcode.cpp | raulest50/MicroGrid_GITCoD | 885001242c8e581a6998afb4be2ae1c0b923e9c4 | [
"MIT"
] | 1 | 2020-01-07T10:46:23.000Z | 2020-01-07T10:46:23.000Z | double nwrcvcode(int seg, void* data) {
switch (seg) {
case 1:
// Let AODV layer deal with network message
ttCreateJob("AODVRcvTask");
return 0.0001;
case 2:
return FINISHED;
}
return FINISHED;
}
| 16.428571 | 47 | 0.621739 | raulest50 |
a92efbbcf5804c06653a329f115f331930f3651d | 7,406 | hpp | C++ | rokko/lapack/heevr.hpp | t-sakashita/rokko | ebd49e1198c4ec9e7612ad4a9806d16a4ff0bdc9 | [
"BSL-1.0"
] | 16 | 2015-01-31T18:57:48.000Z | 2022-03-18T19:04:49.000Z | rokko/lapack/heevr.hpp | t-sakashita/rokko | ebd49e1198c4ec9e7612ad4a9806d16a4ff0bdc9 | [
"BSL-1.0"
] | 514 | 2015-02-05T14:56:54.000Z | 2021-06-25T09:29:52.000Z | rokko/lapack/heevr.hpp | t-sakashita/rokko | ebd49e1198c4ec9e7612ad4a9806d16a4ff0bdc9 | [
"BSL-1.0"
] | 2 | 2015-06-16T04:22:23.000Z | 2019-06-01T07:10:01.000Z | /*****************************************************************************
*
* Rokko: Integrated Interface for libraries of eigenvalue decomposition
*
* Copyright (C) 2012-2020 by Rokko Developers https://github.com/t-sakashita/rokko
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
*... | 45.716049 | 186 | 0.65906 | t-sakashita |
a92f5030c2905728fd51c92885689e37f32ae210 | 1,337 | cpp | C++ | OpenGL_GLFW_Project/MathFunctions.cpp | millerf1234/OpenGL_Windows_Projects | 26161ba3c820df366a83baaf6e2a275d874c6acd | [
"MIT"
] | null | null | null | OpenGL_GLFW_Project/MathFunctions.cpp | millerf1234/OpenGL_Windows_Projects | 26161ba3c820df366a83baaf6e2a275d874c6acd | [
"MIT"
] | null | null | null | OpenGL_GLFW_Project/MathFunctions.cpp | millerf1234/OpenGL_Windows_Projects | 26161ba3c820df366a83baaf6e2a275d874c6acd | [
"MIT"
] | null | null | null |
//Created by Forrest Miller on 7/24/2018
//See header file also for templated-function definitions
#include "MathFunctions.h"
namespace MathFunc {
//This function seems really inefficient since it looks like it has to recreate the twister each time it runs...
float getRandomInRangef(float min, float max) {
long... | 31.093023 | 125 | 0.741212 | millerf1234 |
a9322be321fbe86f168d33610b8de3366a2dfd4e | 908 | cpp | C++ | 07.ArraysQuestions/maxCircularSubarraySum.cpp | Sarthaknegigit/Open-DSAProblems | 246166f4127210ccb82d9cb6f5f736148c0975a4 | [
"MIT"
] | 1 | 2021-06-11T08:21:52.000Z | 2021-06-11T08:21:52.000Z | 07.ArraysQuestions/maxCircularSubarraySum.cpp | Sarthaknegigit/Open-DSAProblems | 246166f4127210ccb82d9cb6f5f736148c0975a4 | [
"MIT"
] | 1 | 2021-08-07T13:12:09.000Z | 2021-08-07T13:12:09.000Z | 07.ArraysQuestions/maxCircularSubarraySum.cpp | Sarthaknegigit/Open-DSAProblems | 246166f4127210ccb82d9cb6f5f736148c0975a4 | [
"MIT"
] | 10 | 2021-06-11T07:41:00.000Z | 2022-01-18T08:24:45.000Z | #include <iostream>
using namespace std;
int kadane(int arr[], int n)
{
int sum = 0;
int maxSum = INT_MIN;
for (int i = 0; i < n; i++)
{
sum = sum + arr[i];
if (sum < 0)
{
sum = 0;
}
maxSum = max(sum, maxSum);
}
return maxSum;
}
int main()
... | 15.655172 | 96 | 0.460352 | Sarthaknegigit |
a9339d6363b1bebf4c9dfe1d64896406b88616dd | 998 | cpp | C++ | src/ccrt/model/ExprLiteral.cpp | fvutils/ccrt | 88d4daa8224bf59333f4dd49a0d740a28f995eb5 | [
"Apache-2.0"
] | 1 | 2019-04-08T07:33:04.000Z | 2019-04-08T07:33:04.000Z | src/ccrt/model/ExprLiteral.cpp | fvutils/ccrt | 88d4daa8224bf59333f4dd49a0d740a28f995eb5 | [
"Apache-2.0"
] | null | null | null | src/ccrt/model/ExprLiteral.cpp | fvutils/ccrt | 88d4daa8224bf59333f4dd49a0d740a28f995eb5 | [
"Apache-2.0"
] | null | null | null | /*
* ExprLiteral.cpp
*
* Created on: Mar 24, 2019
* Author: ballance
*/
#include "ccrt/model/ExprLiteral.h"
namespace ccrt {
ExprLiteral::ExprLiteral(uint64_t val, uint32_t bits, bool is_signed) :
ExprBase(bits, is_signed) {
m_val.bits = bits;
m_val.is_signed = is_signed;
if (is_signed) {
m_val.v... | 18.481481 | 71 | 0.648297 | fvutils |
a93457991f6cdb49a7311f38a1d35a7841d87da6 | 2,728 | cpp | C++ | renderdoc/driver/shaders/spirv/spirv_common.cpp | songtm/renderdoc | 7533c6b7ac7cac7cfab2d1a1ddc011c693202a47 | [
"MIT"
] | 1 | 2019-11-14T08:52:26.000Z | 2019-11-14T08:52:26.000Z | renderdoc/driver/shaders/spirv/spirv_common.cpp | songtm/renderdoc | 7533c6b7ac7cac7cfab2d1a1ddc011c693202a47 | [
"MIT"
] | null | null | null | renderdoc/driver/shaders/spirv/spirv_common.cpp | songtm/renderdoc | 7533c6b7ac7cac7cfab2d1a1ddc011c693202a47 | [
"MIT"
] | 1 | 2019-09-12T03:37:52.000Z | 2019-09-12T03:37:52.000Z | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2015-2019 Baldur Karlsson
*
* 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... | 30.311111 | 80 | 0.631598 | songtm |
a93610cafba9568e7f45cf6683e0a51bcfeacfd5 | 17,839 | cc | C++ | horovod/common/ops/ccl_operations.cc | fujitsu/horovod | 16f405f4172fb97d52cdcda01ce350e3c42f8243 | [
"Apache-2.0"
] | 1 | 2021-01-05T12:08:09.000Z | 2021-01-05T12:08:09.000Z | horovod/common/ops/ccl_operations.cc | fujitsu/horovod | 16f405f4172fb97d52cdcda01ce350e3c42f8243 | [
"Apache-2.0"
] | null | null | null | horovod/common/ops/ccl_operations.cc | fujitsu/horovod | 16f405f4172fb97d52cdcda01ce350e3c42f8243 | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 The TensorFlow Authors. All Rights Reserved.
// Modifications copyright (C) 2019 Uber Technologies, Inc.
// Modifications copyright (C) 2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Yo... | 37.635021 | 87 | 0.603005 | fujitsu |
a939423bc2989b8bb11c54f989592b0037e6ec34 | 4,898 | cc | C++ | Geometry/EcalAlgo/plugins/EcalBarrelGeometryLoaderFromDDD.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | Geometry/EcalAlgo/plugins/EcalBarrelGeometryLoaderFromDDD.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | Geometry/EcalAlgo/plugins/EcalBarrelGeometryLoaderFromDDD.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | #include "Geometry/CaloGeometry/interface/TruncatedPyramid.h"
#include "Geometry/EcalAlgo/interface/EcalBarrelGeometry.h"
#include "Geometry/CaloEventSetup/interface/CaloGeometryLoader.h"
#include "DetectorDescription/DDCMS/interface/DDFilteredView.h"
#include "DetectorDescription/Core/interface/DDFilteredView.h"
#incl... | 34.492958 | 102 | 0.629032 | SWuchterl |
a939b2e612373d6c8de7a7410c951b75248ff5b3 | 1,060 | cpp | C++ | tests/test14.cpp | varnie/giraffe | 0448536cdca5dad66110aa64fdf24688b2a0050a | [
"MIT"
] | null | null | null | tests/test14.cpp | varnie/giraffe | 0448536cdca5dad66110aa64fdf24688b2a0050a | [
"MIT"
] | 1 | 2020-06-16T14:25:17.000Z | 2020-06-16T14:25:17.000Z | tests/test14.cpp | varnie/giraffe | 0448536cdca5dad66110aa64fdf24688b2a0050a | [
"MIT"
] | null | null | null | //
// Created by varnie on 2/23/16.
//
#include <gtest/gtest.h>
#include "../include/Giraffe.h"
TEST(StorageTest, EntityHasComponents) {
struct Foo {
Foo() { }
};
struct Bar {
Bar() { }
};
struct Fred {
Fred() { }
};
using StorageT = Giraffe::Storage<Foo, Bar, F... | 20 | 54 | 0.615094 | varnie |
a93a0af8e1ba4f52236eb79e07de2a26657726fc | 16,430 | hpp | C++ | include/sick_scan/tcp/SopasBase.hpp | Kaju-Bubanja/sick_scan2 | 9a518b8e88d8515e25168b1860e7bee3af79f1da | [
"Apache-2.0"
] | 123 | 2018-01-11T05:47:13.000Z | 2022-03-03T04:24:24.000Z | include/sick_scan/tcp/SopasBase.hpp | Kaju-Bubanja/sick_scan2 | 9a518b8e88d8515e25168b1860e7bee3af79f1da | [
"Apache-2.0"
] | 142 | 2018-01-04T14:46:28.000Z | 2022-02-28T09:57:32.000Z | include/sick_scan/tcp/SopasBase.hpp | Kaju-Bubanja/sick_scan2 | 9a518b8e88d8515e25168b1860e7bee3af79f1da | [
"Apache-2.0"
] | 107 | 2018-03-01T05:42:39.000Z | 2022-03-15T08:06:59.000Z | //
// SopasBase.h
//
// Created on: 18.07.2011
// Author: sick
//
#ifndef SOPASBASE_H
#define SOPASBASE_H
#include "sick_scan/tcp/BasicDatatypes.hpp"
// #include "sick_scan/tcp/datatypes/Scan.hpp"
#include "sick_scan/tcp/interfaces/tcp.hpp"
#include "colaa.hpp"
#include "colab.hpp"
#include <map> // for std::ma... | 32.406312 | 130 | 0.741327 | Kaju-Bubanja |
a93bd6d1c92eed5587035482698de8c1943426bc | 2,990 | cpp | C++ | vox.render/physics/joint/joint.cpp | SummerTree/DigitalVox4 | 2eb718abcaccc4cd1dde3b0f28090c197c1905d4 | [
"MIT"
] | 8 | 2022-02-15T12:54:57.000Z | 2022-03-30T16:35:58.000Z | vox.render/physics/joint/joint.cpp | yangfengzzz/DigitalArche | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | null | null | null | vox.render/physics/joint/joint.cpp | yangfengzzz/DigitalArche | da6770edd4556a920b3f7298f38176107caf7e3a | [
"MIT"
] | 1 | 2022-01-20T05:53:59.000Z | 2022-01-20T05:53:59.000Z | // Copyright (c) 2022 Feng Yang
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#include "joint.h"
#include "../collider.h"
namespace vox {
namespace physics {
void Joint::setActo... | 29.313725 | 102 | 0.738796 | SummerTree |
a93c139c4281e7061148a5e515ea02d48cdb2483 | 2,989 | cpp | C++ | dynamic_programming/longest_increasing_subsequence.cpp | icbdubey/C-Plus-Plus | d51947a9d5a96695ea52db4394db6518d777bddf | [
"MIT"
] | 20,295 | 2016-07-17T06:29:04.000Z | 2022-03-31T23:32:16.000Z | dynamic_programming/longest_increasing_subsequence.cpp | icbdubey/C-Plus-Plus | d51947a9d5a96695ea52db4394db6518d777bddf | [
"MIT"
] | 1,399 | 2017-06-02T05:59:45.000Z | 2022-03-31T00:55:00.000Z | dynamic_programming/longest_increasing_subsequence.cpp | icbdubey/C-Plus-Plus | d51947a9d5a96695ea52db4394db6518d777bddf | [
"MIT"
] | 5,775 | 2016-10-14T08:10:18.000Z | 2022-03-31T18:26:39.000Z | /**
* @file
* @brief Calculate the length of the [longest increasing
* subsequence](https://en.wikipedia.org/wiki/Longest_increasing_subsequence) in
* an array
*
* @details
* In computer science, the longest increasing subsequence problem is to find a
* subsequence of a given sequence in which the subsequence's... | 30.191919 | 80 | 0.629642 | icbdubey |
a93c6a8ec06c4a52c04e20db6278e8f7dd623ec5 | 4,997 | cpp | C++ | willow/src/popx/op/ipucopyx.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | willow/src/popx/op/ipucopyx.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | willow/src/popx/op/ipucopyx.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Graphcore Ltd. All rights reserved.
#include <poprithms/logging/timepartitionlogger.hpp>
#include <popart/error.hpp>
#include <popart/op/ipucopy.hpp>
#include <popart/popx/devicex.hpp>
#include <popart/popx/irlowering.hpp>
#include <popart/popx/namesx.hpp>
#include <popart/popx/op/ipucopyx.hpp>
#i... | 36.474453 | 79 | 0.613368 | gglin001 |
a93e290ec4f0b51e7525528d63cd5724f974bc9f | 1,176 | hpp | C++ | include/gridtools/stencil_composition/icosahedral_grids/backend_x86/iterate_domain_x86.hpp | mbianco/gridtools | 1abef09881a31495a3d02a15d3fe21620c6dde98 | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/stencil_composition/icosahedral_grids/backend_x86/iterate_domain_x86.hpp | mbianco/gridtools | 1abef09881a31495a3d02a15d3fe21620c6dde98 | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/stencil_composition/icosahedral_grids/backend_x86/iterate_domain_x86.hpp | mbianco/gridtools | 1abef09881a31495a3d02a15d3fe21620c6dde98 | [
"BSD-3-Clause"
] | null | null | null | /*
* GridTools
*
* Copyright (c) 2014-2019, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include <type_traits>
#include <utility>
#include "../../../common/defs.hpp"
#include "../../../common/host_device... | 30.153846 | 116 | 0.69898 | mbianco |
a93ec1271d7fdb7f4e5af776620ba50cee68ea17 | 3,674 | cxx | C++ | deps/src/cmake-3.13.4/Source/cmLinkLineDeviceComputer.cxx | LeeCenY/turicreate | fb2f3bf313e831ceb42a2e10aacda6e472ea8d93 | [
"BSD-3-Clause"
] | 2 | 2020-03-05T06:39:03.000Z | 2020-03-31T12:08:04.000Z | deps/src/cmake-3.13.4/Source/cmLinkLineDeviceComputer.cxx | znation/turicreate | f56f9ef9c138d8047037184afb6356c20bbc7f71 | [
"BSD-3-Clause"
] | 2 | 2022-01-13T04:03:55.000Z | 2022-03-12T01:02:31.000Z | deps/src/cmake-3.13.4/Source/cmLinkLineDeviceComputer.cxx | ZeroInfinite/turicreate | dd210c2563930881abd51fd69cb73007955b33fd | [
"BSD-3-Clause"
] | 1 | 2019-11-23T09:47:24.000Z | 2019-11-23T09:47:24.000Z | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmLinkLineDeviceComputer.h"
#include <set>
#include <sstream>
#include <utility>
#include "cmAlgorithms.h"
#include "cmComputeLinkInformation.h"
#include "cmGe... | 29.629032 | 79 | 0.664398 | LeeCenY |
a93f935ad4231e6d02f239093e5c208d8ed666cb | 15,490 | cc | C++ | sandesh/library/cpp/test/sandesh_trace_test.cc | atsgen/tf-common | a2abf838d771c5387427517ccccd27774ce0f34e | [
"Apache-2.0"
] | 8 | 2015-01-08T17:36:08.000Z | 2019-09-18T01:49:18.000Z | sandesh/library/cpp/test/sandesh_trace_test.cc | atsgen/tf-common | a2abf838d771c5387427517ccccd27774ce0f34e | [
"Apache-2.0"
] | 4 | 2015-01-12T21:26:04.000Z | 2020-12-22T15:48:55.000Z | sandesh/library/cpp/test/sandesh_trace_test.cc | atsgen/tf-common | a2abf838d771c5387427517ccccd27774ce0f34e | [
"Apache-2.0"
] | 35 | 2015-02-26T18:19:18.000Z | 2020-02-05T09:49:47.000Z | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
//
// sandesh_trace_test.cc
//
// Sandesh Trace Test
//
#include "testing/gunit.h"
#include <boost/bind.hpp>
#include <io/event_manager.h>
#include <base/logging.h>
#include <sandesh/sandesh_types.h>
#include <sandesh/sandesh.h>
#include "san... | 36.191589 | 81 | 0.590704 | atsgen |
a942f019ca762eb657e2bc15ba084139ad5a5e9f | 705 | cc | C++ | dsfmapping/sensor/feature_map_io.cc | dustinksi/DsFMapping | 474cdda0d9ff5e571f894f814d83ae49987e54dc | [
"Apache-2.0"
] | null | null | null | dsfmapping/sensor/feature_map_io.cc | dustinksi/DsFMapping | 474cdda0d9ff5e571f894f814d83ae49987e54dc | [
"Apache-2.0"
] | null | null | null | dsfmapping/sensor/feature_map_io.cc | dustinksi/DsFMapping | 474cdda0d9ff5e571f894f814d83ae49987e54dc | [
"Apache-2.0"
] | null | null | null | /**
* @file feature_map_io.cc
* @author DustinKsi (dustinksi@126.com)
* @brief
* @version 0.1
* @date 2019-12-24
*
* @copyright Copyright (c) 2019
*
*/
#include "dsfmapping/sensor/feature_map_io.h"
namespace DsFMapping {
namespace Sensor {
bool feature_map_saver(Feature2DList& map_data, string& map_filename... | 22.741935 | 72 | 0.726241 | dustinksi |
a9443ab82dbf0399a7455bcab45eb52f790785b8 | 7,341 | hpp | C++ | include/Core/CastorUtils/Data/Endianness.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 245 | 2015-10-29T14:31:45.000Z | 2022-03-31T13:04:45.000Z | include/Core/CastorUtils/Data/Endianness.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 64 | 2016-03-11T19:45:05.000Z | 2022-03-31T23:58:33.000Z | include/Core/CastorUtils/Data/Endianness.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 11 | 2018-05-24T09:07:43.000Z | 2022-03-21T21:05:20.000Z | /*
See LICENSE file in root folder
*/
#ifndef ___CASTOR_ENDIANNESS_H___
#define ___CASTOR_ENDIANNESS_H___
#include "CastorUtils/Data/DataModule.hpp"
namespace castor
{
namespace details
{
static union
{
uint32_t i;
char c[4];
} BigInt = { 0x01020304 };
}
/**
*\~english
*\brief Detects if the curr... | 23.680645 | 93 | 0.646097 | Mu-L |
a94455b8a90f03f696f2a5e462c19c8d98cb9efd | 7,515 | cc | C++ | gearbox/t/core/SchemaObject.t.cc | coryb/gearbox | 88027f2f101c2d1fab16093928963052b9d3294d | [
"Artistic-1.0-Perl",
"BSD-3-Clause"
] | 3 | 2015-06-26T15:37:40.000Z | 2016-05-22T07:42:39.000Z | gearbox/t/core/SchemaObject.t.cc | coryb/gearbox | 88027f2f101c2d1fab16093928963052b9d3294d | [
"Artistic-1.0-Perl",
"BSD-3-Clause"
] | null | null | null | gearbox/t/core/SchemaObject.t.cc | coryb/gearbox | 88027f2f101c2d1fab16093928963052b9d3294d | [
"Artistic-1.0-Perl",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012, Yahoo! Inc. All rights reserved.
// Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
#include <tap/trivial.h>
#include <gearbox/core/Json.h>
#include <gearbox/core/JsonSchema.h>
#include <gearbox/core/logger.h>
using namespace Gearbox;
int main() {
... | 45.271084 | 201 | 0.488756 | coryb |
a944e2f9cd384016998f8b90d8f03bcce737b4d1 | 9,486 | hxx | C++ | Modules/IO/RAW/include/itkRawImageIO.hxx | Kronephon/itktest | a34e46226638c08bba315a257e33550a68203d97 | [
"Apache-2.0"
] | null | null | null | Modules/IO/RAW/include/itkRawImageIO.hxx | Kronephon/itktest | a34e46226638c08bba315a257e33550a68203d97 | [
"Apache-2.0"
] | null | null | null | Modules/IO/RAW/include/itkRawImageIO.hxx | Kronephon/itktest | a34e46226638c08bba315a257e33550a68203d97 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 36.484615 | 97 | 0.589817 | Kronephon |
a9450e9d0ad7bda58e9854119446c6f5efe15ec3 | 8,348 | cpp | C++ | libnd4j/tests_cpu/layers_tests/ThreadsTests.cpp | bpossolo/deeplearning4j | 722d5a052af17f19dcd42ef923b9a5b63ab2cbee | [
"Apache-2.0"
] | 13,006 | 2015-02-13T18:35:31.000Z | 2022-03-18T12:11:44.000Z | libnd4j/tests_cpu/layers_tests/ThreadsTests.cpp | bpossolo/deeplearning4j | 722d5a052af17f19dcd42ef923b9a5b63ab2cbee | [
"Apache-2.0"
] | 5,319 | 2015-02-13T08:21:46.000Z | 2019-06-12T14:56:50.000Z | libnd4j/tests_cpu/layers_tests/ThreadsTests.cpp | bpossolo/deeplearning4j | 722d5a052af17f19dcd42ef923b9a5b63ab2cbee | [
"Apache-2.0"
] | 4,719 | 2015-02-13T22:48:55.000Z | 2022-03-22T07:25:36.000Z | /*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | 33.797571 | 126 | 0.582774 | bpossolo |
a94517aa17a2ce44603d0b81c20776b7e3453071 | 13,174 | cxx | C++ | PWGLF/FORWARD/analysis2/AliBaseMCTrackDensity.cxx | amveen/AliPhysics | bef49dc8e7f8ad5f656d54430031eb67abcf3243 | [
"BSD-3-Clause"
] | null | null | null | PWGLF/FORWARD/analysis2/AliBaseMCTrackDensity.cxx | amveen/AliPhysics | bef49dc8e7f8ad5f656d54430031eb67abcf3243 | [
"BSD-3-Clause"
] | null | null | null | PWGLF/FORWARD/analysis2/AliBaseMCTrackDensity.cxx | amveen/AliPhysics | bef49dc8e7f8ad5f656d54430031eb67abcf3243 | [
"BSD-3-Clause"
] | null | null | null | #include "AliBaseMCTrackDensity.h"
#include "AliForwardFlowWeights.h"
#include <AliMCEvent.h>
#include <AliTrackReference.h>
//#include <AliStack.h>
#include <TMath.h>
#include <AliLog.h>
#include <TH2D.h>
#include <TH1D.h>
#include <TList.h>
#include <TROOT.h>
#include <TVector3.h>
#include <iostream>
#include "AliCol... | 29.604494 | 89 | 0.677698 | amveen |
a945aad2e7f6476fbd77b2e48e9460b5ee6ecfc0 | 42,303 | cc | C++ | ftr/box.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 86 | 2017-11-21T01:05:30.000Z | 2020-05-21T12:30:31.000Z | ftr/box.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 14 | 2020-10-16T11:30:57.000Z | 2021-04-16T06:10:06.000Z | ftr/box.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 13 | 2017-11-21T10:18:53.000Z | 2019-10-18T09:15:55.000Z | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright © 2015-2016, xuewen.chu
* 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 so... | 30.521645 | 106 | 0.7069 | louis-tru |
a9466ccb491b9a63e3319856873e175799861a3b | 806 | cpp | C++ | metody-numeryczne/cwiczenia-5/cwiczenia-5.cpp | kpagacz/software-engineering | 6ac3965848919d7fe7350842ae9d59d65d213ef6 | [
"MIT"
] | 1 | 2022-01-17T07:50:54.000Z | 2022-01-17T07:50:54.000Z | metody-numeryczne/cwiczenia-5/cwiczenia-5.cpp | kpagacz/software-engineering | 6ac3965848919d7fe7350842ae9d59d65d213ef6 | [
"MIT"
] | null | null | null | metody-numeryczne/cwiczenia-5/cwiczenia-5.cpp | kpagacz/software-engineering | 6ac3965848919d7fe7350842ae9d59d65d213ef6 | [
"MIT"
] | 2 | 2021-02-02T18:13:35.000Z | 2021-05-10T13:31:40.000Z | #include<iostream>
#include<math.h>
#include<cmath>
#include<iomanip>
double f(double x);
double pierwiastek_bisekcja(double a, double b, double eps, double f(double));
int main() {
std::cout << "Input a, b and epsilon: ";
double a, b, eps;
std::cin >> a >> b >> eps;
double res = pierwiastek_bisekcja(a, b, ep... | 18.318182 | 79 | 0.574442 | kpagacz |
a9468693a741990dec805480fe57da5ca33c7f20 | 2,085 | cpp | C++ | admin/snapin/schmmgmt/persist.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/snapin/schmmgmt/persist.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/snapin/schmmgmt/persist.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // Persist.cpp : Implementation of persistence
#include "stdafx.h"
#include "compdata.h"
#include "safetemp.h"
#include "macros.h"
USE_HANDLE_MACROS("SCHMMGMT(persist.cpp)")
STDMETHODIMP ComponentData::Load(IStream __RPC_FAR *pIStream)
{
MFC_TRY;
#ifndef DONT_PERSIST
ASSERT( NULL != pI... | 27.077922 | 89 | 0.541007 | npocmaka |
a9468a817025b35dc7d43899bf3ccc4e489dd248 | 1,032 | hpp | C++ | include/unordered_set.hpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | include/unordered_set.hpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | include/unordered_set.hpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #pragma once
#include "container.hpp"
#include <unordered_set>
template <typename T>
class UnorderedSet : public Container<std::unordered_set<T>> {
public:
UnorderedSet() : Container<std::unordered_set<T>>() {}
template <typename Itr>
UnorderedSet(Itr first, Itr last)
: Container<std::unordered_set<T>>(f... | 24 | 77 | 0.580426 | not522 |
a9476e38b5d1771834b1b15bcb53e2a8f0b20418 | 1,422 | cpp | C++ | SerialPrograms/Source/PokemonLA/Programs/PokemonLA_FlagNavigationTest.cpp | BlizzardHero/Arduino-Source | bc4ce6433651b0feef488735098900f8bf4144f8 | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonLA/Programs/PokemonLA_FlagNavigationTest.cpp | BlizzardHero/Arduino-Source | bc4ce6433651b0feef488735098900f8bf4144f8 | [
"MIT"
] | null | null | null | SerialPrograms/Source/PokemonLA/Programs/PokemonLA_FlagNavigationTest.cpp | BlizzardHero/Arduino-Source | bc4ce6433651b0feef488735098900f8bf4144f8 | [
"MIT"
] | null | null | null | /* Flag Navigation Test
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include "CommonFramework/Globals.h"
#include "PokemonLA_FlagNavigationAir.h"
#include "PokemonLA_FlagNavigationTest.h"
namespace PokemonAutomation{
namespace NintendoSwitch{
namespace PokemonLA{
FlagNavigationTest_Desc... | 23.311475 | 96 | 0.699015 | BlizzardHero |
a949770d142f1bead74062711799f4740ee5e07b | 21 | cpp | C++ | Source/Services/Common/Unix/pch_unix.cpp | blgrossMS/xbox-live-api | 17c586336e11f0fa3a2a3f3acd665b18c5487b24 | [
"MIT"
] | 2 | 2021-07-17T13:34:20.000Z | 2022-01-09T00:55:51.000Z | Source/Services/Common/Unix/pch_unix.cpp | blgrossMS/xbox-live-api | 17c586336e11f0fa3a2a3f3acd665b18c5487b24 | [
"MIT"
] | null | null | null | Source/Services/Common/Unix/pch_unix.cpp | blgrossMS/xbox-live-api | 17c586336e11f0fa3a2a3f3acd665b18c5487b24 | [
"MIT"
] | 1 | 2018-11-18T08:32:40.000Z | 2018-11-18T08:32:40.000Z | #include "pch_unix.h" | 21 | 21 | 0.761905 | blgrossMS |
a949898d66e584b27e3130bb2d9cf113e1a0d4e1 | 130 | cpp | C++ | Blob_Lib/assimp-5.2.3/assimp/code/PostProcessing/FindInstancesProcess.cpp | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | Blob_Lib/assimp-5.2.3/assimp/code/PostProcessing/FindInstancesProcess.cpp | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | Blob_Lib/assimp-5.2.3/assimp/code/PostProcessing/FindInstancesProcess.cpp | antholuo/Blob_Traffic | 5d6acf88044e9abc63c0ff356714179eaa4b75bf | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:3936771ac11f00dc2944cd20c4c62f1bc0ea7e0d5017d92792b193ace6554935
size 12221
| 32.5 | 75 | 0.884615 | antholuo |
a94a4109f478568f52fe9769f1c20ad190a61644 | 2,821 | cpp | C++ | src/games/common/HexBlocks_Common_Render.cpp | Press-Play-On-Tape/TheHex | ad2876e1de0d09dbe8123201ecc88bcd4a0d7c5c | [
"BSD-3-Clause"
] | 1 | 2021-07-05T15:55:59.000Z | 2021-07-05T15:55:59.000Z | src/games/common/HexBlocks_Common_Render.cpp | Press-Play-On-Tape/TheHex | ad2876e1de0d09dbe8123201ecc88bcd4a0d7c5c | [
"BSD-3-Clause"
] | null | null | null | src/games/common/HexBlocks_Common_Render.cpp | Press-Play-On-Tape/TheHex | ad2876e1de0d09dbe8123201ecc88bcd4a0d7c5c | [
"BSD-3-Clause"
] | null | null | null | #include "../../HexBlocks.h"
using PC = Pokitto::Core;
using PD = Pokitto::Display;
#include "../../utils/Constants.h"
#include "../../utils/Utils.h"
#include "../../images/Images.h"
#include "../../entities/Entities.h"
void Game::renderScreen_Common() {
for (uint8_t y = 0; y < Constants::GridSize; y++) {
... | 34.402439 | 210 | 0.641971 | Press-Play-On-Tape |
a94a61473e9402285d616af3b06a94df90a4423a | 63,866 | cc | C++ | riegeli/chunk_encoding/transpose_decoder.cc | micahcc/riegeli | d8cc64857253037d4f022e860b7b86cbe7d4b8d8 | [
"Apache-2.0"
] | null | null | null | riegeli/chunk_encoding/transpose_decoder.cc | micahcc/riegeli | d8cc64857253037d4f022e860b7b86cbe7d4b8d8 | [
"Apache-2.0"
] | null | null | null | riegeli/chunk_encoding/transpose_decoder.cc | micahcc/riegeli | d8cc64857253037d4f022e860b7b86cbe7d4b8d8 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 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 ... | 44.228532 | 80 | 0.625012 | micahcc |
a94bfd9e006d3e1889fc9dc02db6f1ac31b48ea2 | 5,258 | cpp | C++ | fennel/device/AioSignalScheduler.cpp | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 14 | 2015-07-21T06:31:22.000Z | 2020-05-13T14:18:33.000Z | fennel/device/AioSignalScheduler.cpp | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 1 | 2020-05-04T23:08:51.000Z | 2020-05-04T23:08:51.000Z | fennel/device/AioSignalScheduler.cpp | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 22 | 2015-01-03T14:27:36.000Z | 2021-09-14T02:09:13.000Z | /*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... | 28.117647 | 80 | 0.68334 | alexavila150 |
a94f11f633d2e1191fe275c6a2d19f5125adcc19 | 572 | cpp | C++ | Shell/src/commands/SaveCommand.cpp | Rhoban/RhIO | 3420308a864cdc0e9cd33a051904bdc7d6fe5281 | [
"MIT"
] | 7 | 2015-10-04T08:23:45.000Z | 2021-05-22T09:59:45.000Z | Shell/src/commands/SaveCommand.cpp | Rhoban/RhIO | 3420308a864cdc0e9cd33a051904bdc7d6fe5281 | [
"MIT"
] | 4 | 2016-07-10T11:36:47.000Z | 2020-03-06T14:06:09.000Z | Shell/src/commands/SaveCommand.cpp | Rhoban/RhIO | 3420308a864cdc0e9cd33a051904bdc7d6fe5281 | [
"MIT"
] | 7 | 2016-07-15T06:08:14.000Z | 2019-09-20T17:25:45.000Z | #include <sstream>
#include <iostream>
#include "Shell.h"
#include "SaveCommand.h"
#include <Node.h>
#include <NodePool.h>
namespace RhIO
{
std::string SaveCommand::getName()
{
return "save";
}
std::string SaveCommand::getDesc()
{
return "Save (persist) the values";
}
void SaveCommand::process(std::vector<std::s... | 16.823529 | 56 | 0.63986 | Rhoban |
a94f5977f9dce32df9325ddfb0d483bd37a5dff1 | 2,881 | hpp | C++ | hotspot/src/cpu/sparc/vm/stubRoutines_sparc.hpp | dbac/jdk8 | abfce42ff6d4b8b77d622157519ecd211ba0aa8f | [
"MIT"
] | 1 | 2020-12-26T04:52:15.000Z | 2020-12-26T04:52:15.000Z | hotspot/src/cpu/sparc/vm/stubRoutines_sparc.hpp | dbac/jdk8 | abfce42ff6d4b8b77d622157519ecd211ba0aa8f | [
"MIT"
] | 1 | 2020-12-26T04:57:19.000Z | 2020-12-26T04:57:19.000Z | hotspot/src/cpu/sparc/vm/stubRoutines_sparc.hpp | dbac/jdk8 | abfce42ff6d4b8b77d622157519ecd211ba0aa8f | [
"MIT"
] | 1 | 2021-12-06T01:13:18.000Z | 2021-12-06T01:13:18.000Z | /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 40.577465 | 148 | 0.740715 | dbac |
a9535ad47f6b89cf6a3acf5dd0e465351471bf41 | 2,450 | cpp | C++ | src/renderer/framebuffer/framebuffer.cpp | LwRuan/RainEngine | 0bf3c009190e86cf1b81a692ce26eb26646aca3c | [
"MIT"
] | null | null | null | src/renderer/framebuffer/framebuffer.cpp | LwRuan/RainEngine | 0bf3c009190e86cf1b81a692ce26eb26646aca3c | [
"MIT"
] | null | null | null | src/renderer/framebuffer/framebuffer.cpp | LwRuan/RainEngine | 0bf3c009190e86cf1b81a692ce26eb26646aca3c | [
"MIT"
] | null | null | null | #include "framebuffer.h"
#include <array>
namespace Rain {
VkResult Framebuffer::Init(Device* device, const VkExtent2D& extent,
VkImageView swap_image_view,
VkRenderPass render_pass) {
VkResult result;
result = depth_image_.InitDepthImage(device, exte... | 35.507246 | 80 | 0.686122 | LwRuan |
a954f5dc567de23a934216ce6ce62ba9b5008ec5 | 2,198 | cc | C++ | chrome/browser/ui/views/dropdown_bar_host_gtk.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-05-19T08:53:12.000Z | 2017-08-28T11:59:26.000Z | chrome/browser/ui/views/dropdown_bar_host_gtk.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | chrome/browser/ui/views/dropdown_bar_host_gtk.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-08-09T09:03:23.000Z | 2020-05-26T09:14:49.000Z | // Copyright (c) 2011 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/ui/views/dropdown_bar_host.h"
#include <gdk/gdkkeysyms.h>
#include "chrome/browser/ui/views/frame/browser_view.h"
#include ... | 34.888889 | 80 | 0.72384 | SlimKatLegacy |
a95635abbe902a030c3be3450149067f4b46e6df | 1,213 | cpp | C++ | Programs/AssetCacheServer/Classes/UI/SharedServerWidget.cpp | stinvi/dava.engine | 2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e | [
"BSD-3-Clause"
] | 26 | 2018-09-03T08:48:22.000Z | 2022-02-14T05:14:50.000Z | Programs/AssetCacheServer/Classes/UI/SharedServerWidget.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | null | null | null | Programs/AssetCacheServer/Classes/UI/SharedServerWidget.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | 45 | 2018-05-11T06:47:17.000Z | 2022-02-03T11:30:55.000Z | #include "SharedServerWidget.h"
#include <QValidator>
SharedServerWidget::SharedServerWidget(QWidget* parent)
: QWidget(parent)
, ui(new Ui::SharedServerWidget)
{
ui->setupUi(this);
ui->ipLineEdit->setText(DAVA::AssetCache::GetLocalHost().c_str());
connect(ui->enabledCheckBox, SIGNAL(stateChange... | 26.369565 | 88 | 0.73784 | stinvi |
a95712a2a03874c7e67627c172c11dd6add22efe | 4,952 | cpp | C++ | src/Time/TimeSteppers/AdamsBashforthN.cpp | AntoniRamosBuades/spectre | 85dbdb5889e6ac7251e37b570495b0a601763ec8 | [
"MIT"
] | null | null | null | src/Time/TimeSteppers/AdamsBashforthN.cpp | AntoniRamosBuades/spectre | 85dbdb5889e6ac7251e37b570495b0a601763ec8 | [
"MIT"
] | 1 | 2022-03-25T18:26:16.000Z | 2022-03-25T19:30:39.000Z | src/Time/TimeSteppers/AdamsBashforthN.cpp | isaaclegred/spectre | 5765da85dad680cad992daccd479376c67458a8c | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Time/TimeSteppers/AdamsBashforthN.hpp"
#include <algorithm>
#include "Time/TimeStepId.hpp"
#include "Utilities/Math.hpp"
namespace TimeSteppers {
AdamsBashforthN::AdamsBashforthN(const size_t order) noexcept : order_(order) {
if (ord... | 31.948387 | 80 | 0.621567 | AntoniRamosBuades |
a9595a4b00dd4e1899c54f3b789a13ba8306b0f7 | 17,942 | cpp | C++ | src/devices/sound/qsoundhle.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/devices/sound/qsoundhle.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/devices/sound/qsoundhle.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:superctr, Valley Bell
/***************************************************************************
Capcom QSound DL-1425 (HLE)
===========================
Driver by superctr with thanks to Valley Bell.
Based on disassembled DSP code.
Links:
https://siliconpr0... | 29.126623 | 151 | 0.660016 | Robbbert |
a9642c0a926c70c35c32e649897d45e1f63de7e6 | 7,390 | cpp | C++ | src/lib/analysis/TextUtil.cpp | jqswang/txsampler | 19d2b188e712dd86be84d84c75e08af320304c2c | [
"BSD-3-Clause"
] | 1 | 2018-11-18T17:44:22.000Z | 2018-11-18T17:44:22.000Z | src/lib/analysis/TextUtil.cpp | jqswang/txsampler | 19d2b188e712dd86be84d84c75e08af320304c2c | [
"BSD-3-Clause"
] | null | null | null | src/lib/analysis/TextUtil.cpp | jqswang/txsampler | 19d2b188e712dd86be84d84c75e08af320304c2c | [
"BSD-3-Clause"
] | null | null | null | // -*-Mode: C++;-*-
// * BeginRiceCopyright *****************************************************
//
// $HeadURL$
// $Id$
//
// --------------------------------------------------------------------------
// Part of HPCToolkit (hpctoolkit.org)
//
// Information about sources of support for research and development of
//... | 28.980392 | 78 | 0.58065 | jqswang |
a965effac86ca241c16790a4171f1f5111331927 | 706 | cpp | C++ | sources/src/structure/object.cpp | sydelity-net/EDACurry | 20cbf9835827e42efeb0b3686bf6b3e9d72417e9 | [
"MIT"
] | null | null | null | sources/src/structure/object.cpp | sydelity-net/EDACurry | 20cbf9835827e42efeb0b3686bf6b3e9d72417e9 | [
"MIT"
] | null | null | null | sources/src/structure/object.cpp | sydelity-net/EDACurry | 20cbf9835827e42efeb0b3686bf6b3e9d72417e9 | [
"MIT"
] | null | null | null | /// @file object.cpp
/// @author Enrico Fraccaroli (enrico.fraccaroli@gmail.com)
/// @copyright Copyright (c) 2021 sydelity.net (info@sydelity.com)
/// Distributed under the MIT License (MIT) (See accompanying LICENSE file or
/// copy at http://opensource.org/licenses/MIT)
#include "structure/object.hpp"
namespace... | 20.171429 | 77 | 0.695467 | sydelity-net |
a965f76c4cfa7496db45c18395d37947f25d4011 | 7,106 | cpp | C++ | inspire/thread/thdMgr.cpp | tynia/tynia | 9dd2a09faafa9d38c2679fa32e25a4db1317095e | [
"MIT"
] | null | null | null | inspire/thread/thdMgr.cpp | tynia/tynia | 9dd2a09faafa9d38c2679fa32e25a4db1317095e | [
"MIT"
] | null | null | null | inspire/thread/thdMgr.cpp | tynia/tynia | 9dd2a09faafa9d38c2679fa32e25a4db1317095e | [
"MIT"
] | null | null | null | #include "thdMgr.h"
namespace inspire {
const int thdMgr::thdInnerTask::run()
{
LogEvent("starting MAIN PROCESS LOOP: %s", name());
while (_thd->running())
{
_thdMgr->_process();
}
LogEvent("ending MAIN PROCESS LOOP: %s", name());
return _thd->error();
}
thdM... | 24.088136 | 89 | 0.513791 | tynia |
a9685065ca5dc50d3c30e5bb0986e2268a7b5e21 | 2,855 | cpp | C++ | pub/SharedNativeUtils/FileImage.cpp | AndreGleichner/UniversalModuleHost | a8434ad712295a9ff156c3344ed9faedae75ca14 | [
"MIT"
] | null | null | null | pub/SharedNativeUtils/FileImage.cpp | AndreGleichner/UniversalModuleHost | a8434ad712295a9ff156c3344ed9faedae75ca14 | [
"MIT"
] | null | null | null | pub/SharedNativeUtils/FileImage.cpp | AndreGleichner/UniversalModuleHost | a8434ad712295a9ff156c3344ed9faedae75ca14 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "FileImage.h"
#include <cstdint>
#include <share.h>
#include <vector>
#include <wil/resource.h>
#include <magic_enum.hpp>
using namespace magic_enum::bitwise_operators;
namespace
{
uint16_t ReadWord(const std::vector<uint8_t>& buffer, uint32_t offset)
{
if (offset + 2 > b... | 30.698925 | 115 | 0.646935 | AndreGleichner |
a96c53f9cad3a1cbf019391e897376b82ae7f881 | 659 | hpp | C++ | foreign.hpp | lechos22/PSON | 507721136c38c306fab633ea3d50f73c65a4c16e | [
"BSD-3-Clause"
] | 1 | 2021-12-09T20:27:28.000Z | 2021-12-09T20:27:28.000Z | foreign.hpp | lechos22/PSON | 507721136c38c306fab633ea3d50f73c65a4c16e | [
"BSD-3-Clause"
] | null | null | null | foreign.hpp | lechos22/PSON | 507721136c38c306fab633ea3d50f73c65a4c16e | [
"BSD-3-Clause"
] | null | null | null | #ifndef PSON__FOREIGN_HPP
#define PSON__FOREIGN_HPP
#include <PSON_PY.hpp>
extern void* parse(const char* s);
extern char get_type(void* obj);
extern int get_int(void* obj);
extern float get_float(void* obj);
extern const char* get_str(void* obj);
extern unsigned get_len(void* obj);
extern void* get_at(void* obj, unsi... | 31.380952 | 57 | 0.766313 | lechos22 |
a975ace87094dfeed41d04926bfd599091aea35f | 614 | cpp | C++ | src/xcroscpp/src/libros/xcroscpp_common.cpp | dogchenya/xc-ros | 43c8b773a552ea610bd03750c9c32d7732f8ea69 | [
"Unlicense"
] | null | null | null | src/xcroscpp/src/libros/xcroscpp_common.cpp | dogchenya/xc-ros | 43c8b773a552ea610bd03750c9c32d7732f8ea69 | [
"Unlicense"
] | null | null | null | src/xcroscpp/src/libros/xcroscpp_common.cpp | dogchenya/xc-ros | 43c8b773a552ea610bd03750c9c32d7732f8ea69 | [
"Unlicense"
] | null | null | null | #include "ros/xcroscpp_common.h"
#include <cstdlib>
#include <cstdio>
#include <cerrno>
#include <cassert>
#include <sys/types.h>
#if !defined(WIN32)
#include <unistd.h>
#include <pthread.h>
#endif
#include <signal.h>
using std::string;
void xcros::disableAllSignalsInThisThread()
{
#if !defined(WIN32)
// pthreads_wi... | 21.928571 | 74 | 0.754072 | dogchenya |
a97ab59cbb36d1c7e887d13c463612a942e9105e | 19,462 | cc | C++ | packages/solver/test/tst_Pincell.cc | brbass/ibex | 5a4cc5b4d6d46430d9667970f8a34f37177953d4 | [
"MIT"
] | 2 | 2020-04-13T20:06:41.000Z | 2021-02-12T17:55:54.000Z | packages/solver/test/tst_Pincell.cc | brbass/ibex | 5a4cc5b4d6d46430d9667970f8a34f37177953d4 | [
"MIT"
] | 1 | 2018-10-22T21:03:35.000Z | 2018-10-22T21:03:35.000Z | packages/solver/test/tst_Pincell.cc | brbass/ibex | 5a4cc5b4d6d46430d9667970f8a34f37177953d4 | [
"MIT"
] | 3 | 2019-04-03T02:15:37.000Z | 2022-01-04T05:50:23.000Z | #include <cmath>
#include <iomanip>
#include <iostream>
#include <mpi.h>
#include "Angular_Discretization.hh"
#include "Angular_Discretization_Factory.hh"
#include "Angular_Discretization_Parser.hh"
#include "Boundary_Source.hh"
#include "Boundary_Source_Parser.hh"
#include "Cartesian_Plane.hh"
#include "Check_Equalit... | 37.863813 | 98 | 0.462902 | brbass |
a97bd313294dc528d0e37ed0cec0ffa5de0d4078 | 1,391 | cpp | C++ | source/examples/HelloWorld/HelloWorld.cpp | MrHands/Panini | 464999debf6ad6ee9f2184514ba719062f8375b5 | [
"MIT-0"
] | null | null | null | source/examples/HelloWorld/HelloWorld.cpp | MrHands/Panini | 464999debf6ad6ee9f2184514ba719062f8375b5 | [
"MIT-0"
] | null | null | null | source/examples/HelloWorld/HelloWorld.cpp | MrHands/Panini | 464999debf6ad6ee9f2184514ba719062f8375b5 | [
"MIT-0"
] | null | null | null | /*
MIT No Attribution
Copyright 2021-2022 Mr. Hands
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,... | 30.911111 | 77 | 0.728972 | MrHands |
a97d92a56aa7408d7e8a5b17ee7f970b0be21218 | 5,243 | hpp | C++ | tests/test_utilities.hpp | Felix-Rm/iac | 59bfc7e859d4cc0b923c75dd34316ae2fafd9097 | [
"BSD-2-Clause"
] | null | null | null | tests/test_utilities.hpp | Felix-Rm/iac | 59bfc7e859d4cc0b923c75dd34316ae2fafd9097 | [
"BSD-2-Clause"
] | null | null | null | tests/test_utilities.hpp | Felix-Rm/iac | 59bfc7e859d4cc0b923c75dd34316ae2fafd9097 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include "ftest/test_logging.hpp"
#include "iac.hpp"
#define TEST_UTILS_CREATE_NODE_WITH_ENDPOINT(node_name, ep_name, name, id) \
iac::LocalNode node_name{}; \
iac::LocalEndpoint ep_name{id, name}; \
node_name.add_loc... | 47.663636 | 171 | 0.536716 | Felix-Rm |
a97f0873aa383a1ce0cb699ac69f6bab0d48c4f5 | 505 | cpp | C++ | cppprimer_anwser/8.9.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | cppprimer_anwser/8.9.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | cppprimer_anwser/8.9.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <fstream>
#include <vector>
int main( int argv, char *argc[] )
{
using namespace std;
string tmpLine;
ifstream infile { argc[1] };
vector<string> vline;
while( getline(infile, tmpLine ) ) {
vline.push_back(tmpLine);
tmpLine.clear();
}
for( auto itr = vline.... | 18.703704 | 60 | 0.631683 | iusyu |
a97f1c4fe24c012b0c6a95f403c693fcae040720 | 62 | cpp | C++ | unit_test/threads/Test_Threads_Blas1_team_scal.cpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 156 | 2017-03-01T23:38:10.000Z | 2022-03-27T21:28:03.000Z | unit_test/threads/Test_Threads_Blas1_team_scal.cpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 1,257 | 2017-03-03T15:25:16.000Z | 2022-03-31T19:46:09.000Z | unit_test/threads/Test_Threads_Blas1_team_scal.cpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 76 | 2017-03-01T17:03:59.000Z | 2022-03-03T21:04:41.000Z | #include<Test_Threads.hpp>
#include<Test_Blas1_team_scal.hpp>
| 20.666667 | 34 | 0.83871 | dialecticDolt |
a981dc23d05ebe3dbbb4942ae81b9a4f5361926b | 3,366 | cpp | C++ | misc/lcs.cpp | arupa-loka/lrep | 7ef6ce39e7527693f8fb7d62b80a69fa29adc295 | [
"Apache-2.0"
] | null | null | null | misc/lcs.cpp | arupa-loka/lrep | 7ef6ce39e7527693f8fb7d62b80a69fa29adc295 | [
"Apache-2.0"
] | null | null | null | misc/lcs.cpp | arupa-loka/lrep | 7ef6ce39e7527693f8fb7d62b80a69fa29adc295 | [
"Apache-2.0"
] | null | null | null | /* LCS - Longest Common Substring
* between two strings.
*/
#include <iostream>
#include <cstdlib>
#include <cstdio>
#include <cstring>
void dump_array(int A[], int size)
{
for (int i=0; i<size; ++i)
printf("%i\t", A[i]);
printf("\n");
return;
}
void dump_array2(char A[], int size)
{
for (int i=0; ... | 22.44 | 78 | 0.521687 | arupa-loka |
a98201df402438335b2c50584c7af6dd08b791a6 | 34,989 | cpp | C++ | src/tools/native/native.cpp | jthelin/Prajna | b982ed83bdd6e4fafcb6d5b8c75c69a2ffff7a9f | [
"ECL-2.0",
"Apache-2.0"
] | 198 | 2015-08-13T03:33:36.000Z | 2022-03-14T19:15:14.000Z | src/tools/native/native.cpp | jthelin/Prajna | b982ed83bdd6e4fafcb6d5b8c75c69a2ffff7a9f | [
"ECL-2.0",
"Apache-2.0"
] | 56 | 2015-08-13T04:02:55.000Z | 2017-01-18T17:09:39.000Z | src/tools/native/native.cpp | jthelin/Prajna | b982ed83bdd6e4fafcb6d5b8c75c69a2ffff7a9f | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2015-08-13T00:31:47.000Z | 2022-03-11T01:15:00.000Z | // This is the main DLL file.
#include "stdafx.h"
#include "native.h"
// ====================================================
#pragma managed
using namespace System;
using namespace System::IO;
using namespace System::Reflection;
using namespace System::Threading;
using namespace System::Collections::Generic;
usin... | 41.902994 | 188 | 0.441996 | jthelin |
a984a7326ed18131076a35092f409932d8d84658 | 4,478 | cxx | C++ | DreamDaq/macro_root/cu_dream_avg_gioca.cxx | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 3 | 2021-07-22T12:17:48.000Z | 2021-07-27T07:22:54.000Z | DreamDaq/macro_root/cu_dream_avg_gioca.cxx | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 38 | 2021-07-14T15:41:04.000Z | 2022-03-29T14:18:20.000Z | DreamDaq/macro_root/cu_dream_avg_gioca.cxx | ivivarel/DREMTubes | ac768990b4c5e2c23d986284ed10189f31796b38 | [
"MIT"
] | 7 | 2021-07-21T12:00:33.000Z | 2021-11-13T10:45:30.000Z | void cu_dream_avg(TString runfile, float *res = 0){
TFile *f = TFile::Open(runfile);
float SAM = 2; //sigmas_around_mean
TH1F * h;
TF1 *g = new TF1("g","gaus");
f->GetObject("Cu_Dream/Cu_dream_S_tot",h);
new TCanvas("S","S",12,10,700,500);
h->GetXaxis()->SetRange(1400,2100);
h->Fit(g,"q","",1500,200... | 28.705128 | 131 | 0.575033 | ivivarel |
a985679b523f5591398ff126a25890c1fa881f22 | 9,030 | hpp | C++ | native/external-libraries/boost/boost/log/utility/init/formatter_parser.hpp | l3dlp-sandbox/airkinect-2-core | 49aecbd3c3fd9584434089dd2d9eef93567036e7 | [
"Apache-2.0"
] | null | null | null | native/external-libraries/boost/boost/log/utility/init/formatter_parser.hpp | l3dlp-sandbox/airkinect-2-core | 49aecbd3c3fd9584434089dd2d9eef93567036e7 | [
"Apache-2.0"
] | null | null | null | native/external-libraries/boost/boost/log/utility/init/formatter_parser.hpp | l3dlp-sandbox/airkinect-2-core | 49aecbd3c3fd9584434089dd2d9eef93567036e7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright Andrey Semashev 2007 - 2010.
* 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)
*/
/*!
* \file formatter_parser.hpp
* \author Andrey Semashev
* \date 07.04.2008
*
* The... | 37.625 | 124 | 0.739978 | l3dlp-sandbox |
a9896d38cfdc269fc08dca98f0808ccf649fdd00 | 1,514 | cpp | C++ | CodeForces/Complete/200-299/229A-Shifts.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/200-299/229A-Shifts.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/200-299/229A-Shifts.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <cstdio>
#include <iostream>
#include <string>
#include <vector>
int main(){
long n, m; scanf("%ld %ld\n", &n, &m);
std::vector<std::string> table(n);
for(long p = 0; p < n; p++){getline(std::cin, table[p]);}
bool possible(1);
std::vector<std::vector<long> > dist(n, std::vector<long>(m, ... | 32.212766 | 96 | 0.494716 | Ashwanigupta9125 |
a98a21b1c928943ae0bc7cb8cb874e1957f3096d | 735 | cpp | C++ | CPP_zia_2019/src/modules/http/TestModule.cpp | ltabis/epitech-projects | e38b3f00a4ac44c969d5e4880cd65084dc2c870a | [
"MIT"
] | null | null | null | CPP_zia_2019/src/modules/http/TestModule.cpp | ltabis/epitech-projects | e38b3f00a4ac44c969d5e4880cd65084dc2c870a | [
"MIT"
] | null | null | null | CPP_zia_2019/src/modules/http/TestModule.cpp | ltabis/epitech-projects | e38b3f00a4ac44c969d5e4880cd65084dc2c870a | [
"MIT"
] | 1 | 2021-01-07T17:41:14.000Z | 2021-01-07T17:41:14.000Z | /*
** EPITECH PROJECT, 2020
** Zia
** File description:
** A fake module use for testing
*/
#include "TestModule.hpp"
extern "C" api::module::AHttp *entryPoint()
{
return new zia::mod::TestModule;
}
zia::mod::TestModule::TestModule()
{ }
zia::mod::TestModule::~TestModule()
{ }
bool zia::mod::TestModule::handle... | 18.375 | 113 | 0.653061 | ltabis |
a98bf9d1fe00309110362eb8fc84f838c4cec862 | 54,393 | cpp | C++ | src/Base/ViewArea.cpp | team-FisMa/choreonoid | 83265e8ffe96eb0aec977be7a43cd8c218fc5905 | [
"MIT"
] | 66 | 2020-03-11T14:06:01.000Z | 2022-03-23T23:18:27.000Z | src/Base/ViewArea.cpp | team-FisMa/choreonoid | 83265e8ffe96eb0aec977be7a43cd8c218fc5905 | [
"MIT"
] | 12 | 2020-07-23T06:13:11.000Z | 2022-01-13T14:25:01.000Z | src/Base/ViewArea.cpp | team-FisMa/choreonoid | 83265e8ffe96eb0aec977be7a43cd8c218fc5905 | [
"MIT"
] | 18 | 2020-07-17T15:57:54.000Z | 2022-03-29T13:18:59.000Z | /**
@author Shin'ichiro Nakaoka
*/
#include "ViewArea.h"
#include "View.h"
#include "ViewManager.h"
#include "MenuManager.h"
#include "MessageView.h"
#include "MainWindow.h"
#include "Timer.h"
#include <QApplication>
#include <QBoxLayout>
#include <QSplitter>
#include <QTabWidget>
#include <QTabBar>
#include <QRubb... | 29.354021 | 124 | 0.569338 | team-FisMa |
a98c6659e7e2d09cd339050f1085f6014755868e | 1,532 | cpp | C++ | test/bdev/bdevc++/common/DefaultAllocStrategy.cpp | janlt/spdk | 263a281579bd956acf596cd3587872c209050816 | [
"BSD-3-Clause"
] | 1 | 2020-04-15T12:13:35.000Z | 2020-04-15T12:13:35.000Z | test/bdev/bdevc++/common/DefaultAllocStrategy.cpp | janlt/spdk | 263a281579bd956acf596cd3587872c209050816 | [
"BSD-3-Clause"
] | null | null | null | test/bdev/bdevc++/common/DefaultAllocStrategy.cpp | janlt/spdk | 263a281579bd956acf596cd3587872c209050816 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2019 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 27.357143 | 77 | 0.762402 | janlt |
a98cf83342e38836ba0b91c858fd5f2a5ef5dad5 | 50 | cpp | C++ | KonvDateiNeu.cpp | jbxplan/GMLToolbox-src | fec35558787db18d222598e376bc7c1071c69a55 | [
"Apache-2.0"
] | 2 | 2021-05-04T06:23:46.000Z | 2022-02-04T21:40:07.000Z | KonvDateiNeu.cpp | jbxplan/GMLToolbox-src | fec35558787db18d222598e376bc7c1071c69a55 | [
"Apache-2.0"
] | null | null | null | KonvDateiNeu.cpp | jbxplan/GMLToolbox-src | fec35558787db18d222598e376bc7c1071c69a55 | [
"Apache-2.0"
] | 2 | 2020-07-13T12:14:11.000Z | 2021-05-04T06:23:49.000Z | #include "StdAfx.h"
#include "KonvDateiNeu.h"
| 12.5 | 26 | 0.68 | jbxplan |
a98de385549e00f2d6b052025a8762437b3ef5ed | 5,714 | hpp | C++ | src/oatpp/core/collection/ListMap.hpp | swarkentin/oatpp | 6838f37c04277e44b22e23df33e8eded70701f3c | [
"Apache-2.0"
] | 1 | 2019-11-19T17:46:28.000Z | 2019-11-19T17:46:28.000Z | src/oatpp/core/collection/ListMap.hpp | swarkentin/oatpp | 6838f37c04277e44b22e23df33e8eded70701f3c | [
"Apache-2.0"
] | 1 | 2019-11-22T15:42:39.000Z | 2019-11-22T15:42:39.000Z | src/oatpp/core/collection/ListMap.hpp | swarkentin/oatpp | 6838f37c04277e44b22e23df33e8eded70701f3c | [
"Apache-2.0"
] | 1 | 2019-11-22T00:45:50.000Z | 2019-11-22T00:45:50.000Z | /***************************************************************************
*
* Project _____ __ ____ _ _
* ( _ ) /__\ (_ _)_| |_ _| |_
* )(_)( /(__)\ )( (_ _)(_ _)
* (_____)(__)(__)(__) |_| |_|
*
*
* Copyright 2018-present, Leoni... | 20.553957 | 90 | 0.543052 | swarkentin |
a98dff33bb3eecd4a229af12682359bbf2f87ffc | 14,672 | cpp | C++ | src/api/processors/thumbnail.cpp | sucangit/images | 6171702646129b3dadbbeb7bfe75e4ac9379b714 | [
"BSD-3-Clause"
] | 826 | 2018-06-22T07:20:04.000Z | 2022-03-31T21:52:34.000Z | src/api/processors/thumbnail.cpp | sucangit/images | 6171702646129b3dadbbeb7bfe75e4ac9379b714 | [
"BSD-3-Clause"
] | 210 | 2018-06-18T15:50:12.000Z | 2022-03-30T22:56:28.000Z | src/api/processors/thumbnail.cpp | sucangit/images | 6171702646129b3dadbbeb7bfe75e4ac9379b714 | [
"BSD-3-Clause"
] | 121 | 2018-06-19T19:41:43.000Z | 2022-03-20T19:20:29.000Z | #include "thumbnail.h"
#include "../exceptions/large.h"
#include <algorithm>
#include <cmath>
#include <string>
#include <tuple>
namespace weserv {
namespace api {
namespace processors {
using enums::Canvas;
using enums::ImageType;
// Set to true in order to have a greater advantage of the JPEG
// shrink-on-load f... | 33.497717 | 80 | 0.582061 | sucangit |
a98ef7f7aa35078dd39e14254884d93be6f559bd | 401 | cpp | C++ | cpp/src/player_utils.cpp | calincru/UltimateTicTacToe | 2811c9021369f97dd3d6fa4f2247cbadb1aece49 | [
"Apache-2.0"
] | null | null | null | cpp/src/player_utils.cpp | calincru/UltimateTicTacToe | 2811c9021369f97dd3d6fa4f2247cbadb1aece49 | [
"Apache-2.0"
] | null | null | null | cpp/src/player_utils.cpp | calincru/UltimateTicTacToe | 2811c9021369f97dd3d6fa4f2247cbadb1aece49 | [
"Apache-2.0"
] | null | null | null | // Self
#include "player_utils.hpp"
// Project
#include "utils.hpp"
namespace tictactoe {
player_e player_utils::opponent(player_e player) {
TTT_ASSERT(player == player_e::ME || player == player_e::OPPONENT,
"opponent precondition");
return player == player_e::OPPONENT ? player_e::ME
... | 23.588235 | 70 | 0.618454 | calincru |
81789762d01cc726d1f74e46fb01c7c9234774b4 | 4,263 | cpp | C++ | src/tests/test_octetstring.cpp | clayne/botan | 1f16adea08c4c9bf3fb0fbf699d284cb48150898 | [
"BSD-2-Clause"
] | 1,988 | 2015-01-04T02:58:16.000Z | 2022-03-31T18:03:37.000Z | src/tests/test_octetstring.cpp | clayne/botan | 1f16adea08c4c9bf3fb0fbf699d284cb48150898 | [
"BSD-2-Clause"
] | 2,455 | 2015-01-04T17:53:39.000Z | 2022-03-30T18:15:31.000Z | src/tests/test_octetstring.cpp | clayne/botan | 1f16adea08c4c9bf3fb0fbf699d284cb48150898 | [
"BSD-2-Clause"
] | 590 | 2015-01-07T04:05:12.000Z | 2022-03-30T20:42:05.000Z | /*
* (C) 2016 Daniel Neus, Rohde & Schwarz Cybersecurity
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#define BOTAN_NO_DEPRECATED_WARNINGS
#include "tests.h"
#include <botan/symkey.h>
namespace Botan_Tests {
namespace {
Test::Result test_from_rng()
{
Test::Result result("Octet... | 24.929825 | 108 | 0.650246 | clayne |
81794461f1deb384df39a06989644cee087289ff | 6,394 | hpp | C++ | include/nil/crypto3/zk/components/loose_multiplexing.hpp | NoamDev/crypto3-blueprint | b85c659ae186c8e5e4d468cdd8decaec02797eae | [
"MIT"
] | 6 | 2021-05-27T04:52:42.000Z | 2022-01-23T23:33:40.000Z | include/nil/crypto3/zk/components/loose_multiplexing.hpp | NoamDev/crypto3-blueprint | b85c659ae186c8e5e4d468cdd8decaec02797eae | [
"MIT"
] | 12 | 2020-12-08T15:17:00.000Z | 2022-03-17T22:19:43.000Z | include/nil/crypto3/zk/components/loose_multiplexing.hpp | NoamDev/crypto3-blueprint | b85c659ae186c8e5e4d468cdd8decaec02797eae | [
"MIT"
] | 5 | 2021-05-20T20:02:17.000Z | 2022-01-14T12:26:24.000Z | //---------------------------------------------------------------------------//
// Copyright (c) 2018-2021 Mikhail Komarov <nemo@nil.foundation>
// Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation>
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of th... | 49.184615 | 119 | 0.546137 | NoamDev |
817b163d5f742b538041b760bfc108d0a1cb4fec | 1,317 | cpp | C++ | Plugins/DlgSystem/Source/DlgSystemEditor/Private/DialogueEditor/Graph/SchemaActions/NewComment_DialogueGraphSchemaAction.cpp | denfrost/DlgSystem | e8e65b8e77ebaad9071dafed3c6dccc55c9aaa23 | [
"MIT"
] | null | null | null | Plugins/DlgSystem/Source/DlgSystemEditor/Private/DialogueEditor/Graph/SchemaActions/NewComment_DialogueGraphSchemaAction.cpp | denfrost/DlgSystem | e8e65b8e77ebaad9071dafed3c6dccc55c9aaa23 | [
"MIT"
] | null | null | null | Plugins/DlgSystem/Source/DlgSystemEditor/Private/DialogueEditor/Graph/SchemaActions/NewComment_DialogueGraphSchemaAction.cpp | denfrost/DlgSystem | e8e65b8e77ebaad9071dafed3c6dccc55c9aaa23 | [
"MIT"
] | null | null | null | // Copyright 2017-2018 Csaba Molnar, Daniel Butum
#include "NewComment_DialogueGraphSchemaAction.h"
#include "ScopedTransaction.h"
#include "EdGraphNode_Comment.h"
#include "DialogueEditor/DialogueEditorUtilities.h"
#define LOCTEXT_NAMESPACE "NewComment_DialogueGraphSchemaAction"
///////////////////////////////////... | 39.909091 | 143 | 0.744875 | denfrost |
817bbc88fc0a18ff51f05c50dd8c600457b3c84e | 4,512 | cpp | C++ | core/src/data/tileSource.cpp | flyskyosg/tangram-es | 7d0d7297485fdb388455b15810690c1568bdbedb | [
"MIT"
] | null | null | null | core/src/data/tileSource.cpp | flyskyosg/tangram-es | 7d0d7297485fdb388455b15810690c1568bdbedb | [
"MIT"
] | null | null | null | core/src/data/tileSource.cpp | flyskyosg/tangram-es | 7d0d7297485fdb388455b15810690c1568bdbedb | [
"MIT"
] | 1 | 2019-08-31T14:43:29.000Z | 2019-08-31T14:43:29.000Z | #include "data/tileSource.h"
#include "data/formats/geoJson.h"
#include "data/formats/mvt.h"
#include "data/formats/topoJson.h"
#include "data/tileData.h"
#include "platform.h"
#include "tile/tileID.h"
#include "tile/tile.h"
#include "tile/tileTask.h"
#include "log.h"
#include <atomic>
#include <functional>
namespac... | 29.684211 | 108 | 0.672651 | flyskyosg |
817d9f34d37507b0c168d13ff88f415f94b5604e | 1,455 | cpp | C++ | z2/src/WyrazenieZesp.cpp | MultiMixization/ZadanieLiczbyZepsolone | c6e4d0d66497bd5347a23e17714f1777a9678fbc | [
"MIT"
] | null | null | null | z2/src/WyrazenieZesp.cpp | MultiMixization/ZadanieLiczbyZepsolone | c6e4d0d66497bd5347a23e17714f1777a9678fbc | [
"MIT"
] | null | null | null | z2/src/WyrazenieZesp.cpp | MultiMixization/ZadanieLiczbyZepsolone | c6e4d0d66497bd5347a23e17714f1777a9678fbc | [
"MIT"
] | null | null | null | #include "WyrazenieZesp.hh"
using std::cout;
using std::cin;
/*
* Tu nalezy zdefiniowac funkcje, ktorych zapowiedzi znajduja sie
* w pliku naglowkowym.
*/
std::istream & operator >> (std::istream & strm, Operator & Op)
{
char znak;
strm >> znak;
switch(znak)
{
case '+':
Op=Op_Dodaj;
brea... | 17.321429 | 68 | 0.557388 | MultiMixization |
817e3f64bda16866e8621b3636cb867ae911509a | 49 | cpp | C++ | epoxy/epoxy_adapter.cpp | frutiger/epoxy | ae453acddeabe5c8e456bc3cfa2a6a35f18cd993 | [
"MIT"
] | 1 | 2019-08-12T19:05:10.000Z | 2019-08-12T19:05:10.000Z | epoxy/epoxy_adapter.cpp | frutiger/epoxy | ae453acddeabe5c8e456bc3cfa2a6a35f18cd993 | [
"MIT"
] | null | null | null | epoxy/epoxy_adapter.cpp | frutiger/epoxy | ae453acddeabe5c8e456bc3cfa2a6a35f18cd993 | [
"MIT"
] | null | null | null | // epoxy_adapter.cpp
#include <epoxy_adapter.h>
| 12.25 | 26 | 0.755102 | frutiger |
817e85987e99618d4499db11459e34b90e714d99 | 1,954 | cpp | C++ | firmware/src/lib/simple_fs/mock_spi_flash.cpp | rundb/dictofun | cc9d80da88819095ef0fdcdf816d976c2afa4eba | [
"Apache-2.0"
] | 6 | 2021-10-07T18:34:51.000Z | 2022-02-03T20:34:26.000Z | firmware/src/lib/simple_fs/mock_spi_flash.cpp | rundb/dictofun | cc9d80da88819095ef0fdcdf816d976c2afa4eba | [
"Apache-2.0"
] | 29 | 2021-10-08T20:37:47.000Z | 2022-03-18T20:27:53.000Z | firmware/src/lib/simple_fs/mock_spi_flash.cpp | rundb/dictofun | cc9d80da88819095ef0fdcdf816d976c2afa4eba | [
"Apache-2.0"
] | 2 | 2021-10-06T16:13:56.000Z | 2021-10-08T20:42:56.000Z | // SPDX-License-Identifier: Apache-2.0
/*
* Copyright (c) 2022, Roman Turkin
*/
#include "simple_fs.h"
#include <cstring>
#include <iostream>
using namespace std;
namespace test
{
// Simulating a standard 128Mbit memory (16 Mb)
constexpr size_t MOCK_MEMORY_SIZE = 16 * 1024 * 1024;
constexpr size_t PAGE_SIZE = 256... | 27.138889 | 97 | 0.66479 | rundb |
818230de7f12ce5819ad5de75759369dfb91b5c0 | 2,483 | cpp | C++ | ql/experimental/mcbasket/mcpathbasketengine.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/experimental/mcbasket/mcpathbasketengine.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/experimental/mcbasket/mcpathbasketengine.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 Andrea Odetti
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/o... | 37.059701 | 126 | 0.633911 | haozhangphd |
81826b98faa4efe5e6045b8c40c4f324e4fd52da | 5,907 | cpp | C++ | cdn/src/v20180606/model/DescribeScdnTopDataResponse.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | cdn/src/v20180606/model/DescribeScdnTopDataResponse.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | cdn/src/v20180606/model/DescribeScdnTopDataResponse.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 32.103261 | 116 | 0.651261 | sinjoywong |
8182f224703d26592752b7379baa92655afc0d1c | 6,897 | cpp | C++ | cpp/libs/src/opendnp3/link/LinkFrame.cpp | Kisensum/dnp3 | 0b525927562eb052e9406075811b283d80975bf8 | [
"Apache-2.0"
] | 1 | 2022-03-29T03:58:06.000Z | 2022-03-29T03:58:06.000Z | deps/dnp3/cpp/libs/src/opendnp3/link/LinkFrame.cpp | danilob2/pyopendnp3_mac | c6b8297f6817555ebff28293bef82e9bffddc1fd | [
"Apache-2.0"
] | null | null | null | deps/dnp3/cpp/libs/src/opendnp3/link/LinkFrame.cpp | danilob2/pyopendnp3_mac | c6b8297f6817555ebff28293bef82e9bffddc1fd | [
"Apache-2.0"
] | 1 | 2021-07-21T03:15:18.000Z | 2021-07-21T03:15:18.000Z | /*
* Licensed to Green Energy Corp (www.greenenergycorp.com) under one or
* more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Green Energy Corp licenses this file to you under the Apache License,
* Version 2.0 (the "Lic... | 34.313433 | 189 | 0.723213 | Kisensum |
8186de96d2122fd23010c2e66f15007decfe4258 | 13,534 | cc | C++ | spartyjet-4.0.2_mac/External/fastjet-3.0.0/src/JetDefinition.cc | mickypaganini/SSI2016-jet-clustering | a340558957f55159197e845850fc16e622082e7e | [
"MIT"
] | 3 | 2018-06-15T09:12:17.000Z | 2021-06-20T15:58:21.000Z | spartyjet-4.0.2_mac/External/fastjet-3.0.0/src/JetDefinition.cc | mickypaganini/SSI2016-jet-clustering | a340558957f55159197e845850fc16e622082e7e | [
"MIT"
] | 1 | 2016-08-19T23:48:43.000Z | 2016-08-20T01:01:34.000Z | spartyjet-4.0.2_mac/External/fastjet-3.0.0/src/JetDefinition.cc | mickypaganini/SSI2016-jet-clustering | a340558957f55159197e845850fc16e622082e7e | [
"MIT"
] | 6 | 2016-08-18T23:16:00.000Z | 2020-04-13T01:13:20.000Z | //STARTHEADER
// $Id: JetDefinition.cc 2588 2011-09-17 06:27:32Z salam $
//
// Copyright (c) 2005-2011, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
//
//----------------------------------------------------------------------
// This file is part of FastJet.
//
// FastJet is free software; you can redistribute it ... | 35.244792 | 144 | 0.644894 | mickypaganini |
8187745f7e3bcc9c19ac222aeaa35ee6bf4c9b29 | 1,277 | cpp | C++ | test/correctness/extern_sort.cpp | mikeseven/Halide | 739513cc290d0351b69cedd31829032788bc3a7e | [
"MIT"
] | 1 | 2019-08-16T21:18:48.000Z | 2019-08-16T21:18:48.000Z | test/correctness/extern_sort.cpp | mikeseven/Halide | 739513cc290d0351b69cedd31829032788bc3a7e | [
"MIT"
] | null | null | null | test/correctness/extern_sort.cpp | mikeseven/Halide | 739513cc290d0351b69cedd31829032788bc3a7e | [
"MIT"
] | null | null | null | #include <Halide.h>
#include <stdio.h>
#include <algorithm>
using namespace Halide;
#ifdef _MSC_VER
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT
#endif
// Use an extern stage to do a sort
extern "C" DLLEXPORT int sort_buffer(buffer_t *in, buffer_t *out) {
if (!in->host) {
in->min[0] = ... | 23.218182 | 70 | 0.606108 | mikeseven |
8189ad4d84cffe7cd66a7da5eea8304425b9c383 | 601 | cpp | C++ | src/parser/transform/statement/transform_delete.cpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | 2 | 2020-01-07T17:19:02.000Z | 2020-01-09T22:04:04.000Z | src/parser/transform/statement/transform_delete.cpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | src/parser/transform/statement/transform_delete.cpp | RelationalAI-oss/duckdb | a4908ae17de3ac62d42633ada03077b8c3ead7a5 | [
"MIT"
] | null | null | null | #include "duckdb/parser/statement/delete_statement.hpp"
#include "duckdb/parser/transformer.hpp"
using namespace duckdb;
using namespace std;
unique_ptr<DeleteStatement> Transformer::TransformDelete(postgres::Node *node) {
auto stmt = reinterpret_cast<postgres::DeleteStmt *>(node);
assert(stmt);
auto result = make... | 31.631579 | 80 | 0.770383 | RelationalAI-oss |
818c43491286cc8f73f8a65a56f6a54f4c2c8b2d | 13,386 | cpp | C++ | source/annotator/source/main/mainwindow.cpp | annotatorproject/annotator | 637b7469051b7f5ab3c9994de458fd8a1cafdb70 | [
"Apache-2.0"
] | null | null | null | source/annotator/source/main/mainwindow.cpp | annotatorproject/annotator | 637b7469051b7f5ab3c9994de458fd8a1cafdb70 | [
"Apache-2.0"
] | null | null | null | source/annotator/source/main/mainwindow.cpp | annotatorproject/annotator | 637b7469051b7f5ab3c9994de458fd8a1cafdb70 | [
"Apache-2.0"
] | null | null | null | // Copyright 2015-2017 Annotator Team
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <string>
#include <AnnotatorLib/Annotation.h>
#include <AnnotatorLib/Commands/CleanSession.h>
#include <AnnotatorLib/Commands/CompressSession.h>
#include <QApplication>
#include <QCheckBox>
#include <QDebug>
#include <... | 33.215881 | 80 | 0.708726 | annotatorproject |
818dd04aa637d30278cf11ecd1982abbdadbc877 | 15,269 | cpp | C++ | source/flashplayer/brflashmanager.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/flashplayer/brflashmanager.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/flashplayer/brflashmanager.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
Flash player manager
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anything, just gi... | 28.918561 | 99 | 0.62676 | Olde-Skuul |
818ec90634660c0f090307c219f591f551b378cf | 381 | cpp | C++ | xlloption/fms_sequence_constant.t.cpp | GR6250-2019/hw6 | 13a78ed4474c5e37b82a3ded10eef95b706e382b | [
"MIT"
] | null | null | null | xlloption/fms_sequence_constant.t.cpp | GR6250-2019/hw6 | 13a78ed4474c5e37b82a3ded10eef95b706e382b | [
"MIT"
] | null | null | null | xlloption/fms_sequence_constant.t.cpp | GR6250-2019/hw6 | 13a78ed4474c5e37b82a3ded10eef95b706e382b | [
"MIT"
] | null | null | null | // fms_sequence_constant.t.cpp - Test constant sequences.
#include <cassert>
#include "fms_sequence_constant.h"
using namespace fms::sequence;
int test_sequence_constant()
{
constant c(42);
assert(c);
assert(*c == 42);
assert(++c && *c == 42);
assert(++c && *c == 42);
return 0;
... | 21.166667 | 58 | 0.632546 | GR6250-2019 |
818f3a500a98130d2fe8195675a4ca73230bd91e | 1,924 | cc | C++ | common/test/drake_assert_test.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 2 | 2021-02-25T02:01:02.000Z | 2021-03-17T04:52:04.000Z | common/test/drake_assert_test.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | null | null | null | common/test/drake_assert_test.cc | RobotLocomotion/drake-python3.7 | ae397a4c6985262d23e9675b9bf3927c08d027f5 | [
"BSD-3-Clause"
] | 1 | 2021-06-13T12:05:39.000Z | 2021-06-13T12:05:39.000Z | #include "drake/common/drake_assert.h"
#include <string>
#include <vector>
#include <gtest/gtest.h>
namespace {
GTEST_TEST(DrakeAssertTest, MatchingConfigTest) {
#ifdef DRAKE_ASSERT_IS_ARMED
EXPECT_TRUE(::drake::kDrakeAssertIsArmed);
EXPECT_FALSE(::drake::kDrakeAssertIsDisarmed);
#else
EXPECT_FALSE(::drake::k... | 27.884058 | 77 | 0.706861 | RobotLocomotion |
818f3e012c9ae59bb19734c573c19f48e1f5eaf9 | 4,067 | cpp | C++ | libs/besiq/method/peer_method.cpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 1 | 2015-10-21T14:22:12.000Z | 2015-10-21T14:22:12.000Z | libs/besiq/method/peer_method.cpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2019-05-26T20:52:31.000Z | 2019-05-28T16:19:49.000Z | libs/besiq/method/peer_method.cpp | hoehleatsu/besiq | 94959e2819251805e19311ce377919e6bccb7bf9 | [
"BSD-3-Clause"
] | 2 | 2016-11-06T14:58:37.000Z | 2019-05-26T14:03:13.000Z | #include <dcdflib/libdcdf.hpp>
#include <besiq/method/peer_method.hpp>
#include <besiq/stats/snp_count.hpp>
peer_method::peer_method(method_data_ptr data)
: method_type::method_type( data )
{
m_weight = arma::ones<arma::vec>( data->phenotype.size( ) );
}
std::vector<std::string>
peer_method::init()
{
std::vec... | 35.365217 | 128 | 0.588886 | hoehleatsu |
81913ee91dd7b1b46d1e7227740ec4e5c2bf7d91 | 2,606 | cpp | C++ | Employee-database-test-v1/Employee-database-test-v1.cpp | TheJoyfulProgrammer/My-CPP-Demos | 1c19cb2bdf041e788c141a7816f37c264e106411 | [
"MIT"
] | null | null | null | Employee-database-test-v1/Employee-database-test-v1.cpp | TheJoyfulProgrammer/My-CPP-Demos | 1c19cb2bdf041e788c141a7816f37c264e106411 | [
"MIT"
] | null | null | null | Employee-database-test-v1/Employee-database-test-v1.cpp | TheJoyfulProgrammer/My-CPP-Demos | 1c19cb2bdf041e788c141a7816f37c264e106411 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <fstream>
int main ()
{
std::fstream DatabaseFile;
std::string EmployeeID, EmployeeName, EmployeeAddress, EmployeePhone, EmployeeDepartment;
std::string EmployeePosition, EmployeeHiredDate, EmployeeRatePerDay, EmployeeRatePerHour, EmployeeOvertimeRate... | 40.092308 | 116 | 0.605909 | TheJoyfulProgrammer |
81928e3f6e8c1667a72587f1209edac785ec4709 | 5,902 | cpp | C++ | OpenTESArena/src/Interface/Panel.cpp | Digital-Monk/OpenTESArena | 95f0bdaa642ff090b94081795a53b00f10dc4b03 | [
"MIT"
] | null | null | null | OpenTESArena/src/Interface/Panel.cpp | Digital-Monk/OpenTESArena | 95f0bdaa642ff090b94081795a53b00f10dc4b03 | [
"MIT"
] | null | null | null | OpenTESArena/src/Interface/Panel.cpp | Digital-Monk/OpenTESArena | 95f0bdaa642ff090b94081795a53b00f10dc4b03 | [
"MIT"
] | null | null | null | #include <vector>
#include "SDL.h"
#include "CinematicPanel.h"
#include "CursorAlignment.h"
#include "ImageSequencePanel.h"
#include "ImagePanel.h"
#include "MainMenuPanel.h"
#include "Panel.h"
#include "RichTextString.h"
#include "TextAlignment.h"
#include "TextBox.h"
#include "../Game/Game.h"
#include... | 25.222222 | 84 | 0.689258 | Digital-Monk |
8193a7552545c3c7fef8863bf87bb19cd2ff5007 | 154 | cpp | C++ | public/similarity_plugin/input/10/12/10 12 5112100047--Fungsi Hello World!.cpp | laurensiusadi/elearning-pweb | c72ae1fc414895919ef71ae370686353d9086bce | [
"MIT"
] | null | null | null | public/similarity_plugin/input/10/12/10 12 5112100047--Fungsi Hello World!.cpp | laurensiusadi/elearning-pweb | c72ae1fc414895919ef71ae370686353d9086bce | [
"MIT"
] | null | null | null | public/similarity_plugin/input/10/12/10 12 5112100047--Fungsi Hello World!.cpp | laurensiusadi/elearning-pweb | c72ae1fc414895919ef71ae370686353d9086bce | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
void Print() {
cout << "Hello World!" << endl;
}
int main() {
int aaaa = 2;
print();
return 0;
} | 12.833333 | 35 | 0.558442 | laurensiusadi |
8197c5251a077d9db633561873ba87a0bcb532e8 | 8,273 | cpp | C++ | Util/OSM2ODR/src/utils/common/MsgHandler.cpp | adelbennaceur/carla | 4d6fefe73d38f0ffaef8ffafccf71245699fc5db | [
"MIT"
] | 5 | 2020-12-14T00:33:42.000Z | 2021-12-22T07:41:49.000Z | Util/OSM2ODR/src/utils/common/MsgHandler.cpp | adelbennaceur/carla | 4d6fefe73d38f0ffaef8ffafccf71245699fc5db | [
"MIT"
] | 2 | 2021-03-31T19:58:35.000Z | 2021-12-13T20:47:16.000Z | Util/OSM2ODR/src/utils/common/MsgHandler.cpp | adelbennaceur/carla | 4d6fefe73d38f0ffaef8ffafccf71245699fc5db | [
"MIT"
] | 4 | 2021-04-15T03:45:53.000Z | 2021-12-24T13:13:39.000Z | /****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2001-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... | 28.825784 | 103 | 0.630726 | adelbennaceur |
8197cae9d0f44b931522e2aeae17ed6fd9902dfa | 19,411 | cpp | C++ | Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeParameterNode.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-08-08T19:54:51.000Z | 2021-08-08T19:54:51.000Z | Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeParameterNode.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/EMotionFX/Code/EMotionFX/Source/BlendTreeParameterNode.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/Serialization/SerializeContext.h>
#include <AzCore/Serialization/EditContext.h>
#... | 37.764591 | 183 | 0.633404 | sandeel31 |
8198d1fef53f71d33f40f519f595842d8db97b5b | 3,018 | cpp | C++ | QmlVlcConfig.cpp | mdkcore0/QmlVlc | 67c764d72dd6c45f47322b0da4e10fa94c60aabe | [
"BSD-2-Clause"
] | null | null | null | QmlVlcConfig.cpp | mdkcore0/QmlVlc | 67c764d72dd6c45f47322b0da4e10fa94c60aabe | [
"BSD-2-Clause"
] | null | null | null | QmlVlcConfig.cpp | mdkcore0/QmlVlc | 67c764d72dd6c45f47322b0da4e10fa94c60aabe | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2014, Sergey Radionov <rsatom_gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Red... | 38.692308 | 80 | 0.680583 | mdkcore0 |
819bf7d4469ce00e40d22618123389fa3b931b08 | 6,382 | cpp | C++ | test/console_tests.cpp | bponsler/ros2_console | 2ad033046a1d72c509f20d6478fa86ecf21fc6be | [
"Apache-2.0"
] | null | null | null | test/console_tests.cpp | bponsler/ros2_console | 2ad033046a1d72c509f20d6478fa86ecf21fc6be | [
"Apache-2.0"
] | null | null | null | test/console_tests.cpp | bponsler/ros2_console | 2ad033046a1d72c509f20d6478fa86ecf21fc6be | [
"Apache-2.0"
] | 2 | 2017-07-31T05:25:47.000Z | 2017-12-07T22:14:49.000Z | // project headers
#include <ros2_console/console.hpp>
// gtest includes
#include <gtest/gtest.h>
TEST(TimeTestSuite, testRegularNoArgs)
{
ROS_DEBUG("Empty format");
ROS_INFO("Empty format");
ROS_WARN("Empty format");
ROS_ERROR("Empty format");
ROS_FATAL("Empty format");
}
TEST(TimeTestSuite, testRegular)... | 38.215569 | 89 | 0.623316 | bponsler |
819d02aa678c629cbf59da927a1341b0fb71b6d3 | 2,570 | cpp | C++ | Code/Editor/EditorFramework/Manipulators/Implementation/SphereManipulatorAdapter.cpp | jakrams/ezEngine | 2308f9d708f829b1716f54d3f79bbd262bb86132 | [
"MIT"
] | null | null | null | Code/Editor/EditorFramework/Manipulators/Implementation/SphereManipulatorAdapter.cpp | jakrams/ezEngine | 2308f9d708f829b1716f54d3f79bbd262bb86132 | [
"MIT"
] | null | null | null | Code/Editor/EditorFramework/Manipulators/Implementation/SphereManipulatorAdapter.cpp | jakrams/ezEngine | 2308f9d708f829b1716f54d3f79bbd262bb86132 | [
"MIT"
] | null | null | null | #include <EditorFramework/EditorFrameworkPCH.h>
#include <EditorFramework/DocumentWindow/EngineDocumentWindow.moc.h>
#include <EditorFramework/Manipulators/SphereManipulatorAdapter.h>
#include <ToolsFoundation/Object/ObjectAccessorBase.h>
ezSphereManipulatorAdapter::ezSphereManipulatorAdapter() {}
ezSphereManipulato... | 32.531646 | 141 | 0.781712 | jakrams |
819df6ee663d958de8e512c3d900bb02e602818a | 3,474 | hpp | C++ | modules/sdk/include/nt2/sdk/simd/details/impl/vmx/altivec/map.hpp | brycelelbach/nt2 | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | [
"BSL-1.0"
] | 1 | 2022-03-24T03:35:10.000Z | 2022-03-24T03:35:10.000Z | modules/sdk/include/nt2/sdk/simd/details/impl/vmx/altivec/map.hpp | brycelelbach/nt2 | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | [
"BSL-1.0"
] | null | null | null | modules/sdk/include/nt2/sdk/simd/details/impl/vmx/altivec/map.hpp | brycelelbach/nt2 | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | [
"BSL-1.0"
] | null | null | null | /*******************************************************************************
* Copyright 2003 & onward LASMEA UMR 6602 CNRS/Univ. Clermont II
* Copyright 2009 & onward LRI UMR 8623 CNRS/Univ Paris Sud XI
*
* Distributed under the Boost Software License, Version 1.0.
* ... | 48.929577 | 80 | 0.444444 | brycelelbach |
819e927177c379f25985635b5d963f61fe06516b | 1,328 | cpp | C++ | src/Utils/TextUtils.cpp | magnusnordlander/fifty-fifty | 4628cd19bbabd7dff08d83e0fab6dac301e382b7 | [
"MIT"
] | 4 | 2021-02-19T22:08:26.000Z | 2022-01-17T20:27:22.000Z | src/Utils/TextUtils.cpp | magnusnordlander/fifty-fifty | 4628cd19bbabd7dff08d83e0fab6dac301e382b7 | [
"MIT"
] | null | null | null | src/Utils/TextUtils.cpp | magnusnordlander/fifty-fifty | 4628cd19bbabd7dff08d83e0fab6dac301e382b7 | [
"MIT"
] | 2 | 2021-02-16T21:14:12.000Z | 2021-05-12T06:51:08.000Z | //
// Created by Magnus Nordlander on 2021-02-14.
//
#include "TextUtils.h"
#include <avr/dtostrf.h>
void drawLargeFloatWithUnits(U8G2 display, float target, const char *unit, unsigned short y, signed char width, unsigned char prec) {
char targetAsString[25];
dtostrf(target, width, prec, targetAsString);
... | 25.056604 | 133 | 0.64006 | magnusnordlander |
819faf953b8b078fed9e3da98544ec8204ce7850 | 9,608 | cpp | C++ | third party/openRTMFP-Cumulus/CumulusLib/sources/Flow.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | 5 | 2015-04-30T09:08:30.000Z | 2018-08-13T05:00:39.000Z | third party/openRTMFP-Cumulus/CumulusLib/sources/Flow.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | third party/openRTMFP-Cumulus/CumulusLib/sources/Flow.cpp | Patrick-Bay/SocialCastr | 888a57ca63037e566f6c0bf03a646ae91b484086 | [
"MIT"
] | null | null | null | /*
Copyright 2010 OpenRTMFP
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in... | 25.68984 | 242 | 0.688905 | Patrick-Bay |
81a1256d3bd02ee98da5948f0fa0a03b3c18cd82 | 54 | hpp | C++ | waf/playground/eclipse/c/exLibC/src/include/pkg1/exLibC/exLibC.hpp | yankee14/reflow-oven-atmega328p | e6792143576f13f0a3a49edfd54dbb2ef851d95a | [
"Apache-2.0"
] | null | null | null | waf/playground/eclipse/c/exLibC/src/include/pkg1/exLibC/exLibC.hpp | yankee14/reflow-oven-atmega328p | e6792143576f13f0a3a49edfd54dbb2ef851d95a | [
"Apache-2.0"
] | null | null | null | waf/playground/eclipse/c/exLibC/src/include/pkg1/exLibC/exLibC.hpp | yankee14/reflow-oven-atmega328p | e6792143576f13f0a3a49edfd54dbb2ef851d95a | [
"Apache-2.0"
] | null | null | null |
#define HELLO_LIMIT 5
int check_smaller(int value);
| 10.8 | 29 | 0.777778 | yankee14 |
81a34ad5b1dbf67dab087dbe0feb14c898df9b56 | 2,741 | cpp | C++ | source/code/programs/transcompilers/hcp-compiler/bootstrap/core/structure_state/lib.cpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 33 | 2019-05-30T07:43:32.000Z | 2021-12-30T13:12:32.000Z | source/code/programs/transcompilers/hcp-compiler/bootstrap/core/structure_state/lib.cpp | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 371 | 2019-05-16T15:23:50.000Z | 2021-09-04T15:45:27.000Z | source/code/programs/transcompilers/hcp-compiler/bootstrap/core/structure_state/lib.cpp | UniLang/compiler | c338ee92994600af801033a37dfb2f1a0c9ca897 | [
"MIT"
] | 6 | 2019-08-22T17:37:36.000Z | 2020-11-07T07:15:32.000Z | #include "code/programs/transcompilers/hcp-compiler/bootstrap/core/structure_state/lib.hpp"
/**
* \brief converts a Structure_State to a string representation.
*
* the function takes any value of Structure_State and returns the string representation of that value.
*
* \param[in] enum_structure_state the Structu... | 53.745098 | 156 | 0.773076 | luxe |
81a945facf9c1822f0e941976ac904fd630e04dd | 3,078 | hpp | C++ | include/common/to_geojson.hpp | TheMarex/charge | 85e35f7a6c8b8c161ecd851124d1363d5a450573 | [
"BSD-2-Clause"
] | 13 | 2018-03-09T14:37:31.000Z | 2021-07-27T06:56:35.000Z | include/common/to_geojson.hpp | AlexBlazee/charge | 85e35f7a6c8b8c161ecd851124d1363d5a450573 | [
"BSD-2-Clause"
] | null | null | null | include/common/to_geojson.hpp | AlexBlazee/charge | 85e35f7a6c8b8c161ecd851124d1363d5a450573 | [
"BSD-2-Clause"
] | 10 | 2018-04-14T02:27:32.000Z | 2021-06-13T23:30:44.000Z | #ifndef CHARGE_COMMON_TO_GEOJSON_HPP
#define CHARGE_COMMON_TO_GEOJSON_HPP
#include "common/coordinate.hpp"
#include "common/irange.hpp"
#include "common/search_space.hpp"
#include <json.hpp>
#include <sstream>
#include <string>
#include <vector>
namespace charge {
namespace common {
using json = nlohmann::json;
n... | 31.408163 | 97 | 0.674139 | TheMarex |
81a9e06465b419a72e02a13ee00aad999e207e52 | 7,787 | hpp | C++ | module-apps/apps-common/messages/AppMessage.hpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 1 | 2022-01-09T18:03:54.000Z | 2022-01-09T18:03:54.000Z | module-apps/apps-common/messages/AppMessage.hpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | null | null | null | module-apps/apps-common/messages/AppMessage.hpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include "Common.hpp"
#include "popups/Disposition.hpp"
#include "SwitchData.hpp"
#include "gui/input/InputEvent.hpp"
#include "BaseAppMessage.hpp"
#include "AppSwitchRea... | 30.417969 | 120 | 0.583537 | bitigchi |
81ab333630250bf0b6cc8d485148a0564974f1c8 | 19,863 | cpp | C++ | dof-mgr/test/dofmngr_test/tGlobalIndexerUtilities.cpp | hillyuan/Tianxin | 57c7a5ed2466dda99471dec41cd85878335774d7 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T03:49:50.000Z | 2022-03-22T03:49:50.000Z | dof-mgr/test/dofmngr_test/tGlobalIndexerUtilities.cpp | hillyuan/Tianxin | 57c7a5ed2466dda99471dec41cd85878335774d7 | [
"BSD-3-Clause"
] | null | null | null | dof-mgr/test/dofmngr_test/tGlobalIndexerUtilities.cpp | hillyuan/Tianxin | 57c7a5ed2466dda99471dec41cd85878335774d7 | [
"BSD-3-Clause"
] | null | null | null | // @HEADER
// ***********************************************************************
//
// Panzer: A partial differential equation assembly
// engine for strongly coupled complex multiphysics systems
// Copyright (2011) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85... | 38.12476 | 132 | 0.704274 | hillyuan |
81abcf76df6bd2c3f22179b9abe5d4559390bb3d | 5,701 | cpp | C++ | src/demi/misc/win32/Win32Thread.cpp | wangyanxing/Demi3D | 73e684168bd39b894f448779d41fab600ba9b150 | [
"MIT"
] | 10 | 2015-03-04T04:27:15.000Z | 2020-06-04T14:06:47.000Z | src/demi/misc/win32/Win32Thread.cpp | wangyanxing/Demi3D | 73e684168bd39b894f448779d41fab600ba9b150 | [
"MIT"
] | null | null | null | src/demi/misc/win32/Win32Thread.cpp | wangyanxing/Demi3D | 73e684168bd39b894f448779d41fab600ba9b150 | [
"MIT"
] | 5 | 2015-10-17T19:09:58.000Z | 2021-11-15T23:42:18.000Z | /**********************************************************************
This source file is a part of Demi3D
__ ___ __ __ __
| \|_ |\/|| _)| \
|__/|__| || __)|__/
Copyright (c) 2013-2014 Demi team
https://github.com/wangyanxing/Demi3D
Released under the MIT License
https://github.com/wangyanxing/De... | 30.164021 | 88 | 0.587265 | wangyanxing |
81adbead1e8f7e174982e55c22f9bb37bc109cc6 | 1,748 | cpp | C++ | src/core/bsdfs/MirrorBsdf.cpp | chaosink/tungsten | 88ea02044dbaf20472a8173b6752460b50c096d8 | [
"Apache-2.0",
"Unlicense"
] | 1,655 | 2015-01-12T13:05:37.000Z | 2022-03-31T13:37:57.000Z | src/core/bsdfs/MirrorBsdf.cpp | chaosink/tungsten | 88ea02044dbaf20472a8173b6752460b50c096d8 | [
"Apache-2.0",
"Unlicense"
] | 65 | 2015-01-13T08:34:28.000Z | 2021-06-08T05:07:58.000Z | src/core/bsdfs/MirrorBsdf.cpp | chaosink/tungsten | 88ea02044dbaf20472a8173b6752460b50c096d8 | [
"Apache-2.0",
"Unlicense"
] | 190 | 2015-01-12T14:53:05.000Z | 2022-03-30T17:30:00.000Z | #include "MirrorBsdf.hpp"
#include "samplerecords/SurfaceScatterEvent.hpp"
#include "sampling/PathSampleGenerator.hpp"
#include "sampling/SampleWarp.hpp"
#include "math/MathUtil.hpp"
#include "math/Angle.hpp"
#include "math/Vec.hpp"
#include "io/JsonObject.hpp"
namespace Tungsten {
MirrorBsdf::MirrorBsdf()
{
... | 26.089552 | 105 | 0.714531 | chaosink |
81ae7d0b15c21de9c7fb33de21e390bdb270ebef | 13,500 | cpp | C++ | api/logic/Commandline.cpp | Jorch72/CPP-MultiMC5 | a279df8bdaee22ca04073a193294fd0e6dd2a313 | [
"Apache-2.0"
] | 1 | 2021-08-02T06:19:35.000Z | 2021-08-02T06:19:35.000Z | api/logic/Commandline.cpp | Jorch72/CPP-MultiMC5 | a279df8bdaee22ca04073a193294fd0e6dd2a313 | [
"Apache-2.0"
] | null | null | null | api/logic/Commandline.cpp | Jorch72/CPP-MultiMC5 | a279df8bdaee22ca04073a193294fd0e6dd2a313 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2013-2018 MultiMC Contributors
*
* Authors: Orochimarufan <orochimarufan.x3@gmail.com>
*
* 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/licen... | 27.950311 | 96 | 0.520963 | Jorch72 |
81aea0d92e6f9ebc534a019d3bb3fcea607440b4 | 13,957 | cpp | C++ | private/shell/shdocvw/url.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/shell/shdocvw/url.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/shell/shdocvw/url.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z |
/*
* url.cpp - IUniformResourceLocator implementation for InternetShortcut class.
*/
/* Headers
**********/
#include "priv.h"
#pragma hdrstop
#define INC_OLE2
#include "intshcut.h"
/* Module Constants
*******************/
const TCHAR c_szURLPrefixesKey[] = TEXT("Software\\Microsoft\\... | 31.648526 | 116 | 0.547109 | King0987654 |