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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1651082bd716f0a2a479444b9518d6853ee92edd | 1,030 | cpp | C++ | ycitoj/week1/a.cpp | Zilanlann/cp-code | 0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a | [
"MIT"
] | 3 | 2022-03-30T14:14:57.000Z | 2022-03-31T04:30:32.000Z | ycitoj/week1/a.cpp | Zilanlann/cp-code | 0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a | [
"MIT"
] | null | null | null | ycitoj/week1/a.cpp | Zilanlann/cp-code | 0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#define ll int64_t
#define endl "\n"
using namespace std;
void solve(){
int n;
cin >> n;
vector<int> vec1, vec2;
for (int i = 0; i < n; i++){
string str;
cin >> str;
vec1.push_back(str[str.size() - 1] - '0');
}
for (int i = 0; i < ... | 19.433962 | 82 | 0.405825 | Zilanlann |
16516fc0b786ded2ab5ebcc4de3c9cd866b2eadf | 1,617 | hpp | C++ | Applications/Topper/plugins/Topper.Workbench/src/RootEntity.hpp | hatboysoftware/helmet | 97f26d134742fdb732abc6177bb2adaeb67b3187 | [
"Zlib"
] | 2 | 2018-02-07T01:19:37.000Z | 2018-02-09T14:27:48.000Z | Applications/Topper/plugins/Topper.Workbench/src/RootEntity.hpp | hatboysoftware/helmet | 97f26d134742fdb732abc6177bb2adaeb67b3187 | [
"Zlib"
] | null | null | null | Applications/Topper/plugins/Topper.Workbench/src/RootEntity.hpp | hatboysoftware/helmet | 97f26d134742fdb732abc6177bb2adaeb67b3187 | [
"Zlib"
] | null | null | null | //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
// Topper Trading Workbench
//
// Copyright (C) 2018 Hat Boy Software, Inc.
//
// @author Matthew Alan Gray - <mgray@hatboysoftware.com>
//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
#pragma once
#inclu... | 24.876923 | 80 | 0.413729 | hatboysoftware |
1653357bb6b8dac9a58649f9020b6b74bbca2582 | 1,250 | cpp | C++ | test/result_type_test.cpp | ToruNiina/Boost.toml | 0d29d33834d29f476f2d1a0d9e2758660d3e8eb3 | [
"BSL-1.0"
] | 29 | 2018-06-01T14:40:07.000Z | 2022-01-24T12:57:09.000Z | test/result_type_test.cpp | ToruNiina/Boost.toml | 0d29d33834d29f476f2d1a0d9e2758660d3e8eb3 | [
"BSL-1.0"
] | 1 | 2019-12-07T22:33:37.000Z | 2019-12-09T19:49:50.000Z | test/result_type_test.cpp | ToruNiina/Boost.toml | 0d29d33834d29f476f2d1a0d9e2758660d3e8eb3 | [
"BSL-1.0"
] | 1 | 2020-07-13T20:57:48.000Z | 2020-07-13T20:57:48.000Z | #define BOOST_TEST_MODULE "result_type_test"
#include <boost/test/included/unit_test.hpp>
#include <toml/result.hpp>
#include <iostream>
#include <iomanip>
using namespace toml;
using namespace detail;
BOOST_AUTO_TEST_CASE(test_construction)
{
{
result<int, double> r(ok(42));
BOOST_CHECK(r);
... | 23.584906 | 48 | 0.572 | ToruNiina |
16541366bc006d93360704a60bc16f74e2fbeb30 | 3,432 | cpp | C++ | frontend/main.cpp | shahakash28/mPSI-TableOPPRF | 58a5b71e6af952b3df9bfc6a8eabc3762af9dde1 | [
"Unlicense"
] | 1 | 2021-12-26T09:37:34.000Z | 2021-12-26T09:37:34.000Z | frontend/main.cpp | shahakash28/mPSI-TableOPPRF | 58a5b71e6af952b3df9bfc6a8eabc3762af9dde1 | [
"Unlicense"
] | 2 | 2021-12-20T11:27:45.000Z | 2021-12-22T11:19:12.000Z | frontend/main.cpp | shahakash28/mPSI-TableOPPRF | 58a5b71e6af952b3df9bfc6a8eabc3762af9dde1 | [
"Unlicense"
] | null | null | null | //Modified by Nishka Dasgupta, Akash Shah
#include <iostream>
#include "Network/BtChannel.h"
#include "Network/BtEndpoint.h"
//#include "../MPCHonestMajority/MPSI_Party.h"
using namespace std;
#include "Common/Defines.h"
using namespace osuCrypto;
#include "OtBinMain.h"
#include "bitPosition.h"
#include <numeric>
#... | 21.185185 | 91 | 0.559149 | shahakash28 |
1656afae5dae168349052cbd3ecc196efe8ca034 | 15,007 | cpp | C++ | src/tests/add-ons/kernel/file_systems/bfs/r5/Journal.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 4 | 2017-06-17T22:03:56.000Z | 2019-01-25T10:51:55.000Z | src/tests/add-ons/kernel/file_systems/bfs/r5/Journal.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | null | null | null | src/tests/add-ons/kernel/file_systems/bfs/r5/Journal.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 3 | 2018-12-17T13:07:38.000Z | 2021-09-08T13:07:31.000Z | /*
* Copyright 2001-2008, Axel Dörfler, axeld@pinc-software.de
* This file may be used under the terms of the MIT License.
*/
//! Transaction and logging
#include "Journal.h"
#include "Inode.h"
#include <Drivers.h>
#include <util/kernel_cpp.h>
struct run_array {
int32 count;
int32 max_runs;
block_run runs[... | 24.12701 | 105 | 0.690078 | axeld |
165b49d4c77dc5232759996289928184e64b5dd0 | 6,553 | cpp | C++ | src/TransportUtilities.cpp | tamara-schmitz/audacity | df42c72ecfa663cab028f7932c4063c79aee6b9d | [
"CC-BY-3.0"
] | 2 | 2022-01-17T08:27:47.000Z | 2022-02-08T15:54:42.000Z | src/TransportUtilities.cpp | tamara-schmitz/audacity | df42c72ecfa663cab028f7932c4063c79aee6b9d | [
"CC-BY-3.0"
] | 70 | 2021-07-18T18:11:53.000Z | 2021-12-05T20:22:15.000Z | src/TransportUtilities.cpp | tamara-schmitz/audacity | df42c72ecfa663cab028f7932c4063c79aee6b9d | [
"CC-BY-3.0"
] | 2 | 2021-09-08T18:12:22.000Z | 2021-12-24T16:39:47.000Z | /**********************************************************************
Audacity: A Digital Audio Editor
@file TransportUtilities.cpp
@brief implements some UI related to starting and stopping play and record
Paul Licameli split from TransportMenus.cpp
*******************************************************... | 32.122549 | 90 | 0.647184 | tamara-schmitz |
165b62def89fd734df69b9cf20d42487fe28b944 | 1,367 | hpp | C++ | libraries/CMakeServerConnector/include/Messages/CodeModelResponse.hpp | Megaxela/HGEngineReloadedEditor | be79b6089985da1bf811be8a6d06ce25f71236b1 | [
"MIT"
] | null | null | null | libraries/CMakeServerConnector/include/Messages/CodeModelResponse.hpp | Megaxela/HGEngineReloadedEditor | be79b6089985da1bf811be8a6d06ce25f71236b1 | [
"MIT"
] | null | null | null | libraries/CMakeServerConnector/include/Messages/CodeModelResponse.hpp | Megaxela/HGEngineReloadedEditor | be79b6089985da1bf811be8a6d06ce25f71236b1 | [
"MIT"
] | 1 | 2020-03-12T04:39:14.000Z | 2020-03-12T04:39:14.000Z | #pragma once
#include <Messages/BasicMessage.hpp>
struct CodeModelResponse : public BasicMessage
{
struct IncludePath
{
std::string path;
};
struct FileGroup
{
std::string compileFlags;
std::vector<std::string> defines;
std::vector<IncludePath> includePaths;
... | 20.402985 | 75 | 0.610095 | Megaxela |
165e0a4d0ffe0adac7992ab8bba190cfdaa4928d | 1,027 | cc | C++ | chrome/common/metrics_constants_util_win.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | chrome/common/metrics_constants_util_win.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/common/metrics_constants_util_win.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/metrics_constants_util_win.h"
#include "chrome/installer/util/browser_distribution.h"
namespace {
// Returns the registry path ... | 29.342857 | 75 | 0.757546 | xzhan96 |
1660a0319b91c38cbbe2376308e98f031ed515e7 | 1,789 | hpp | C++ | include/mummer/sparseSA_imp.hpp | bredelings/mummer | e084d9b32613ebb1841c60e47a11ff6b1928450a | [
"Artistic-2.0"
] | 284 | 2017-06-12T18:44:09.000Z | 2022-03-29T13:22:00.000Z | ext/mummer/sparseSA_imp.hpp | AT-CG/ChainX | 2b4c902a8981eceda17e72dc7409f744ad3a0bc3 | [
"Apache-2.0"
] | 167 | 2017-06-09T12:33:21.000Z | 2022-03-29T15:45:19.000Z | ext/mummer/sparseSA_imp.hpp | AT-CG/ChainX | 2b4c902a8981eceda17e72dc7409f744ad3a0bc3 | [
"Apache-2.0"
] | 114 | 2017-07-03T07:39:33.000Z | 2022-02-23T06:27:26.000Z | #ifndef __SPARSESA_IMP_H__
#define __SPARSESA_IMP_H__
#undef _OPENMP
#ifdef _OPENMP
#include <omp.h>
#endif
// Implementation of some sparseSA functions
namespace mummer {
namespace sparseSA_imp {
#ifndef _OPENMP
template<typename Map, typename Seq, typename Vec>
void computeLCP(Map& LCP, const Seq& S, const Vec& SA... | 24.847222 | 100 | 0.560089 | bredelings |
1668b73bf6e38ce25c4bf0a8301ae61cf44234a7 | 256 | cc | C++ | src/libc/libintl/dcgettext_test.cc | NuxiNL/CloudLibc | d361c06c3fab3a7814d05b4630abe6da0cc7d757 | [
"BSD-2-Clause"
] | 298 | 2015-03-04T13:36:51.000Z | 2021-12-19T05:11:58.000Z | src/libc/libintl/dcgettext_test.cc | NuxiNL/CloudLibc | d361c06c3fab3a7814d05b4630abe6da0cc7d757 | [
"BSD-2-Clause"
] | 31 | 2015-07-27T14:51:55.000Z | 2020-09-14T15:59:57.000Z | src/libc/libintl/dcgettext_test.cc | NuxiNL/CloudLibc | d361c06c3fab3a7814d05b4630abe6da0cc7d757 | [
"BSD-2-Clause"
] | 18 | 2016-03-27T13:49:22.000Z | 2021-09-21T19:02:04.000Z | // Copyright (c) 2016 Nuxi, https://nuxi.nl/
//
// SPDX-License-Identifier: BSD-2-Clause
#include <libintl.h>
#include <locale.h>
#include "gtest/gtest.h"
TEST(dcgettext, example) {
ASSERT_STREQ("Hello", dcgettext("appname", "Hello", LC_MESSAGES));
}
| 19.692308 | 68 | 0.6875 | NuxiNL |
1669cb08793b5e4dc5f056e2d1af06ab54b73b3b | 658 | hpp | C++ | src/version.hpp | brandonbraun653/DroneController | b20b8eefa1e03ffc72a3959b567d2cb0b2278b47 | [
"MIT"
] | null | null | null | src/version.hpp | brandonbraun653/DroneController | b20b8eefa1e03ffc72a3959b567d2cb0b2278b47 | [
"MIT"
] | 1 | 2021-10-16T21:56:19.000Z | 2021-10-16T21:56:19.000Z | src/version.hpp | brandonbraun653/DroneController | b20b8eefa1e03ffc72a3959b567d2cb0b2278b47 | [
"MIT"
] | null | null | null | /********************************************************************************
* File Name:
* version.hpp
*
* Description:
* Drone Controller Version
*
* 2021 | Brandon Braun | brandonbraun653@gmail.com
*******************************************************************************/
#pragma once
#i... | 21.225806 | 81 | 0.490881 | brandonbraun653 |
166d54483c158095277be0fbb7105dfafc46ca94 | 2,577 | hpp | C++ | src/xercesc/sax2/SAX2XMLFilter.hpp | gajgeospatial/xerces-c-3.2.2 | 8396d30350e6523313766f9c18e07c4f708be9cb | [
"Apache-2.0"
] | 218 | 2015-07-17T19:18:07.000Z | 2022-03-03T18:00:08.000Z | src/xercesc/sax2/SAX2XMLFilter.hpp | rsn8887/xerces-c | eafbd0b1755fe55550e10aaaf3b15c587d900f39 | [
"Apache-2.0"
] | 88 | 2015-07-08T15:35:46.000Z | 2020-08-13T13:03:09.000Z | src/xercesc/sax2/SAX2XMLFilter.hpp | rsn8887/xerces-c | eafbd0b1755fe55550e10aaaf3b15c587d900f39 | [
"Apache-2.0"
] | 56 | 2015-09-17T21:22:32.000Z | 2021-04-01T20:19:32.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 31.048193 | 82 | 0.613892 | gajgeospatial |
166e3174a74b9263cd87f863a89338c5b1432abc | 1,750 | cpp | C++ | test/fixture/fixture_string.cpp | engineer-legion/json | 7ef33477720e7c801e5636fae6f34d7fbf55bcf0 | [
"BSL-1.0"
] | null | null | null | test/fixture/fixture_string.cpp | engineer-legion/json | 7ef33477720e7c801e5636fae6f34d7fbf55bcf0 | [
"BSL-1.0"
] | null | null | null | test/fixture/fixture_string.cpp | engineer-legion/json | 7ef33477720e7c801e5636fae6f34d7fbf55bcf0 | [
"BSL-1.0"
] | null | null | null | /*
* fixture_string.cpp
*
* Created on: 01.02.2015
* Author: mike_gresens
*/
#include "fixture_string.hpp"
namespace json {
namespace fixture {
const fixture_base::entry_t
fixture_string::_empty =
{
string_t(),
"\"\""
};
const fixture_base::entry_t
fixture_string::_simple =
{
string_t("foo"),
"\"foo\... | 13.565891 | 38 | 0.640571 | engineer-legion |
166e730bf761817bcbfa36419c4cd8ab3d433dd7 | 1,954 | cpp | C++ | graph-source-code/131-D/897677.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/131-D/897677.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/131-D/897677.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: GNU C++
#include <iostream>
#include <vector>
#include <queue>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <stack>
#include <bitset>
#include <algorithm>
#include <map>
#include <fstream>
#define pb push_back
#define MP make_pair
#define FOR(a,b) for((a)=0 ; (a)<(b) ; (... | 20.568421 | 46 | 0.413511 | AmrARaouf |
166ec313684fcb5bcc2a8c021ddbaac8b1913b8f | 1,227 | hpp | C++ | source/quantum-script-extension-shell-version.hpp | g-stefan/quantum-script-extension-shell | 27e7885c6b74e518697f40536fa736c637d51981 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script-extension-shell-version.hpp | g-stefan/quantum-script-extension-shell | 27e7885c6b74e518697f40536fa736c637d51981 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script-extension-shell-version.hpp | g-stefan/quantum-script-extension-shell | 27e7885c6b74e518697f40536fa736c637d51981 | [
"MIT",
"Unlicense"
] | null | null | null | //
// Quantum Script Extension Shell
//
// Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//
#ifndef QUANTUM_SCRIPT_EXTENSION_SHELL_VERSION_HPP
#define QUANTUM_SCRIPT_EXTENSION_SHELL_VE... | 29.214286 | 89 | 0.731866 | g-stefan |
166fd21b52feec1d2890a106f0751cd052d0dc1f | 6,252 | cc | C++ | components/tflite/tensorflow/lite/experimental/microfrontend/lib/window_test.cc | HuakeZhBo/bl_mcu_sdk | a6a7f077e5dd535419d1741e4c2f5215eebb699d | [
"Apache-2.0"
] | 93 | 2021-04-27T07:34:49.000Z | 2022-03-22T08:43:44.000Z | components/tflite/tensorflow/lite/experimental/microfrontend/lib/window_test.cc | zeroherolin/bl_mcu_sdk | 97760e3633d7ce0f435be1d98e7c9e8c46bfaca7 | [
"Apache-2.0"
] | 18 | 2021-05-23T14:10:12.000Z | 2022-03-30T09:18:39.000Z | components/tflite/tensorflow/lite/experimental/microfrontend/lib/window_test.cc | zeroherolin/bl_mcu_sdk | 97760e3633d7ce0f435be1d98e7c9e8c46bfaca7 | [
"Apache-2.0"
] | 33 | 2021-04-27T07:46:50.000Z | 2022-02-27T05:45:19.000Z | /* Copyright 2018 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... | 33.255319 | 82 | 0.679463 | HuakeZhBo |
1673532033720107537b9e6c1e585a7bf75f89e5 | 2,046 | cpp | C++ | chp4_exercises.cpp | toddbrentlinger/Beginning-Cpp-Through-Game-Programming-Third-Edition | 16a53f70869920cec7230f4d2f3e2a0d1dcd43f4 | [
"MIT"
] | 10 | 2018-03-22T19:30:55.000Z | 2021-12-09T14:02:07.000Z | chp4_exercises.cpp | spellberry/Beginning-Cpp-Through-Game-Programming-Third-Edition | 16a53f70869920cec7230f4d2f3e2a0d1dcd43f4 | [
"MIT"
] | null | null | null | chp4_exercises.cpp | spellberry/Beginning-Cpp-Through-Game-Programming-Third-Edition | 16a53f70869920cec7230f4d2f3e2a0d1dcd43f4 | [
"MIT"
] | 8 | 2018-03-22T19:34:31.000Z | 2021-12-09T14:02:13.000Z | // Chapter 4 Exercises
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cctype>
using namespace std;
int main()
{
cout << "\tChapter43 Exercises\n\n";
// Question 1
vector<string> gameList;
vector<string>::iterator myIterator;
vector<string>::const_ite... | 21.092784 | 68 | 0.554252 | toddbrentlinger |
1674e284ae9d25a4d3ef335a493869c732606527 | 602 | cpp | C++ | maki_core/src/renderer/vertex_array.cpp | christopher-besch/open_gl_test | 45323817461cbe69a9b99e50ffebbceb7fca823e | [
"MIT"
] | 24 | 2021-12-20T08:12:19.000Z | 2022-01-19T16:15:44.000Z | maki_core/src/renderer/vertex_array.cpp | christopher-besch/open_gl_test | 45323817461cbe69a9b99e50ffebbceb7fca823e | [
"MIT"
] | 23 | 2021-12-25T07:46:29.000Z | 2022-02-05T18:28:20.000Z | maki_core/src/renderer/vertex_array.cpp | christopher-besch/open_gl_test | 45323817461cbe69a9b99e50ffebbceb7fca823e | [
"MIT"
] | null | null | null | #include "pch.h"
#include "buffer.h"
#include "renderer/opengl/opengl_vertex_array.h"
#include "renderer/renderer.h"
namespace Maki {
VertexArray* VertexArray::create()
{
switch(Renderer::get_renderer_impl()) {
case Renderer::Implementation::none:
MAKI_RAISE_CRITICAL("Renderer::Implementation::none ... | 24.08 | 87 | 0.700997 | christopher-besch |
16789454c84225a65d9c0b85cb45774fd255768e | 653 | cpp | C++ | cpp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.cpp | mvshmakov/junk | d67b31d918772018f78c3b1ff43d2bfd72bc57c9 | [
"WTFPL"
] | null | null | null | cpp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.cpp | mvshmakov/junk | d67b31d918772018f78c3b1ff43d2bfd72bc57c9 | [
"WTFPL"
] | 1 | 2022-03-02T09:56:38.000Z | 2022-03-02T09:56:38.000Z | cpp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.cpp | mvshmakov/junk | d67b31d918772018f78c3b1ff43d2bfd72bc57c9 | [
"WTFPL"
] | null | null | null | // Массивы.cpp: главный файл проекта.
#include "stdafx.h"
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
float a[10];
float proiz = 1.0;
int i, n, k = 0;
cout << "Vvedite elementi massiva cherez enter:" << endl;
for (i = 0; i < 10; i++)
{
cin >> a[i];
}
for (i = ... | 19.205882 | 63 | 0.503828 | mvshmakov |
1678d5bf6b8dfeca56cc5d8eeb5bc7befdd5564c | 6,038 | cpp | C++ | src/prod/src/data/tstore/StoreTransaction.Test.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/data/tstore/StoreTransaction.Test.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/data/tstore/StoreTransaction.Test.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
#include ... | 37.271605 | 143 | 0.621398 | gridgentoo |
16793ab16a9274150bf008ff2a693be584f17520 | 5,215 | hpp | C++ | Middlewares/ST/touchgfx_backup/framework/include/touchgfx/transforms/DisplayTransformation.hpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | 12 | 2020-06-25T13:10:17.000Z | 2022-01-27T01:48:26.000Z | Middlewares/ST/touchgfx_backup/framework/include/touchgfx/transforms/DisplayTransformation.hpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | 2 | 2021-05-23T05:02:48.000Z | 2021-05-24T11:15:56.000Z | Middlewares/ST/touchgfx_backup/framework/include/touchgfx/transforms/DisplayTransformation.hpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | 7 | 2020-08-27T08:23:49.000Z | 2021-09-19T12:54:30.000Z | /**
******************************************************************************
* This file is part of the TouchGFX 4.13.0 distribution.
*
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Libert... | 37.789855 | 116 | 0.643337 | koson |
167c048ba3a7c1d7f245d8f97f304003c2dbad88 | 3,919 | hpp | C++ | include/zipper_iterator.hpp | aurelien-boch/cpp-ecs | cc3ac80a18909dfcc476d7cfe1f3c7cd67b19e57 | [
"MIT"
] | 5 | 2021-11-22T18:49:49.000Z | 2022-01-14T14:49:09.000Z | include/zipper_iterator.hpp | aurelien-boch/cpp-ecs | cc3ac80a18909dfcc476d7cfe1f3c7cd67b19e57 | [
"MIT"
] | null | null | null | include/zipper_iterator.hpp | aurelien-boch/cpp-ecs | cc3ac80a18909dfcc476d7cfe1f3c7cd67b19e57 | [
"MIT"
] | 1 | 2021-12-05T15:33:05.000Z | 2021-12-05T15:33:05.000Z | #ifndef ZIPPER_ITERATOR_HPP
#define ZIPPER_ITERATOR_HPP
#include <tuple>
#include <optional>
namespace ecs::containers
{
template<class ...T>
class zipper;
}
namespace ecs::iterators
{
/**
* @brief This class defines an iterator instantiated by the zipper class. it's intended to be used in a range b... | 29.916031 | 120 | 0.48048 | aurelien-boch |
16804ff4a1bbaea54549335eb42abc5fef457057 | 1,989 | cpp | C++ | src/simulate_bayer_mosaic.cpp | ericpko/computer-graphics-raster-images | 384e1961c84a36ce8822d3ddb9ac7670143da14d | [
"MIT"
] | null | null | null | src/simulate_bayer_mosaic.cpp | ericpko/computer-graphics-raster-images | 384e1961c84a36ce8822d3ddb9ac7670143da14d | [
"MIT"
] | null | null | null | src/simulate_bayer_mosaic.cpp | ericpko/computer-graphics-raster-images | 384e1961c84a36ce8822d3ddb9ac7670143da14d | [
"MIT"
] | null | null | null | #include "simulate_bayer_mosaic.h"
void simulate_bayer_mosaic(
const std::vector<unsigned char> & rgb,
const int & width,
const int & height,
std::vector<unsigned char> & bayer)
{
bayer.resize(width*height);
////////////////////////////////////////////////////////////////////////////
// Add your code her... | 34.293103 | 93 | 0.507793 | ericpko |
1683c2842b9b795900eeae61538c906b57befea5 | 8,556 | hh | C++ | subprojects/libostd/ostd/vecmath.hh | Croydon/libcubescript | a6d80a33f40f2c959c8ac881d8f8056d3460b1f3 | [
"Zlib"
] | 1 | 2022-02-02T19:24:35.000Z | 2022-02-02T19:24:35.000Z | subprojects/libostd/ostd/vecmath.hh | Croydon/libcubescript | a6d80a33f40f2c959c8ac881d8f8056d3460b1f3 | [
"Zlib"
] | null | null | null | subprojects/libostd/ostd/vecmath.hh | Croydon/libcubescript | a6d80a33f40f2c959c8ac881d8f8056d3460b1f3 | [
"Zlib"
] | 1 | 2022-02-02T22:39:12.000Z | 2022-02-02T22:39:12.000Z | /* Vector math for libostd.
*
* This file is part of libostd. See COPYING.md for futher information.
*/
#ifndef OSTD_VECMATH_HH
#define OSTD_VECMATH_HH
#include <cstddef>
namespace ostd {
template<typename T>
struct vec2 {
union {
struct { T x, y; };
T value[2];
};
vec2(): x(0), y(0)... | 21.770992 | 72 | 0.5 | Croydon |
1685e0a12d3375087aa27131a3d12d232e9e0e54 | 3,080 | hpp | C++ | include/gdrive/request.hpp | allenbo/libgdrive | a7838bcf55fbbc6cfb66209bb2db1fbe82758924 | [
"MIT"
] | 16 | 2015-05-04T01:05:12.000Z | 2022-03-13T05:25:34.000Z | include/gdrive/request.hpp | allenbo/libgdrive | a7838bcf55fbbc6cfb66209bb2db1fbe82758924 | [
"MIT"
] | 1 | 2019-07-28T19:28:49.000Z | 2021-05-14T14:08:57.000Z | include/gdrive/request.hpp | allenbo/libgdrive | a7838bcf55fbbc6cfb66209bb2db1fbe82758924 | [
"MIT"
] | 3 | 2019-12-06T17:48:44.000Z | 2021-12-07T02:07:29.000Z | #ifndef __GDRIVE_REQUEST_HPP__
#define __GDRIVE_REQUEST_HPP__
#include "gdrive/config.hpp"
#include "common/all.hpp"
#include <string>
#include <map>
#include <vector>
#include <curl/curl.h>
namespace GDRIVE {
enum RequestMethod {
RM_GET,
RM_POST,
RM_PUT,
RM_DELETE,
RM_PATCH
};
enum EncodeMethod... | 28.785047 | 107 | 0.624026 | allenbo |
168bba7bb92894891013ab6d88d9da75e02f4bf7 | 2,579 | cpp | C++ | modelo/source/RelacionesFecha.cpp | miglesias91/visualizador-de-contextos | ec1be5533ccef1b5881ce67b8f0d0ab0280b8d3a | [
"Apache-2.0"
] | null | null | null | modelo/source/RelacionesFecha.cpp | miglesias91/visualizador-de-contextos | ec1be5533ccef1b5881ce67b8f0d0ab0280b8d3a | [
"Apache-2.0"
] | 18 | 2018-02-15T19:02:14.000Z | 2018-06-03T00:33:08.000Z | modelo/source/RelacionesFecha.cpp | miglesias91/visualizador-de-contextos | ec1be5533ccef1b5881ce67b8f0d0ab0280b8d3a | [
"Apache-2.0"
] | null | null | null | #include <modelo/include/RelacionesFecha.h>
using namespace visualizador::modelo::relaciones;
using namespace visualizador::modelo;
using namespace visualizador;
RelacionesFecha::RelacionesFecha(herramientas::utiles::ID* id_fecha) :
IRelaciones(id_fecha, aplicacion::ConfiguracionAplicacion::prefijoRelacion... | 26.587629 | 117 | 0.704924 | miglesias91 |
168f32aa163f3cb0144239a0773b3b4f4907215e | 467 | hpp | C++ | include/tadsf/utils.hpp | KanHarI/TADSF | 62b68fd07fa98964125198173e589aa7322541c2 | [
"MIT"
] | 1 | 2019-07-15T06:03:13.000Z | 2019-07-15T06:03:13.000Z | include/tadsf/utils.hpp | KanHarI/CTAD | 62b68fd07fa98964125198173e589aa7322541c2 | [
"MIT"
] | null | null | null | include/tadsf/utils.hpp | KanHarI/CTAD | 62b68fd07fa98964125198173e589aa7322541c2 | [
"MIT"
] | null | null | null | #ifndef GCD_HPP
#define GCD_HPP
namespace TADSF {
constexpr int gcd(int a, int b) {
if (a > b) {
a ^= b ^= a ^= b; // constexpr alternative to std::swap(a, b)
}
while (b%a) {
b %= a;
a ^= b ^= a ^= b;
}
return a;
}
constexpr int ctpow(int base, int exp) {
int acc = 1;
... | 14.59375 | 69 | 0.43469 | KanHarI |
1690be2a77320ca8a7bafcc0096038155d72d2da | 285 | hpp | C++ | modules/ui/include/glpp/ui/elements.hpp | lenamueller/glpp | f7d29e5924537fd405a5bb409d67e65efdde8d9e | [
"MIT"
] | 16 | 2019-12-10T19:44:17.000Z | 2022-01-04T03:16:19.000Z | modules/ui/include/glpp/ui/elements.hpp | lenamueller/glpp | f7d29e5924537fd405a5bb409d67e65efdde8d9e | [
"MIT"
] | null | null | null | modules/ui/include/glpp/ui/elements.hpp | lenamueller/glpp | f7d29e5924537fd405a5bb409d67e65efdde8d9e | [
"MIT"
] | 3 | 2021-06-04T21:56:55.000Z | 2022-03-03T06:47:56.000Z | #pragma once
#include "element/box.hpp"
#include "element/button.hpp"
#include "element/flow.hpp"
#include "element/frame.hpp"
#include "element/image.hpp"
#include "element/label.hpp"
#include "element/mouse_action.hpp"
#include "element/multiplex.hpp"
#include "element/widget.hpp"
| 23.75 | 35 | 0.764912 | lenamueller |
16928a8584e121e7bda41f661b7c227f299e8d38 | 1,016 | hpp | C++ | include/metal/map/erase_key.hpp | dpacbach/metal | 9cbc6472aad3a2eb20c24709c3f142df87d9c5d0 | [
"MIT"
] | null | null | null | include/metal/map/erase_key.hpp | dpacbach/metal | 9cbc6472aad3a2eb20c24709c3f142df87d9c5d0 | [
"MIT"
] | null | null | null | include/metal/map/erase_key.hpp | dpacbach/metal | 9cbc6472aad3a2eb20c24709c3f142df87d9c5d0 | [
"MIT"
] | null | null | null | #ifndef METAL_MAP_ERASE_KEY_HPP
#define METAL_MAP_ERASE_KEY_HPP
#include "../config.hpp"
#include "../list/erase.hpp"
#include "../map/order.hpp"
namespace metal {
/// \ingroup map
///
/// ### Description
/// Removes the entry associated with some key in a \map.
///
/// ### Usage
/// For a... | 25.4 | 69 | 0.50689 | dpacbach |
16998b1dd0d4a9fbbd934eb113ef6755e7658bba | 35,300 | cpp | C++ | data-server/src/range/watch_funcs.cpp | gengdaomi/sharkstore | 1b490176846d2da98ceca07a69b6c35646567a28 | [
"Apache-2.0"
] | 1 | 2021-08-11T02:31:52.000Z | 2021-08-11T02:31:52.000Z | data-server/src/range/watch_funcs.cpp | gengdaomi/sharkstore | 1b490176846d2da98ceca07a69b6c35646567a28 | [
"Apache-2.0"
] | null | null | null | data-server/src/range/watch_funcs.cpp | gengdaomi/sharkstore | 1b490176846d2da98ceca07a69b6c35646567a28 | [
"Apache-2.0"
] | null | null | null | #include "range.h"
#include "server/range_server.h"
#include "watch.h"
#include "monitor/statistics.h"
namespace sharkstore {
namespace dataserver {
namespace range {
Status Range::GetAndResp( watch::WatcherPtr pWatcher, const watchpb::WatchCreateRequest& req, const std::string &dbKey, const bool &prefix,
... | 33.844679 | 165 | 0.552691 | gengdaomi |
1699a05aa718d3c678e9643c681309cc1b610ad2 | 11,993 | hpp | C++ | sycl-info/impl_matchers.hpp | codeplaysoftware/sycl-info | b47d498ee2d6b77ec21972de5882e8e12efecd6c | [
"BSL-1.0"
] | 9 | 2019-11-19T20:48:11.000Z | 2021-09-30T13:26:47.000Z | sycl-info/impl_matchers.hpp | codeplaysoftware/sycl-info | b47d498ee2d6b77ec21972de5882e8e12efecd6c | [
"BSL-1.0"
] | null | null | null | sycl-info/impl_matchers.hpp | codeplaysoftware/sycl-info | b47d498ee2d6b77ec21972de5882e8e12efecd6c | [
"BSL-1.0"
] | 2 | 2019-11-18T18:09:21.000Z | 2020-01-24T11:52:17.000Z | ////////////////////////////////////////////////////////////////////////////////
// impl-matchers.h
//
// Copyright (C) Codeplay Software 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 the Lic... | 36.015015 | 80 | 0.658384 | codeplaysoftware |
169b99a6b5b80ca3f8b9d46b90c72b352720699a | 5,747 | cpp | C++ | src/trafficsim/Map.cpp | lutrarutra/trafsim | 05e87b263b48e39d63f699dcaa456f10ca61e9a4 | [
"Apache-2.0"
] | 12 | 2019-12-28T21:45:23.000Z | 2022-03-28T12:40:44.000Z | src/trafficsim/Map.cpp | lutrarutra/trafsim | 05e87b263b48e39d63f699dcaa456f10ca61e9a4 | [
"Apache-2.0"
] | null | null | null | src/trafficsim/Map.cpp | lutrarutra/trafsim | 05e87b263b48e39d63f699dcaa456f10ca61e9a4 | [
"Apache-2.0"
] | 1 | 2021-05-31T10:22:41.000Z | 2021-05-31T10:22:41.000Z | #include "Map.hpp"
#include <fstream>
#include <cfloat> // FLT_MAX
#include <iostream> // FLT_MAX
#include <memory>
#include "Rando.hpp"
#include "RoadTile.hpp"
namespace ts
{
Map::Map()
: grid_(120)
{
}
void Map::clearMap()
{
cars_.clear();
light_networks_.clear();
building_handlers_.clear();
... | 28.735 | 169 | 0.616844 | lutrarutra |
169dbf68a9d6144dc779b92ed295d8bfb87b4b92 | 12,371 | cpp | C++ | NativeCode/Plugin_Multiband.cpp | PStewart95/Unity | f80b7d47dd98fa11a9fa6fd7eb1191d5fdf0f331 | [
"MIT"
] | null | null | null | NativeCode/Plugin_Multiband.cpp | PStewart95/Unity | f80b7d47dd98fa11a9fa6fd7eb1191d5fdf0f331 | [
"MIT"
] | null | null | null | NativeCode/Plugin_Multiband.cpp | PStewart95/Unity | f80b7d47dd98fa11a9fa6fd7eb1191d5fdf0f331 | [
"MIT"
] | null | null | null | #include "AudioPluginUtil.h"
namespace Multiband
{
enum Param
{
P_MasterGain,
P_LowFreq, P_HighFreq,
P_LowGain, P_MidGain, P_HighGain,
P_LowAttack, P_MidAttack, P_HighAttack,
P_LowRelease, P_MidRelease, P_HighRelease,
P_LowThreshold, P_MidThreshold, P_HighThresho... | 47.217557 | 215 | 0.580955 | PStewart95 |
16a2cccb2154ef1e951a16cebc467407c7e64620 | 1,409 | cpp | C++ | PlayerLinkedList.cpp | nickcuenca/UNO-An-SFML-Experience | d43beb5ba659958f1fa596a47814379d612f86b7 | [
"MIT"
] | null | null | null | PlayerLinkedList.cpp | nickcuenca/UNO-An-SFML-Experience | d43beb5ba659958f1fa596a47814379d612f86b7 | [
"MIT"
] | null | null | null | PlayerLinkedList.cpp | nickcuenca/UNO-An-SFML-Experience | d43beb5ba659958f1fa596a47814379d612f86b7 | [
"MIT"
] | null | null | null | //
// Created by Nicolas Cuenca on 11/25/2020.
//
#include "PlayerLinkedList.h"
#include <iostream>
PlayerLinkedList::PlayerLinkedList(Player *first) {
this->first = first;
this->currentPlayer = first;
}
Player *PlayerLinkedList::getFirst() const {
return first;
}
Player *PlayerLinkedLis... | 22.725806 | 65 | 0.58907 | nickcuenca |
16a43f94ec50c6a149c18417a565413ec29c20b8 | 5,894 | cc | C++ | mindspore/lite/src/runtime/kernel/arm/nnacl/fp32/deconv.cc | i4oolish/mindspore | dac3be31d0f2c0a3516200f47af30980e566601b | [
"Apache-2.0"
] | 1 | 2020-08-10T12:06:22.000Z | 2020-08-10T12:06:22.000Z | mindspore/lite/src/runtime/kernel/arm/nnacl/fp32/deconv.cc | dilingsong/mindspore | 4276050f2494cfbf8682560a1647576f859991e8 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/runtime/kernel/arm/nnacl/fp32/deconv.cc | dilingsong/mindspore | 4276050f2494cfbf8682560a1647576f859991e8 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 48.311475 | 120 | 0.61605 | i4oolish |
16a95ae692172148c372031305b66ca4fd3251d9 | 851 | cpp | C++ | Universal-Physics-mod/src/simulation/elements/RFGL.cpp | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T20:01:13.000Z | 2022-03-26T20:01:13.000Z | Universal-Physics-mod/src/simulation/elements/RFGL.cpp | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | null | null | null | Universal-Physics-mod/src/simulation/elements/RFGL.cpp | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T19:59:13.000Z | 2022-03-26T19:59:13.000Z | #include "simulation/ElementCommon.h"
int Element_RFRG_update(UPDATE_FUNC_ARGS);
void Element::Element_RFGL()
{
Identifier = "DEFAULT_PT_RFGL";
Name = "RFGL";
Colour = PIXPACK(0x84C2CF);
MenuVisible = 0;
MenuSection = SC_LIQUID;
Enabled = 1;
Advection = 0.6f;
AirDrag = 0.01f * CFDS;
AirLoss = 0.98f;
Loss =... | 18.106383 | 42 | 0.707403 | AllSafeCyberSecur1ty |
16aa775c41f98abf6ae1c8c2653456c5deddf82f | 1,312 | hpp | C++ | AIR-ARR/Wizualizacja Danych Sensorycznych/Qt/prj/inc/DaneSymulacji.hpp | superdyzio/PWR-Stuff | 942dfd72e4fa987f80b0de185c4a3086d98b4e3f | [
"MIT"
] | null | null | null | AIR-ARR/Wizualizacja Danych Sensorycznych/Qt/prj/inc/DaneSymulacji.hpp | superdyzio/PWR-Stuff | 942dfd72e4fa987f80b0de185c4a3086d98b4e3f | [
"MIT"
] | null | null | null | AIR-ARR/Wizualizacja Danych Sensorycznych/Qt/prj/inc/DaneSymulacji.hpp | superdyzio/PWR-Stuff | 942dfd72e4fa987f80b0de185c4a3086d98b4e3f | [
"MIT"
] | null | null | null | /*!
* \file
* \brief Plik nagłówkowy klasy DaneSymulacji.
*/
#ifndef DANE_HH
#define DANE_HH
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <QVector>
#include <QString>
#include <QDebug>
#include <QFile>
#include <iostream>
#include <fstream>
#include <string>
using namespace ... | 21.508197 | 103 | 0.740091 | superdyzio |
16b14d897675e03f2c39adc7e4d30e12f7b2c69c | 25,018 | hpp | C++ | xfinal/websokcet.hpp | maxbad/xfinal | 3e8ba689fc40b896bb2555aebf903672335b8b7b | [
"MIT"
] | 57 | 2019-05-14T09:55:14.000Z | 2022-03-17T07:08:55.000Z | xfinal/websokcet.hpp | maxbad/xfinal | 3e8ba689fc40b896bb2555aebf903672335b8b7b | [
"MIT"
] | 12 | 2019-05-18T02:34:48.000Z | 2021-06-29T15:30:41.000Z | xfinal/websokcet.hpp | maxbad/xfinal | 3e8ba689fc40b896bb2555aebf903672335b8b7b | [
"MIT"
] | 22 | 2019-06-15T10:09:33.000Z | 2022-01-18T09:24:25.000Z | #pragma once
#include <asio.hpp>
#include "http_handler.hpp"
#include <memory>
#include <functional>
#include <string>
#include "uuid.hpp"
#include <unordered_map>
#include "string_view.hpp"
#include "utils.hpp"
#include <memory>
#include "md5.hpp"
#include <queue>
#include <random>
#include <list>
#include "message_ha... | 32.448768 | 227 | 0.668159 | maxbad |
16b1833fa1a5d42acbcb2c846a8534b955b81048 | 8,990 | cpp | C++ | test/webrtc/DslSoupServerMgrUnitTest.cpp | canamex-tech/on-target | 1767bd19aaea7ece75e72626038cd7382a103aba | [
"MIT"
] | 74 | 2021-03-02T07:52:34.000Z | 2022-03-28T04:29:19.000Z | test/webrtc/DslSoupServerMgrUnitTest.cpp | canamex-tech/on-target | 1767bd19aaea7ece75e72626038cd7382a103aba | [
"MIT"
] | 188 | 2021-02-24T19:48:32.000Z | 2022-03-23T22:58:33.000Z | test/webrtc/DslSoupServerMgrUnitTest.cpp | canamex-tech/on-target | 1767bd19aaea7ece75e72626038cd7382a103aba | [
"MIT"
] | 12 | 2021-03-03T00:05:18.000Z | 2022-03-16T06:13:06.000Z | /*
The MIT License
Copyright (c) 2021, Prominence AI, Inc.
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... | 39.429825 | 116 | 0.646385 | canamex-tech |
16b1e4f65ab640f5853a1f2350b8fc4edc13ca4c | 11,145 | cpp | C++ | data/602.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/602.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/602.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | int iN, aW, N/*hA*/
,AK8,
Vi0 ,
QCmew, bs,iio1,El
, A3
, bZV
,
BTJ61W
,cAgH2,uL
,
VWN,lsQZ/*K4*/ , nKtYm,/*7R9d*/
HRZ
,tBMY,
ohG
,
cgGKP,xbFv, BBi
, gR ,//j9l
Ek, OD1 ,S6A//Ma
, tvG,Gy, b , tylWc
,/*g*/ wby,gUK,BMc ,
r3,zHKSm ,jL ,Jivf ,
Zcr ,ehp
,LG,
Ue,fly;void f_f0()//vtg
{int n5kter ; volatile in... | 11.012846 | 74 | 0.468282 | TianyiChen |
16b3d3d98a1f5b073b4cd0a5b35557da2e9886d3 | 3,054 | cxx | C++ | Modules/Filtering/ImageGrid/test/itkCropImageFilterTest.cxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 1 | 2020-10-09T18:12:53.000Z | 2020-10-09T18:12:53.000Z | Modules/Filtering/ImageGrid/test/itkCropImageFilterTest.cxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 1 | 2018-10-18T18:49:19.000Z | 2018-10-18T18:49:19.000Z | Modules/Filtering/ImageGrid/test/itkCropImageFilterTest.cxx | floryst/ITK | 321e673bcbac15aae2fcad863fd0977b7fbdb3e9 | [
"Apache-2.0"
] | 1 | 2017-08-18T19:07:39.000Z | 2017-08-18T19:07:39.000Z | /*=========================================================================
*
* 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... | 30.54 | 81 | 0.6778 | floryst |
16b3de198f420eac4de10003a2c8175f56163923 | 6,897 | cpp | C++ | src/Cello/control_refresh.cpp | aoife-flood/enzo-e | ab8ebc4716fff22bed9f692daf0472ae6ffffe73 | [
"BSD-3-Clause"
] | 26 | 2019-02-12T19:39:13.000Z | 2022-03-31T01:52:29.000Z | src/Cello/control_refresh.cpp | aoife-flood/enzo-e | ab8ebc4716fff22bed9f692daf0472ae6ffffe73 | [
"BSD-3-Clause"
] | 128 | 2019-02-13T20:22:30.000Z | 2022-03-29T20:21:00.000Z | src/Cello/control_refresh.cpp | aoife-flood/enzo-e | ab8ebc4716fff22bed9f692daf0472ae6ffffe73 | [
"BSD-3-Clause"
] | 29 | 2019-02-12T19:37:51.000Z | 2022-03-14T14:02:45.000Z | // See LICENSE_CELLO file for license and copyright information
/// @file control_refresh.cpp
/// @author James Bordner (jobordner@ucsd.edu)
/// @date 2013-04-26
/// @brief Charm-related functions associated with refreshing ghost zones
/// @ingroup Control
#include "simulation.hpp"
#include "mesh.hpp"
#... | 23.782759 | 93 | 0.623894 | aoife-flood |
16b526a272b533c56ee5bb4e8e746cfc3309cf86 | 28,056 | cpp | C++ | ycsb/YcsbMain.cpp | shenweihai1/veribetrkv-linear | 0e63dc1cc2a24f0ab460e8a905924560e5991644 | [
"MIT"
] | null | null | null | ycsb/YcsbMain.cpp | shenweihai1/veribetrkv-linear | 0e63dc1cc2a24f0ab460e8a905924560e5991644 | [
"MIT"
] | null | null | null | ycsb/YcsbMain.cpp | shenweihai1/veribetrkv-linear | 0e63dc1cc2a24f0ab460e8a905924560e5991644 | [
"MIT"
] | null | null | null | #include <cstdlib>
#ifdef _YCSB_VERIBETRFS
#include "Application.h"
#endif
#include "core_workload.h"
#include "ycsbwrappers.h"
#include "leakfinder.h"
#include "MallocAccounting.h"
#include "hdrhist.hpp"
#ifdef _YCSB_ROCKS
#include "rocksdb/db.h"
#include "rocksdb/table.h"
#include "rocksdb/filter_policy.h"
#endif... | 30.429501 | 115 | 0.634445 | shenweihai1 |
16b7676c3309cf0f94512757c43a7410621b5238 | 14,960 | cpp | C++ | net/tapi/skywalker/mspbase/dtevntsk.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | net/tapi/skywalker/mspbase/dtevntsk.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | net/tapi/skywalker/mspbase/dtevntsk.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1998-1999 Microsoft Corporation
Module Name:
DTEvntSk.cpp
Abstract:
This module contains implementation of CPTEventSink.
Author:
vlade Nov 1999
--*/
#include "precomp.h"
#pragma hdrstop
//
// a helper function that releases the resources allocated i... | 24.246353 | 106 | 0.542848 | npocmaka |
16b83efb2217c6758e897c4b4134f9086c017c12 | 1,180 | cpp | C++ | test/bitset.cpp | walker-zheng/code | 2959e4227e168aab4d5420bc836768730f2bffdd | [
"MIT"
] | 4 | 2018-05-18T10:58:41.000Z | 2021-12-29T16:17:53.000Z | test/bitset.cpp | walker-zheng/code | 2959e4227e168aab4d5420bc836768730f2bffdd | [
"MIT"
] | 4 | 2017-10-09T09:42:09.000Z | 2019-02-21T01:31:09.000Z | test/bitset.cpp | walker-zheng/code | 2959e4227e168aab4d5420bc836768730f2bffdd | [
"MIT"
] | 1 | 2021-04-09T00:58:19.000Z | 2021-04-09T00:58:19.000Z | // bitset::test
#include <iostream> // std::cout
#include <string> // std::string
#include <cstddef> // std::size_t
#include <bitset> // std::bitset
int main ()
{
std::bitset<16> shit;
std::bitset<16> bar (0xfa2);
std::bitset<16> foo (std::string("0101111001"));
std::cout << "shit: \t... | 32.777778 | 62 | 0.492373 | walker-zheng |
16be2152cdfa7abcabc12b5ec3e507c6d0cd22ec | 15 | cpp | C++ | engine/src/id.cpp | unyankee/OutterSpace | a0746dd8d32b33be36f6972ace53f7b71f09d470 | [
"MIT"
] | null | null | null | engine/src/id.cpp | unyankee/OutterSpace | a0746dd8d32b33be36f6972ace53f7b71f09d470 | [
"MIT"
] | null | null | null | engine/src/id.cpp | unyankee/OutterSpace | a0746dd8d32b33be36f6972ace53f7b71f09d470 | [
"MIT"
] | null | null | null | #include <id.h> | 15 | 15 | 0.666667 | unyankee |
16bf11743144e64c08f049815176ed52f37aa485 | 2,801 | cc | C++ | code/render/graphics/globallightentity.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/render/graphics/globallightentity.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/render/graphics/globallightentity.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// globallightentity.cc
// (C) 2007 Radon Labs GmbH
// (C) 2013-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "graphics/globa... | 31.829545 | 113 | 0.586219 | gscept |
16bfe033e69ed0ed010d0295a66779979ccf8ca1 | 12,795 | cpp | C++ | Chikara/Main.cpp | Chrono-byte/Chikara | 14801ff7de5f40201c542153f1021be9968074ff | [
"Apache-2.0"
] | 11 | 2020-05-25T06:03:57.000Z | 2021-08-12T16:34:11.000Z | Chikara/Main.cpp | Chrono-byte/Chikara | 14801ff7de5f40201c542153f1021be9968074ff | [
"Apache-2.0"
] | 6 | 2020-08-04T04:06:21.000Z | 2022-02-07T02:46:13.000Z | Chikara/Main.cpp | Chrono-byte/Chikara | 14801ff7de5f40201c542153f1021be9968074ff | [
"Apache-2.0"
] | 1 | 2020-09-22T19:16:59.000Z | 2020-09-22T19:16:59.000Z | #include "Main.h"
#include "KDMAPI.h"
#include "OmniMIDI.h"
#include "Config.h"
#include "Utils.h"
#include "Platform.h"
#include <inttypes.h>
#include <fmt/locale.h>
#include <fmt/format.h>
// msvc complains about narrowing conversion with bin2c
#pragma warning(push)
#pragma warning(disable : 4838)
#pragma warning(d... | 33.849206 | 170 | 0.733255 | Chrono-byte |
16cacb7673707af23c92c9853e93c16ce0e93ddd | 5,874 | cpp | C++ | src/Htfe/HtfeFile.cpp | TonyBrewer/OpenHT | 63898397de4d303ba514d88b621cc91367ffe2a6 | [
"BSD-3-Clause"
] | 13 | 2015-02-26T22:46:18.000Z | 2020-03-24T11:53:06.000Z | src/Htfe/HtfeFile.cpp | PacificBiosciences/OpenHT | 63898397de4d303ba514d88b621cc91367ffe2a6 | [
"BSD-3-Clause"
] | 5 | 2016-02-25T17:08:19.000Z | 2018-01-20T15:24:36.000Z | src/Htfe/HtfeFile.cpp | TonyBrewer/OpenHT | 63898397de4d303ba514d88b621cc91367ffe2a6 | [
"BSD-3-Clause"
] | 12 | 2015-04-13T21:39:54.000Z | 2021-01-15T01:00:13.000Z | /* Copyright (c) 2015 Convey Computer Corporation
*
* This file is part of the OpenHT toolset located at:
*
* https://github.com/TonyBrewer/OpenHT
*
* Use and distribution licensed under the BSD 3-clause license.
* See the LICENSE file for the complete license text.
*/
// HtFile.cpp: implementation of the CHtFi... | 23.217391 | 107 | 0.617637 | TonyBrewer |
16cc18d3f91a15da1a0a85da670a20ce14f8fb68 | 2,668 | cpp | C++ | speedcc/stage/SCBehaviorSystem.cpp | kevinwu1024/SpeedCC | 7b32e3444236d8aebf8198ebc3fede8faf201dee | [
"MIT"
] | 7 | 2018-03-10T02:01:49.000Z | 2021-09-14T15:42:10.000Z | speedcc/stage/SCBehaviorSystem.cpp | kevinwu1024/SpeedCC | 7b32e3444236d8aebf8198ebc3fede8faf201dee | [
"MIT"
] | null | null | null | speedcc/stage/SCBehaviorSystem.cpp | kevinwu1024/SpeedCC | 7b32e3444236d8aebf8198ebc3fede8faf201dee | [
"MIT"
] | 1 | 2018-03-10T02:01:58.000Z | 2018-03-10T02:01:58.000Z | /****************************************************************************
Copyright (c) 2017-2020 Kevin Wu (Wu Feng)
github: http://github.com/kevinwu1024
Licensed under the MIT License (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License a... | 30.318182 | 93 | 0.687781 | kevinwu1024 |
16cdf32d98a37fa69ba5632fad2824d1ca1bda5f | 846 | cpp | C++ | Blake2/Blake2/ParallelUtils.cpp | Steppenwolfe65/Blake2 | 9444e194323f98bb797816bc774d202276d17243 | [
"Intel",
"MIT"
] | 1 | 2016-11-09T05:34:58.000Z | 2016-11-09T05:34:58.000Z | Blake2/Blake2/ParallelUtils.cpp | Steppenwolfe65/Blake2 | 9444e194323f98bb797816bc774d202276d17243 | [
"Intel",
"MIT"
] | null | null | null | Blake2/Blake2/ParallelUtils.cpp | Steppenwolfe65/Blake2 | 9444e194323f98bb797816bc774d202276d17243 | [
"Intel",
"MIT"
] | null | null | null | #include "ParallelUtils.h"
#include <functional>
#if defined(_OPENMP)
# include <omp.h>
#else
# include <future>
#endif
NAMESPACE_UTILITY
size_t ParallelUtils::ProcessorCount()
{
#if defined(_OPENMP)
return static_cast<size_t>(omp_get_num_procs());
#else
return static_cast<size_t>(std::thread::hardware_concurrency... | 17.625 | 93 | 0.683215 | Steppenwolfe65 |
16ce70f858ab74f14d5245986c839d7d47b858b2 | 1,483 | cc | C++ | userFiles/simu/analysis/fitness/specific_fitness/min_dist/MinDistFitness.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | userFiles/simu/analysis/fitness/specific_fitness/min_dist/MinDistFitness.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null | userFiles/simu/analysis/fitness/specific_fitness/min_dist/MinDistFitness.cc | mharding01/augmented-neuromuscular-RT-running | 7e1ef00d3fdf9cfa9d59fc4f3a6a0e6dd792a834 | [
"MIT"
] | null | null | null |
#include "MinDistFitness.hh"
#define THRESHOLD_WAIST 0.45
/*! \brief constructor
*
* \param[in] mbs_data Robotran structure
* \param[in] sens_info info from the sensor
*/
MinDistFitness::MinDistFitness(MbsData *mbs_data, SensorsInfo *sens_info): FitnessStage(mbs_data)
{
max_x_before_fall = 0.0;
tf = mbs_data... | 20.315068 | 119 | 0.703978 | mharding01 |
16cebae08ea0694173885374f370c1441893269d | 481 | cpp | C++ | UESTC/2501.cpp | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | 18 | 2019-01-01T13:16:59.000Z | 2022-02-28T04:51:50.000Z | UESTC/2501.cpp | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | null | null | null | UESTC/2501.cpp | HeRaNO/OI-ICPC-Codes | 4a4639cd3e347b472520065ca6ab8caadde6906d | [
"MIT"
] | 5 | 2019-09-13T08:48:17.000Z | 2022-02-19T06:59:03.000Z | #include <bits/stdc++.h>
using namespace std;
const long long M=1e9+7;
int k,cnt=-1;
long long x,n=1;
inline long long fpow(long long a,long long b)
{
long long r=1;
for (;b;b>>=1,(a*=a)%=M) if (b&1) (r*=a)%=M;
return r;
}
int main()
{
scanf("%d",&k);
for (int i=1;i<=k;i++)
{
scanf("%lld",&x);
if (!(x&1))... | 16.033333 | 46 | 0.528067 | HeRaNO |
16cf20038e00882772a14e9a2dd81ee4ae1c0b1a | 4,746 | cpp | C++ | Dicom/dicom/data/AS.cpp | drleq/CppDicom | e320fad8414fabfb51c5eb80964f8b6def578247 | [
"MIT"
] | null | null | null | Dicom/dicom/data/AS.cpp | drleq/CppDicom | e320fad8414fabfb51c5eb80964f8b6def578247 | [
"MIT"
] | null | null | null | Dicom/dicom/data/AS.cpp | drleq/CppDicom | e320fad8414fabfb51c5eb80964f8b6def578247 | [
"MIT"
] | null | null | null | #include "dicom_pch.h"
#include "dicom/data/AS.h"
#include <sstream>
#include <iomanip>
#include "dicom/data/detail/atoi.h"
namespace {
using namespace dicom::data;
[[nodiscard]] AS::UnitType char_to_units(char c) {
switch (c) {
case 'D': return AS::Days;
case 'W': retu... | 32.067568 | 111 | 0.379899 | drleq |
16cffce2300c7c7bebdb06a8b07fc4f1e2e2a3ea | 4,977 | cpp | C++ | src/EspNowSerialBase.cpp | 3110/m5stack-esp-now-serial | fdca469a855c0754b5f1e5d816fc70b6415b2e34 | [
"MIT"
] | null | null | null | src/EspNowSerialBase.cpp | 3110/m5stack-esp-now-serial | fdca469a855c0754b5f1e5d816fc70b6415b2e34 | [
"MIT"
] | null | null | null | src/EspNowSerialBase.cpp | 3110/m5stack-esp-now-serial | fdca469a855c0754b5f1e5d816fc70b6415b2e34 | [
"MIT"
] | null | null | null |
#include "EspNowSerialBase.h"
const char* EspNowSerialBase::NEWLINE = "\r\n";
const uint8_t EspNowSerialBase::BROADCAST_ADDRESS[ESP_NOW_ETH_ALEN] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
EspNowSerialBase::EspNowSerialBase(void)
: _serial(nullptr), _channel(0), _address{0}, _buf{0} {
uint8_t addr[ESP_NOW_... | 27.196721 | 76 | 0.573639 | 3110 |
16d11e28f268c65b7aef8efe1f731e87f602a2d0 | 806 | cpp | C++ | codeforces/gym/2016 ACM Amman Collegiate Programming Contest/b.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | 4 | 2020-10-05T19:24:10.000Z | 2021-07-15T00:45:43.000Z | codeforces/gym/2016 ACM Amman Collegiate Programming Contest/b.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | codeforces/gym/2016 ACM Amman Collegiate Programming Contest/b.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | #include <cpplib/stdinc.hpp>
int32_t main(){
desync();
int t;
cin >> t;
vi pali = {6, 2, 5, 5, 4, 5, 6, 3, 7, 6};
map<int, int> ipal;
ipal[2] = 1;
ipal[3] = 7;
ipal[4] = 4;
ipal[5] = 5;
ipal[6] = 9;
ipal[7] = 8;
while(t--){
int n;
cin >> n;
string... | 21.210526 | 45 | 0.331266 | tysm |
16d181156d44bc665a51ff39e88aaa8fde5ce08b | 15,633 | cpp | C++ | src/common/pl/plpython/plpy_main.cpp | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 360 | 2020-06-30T14:47:34.000Z | 2022-03-31T15:21:53.000Z | src/common/pl/plpython/plpy_main.cpp | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 4 | 2020-06-30T15:09:16.000Z | 2020-07-14T06:20:03.000Z | src/common/pl/plpython/plpy_main.cpp | opengauss-mirror/openGauss-graph | 6beb138fd00abdbfddc999919f90371522118008 | [
"MulanPSL-1.0"
] | 133 | 2020-06-30T14:47:36.000Z | 2022-03-25T15:29:00.000Z | /*
* PL/Python main entry points
*
* src/common/pl/plpython/plpy_main.c
*/
#include "postgres.h"
#include "knl/knl_variable.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "commands/trigger.h"
#include "executor/spi.h"
#include "executor/executor.h"
#include "miscadmin.h"
#include "pgaudit.h... | 28.372051 | 120 | 0.665004 | opengauss-mirror |
16d1e27ce68b98c221d0b8cec84b21c8674c94ac | 1,568 | cpp | C++ | src/kv/File.cpp | kushview/decibels | db7298fe4c1ca25a5eb0ddf5b5e481a52fa67aff | [
"0BSD"
] | 3 | 2020-11-14T05:51:35.000Z | 2021-01-18T03:47:55.000Z | src/kv/File.cpp | kushview/lua-rt | db7298fe4c1ca25a5eb0ddf5b5e481a52fa67aff | [
"0BSD"
] | 2 | 2021-02-24T16:44:03.000Z | 2021-02-24T17:28:58.000Z | src/kv/File.cpp | kushview/lua-kv | db7298fe4c1ca25a5eb0ddf5b5e481a52fa67aff | [
"0BSD"
] | null | null | null | /// A file or directory on your system.
// @classmod kv.File
// @pragma nostrip
#include "lua-kv.hpp"
#include LKV_JUCE_HEADER
#define LKV_TYPE_NAME_FILE "File"
using namespace juce;
LKV_EXPORT
int luaopen_kv_File (lua_State* L) {
sol::state_view lua (L);
auto t = lua.create_table();
t.new_usertype<File>... | 29.037037 | 75 | 0.552934 | kushview |
16d21cfa513614ef99c27e015c5d3c98e305788b | 5,565 | cc | C++ | dcmdata/tests/tvrdatim.cc | trice-imaging/dcmtk | 60b158654dc7215d938a9ddba92ef5e93ded298d | [
"Apache-2.0"
] | 10 | 2016-07-03T12:16:58.000Z | 2021-12-18T06:15:50.000Z | dcmdata/tests/tvrdatim.cc | trice-imaging/dcmtk | 60b158654dc7215d938a9ddba92ef5e93ded298d | [
"Apache-2.0"
] | 1 | 2020-04-30T07:55:55.000Z | 2020-04-30T07:55:55.000Z | dcmdata/tests/tvrdatim.cc | trice-imaging/dcmtk | 60b158654dc7215d938a9ddba92ef5e93ded298d | [
"Apache-2.0"
] | 9 | 2017-02-09T02:16:39.000Z | 2021-01-06T02:49:24.000Z | /*
*
* Copyright (C) 2002-2013, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmdata
*
* Author: Joerg Ri... | 38.37931 | 140 | 0.647978 | trice-imaging |
16d3368bb7c27f39a0da056372a016210b6ccbe8 | 1,225 | cpp | C++ | DigitalTriangle/DigitalTriangle11.cpp | nananjy/DynamicPlanning | 03c96c6dca92f5b3c82fceb5e061e93c1d22edfd | [
"Apache-2.0"
] | 1 | 2017-12-28T13:46:35.000Z | 2017-12-28T13:46:35.000Z | DigitalTriangle/DigitalTriangle11.cpp | nananjy/DynamicPlanning | 03c96c6dca92f5b3c82fceb5e061e93c1d22edfd | [
"Apache-2.0"
] | null | null | null | DigitalTriangle/DigitalTriangle11.cpp | nananjy/DynamicPlanning | 03c96c6dca92f5b3c82fceb5e061e93c1d22edfd | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
/**
* 利用动态规划思想求解数字三角形(POJ 1163), 题目来源IOI 1994
* 将一个问题分解为子问题递归求解,并且将中间结果保存以避免重复计算的办法
* 1.问题具有最优子结构性质(问题的最优解所包含的子问题的解也是最优的)
* 2.无后效性(当前若干个状态值一旦确定,此后过程的演变就只和这若干个状态值有关,与之前采取哪种方式演变到若干个状态无关)
* 问题描述:求出累加和最大的最佳路径上的数字之和,
* 路径上每一步只能从一个数走到下一层和它最近的左边... | 23.113208 | 63 | 0.64 | nananjy |
16d43efb37d4ed9a4328173e3ada098bdfc0373b | 2,383 | cpp | C++ | Competitive Programing Problem Solutions/UVA/11800 - Determine the Shape.cpp | BIJOY-SUST/ACM---ICPC | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | 1 | 2022-02-27T12:07:59.000Z | 2022-02-27T12:07:59.000Z | Competitive Programing Problem Solutions/UVA/11800 - Determine the Shape.cpp | BIJOY-SUST/Competitive-Programming | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | null | null | null | Competitive Programing Problem Solutions/UVA/11800 - Determine the Shape.cpp | BIJOY-SUST/Competitive-Programming | b382d80d327ddcab15ab15c0e763ccf8a22e0d43 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
//#define mx 100010
//#define mod 1000000007
#define pi 2*acos(0.0)
//#define ll long long int
//#define pp pair<int,int>
//#define ull unsigned long long int
//#define valid(tx,ty) tx>=0&&tx<r&&ty>=0&&ty<c
//#define... | 28.710843 | 105 | 0.524549 | BIJOY-SUST |
16d9aead6539584257b48eb97868cfc4e78e693e | 4,416 | cc | C++ | verity/verity_main.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | 4 | 2020-07-24T06:54:16.000Z | 2021-06-16T17:13:53.000Z | verity/verity_main.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | 1 | 2021-04-02T17:35:07.000Z | 2021-04-02T17:35:07.000Z | verity/verity_main.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | 1 | 2020-11-04T22:31:45.000Z | 2020-11-04T22:31:45.000Z | // Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by the GPL v2 license that can
// be found in the LICENSE file.
//
// Driver program for creating verity hash images.
#include <stdio.h>
#include <stdlib.h>
#include <memory>
#include <base/files/file.h>
#inclu... | 31.769784 | 79 | 0.588995 | Toromino |
16dca7140d3fc2d455f4652f94d73f73ec3f922f | 20,346 | hpp | C++ | src/SingleLayerOptics/src/MaterialDescription.hpp | LBNL-ETA/Windows-CalcEngine | c81528f25ffb79989fcb15b03f00b7c18da138c4 | [
"BSD-3-Clause-LBNL"
] | 15 | 2018-04-20T19:16:50.000Z | 2022-02-11T04:11:41.000Z | src/SingleLayerOptics/src/MaterialDescription.hpp | LBNL-ETA/Windows-CalcEngine | c81528f25ffb79989fcb15b03f00b7c18da138c4 | [
"BSD-3-Clause-LBNL"
] | 31 | 2016-04-05T20:56:28.000Z | 2022-03-31T22:02:46.000Z | src/SingleLayerOptics/src/MaterialDescription.hpp | LBNL-ETA/Windows-CalcEngine | c81528f25ffb79989fcb15b03f00b7c18da138c4 | [
"BSD-3-Clause-LBNL"
] | 6 | 2018-04-20T19:38:58.000Z | 2020-04-06T00:30:47.000Z | #ifndef MATERIALDESCRIPTION_H
#define MATERIALDESCRIPTION_H
#include <memory>
#include <vector>
#include <map>
#include <functional>
#include <WCESpectralAveraging.hpp>
#include "BeamDirection.hpp" // Need to include rather than forward declare to default incoming and outgoing directions to CBeamDirection()
#includ... | 45.415179 | 192 | 0.613978 | LBNL-ETA |
16e177a8e343d2d71049506dbc4124d2301bdff0 | 882 | cpp | C++ | jianzhioffer/33verifyPostorder.cpp | wanghengg/LeetCode | 4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79 | [
"Apache-2.0"
] | null | null | null | jianzhioffer/33verifyPostorder.cpp | wanghengg/LeetCode | 4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79 | [
"Apache-2.0"
] | null | null | null | jianzhioffer/33verifyPostorder.cpp | wanghengg/LeetCode | 4f73d7e176c8de5d2d9b87ab2812f7aa80c20a79 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
bool verify(vector<int>& postorder, int left, int right) {
if (left >= right) return true;
int root = postorder[right];
int index = right-1;
while (index >= 0 && postorder[index] > root) {
--index;
... | 25.941176 | 85 | 0.528345 | wanghengg |
16e2ac8bd50e36687a24da8a1e931ab99745b161 | 596 | cc | C++ | aircrafting/Game.cc | SametSisartenep/game-dev | 8779ea5845784e1ab1cea5bc5c29e46463aef731 | [
"MIT"
] | 1 | 2015-11-08T11:17:50.000Z | 2015-11-08T11:17:50.000Z | aircrafting/Game.cc | SametSisartenep/game-dev | 8779ea5845784e1ab1cea5bc5c29e46463aef731 | [
"MIT"
] | null | null | null | aircrafting/Game.cc | SametSisartenep/game-dev | 8779ea5845784e1ab1cea5bc5c29e46463aef731 | [
"MIT"
] | null | null | null | #include "Game.h"
Game::Game()
: mWindow(sf::VideoMode(640, 480), "SFML Application")
, mPlayer()
{
mPlayer.setRadius(40.f);
mPlayer.setPosition(100.f, 100.f);
mPlayer.setFillColor(sf::Color::Cyan);
}
void Game::run() {
while (mWindow.isOpen()) {
processEvents();
update();
render();
}
}
voi... | 15.684211 | 56 | 0.607383 | SametSisartenep |
16e44e887c301125aa6e1f42d03c160a38362d48 | 8,965 | cpp | C++ | src/cluster.cpp | n1ckfg/triplclust | d8c5dbb3803c431f3bfb3ed7af8a8b42b5641471 | [
"BSD-2-Clause"
] | null | null | null | src/cluster.cpp | n1ckfg/triplclust | d8c5dbb3803c431f3bfb3ed7af8a8b42b5641471 | [
"BSD-2-Clause"
] | null | null | null | src/cluster.cpp | n1ckfg/triplclust | d8c5dbb3803c431f3bfb3ed7af8a8b42b5641471 | [
"BSD-2-Clause"
] | null | null | null | //
// cluster.cpp
// Functions for triplet clustering and for propagating
// the triplet cluster labels to points
//
// Author: Jens Wilberg, Lukas Aymans, Christoph Dalitz
// Date: 2019-04-02
// License: see ../LICENSE
//
#include <algorithm>
#include <cmath>
#include <fstream>
#include "cluster.h"
#incl... | 34.480769 | 80 | 0.570329 | n1ckfg |
16e922742d90d8d2f191cbb16da1ad360e15706e | 2,416 | cpp | C++ | Demos/UnitTests/src/Sort.cpp | gammaker/Intra | aed1647cd2cf1781ab0976c2809533d0f347e87e | [
"MIT"
] | 8 | 2017-05-22T12:55:40.000Z | 2018-11-11T22:36:56.000Z | Demos/UnitTests/src/Sort.cpp | gammaker/Intra | aed1647cd2cf1781ab0976c2809533d0f347e87e | [
"MIT"
] | 1 | 2020-03-14T11:26:17.000Z | 2020-03-14T12:31:11.000Z | Demos/UnitTests/src/Sort.cpp | devoln/Intra | aed1647cd2cf1781ab0976c2809533d0f347e87e | [
"MIT"
] | 1 | 2017-10-12T10:03:56.000Z | 2017-10-12T10:03:56.000Z | #include "Cpp/Warnings.h"
INTRA_PUSH_DISABLE_REDUNDANT_WARNINGS
#include "Sort.h"
#include "Range/Sort.hh"
#include "Container/Sequential/Array.h"
#include "IO/FormattedWriter.h"
#include "Utils/Debug.h"
INTRA_PUSH_DISABLE_ALL_WARNINGS
#include <algorithm>
INTRA_WARNING_POP
using namespace Intra;
static const sho... | 31.376623 | 60 | 0.768626 | gammaker |
16eb73148836c6c033158610a65de3b2daf19c4b | 1,148 | hpp | C++ | src/wavefile.hpp | ushitora-anqou/cables | edafc749bfd010e367838c193183b80953f60000 | [
"MIT"
] | 2 | 2021-02-15T08:11:00.000Z | 2021-11-14T17:09:37.000Z | src/wavefile.hpp | ushitora-anqou/cables | edafc749bfd010e367838c193183b80953f60000 | [
"MIT"
] | null | null | null | src/wavefile.hpp | ushitora-anqou/cables | edafc749bfd010e367838c193183b80953f60000 | [
"MIT"
] | null | null | null | #pragma once
#ifndef ___WAVEFILE_HPP___
#define ___WAVEFILE_HPP___
#include "pcmwave.hpp"
#include <cstdint>
#include <fstream>
#include <string>
// リニアPCM専用
struct PCMWaveFileHeader
{
std::uint8_t riffID[4];
std::uint32_t size;
std::uint8_t waveID[4];
std::uint8_t fmtID[4];
std::uint32_t fmtS... | 17.9375 | 45 | 0.614111 | ushitora-anqou |
16ec96b7b56a3862a4bc1131d8646d4625a21025 | 2,653 | cc | C++ | src/core/ext/filters/client_channel/server_address.cc | inteos/grpc | fb8e4556c250bbcc523b55e6ebe69cb2b3d95998 | [
"Apache-2.0"
] | 4 | 2020-08-11T10:00:16.000Z | 2021-10-08T15:17:25.000Z | src/core/ext/filters/client_channel/server_address.cc | inteos/grpc | fb8e4556c250bbcc523b55e6ebe69cb2b3d95998 | [
"Apache-2.0"
] | 1 | 2020-05-12T16:17:30.000Z | 2020-05-12T16:17:30.000Z | src/core/ext/filters/client_channel/server_address.cc | inteos/grpc | fb8e4556c250bbcc523b55e6ebe69cb2b3d95998 | [
"Apache-2.0"
] | 3 | 2020-08-16T12:11:56.000Z | 2021-11-06T02:45:04.000Z | /*
*
* Copyright 2018 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 32.353659 | 75 | 0.701093 | inteos |
16ef5617204523102bd98f68ff37ffc01c208f77 | 1,091 | cpp | C++ | D.cpp | ebaty/Typical-DP-Contest | eae2f3547df020dbdb66e3314dbae44c9c51fe89 | [
"MIT"
] | null | null | null | D.cpp | ebaty/Typical-DP-Contest | eae2f3547df020dbdb66e3314dbae44c9c51fe89 | [
"MIT"
] | null | null | null | D.cpp | ebaty/Typical-DP-Contest | eae2f3547df020dbdb66e3314dbae44c9c51fe89 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <string>
#include <sstream>
#include <map>
#include <queue>
#include <stack>
#include <algorithm>
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n) FOR(i,0,n)
using namespace std;
typedef long long ll;
double dp[101][70][4... | 17.046875 | 49 | 0.447296 | ebaty |
16f12e57f172efe12626bf5e5860754845bed1d9 | 666 | cpp | C++ | answers/ArghyaDas21112001/Day 19/Question 2.cpp | justshivam/30-DaysOfCode-March-2021 | 64d434c07b9ec875384dee681a3eecefab3ddef0 | [
"MIT"
] | 22 | 2021-03-16T14:07:47.000Z | 2021-08-13T08:52:50.000Z | answers/ArghyaDas21112001/Day 19/Question 2.cpp | justshivam/30-DaysOfCode-March-2021 | 64d434c07b9ec875384dee681a3eecefab3ddef0 | [
"MIT"
] | 174 | 2021-03-16T21:16:40.000Z | 2021-06-12T05:19:51.000Z | answers/ArghyaDas21112001/Day 19/Question 2.cpp | justshivam/30-DaysOfCode-March-2021 | 64d434c07b9ec875384dee681a3eecefab3ddef0 | [
"MIT"
] | 135 | 2021-03-16T16:47:12.000Z | 2021-06-27T14:22:38.000Z | #include <iostream>
using namespace std;
int main()
{
int i,j,k;
int n;
cout<<"Enter the size of the array: ";
cin>>n;
int arr[n];
cout<<"Enter the elements of the array: ";
for(i=0;i<n;i++)
{
cin>>arr[i];
}
int sum;
cout<<"Enter the Sum: ";
cin>>sum;
i... | 17.526316 | 50 | 0.382883 | justshivam |
a8480fced0de3740bbe0f324752916d5f212e78c | 1,057 | hpp | C++ | include/Menu.hpp | Kiloris/Complot_Game | 81247c6c13d7921a9cc01b765ab3a4a5924c2391 | [
"MIT"
] | null | null | null | include/Menu.hpp | Kiloris/Complot_Game | 81247c6c13d7921a9cc01b765ab3a4a5924c2391 | [
"MIT"
] | null | null | null | include/Menu.hpp | Kiloris/Complot_Game | 81247c6c13d7921a9cc01b765ab3a4a5924c2391 | [
"MIT"
] | null | null | null | /*
** COMPLOT PROJECT
** AUTHOR:
** Zacharie ABIDAT
*/
#ifndef MENU_HPP_
#define MENU_HPP_
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <SFML/Graphics/Font.hpp>
#include "Button.hpp"
#include "Square.hpp"
#include <iostream>
#include <cstdlib>
class Menu {
public:
Menu(sf::RenderWindow... | 21.571429 | 42 | 0.603595 | Kiloris |
a8495da44209d7d618d0294d61afbbf6915e786f | 14,009 | hpp | C++ | api-cpp/include/dfx/api/MeasurementStreamAPI.hpp | nuralogix/dfx-api-client-cpp | 6b45307ddf4b0036c107eebd7e8915f6c501c3b0 | [
"MIT"
] | null | null | null | api-cpp/include/dfx/api/MeasurementStreamAPI.hpp | nuralogix/dfx-api-client-cpp | 6b45307ddf4b0036c107eebd7e8915f6c501c3b0 | [
"MIT"
] | null | null | null | api-cpp/include/dfx/api/MeasurementStreamAPI.hpp | nuralogix/dfx-api-client-cpp | 6b45307ddf4b0036c107eebd7e8915f6c501c3b0 | [
"MIT"
] | null | null | null | // Copyright (c) Nuralogix. All rights reserved. Licensed under the MIT license.
// See LICENSE.txt in the project root for license information.
#pragma once
#ifndef DFX_API_CLOUD_MEASUREMENT_STREAM_API_H
#define DFX_API_CLOUD_MEASUREMENT_STREAM_API_H
#include "dfx/api/CloudAPI_Export.hpp"
#include "dfx/api/CloudConf... | 38.486264 | 117 | 0.721964 | nuralogix |
a84f2912ec22baefc073957b9f3873639de6dac9 | 639 | cpp | C++ | Scripts/BossBehaviourScript/BossStateIdle.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 10 | 2019-02-25T11:36:23.000Z | 2021-11-03T22:51:30.000Z | Scripts/BossBehaviourScript/BossStateIdle.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 146 | 2019-02-05T13:57:33.000Z | 2019-11-07T16:21:31.000Z | Scripts/BossBehaviourScript/BossStateIdle.cpp | FractalPuppy/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 3 | 2019-11-17T20:49:12.000Z | 2020-04-19T17:28:28.000Z | #include "BossStateIdle.h"
#include "BossBehaviourScript.h"
#include "EnemyControllerScript/EnemyControllerScript.h"
#include "ComponentAnimation.h"
BossStateIdle::BossStateIdle(BossBehaviourScript* AIBoss)
{
boss = AIBoss;
trigger = "Idle";
}
BossStateIdle::~BossStateIdle()
{
}
void BossStateIdle::HandleIA()
{
... | 17.75 | 57 | 0.730829 | solidajenjo |
a850704010729c2f191254bdf87149b994e49e75 | 205 | cpp | C++ | 02Fundamental Data Types/04staticCast.cpp | CedarChennn/myC | b4de17f332788e3e578d304f2a690d2c9a07c004 | [
"Apache-2.0"
] | 2 | 2021-01-13T08:55:41.000Z | 2021-04-23T15:14:05.000Z | 02Fundamental Data Types/04staticCast.cpp | CedarChennn/myC | b4de17f332788e3e578d304f2a690d2c9a07c004 | [
"Apache-2.0"
] | null | null | null | 02Fundamental Data Types/04staticCast.cpp | CedarChennn/myC | b4de17f332788e3e578d304f2a690d2c9a07c004 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
int main()
{
char ch{'a'};
std::cout<<ch<<'\n';
std::cout<<static_cast<int>(ch)<<'\n';
std::cout<<ch<<'\n';
std::cout<<static_cast<int>(45)<<'\n';
return 0;
} | 18.636364 | 43 | 0.507317 | CedarChennn |
a85394441ace427372373be4380ababe41b36f9f | 1,313 | cpp | C++ | src/Restaurant/Rest/Order.cpp | aashrafh/Tayara | 4d59115ad52a8fed60dc1098d37b0aa33427a126 | [
"MIT"
] | null | null | null | src/Restaurant/Rest/Order.cpp | aashrafh/Tayara | 4d59115ad52a8fed60dc1098d37b0aa33427a126 | [
"MIT"
] | null | null | null | src/Restaurant/Rest/Order.cpp | aashrafh/Tayara | 4d59115ad52a8fed60dc1098d37b0aa33427a126 | [
"MIT"
] | 1 | 2019-05-02T02:57:00.000Z | 2019-05-02T02:57:00.000Z | #include "Order.h"
Order::Order(int id, ORD_TYPE r_Type, REGION r_region, int DST, double MON, int ArrT)
{
ID = (id > 0 && id < 1000) ? id : 0; //1<ID<999
type = r_Type;
Region = r_region;
//should we check for the validaity of the distance? and what we will do if it's invalid?!
Distance = DST;
totalMoney = MON... | 15.819277 | 91 | 0.693069 | aashrafh |
a8575b98f518033b6731753bc63e967aef4ef02f | 6,434 | hpp | C++ | include/RSG/Tuple.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/RSG/Tuple.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/RSG/Tuple.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils-met... | 68.446809 | 583 | 0.727541 | v0idp |
a857926d1990db6a4478b7d1508a558a9b5e8134 | 2,016 | cpp | C++ | Genesis3D/v120/OpenSource/Tools/mkactor/AStudio/StdAfx.cpp | dumpinfo/WinMasterGame | 59d300ec77c46fec2a821b4cfa095af0c21e434c | [
"Unlicense"
] | null | null | null | Genesis3D/v120/OpenSource/Tools/mkactor/AStudio/StdAfx.cpp | dumpinfo/WinMasterGame | 59d300ec77c46fec2a821b4cfa095af0c21e434c | [
"Unlicense"
] | null | null | null | Genesis3D/v120/OpenSource/Tools/mkactor/AStudio/StdAfx.cpp | dumpinfo/WinMasterGame | 59d300ec77c46fec2a821b4cfa095af0c21e434c | [
"Unlicense"
] | null | null | null | /****************************************************************************************/
/* STDAFX.CPP */
/* */
/* Author: Jim Mischel */
/* Descri... | 72 | 91 | 0.34871 | dumpinfo |
a85a9f40340d7abe6ff59b27922e0a85144e3d32 | 1,942 | cpp | C++ | descartes_trajectory/src/axial_symmetric_pt.cpp | shaun-edwards/descartes | 75baae4ceccf328ec2315d7fdbc247006949251c | [
"Apache-2.0"
] | null | null | null | descartes_trajectory/src/axial_symmetric_pt.cpp | shaun-edwards/descartes | 75baae4ceccf328ec2315d7fdbc247006949251c | [
"Apache-2.0"
] | 1 | 2016-11-03T18:42:03.000Z | 2016-11-03T18:47:20.000Z | descartes_trajectory/src/axial_symmetric_pt.cpp | shaun-edwards/descartes | 75baae4ceccf328ec2315d7fdbc247006949251c | [
"Apache-2.0"
] | null | null | null | #include "descartes_trajectory/axial_symmetric_pt.h"
using descartes_trajectory::TolerancedFrame;
using descartes_trajectory::AxialSymmetricPt;
using namespace descartes_core::utils;
static TolerancedFrame makeRotationalAxis(AxialSymmetricPt::FreeAxis axis)
{
using namespace descartes_trajectory;
Eigen::Affine3... | 41.319149 | 105 | 0.642122 | shaun-edwards |
a85d331d28dd0db9296751972ce0424c91ec1c51 | 1,498 | cxx | C++ | cgv/reflect/reflect_enum.cxx | MarioHenze/cgv | bacb2d270b1eecbea1e933b8caad8d7e11d807c2 | [
"BSD-3-Clause"
] | 11 | 2017-09-30T12:21:55.000Z | 2021-04-29T21:31:57.000Z | cgv/reflect/reflect_enum.cxx | MarioHenze/cgv | bacb2d270b1eecbea1e933b8caad8d7e11d807c2 | [
"BSD-3-Clause"
] | 2 | 2017-07-11T11:20:08.000Z | 2018-03-27T12:09:02.000Z | cgv/reflect/reflect_enum.cxx | MarioHenze/cgv | bacb2d270b1eecbea1e933b8caad8d7e11d807c2 | [
"BSD-3-Clause"
] | 24 | 2018-03-27T11:46:16.000Z | 2021-05-01T20:28:34.000Z | #include "reflect_enum.h"
#include <cgv/utils/convert.h>
#include <cgv/utils/scan_enum.h>
namespace cgv {
namespace reflect {
void abst_enum_reflection_traits::parse_declarations()
{
cgv::utils::parse_enum_declarations(declarations(), ref_names(), ref_values());
}
bool abst_enum_reflection_traits::has_s... | 26.75 | 97 | 0.730975 | MarioHenze |
a85dc5bf5b4cb76bf77a0750e0662cb67b65b4ff | 7,478 | cpp | C++ | worker/src/Channel/ChannelSocket.cpp | kcking/mediasoup | f385349d0f06fe14a4e38d50f0212b48d588fa32 | [
"ISC"
] | 29 | 2020-09-27T12:14:18.000Z | 2022-02-28T15:58:03.000Z | worker/src/Channel/ChannelSocket.cpp | kcking/mediasoup | f385349d0f06fe14a4e38d50f0212b48d588fa32 | [
"ISC"
] | 10 | 2021-10-10T14:04:01.000Z | 2022-03-21T09:39:14.000Z | worker/src/Channel/ChannelSocket.cpp | kcking/mediasoup | f385349d0f06fe14a4e38d50f0212b48d588fa32 | [
"ISC"
] | 7 | 2021-01-12T03:07:14.000Z | 2021-08-23T14:43:32.000Z | #define MS_CLASS "Channel::ChannelSocket"
// #define MS_LOG_DEV_LEVEL 3
#include "Channel/ChannelSocket.hpp"
#include "DepLibUV.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include <cmath> // std::ceil()
#include <cstdio> // sprintf()
#include <cstring> // std::memcpy(), std::memmove()
namespace Chan... | 21.426934 | 106 | 0.681733 | kcking |
a8634c0220e2b4ba4d6cd9458efbeef840cd96e3 | 3,171 | cpp | C++ | code/cheonsa/cheonsa__types_vector32x3.cpp | Olaedaria/cheonsa | cf366a5869a4bf0872a0d8dc6a01a68118cfc92e | [
"Unlicense"
] | null | null | null | code/cheonsa/cheonsa__types_vector32x3.cpp | Olaedaria/cheonsa | cf366a5869a4bf0872a0d8dc6a01a68118cfc92e | [
"Unlicense"
] | null | null | null | code/cheonsa/cheonsa__types_vector32x3.cpp | Olaedaria/cheonsa | cf366a5869a4bf0872a0d8dc6a01a68118cfc92e | [
"Unlicense"
] | null | null | null | #include "cheonsa__types_vector32x3.h"
#include "cheonsa__types_vector64x3.h"
#include <cassert>
namespace cheonsa
{
vector32x3_c::vector32x3_c()
: a( 0.0f )
, b( 0.0f )
, c( 0.0f )
{
}
vector32x3_c::vector32x3_c( float32_c const a, float32_c const b, float32_c const c )
: a( a )
, b( b )
, c( c )
{... | 19.943396 | 86 | 0.597288 | Olaedaria |
a863ed98d0ee2dd3567f2c52b3b18ed0d8fdab81 | 857 | hpp | C++ | libs/fnd/algorithm/include/bksge/fnd/algorithm/detail/nth_element.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/algorithm/include/bksge/fnd/algorithm/detail/nth_element.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/algorithm/include/bksge/fnd/algorithm/detail/nth_element.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file nth_element.hpp
*
* @brief nth_element の実装
*
* @author myoukaku
*/
#ifndef BKSGE_FND_ALGORITHM_DETAIL_NTH_ELEMENT_HPP
#define BKSGE_FND_ALGORITHM_DETAIL_NTH_ELEMENT_HPP
#include <bksge/fnd/algorithm/detail/introselect.hpp>
#include <bksge/fnd/algorithm/detail/lg.hpp>
#include <bksge/fn... | 19.477273 | 64 | 0.718786 | myoukaku |
a865f27a20daf4e5f2d44d68a329738578fdeb54 | 4,959 | cpp | C++ | examples/tlm/at_ooo/src/at_ooo_top.cpp | veeYceeY/systemc | 1bd5598ed1a8cf677ebb750accd5af485bc1085a | [
"Apache-2.0"
] | 194 | 2019-07-25T21:27:23.000Z | 2022-03-22T00:08:06.000Z | examples/tlm/at_ooo/src/at_ooo_top.cpp | veeYceeY/systemc | 1bd5598ed1a8cf677ebb750accd5af485bc1085a | [
"Apache-2.0"
] | 24 | 2019-12-03T18:26:07.000Z | 2022-02-17T09:38:25.000Z | examples/tlm/at_ooo/src/at_ooo_top.cpp | veeYceeY/systemc | 1bd5598ed1a8cf677ebb750accd5af485bc1085a | [
"Apache-2.0"
] | 64 | 2019-08-02T19:28:25.000Z | 2022-03-30T10:21:22.000Z | /*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | 43.5 | 80 | 0.497076 | veeYceeY |
a86623195137bb99ea71ffcb7029404dda1ec14a | 6,306 | hpp | C++ | src/3rd party/boost/boost/multi_array/concept_checks.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/multi_array/concept_checks.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/multi_array/concept_checks.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | // Copyright (C) 2002 Ronald Garcia
//
// Permission to copy, use, sell and distribute this software is granted
// provided this copyright notice appears in all copies.
// Permission to modify the code and to distribute modified code is granted
// provided this copyright notice appears in all copies, and a notice
// ... | 30.911765 | 75 | 0.679987 | OLR-xray |
a869c1e901534815ec197af8198353bb6bf335fe | 22,306 | cpp | C++ | learnSipros/Sipros/src/Scores/MVH.cpp | xyz1396/Projects | 943ddb37039c13e2878a1d39a2d4d97c937f183a | [
"MIT"
] | null | null | null | learnSipros/Sipros/src/Scores/MVH.cpp | xyz1396/Projects | 943ddb37039c13e2878a1d39a2d4d97c937f183a | [
"MIT"
] | null | null | null | learnSipros/Sipros/src/Scores/MVH.cpp | xyz1396/Projects | 943ddb37039c13e2878a1d39a2d4d97c937f183a | [
"MIT"
] | null | null | null | /*
* MVH.cpp
*
* Created on: May 23, 2016
* Author: xgo
*/
#include "../Scores/MVH.h"
bool MVH::bUseSmartPlusThreeModel = true;
lnFactorialTable * MVH::lnTable = NULL;
bitset<FragmentTypes_Size> MVH::fragmentTypes(string("0010010"));
double MVH::ProbabilityCutOff = 0.25;
MVH::MVH() {
// TODO Auto-generat... | 33.848255 | 154 | 0.654577 | xyz1396 |
a86a357c163bc7e81e00664a6ed39905f5d40611 | 15,313 | cc | C++ | source/geometry/divisions/pyG4ParameterisationCons.cc | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | 6 | 2021-08-08T08:40:13.000Z | 2022-03-23T03:05:15.000Z | source/geometry/divisions/pyG4ParameterisationCons.cc | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | 3 | 2021-12-01T14:38:06.000Z | 2022-02-10T11:28:28.000Z | source/geometry/divisions/pyG4ParameterisationCons.cc | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | 3 | 2021-07-16T13:57:34.000Z | 2022-02-07T11:17:19.000Z | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <G4ParameterisationCons.hh>
#include <G4Material.hh>
#include <G4VPhysicalVolume.hh>
#include <G4VTouchable.hh>
#include <G4VSolid.hh>
#include <G4Box.hh>
#include <G4Tubs.hh>
#include <G4Trd.hh>
#include <G4Trap.hh>
#include <G4Cons.hh>
#i... | 43.751429 | 121 | 0.717691 | yu22mal |
a86bfed67420dbda88c73252b3245f626081fd86 | 7,007 | hxx | C++ | ComputeLBMBoundaries/LBMNoseSphere.hxx | PediatricAirways/CrossSectionMeasurementTools | 059909d16f0b3033b7b604a2174c7c239dc63dcb | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2016-11-11T16:57:59.000Z | 2018-03-13T09:28:10.000Z | ComputeLBMBoundaries/LBMNoseSphere.hxx | PediatricAirways/CrossSectionMeasurementTools | 059909d16f0b3033b7b604a2174c7c239dc63dcb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | ComputeLBMBoundaries/LBMNoseSphere.hxx | PediatricAirways/CrossSectionMeasurementTools | 059909d16f0b3033b7b604a2174c7c239dc63dcb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #ifndef LBMNoseSphere_hxx_included
#define LBMNoseSphere_hxx_included
#include <queue>
#include <itkImage.h>
#include "LBMNoseSphere.h"
namespace {
template< class TBinaryImage >
bool
InsideSphere( typename TBinaryImage::IndexType index,
TBinaryImage * binaryImage,
typename TBinaryImag... | 33.051887 | 90 | 0.649493 | PediatricAirways |
a86d654f31b46bd834a81acc20772f64da3ee653 | 22,484 | hpp | C++ | src/Enzo/enzo_EnzoRiemannLUT.hpp | buketbenek/enzo-e | 329a398ce4b11b03a1b2f1aef9e46d04560fe894 | [
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoRiemannLUT.hpp | buketbenek/enzo-e | 329a398ce4b11b03a1b2f1aef9e46d04560fe894 | [
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoRiemannLUT.hpp | buketbenek/enzo-e | 329a398ce4b11b03a1b2f1aef9e46d04560fe894 | [
"BSD-3-Clause"
] | null | null | null | // See LICENSE_CELLO file for license and copyright information
/// @file enzo_EnzoRiemannUtils.hpp
/// @author Matthew Abruzzo (matthewabruzzo@gmail.com)
/// @date Thurs May 15 2020
/// @brief [\ref Enzo] Implementation of EnzoRiemannLUTWrapper
#ifndef ENZO_ENZO_RIEMANN_LUT_WRAPPER_HPP
#define ENZO_ENZO... | 46.939457 | 80 | 0.618262 | buketbenek |
a86e86e5c4401366713810ee099c099e47b96948 | 3,007 | cpp | C++ | examples/stackedfm.cpp | vlazzarini/aurora | 4990d81a6873beace4a39d6584cc77afbda82cf4 | [
"BSD-3-Clause"
] | 11 | 2021-11-26T16:23:40.000Z | 2022-01-19T21:36:35.000Z | examples/stackedfm.cpp | vlazzarini/aurora | 4990d81a6873beace4a39d6584cc77afbda82cf4 | [
"BSD-3-Clause"
] | null | null | null | examples/stackedfm.cpp | vlazzarini/aurora | 4990d81a6873beace4a39d6584cc77afbda82cf4 | [
"BSD-3-Clause"
] | null | null | null | // stackedfm.cpp:
// Stacked FM example
//
// (c) V Lazzarini, 2021
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditi... | 37.123457 | 80 | 0.663785 | vlazzarini |
a870b58f24e926981982fe06011b886bee7bf558 | 9,897 | cpp | C++ | mps/src/v20190612/model/MediaVideoStreamItem.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | mps/src/v20190612/model/MediaVideoStreamItem.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | mps/src/v20190612/model/MediaVideoStreamItem.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* 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
... | 27.722689 | 153 | 0.682025 | suluner |
a8764ec99f69dcf8e96cdfb694ae72a5c9e31b59 | 1,107 | cpp | C++ | Source/Services/TitleStorage/title_storage_blob_result.cpp | blgrossMS/xbox-live-api | 17c586336e11f0fa3a2a3f3acd665b18c5487b24 | [
"MIT"
] | 2 | 2021-07-17T13:34:20.000Z | 2022-01-09T00:55:51.000Z | Source/Services/TitleStorage/title_storage_blob_result.cpp | blgrossMS/xbox-live-api | 17c586336e11f0fa3a2a3f3acd665b18c5487b24 | [
"MIT"
] | null | null | null | Source/Services/TitleStorage/title_storage_blob_result.cpp | blgrossMS/xbox-live-api | 17c586336e11f0fa3a2a3f3acd665b18c5487b24 | [
"MIT"
] | 1 | 2018-11-18T08:32:40.000Z | 2018-11-18T08:32:40.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
/... | 27.675 | 64 | 0.707317 | blgrossMS |
a8765ae4d540befbf7c1096cfb148836f0d8972e | 2,430 | cpp | C++ | src/generate_dijkstra_rank_test_queries.cpp | TheMarex/RoutingKit | 92ad3dd90a82b687a8a9a7468054f2449ff7c67f | [
"BSD-2-Clause"
] | 1 | 2021-04-13T05:54:28.000Z | 2021-04-13T05:54:28.000Z | src/generate_dijkstra_rank_test_queries.cpp | TheMarex/RoutingKit | 92ad3dd90a82b687a8a9a7468054f2449ff7c67f | [
"BSD-2-Clause"
] | null | null | null | src/generate_dijkstra_rank_test_queries.cpp | TheMarex/RoutingKit | 92ad3dd90a82b687a8a9a7468054f2449ff7c67f | [
"BSD-2-Clause"
] | null | null | null | #include <routingkit/vector_io.h>
#include "dijkstra.h"
#include "verify.h"
#include <iostream>
#include <stdexcept>
#include <vector>
#include <random>
using namespace RoutingKit;
using namespace std;
int main(int argc, char*argv[]){
try{
unsigned source_node_count;
unsigned random_seed;
string source_file... | 22.293578 | 133 | 0.654733 | TheMarex |
a876a08fce293a9494a6d59244c2965672fe3bcf | 761 | hpp | C++ | robo_trace/include/robo_trace/modes/replay/util.hpp | tu-darmstadt-ros-pkg/robo_trace | 60ce64d60110597a0c077aa31199481c20d164b2 | [
"BSD-3-Clause"
] | null | null | null | robo_trace/include/robo_trace/modes/replay/util.hpp | tu-darmstadt-ros-pkg/robo_trace | 60ce64d60110597a0c077aa31199481c20d164b2 | [
"BSD-3-Clause"
] | null | null | null | robo_trace/include/robo_trace/modes/replay/util.hpp | tu-darmstadt-ros-pkg/robo_trace | 60ce64d60110597a0c077aa31199481c20d164b2 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2022 Fachgebiet Simulation, Systemoptimierung und Robotik, TU Darmstadt.
*
* This file is part of RoboTrace
* (see https://github.com/tu-darmstadt-ros-pkg/robo_trace)
* and is governed by a BSD-style license
* that can be found in the LICENSE file.
*/
#pragma once
// Std
#include <memory>
#i... | 22.382353 | 162 | 0.726675 | tu-darmstadt-ros-pkg |
a87bf448fc7f780e890e98f209331501ff975ee4 | 1,776 | hpp | C++ | armadillo/include/armadillo_bits/fn_diagmat.hpp | cornell-cup/cs-r2kart-demo | c7224515bf6d4a1bd6b57d1f7186e999564eabc3 | [
"MIT"
] | 13 | 2016-01-05T13:45:19.000Z | 2020-10-22T05:32:19.000Z | armadillo/include/armadillo_bits/fn_diagmat.hpp | cornell-cup/cs-r2kart-demo | c7224515bf6d4a1bd6b57d1f7186e999564eabc3 | [
"MIT"
] | 1 | 2020-06-26T07:08:25.000Z | 2020-06-26T07:08:25.000Z | armadillo/include/armadillo_bits/fn_diagmat.hpp | cornell-cup/cs-r2kart-demo | c7224515bf6d4a1bd6b57d1f7186e999564eabc3 | [
"MIT"
] | 5 | 2016-01-09T10:05:17.000Z | 2019-03-30T10:58:35.000Z | // Copyright (C) 2008-2015 National ICT Australia (NICTA)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// -----------------------------------------------------... | 21.658537 | 92 | 0.657658 | cornell-cup |
a87c3784001508ab174db2c836a7b2647d2e98b0 | 1,212 | ipp | C++ | ThirdParty/oglplus-develop/implement/oglplus/enums/ext/compat_client_attrib_group_range.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 24 | 2015-01-31T15:30:49.000Z | 2022-01-29T08:36:42.000Z | ThirdParty/oglplus-develop/implement/oglplus/enums/ext/compat_client_attrib_group_range.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 4 | 2015-08-21T02:29:15.000Z | 2020-05-02T13:50:36.000Z | ThirdParty/oglplus-develop/implement/oglplus/enums/ext/compat_client_attrib_group_range.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 9 | 2015-06-08T22:04:15.000Z | 2021-08-16T03:52:11.000Z | /*
* .file oglplus/enums/ext/compat_client_attrib_group_range.ipp
*
* Automatically generated header file. DO NOT modify manually,
* edit 'source/enums/oglplus/ext/compat_client_attrib_group.txt' instead.
*
* Copyright 2010-2013 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (S... | 28.186047 | 75 | 0.808581 | vif |
a87fa565177c7141a8787087d6bb689f8880cd6f | 2,415 | cpp | C++ | wznmcmbd/WznmCtpWrsrv/WznmCtpWrsrv_blks.cpp | mpsitech/wznm-WhizniumSBE | 4911d561b28392d485c46e98fb915168d82b3824 | [
"MIT"
] | 3 | 2020-09-20T16:24:48.000Z | 2021-12-01T19:44:51.000Z | wznmcmbd/WznmCtpWrsrv/WznmCtpWrsrv_blks.cpp | mpsitech/wznm-WhizniumSBE | 4911d561b28392d485c46e98fb915168d82b3824 | [
"MIT"
] | null | null | null | wznmcmbd/WznmCtpWrsrv/WznmCtpWrsrv_blks.cpp | mpsitech/wznm-WhizniumSBE | 4911d561b28392d485c46e98fb915168d82b3824 | [
"MIT"
] | null | null | null | /**
* \file WznmCtpWrsrv_blks.cpp
* invocation / return data blocks for operation pack WznmCtpWrsrv (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
#include "WznmCtpWrsrv_blks.h"
using n... | 32.2 | 115 | 0.686542 | mpsitech |
a880e6c33081304e5af2743506785dcbeb227880 | 1,423 | cpp | C++ | src/isPaADescendantOfPb.cpp | buaazhouxingyu/topoana | 50a235614efe48cc17d9691c3cc150564e6e60f7 | [
"MIT"
] | 15 | 2020-01-13T01:30:14.000Z | 2022-01-17T03:22:34.000Z | src/isPaADescendantOfPb.cpp | buaazhouxingyu/topoana | 50a235614efe48cc17d9691c3cc150564e6e60f7 | [
"MIT"
] | 5 | 2019-06-01T13:38:44.000Z | 2021-06-19T09:26:12.000Z | src/isPaADescendantOfPb.cpp | buaazhouxingyu/topoana | 50a235614efe48cc17d9691c3cc150564e6e60f7 | [
"MIT"
] | 9 | 2019-06-01T10:19:25.000Z | 2022-01-10T15:00:21.000Z | #include "../include/topoana.h"
#include <iostream>
#include <cstdlib>
bool topoana::isPaADescendantOfPb(vector<int> vMidx, int idxA, int idxB)
{
if(idxA<0||((unsigned int) idxA)>=vMidx.size())
{
cerr<<"Error: The integer \"idxA\" is not a reasonable index for the vector \"vMidx\"!"<<endl;
cerr<<"Inf... | 33.093023 | 100 | 0.574842 | buaazhouxingyu |
a884d2b4c71c5a7cb5e86514912a47e433a6aea0 | 3,479 | cpp | C++ | sycl/test/on-device/xocc/simple_tests/integration_header_check.cpp | gogo2/sycl | df17dc0819c53a73c4ea171bb1a8cd16e8b5011a | [
"Apache-2.0"
] | null | null | null | sycl/test/on-device/xocc/simple_tests/integration_header_check.cpp | gogo2/sycl | df17dc0819c53a73c4ea171bb1a8cd16e8b5011a | [
"Apache-2.0"
] | null | null | null | sycl/test/on-device/xocc/simple_tests/integration_header_check.cpp | gogo2/sycl | df17dc0819c53a73c4ea171bb1a8cd16e8b5011a | [
"Apache-2.0"
] | null | null | null | // REQUIRES: xocc
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
/*
The main point of the test is to check if you can name SYCL kernels in
certain ways without the compiler or run-time breaking due to an
incorrectly generated integration header.
This tes... | 23.193333 | 79 | 0.62288 | gogo2 |
a889ce15bbd534798d7e8f6acffc69114c2b928e | 39,822 | hpp | C++ | dev/Code/CryEngine/RenderDll/XRenderD3D9/DX12/Device/CCryDX12DeviceContext.hpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/CryEngine/RenderDll/XRenderD3D9/DX12/Device/CCryDX12DeviceContext.hpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/CryEngine/RenderDll/XRenderD3D9/DX12/Device/CCryDX12DeviceContext.hpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 45.40707 | 241 | 0.753378 | jeikabu |