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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
81b1dc92ab2ff3381fa3c701f930769f05c6561c | 2,949 | cpp | C++ | Engine/Networking/NetworkHandler.cpp | artur-kink/nhns | bc1ccef4e4a9cba9047051d73202ee2b1482066f | [
"Apache-2.0"
] | null | null | null | Engine/Networking/NetworkHandler.cpp | artur-kink/nhns | bc1ccef4e4a9cba9047051d73202ee2b1482066f | [
"Apache-2.0"
] | null | null | null | Engine/Networking/NetworkHandler.cpp | artur-kink/nhns | bc1ccef4e4a9cba9047051d73202ee2b1482066f | [
"Apache-2.0"
] | null | null | null | #include "NetworkHandler.hpp"
NetworkHandler::NetworkHandler(){
inPort = outPort = 50012;
lastMessageAddress = new char[20];
}
/**
* Bind the socket to the given port. Opens Socket to listen
* to connections on given port.
* @param port Port to bind to.
*/
void NetworkHandler::bind(unsigned short port){
... | 22.860465 | 85 | 0.683622 | artur-kink |
81b35ea8e7e195a5dc50cfdc210f37cc4d4ba58f | 450 | cpp | C++ | cpp_CS225/daily-exercise/day28-treeheight/potd-q28/TreeNode.cpp | Rothdyt/codes-for-courses | a2dfea516ebc7cabef31a5169533b6da352e7ccb | [
"MIT"
] | 4 | 2018-09-23T00:00:13.000Z | 2018-11-02T22:56:35.000Z | cpp_CS225/daily-exercise/day28-treeheight/potd-q28/TreeNode.cpp | Rothdyt/codes-for-courses | a2dfea516ebc7cabef31a5169533b6da352e7ccb | [
"MIT"
] | null | null | null | cpp_CS225/daily-exercise/day28-treeheight/potd-q28/TreeNode.cpp | Rothdyt/codes-for-courses | a2dfea516ebc7cabef31a5169533b6da352e7ccb | [
"MIT"
] | null | null | null |
#include "TreeNode.h"
#include <cstddef>
#include <iostream>
using namespace std;
TreeNode::TreeNode() : left_(NULL), right_(NULL) {}
int _getHeight(const TreeNode *subRoot)
{
int height = 0;
if (subRoot == NULL)
{
return -1;
}
height = std::max(_getHeight(subRoot->right_), _getHeight(subRoot->left_))... | 18 | 81 | 0.671111 | Rothdyt |
81b9dabcc958fef94124ea2894226716a1682354 | 1,843 | cpp | C++ | src/libFonts/GeeGrow_SSD1306_libLettersCyrillic.cpp | geegrow/GeeGrow_SSD1306_128_32 | 068cad4d844e85ae2d256f770fac3c567126d03b | [
"BSD-3-Clause"
] | null | null | null | src/libFonts/GeeGrow_SSD1306_libLettersCyrillic.cpp | geegrow/GeeGrow_SSD1306_128_32 | 068cad4d844e85ae2d256f770fac3c567126d03b | [
"BSD-3-Clause"
] | null | null | null | src/libFonts/GeeGrow_SSD1306_libLettersCyrillic.cpp | geegrow/GeeGrow_SSD1306_128_32 | 068cad4d844e85ae2d256f770fac3c567126d03b | [
"BSD-3-Clause"
] | null | null | null | /*!
* @file GeeGrow_SSD1306_libLettersCyrillic.cpp
*
* This is an addon library for the GeeGrow SSD1306 128x32 display,
which implements support of cyrillic letters
* https://geegrow.ru
*
* @section author Author
* Written by Anton Pomazanov
*
* @section license License
* BSD license, all text here must be... | 35.442308 | 86 | 0.55236 | geegrow |
81ba2157ab715a23b1fcffe35d74136289825e67 | 2,166 | cpp | C++ | libs/mesh/meshPhysicalNodesTri2D.cpp | paranumal/benchparanumal | 8e2e247ad828282782b2e3dc443167954e90648c | [
"MIT"
] | 3 | 2019-06-14T09:28:51.000Z | 2021-12-12T22:49:26.000Z | libs/mesh/meshPhysicalNodesTri2D.cpp | paranumal/benchparanumal | 8e2e247ad828282782b2e3dc443167954e90648c | [
"MIT"
] | null | null | null | libs/mesh/meshPhysicalNodesTri2D.cpp | paranumal/benchparanumal | 8e2e247ad828282782b2e3dc443167954e90648c | [
"MIT"
] | 1 | 2020-03-25T17:10:25.000Z | 2020-03-25T17:10:25.000Z | /*
The MIT License (MIT)
Copyright (c) 2017-2022 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus
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 limi... | 31.391304 | 78 | 0.695291 | paranumal |
81baab1ac6e87fa0ea9ad31634efe841d32df4d8 | 3,520 | cc | C++ | test/fuzzers/audio_processing_configs_fuzzer.cc | tangxuan1023/Webrtc-src | 506ffb744d2bd50a1f5c2893e414b453ca0f1e99 | [
"DOC",
"BSD-3-Clause"
] | 1 | 2018-01-30T01:15:38.000Z | 2018-01-30T01:15:38.000Z | test/fuzzers/audio_processing_configs_fuzzer.cc | tangxuan1023/Webrtc-src | 506ffb744d2bd50a1f5c2893e414b453ca0f1e99 | [
"DOC",
"BSD-3-Clause"
] | 1 | 2018-02-10T01:29:22.000Z | 2018-02-10T01:29:22.000Z | test/fuzzers/audio_processing_configs_fuzzer.cc | tangxuan1023/Webrtc-src | 506ffb744d2bd50a1f5c2893e414b453ca0f1e99 | [
"DOC",
"BSD-3-Clause"
] | 1 | 2018-11-27T09:06:37.000Z | 2018-11-27T09:06:37.000Z | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 36.28866 | 77 | 0.750568 | tangxuan1023 |
81bcbc29c786457b3305aedd6728f6778439628d | 1,361 | cc | C++ | examples/pxScene2d/external/libnode-v10.15.3/test/addons/hello-world/binding.cc | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 918 | 2016-12-22T02:53:08.000Z | 2022-03-22T06:21:35.000Z | examples/pxScene2d/external/libnode-v10.15.3/test/addons/hello-world/binding.cc | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 1,432 | 2017-06-21T04:08:48.000Z | 2020-08-25T16:21:15.000Z | examples/pxScene2d/external/libnode-v10.15.3/test/addons/hello-world/binding.cc | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 317 | 2017-06-20T19:57:17.000Z | 2020-09-16T10:28:30.000Z | #include <node.h>
#include <v8.h>
void Method(const v8::FunctionCallbackInfo<v8::Value>& args) {
v8::Isolate* isolate = args.GetIsolate();
args.GetReturnValue().Set(v8::String::NewFromUtf8(
isolate, "world", v8::NewStringType::kNormal).ToLocalChecked());
}
// Not using the full NODE_MODULE_INIT() macro he... | 38.885714 | 79 | 0.688464 | madanagopaltcomcast |
81be8a37b9807e8be2da3560630c133e01d1d289 | 452 | cpp | C++ | codes/HDU/hdu5477.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/HDU/hdu5477.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/HDU/hdu5477.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int maxn = 1e5 + 5;
int N, A, B, L;
int main () {
int cas;
scanf("%d", &cas);
for (int kcas = 1; kcas <= cas; kcas++) {
int ans = 0, len = 0;
scanf("%d%d%d%d", &N, &A, &B, &L);
int l, r;
while (N--) {
scanf("%d%d", &l... | 16.740741 | 48 | 0.49115 | JeraKrs |
81c00e86fe00d63a6ad1f7da4fb9899a04c04ecd | 541 | hpp | C++ | Source/Logging/Logging.hpp | ReeceSX/ScriptablityCore | e18883b1b50a7671e4cb01d55d08c9ec307bf3d3 | [
"MIT"
] | null | null | null | Source/Logging/Logging.hpp | ReeceSX/ScriptablityCore | e18883b1b50a7671e4cb01d55d08c9ec307bf3d3 | [
"MIT"
] | null | null | null | Source/Logging/Logging.hpp | ReeceSX/ScriptablityCore | e18883b1b50a7671e4cb01d55d08c9ec307bf3d3 | [
"MIT"
] | null | null | null | /*
Purpose: Logging
Author: J. Reece Wilson
License: All rights reserved (2015 - 2019); licensed under the MIT license.
*/
#pragma once
#include <stdio.h>
#include <stdarg.h>
enum LoggingLevel_e
{
kLogInfo,
kLogWarning,
kLogError,
kLogDbg
};
extern void _LogPrint(LoggingLe... | 20.037037 | 80 | 0.641405 | ReeceSX |
81c05331c419e85bbe4689eb301c92164ca455c4 | 2,409 | hpp | C++ | src/entropy/BinaryEntropyEncoder.hpp | flanglet/kanzi-cpp | 680085d03fdf77d924af61c8333a1257b01b6de5 | [
"Apache-2.0"
] | 52 | 2018-05-16T07:31:17.000Z | 2022-03-27T17:36:48.000Z | src/entropy/BinaryEntropyEncoder.hpp | flanglet/kanzi-cpp | 680085d03fdf77d924af61c8333a1257b01b6de5 | [
"Apache-2.0"
] | 4 | 2019-07-20T12:49:05.000Z | 2021-12-12T20:34:59.000Z | src/entropy/BinaryEntropyEncoder.hpp | flanglet/kanzi-cpp | 680085d03fdf77d924af61c8333a1257b01b6de5 | [
"Apache-2.0"
] | 1 | 2019-07-02T13:27:32.000Z | 2019-07-02T13:27:32.000Z | /*
Copyright 2011-2021 Frederic Langlet
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 ... | 29.024096 | 106 | 0.660025 | flanglet |
81c1b5b34e4fa1b70cc06abe76e19c6ec03698f0 | 678 | cpp | C++ | src_smartcontract_db/schema_table/record/table_record_local/LocalOidFactory.cpp | alinous-core/codable-cash | 32a86a152a146c592bcfd8cc712f4e8cb38ee1a0 | [
"MIT"
] | 6 | 2019-01-06T05:02:39.000Z | 2020-10-01T11:45:32.000Z | src_smartcontract_db/schema_table/record/table_record_local/LocalOidFactory.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 209 | 2018-05-18T03:07:02.000Z | 2022-03-26T11:42:41.000Z | src_smartcontract_db/schema_table/record/table_record_local/LocalOidFactory.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 3 | 2019-07-06T09:16:36.000Z | 2020-10-15T08:23:28.000Z | /*
* LocalOidFactory.cpp
*
* Created on: 2020/09/25
* Author: iizuka
*/
#include "schema_table/record/table_record_local/LocalOidFactory.h"
#include "schema_table/record/table_record_local/LocalCdbOid.h"
#include "schema_table/record/table_record_value/VmInstanceValueConverter.h"
#include "base_thread/Sys... | 19.941176 | 76 | 0.761062 | alinous-core |
81c403b2822493ba708a5831aa9ef4335bdf483d | 7,424 | hpp | C++ | libs/boost_1_72_0/boost/proto/detail/traits.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/proto/detail/traits.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/proto/detail/traits.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | #if !defined(BOOST_PROTO_DONT_USE_PREPROCESSED_FILES)
#include <boost/proto/detail/preprocessed/traits.hpp>
#elif !defined(BOOST_PP_IS_ITERATING)
#define BOOST_PROTO_CHILD(Z, N, DATA) \
/** INTERNAL ONLY */ \
typedef... | 36.935323 | 80 | 0.670663 | henrywarhurst |
81c4611002014185af5342ee8b4909b2d43dc54c | 851 | hpp | C++ | include/concept/numeric.hpp | janisozaur/safe_numerics | c494e9d6bddc47292b1bb1552469196b01fcdc55 | [
"BSL-1.0"
] | null | null | null | include/concept/numeric.hpp | janisozaur/safe_numerics | c494e9d6bddc47292b1bb1552469196b01fcdc55 | [
"BSL-1.0"
] | null | null | null | include/concept/numeric.hpp | janisozaur/safe_numerics | c494e9d6bddc47292b1bb1552469196b01fcdc55 | [
"BSL-1.0"
] | null | null | null | #ifndef BOOST_NUMERIC_CONCEPT_NUMERIC_HPP
#define BOOST_NUMERIC_CONCEPT_NUMERIC_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
// Copyright (c) 2012 Robert Ramey
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying... | 24.314286 | 71 | 0.716804 | janisozaur |
81c510c17bc33ff31528ffc4d350b22279c50620 | 646 | hpp | C++ | src/targets/gpu/kernels/include/migraphx/kernels/type_traits.hpp | raramakr/AMDMIGraphX | 83e7425367f6ce850ec28fe716fe7c23ce34c79f | [
"MIT"
] | null | null | null | src/targets/gpu/kernels/include/migraphx/kernels/type_traits.hpp | raramakr/AMDMIGraphX | 83e7425367f6ce850ec28fe716fe7c23ce34c79f | [
"MIT"
] | null | null | null | src/targets/gpu/kernels/include/migraphx/kernels/type_traits.hpp | raramakr/AMDMIGraphX | 83e7425367f6ce850ec28fe716fe7c23ce34c79f | [
"MIT"
] | null | null | null | #ifndef MIGRAPHX_GUARD_AMDMIGRAPHX_KERNELS_TYPE_TRAITS_HPP
#define MIGRAPHX_GUARD_AMDMIGRAPHX_KERNELS_TYPE_TRAITS_HPP
#include <migraphx/kernels/types.hpp>
#include <migraphx/kernels/integral_constant.hpp>
namespace migraphx {
template <bool B, class T = void>
struct enable_if
{
};
template <class T>
struct enable_... | 19.575758 | 65 | 0.767802 | raramakr |
81c5876c9e580cd4812a2928ecd1418f7aaa15c0 | 5,452 | cpp | C++ | Source/Runtime/Private/Profiler/Profiler.cpp | ValtoGameEngines/Blueshift-Engine | 7d913bd85a50774c9eb151dceca02b8d4fe8e096 | [
"Apache-2.0"
] | 1 | 2019-11-15T04:20:25.000Z | 2019-11-15T04:20:25.000Z | Source/Runtime/Private/Profiler/Profiler.cpp | iceman201/BlueshiftEngine | 7d913bd85a50774c9eb151dceca02b8d4fe8e096 | [
"Apache-2.0"
] | null | null | null | Source/Runtime/Private/Profiler/Profiler.cpp | iceman201/BlueshiftEngine | 7d913bd85a50774c9eb151dceca02b8d4fe8e096 | [
"Apache-2.0"
] | 1 | 2020-06-29T08:05:44.000Z | 2020-06-29T08:05:44.000Z | // Copyright(c) 2017 POLYGONTEK
//
// 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 i... | 26.211538 | 93 | 0.686354 | ValtoGameEngines |
81c5fcf526e6ff58d6576cc3b71c80bb83acfd24 | 2,957 | cpp | C++ | src/Yson/Common/ReaderIterators.cpp | jebreimo/Yson | 499374426a49a5e70658623fdce69bfaa203cc1c | [
"BSD-2-Clause"
] | 1 | 2022-03-07T08:45:50.000Z | 2022-03-07T08:45:50.000Z | src/Yson/Common/ReaderIterators.cpp | jebreimo/Yson | 499374426a49a5e70658623fdce69bfaa203cc1c | [
"BSD-2-Clause"
] | null | null | null | src/Yson/Common/ReaderIterators.cpp | jebreimo/Yson | 499374426a49a5e70658623fdce69bfaa203cc1c | [
"BSD-2-Clause"
] | null | null | null | //****************************************************************************
// Copyright © 2021 Jan Erik Breimo. All rights reserved.
// Created by Jan Erik Breimo on 2021-06-03.
//
// This file is distributed under the BSD License.
// License text is included with the source distribution.
//************************... | 23.846774 | 78 | 0.487656 | jebreimo |
81cb63447779129f7bc92e2b8673ff59767110ca | 37,720 | hxx | C++ | include/nifty/graph/opt/multicut/cgc.hxx | DerThorsten/n3p | c4bd4cd90f20e68f0dbd62587aba28e4752a0ac1 | [
"MIT"
] | 38 | 2016-06-29T07:42:50.000Z | 2021-12-09T09:25:25.000Z | include/nifty/graph/opt/multicut/cgc.hxx | tbullmann/nifty | 00119fd4753817b931272d6d3120b6ebd334882a | [
"MIT"
] | 62 | 2016-07-27T16:07:53.000Z | 2022-03-30T17:24:36.000Z | include/nifty/graph/opt/multicut/cgc.hxx | tbullmann/nifty | 00119fd4753817b931272d6d3120b6ebd334882a | [
"MIT"
] | 20 | 2016-01-25T21:21:52.000Z | 2021-12-09T09:25:16.000Z | #pragma once
#include <queue>
#include "boost/format.hpp"
#include "nifty/tools/changable_priority_queue.hxx"
#include "nifty/tools/runtime_check.hxx"
#include "nifty/graph/components.hxx"
#include "nifty/graph/opt/multicut/multicut_base.hxx"
#include "nifty/graph/opt/common/solver_factory.hxx"
#include "nifty/gr... | 37.682318 | 156 | 0.531124 | DerThorsten |
81ccef7c6e9b7ed20ba190aed89b84d2aaf2ed9c | 2,153 | cpp | C++ | src/MC_DDH_Create.cpp | ekhidbor/FUMe | de50357efcb6dbfd0114802bc72ad316daca0ce3 | [
"CC0-1.0"
] | null | null | null | src/MC_DDH_Create.cpp | ekhidbor/FUMe | de50357efcb6dbfd0114802bc72ad316daca0ce3 | [
"CC0-1.0"
] | null | null | null | src/MC_DDH_Create.cpp | ekhidbor/FUMe | de50357efcb6dbfd0114802bc72ad316daca0ce3 | [
"CC0-1.0"
] | null | null | null | /**
* This file is a part of the FUMe project.
*
* To the extent possible under law, the person who associated CC0 with
* FUMe has waived all copyright and related or neighboring rights
* to FUMe.
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see http://creativecommon... | 27.602564 | 86 | 0.498374 | ekhidbor |
81cfe417f98681829e92f49534953fdfdcf228f2 | 40,620 | cpp | C++ | Samples/CaseStudies/NBody/NBodyGravityAmp.cpp | AdeMiller/CppAmp | 2f2c222ec796968dcdc43ea1d84c825169693331 | [
"MS-PL"
] | null | null | null | Samples/CaseStudies/NBody/NBodyGravityAmp.cpp | AdeMiller/CppAmp | 2f2c222ec796968dcdc43ea1d84c825169693331 | [
"MS-PL"
] | null | null | null | Samples/CaseStudies/NBody/NBodyGravityAmp.cpp | AdeMiller/CppAmp | 2f2c222ec796968dcdc43ea1d84c825169693331 | [
"MS-PL"
] | null | null | null | //===============================================================================
//
// Microsoft Press
// C++ AMP: Accelerated Massive Parallelism with Microsoft Visual C++
//
//===============================================================================
// Copyright (c) 2012-2013 Ade Miller & Kate Gregory. ... | 45.183537 | 184 | 0.632398 | AdeMiller |
81d1300e1f418c9f7b6b6a28c3195c33cd388869 | 23,636 | cpp | C++ | Engine/source/gui/worldEditor/worldEditorSelection.cpp | RichardRanft/OmniEngine.Net | 3363364e8c4514d5ef18574ce2200368e5946df4 | [
"MIT",
"Unlicense"
] | 1 | 2015-01-21T06:12:21.000Z | 2015-01-21T06:12:21.000Z | Engine/source/gui/worldEditor/worldEditorSelection.cpp | lukaspj/OmniEngine.Net | 85edaa3e8afbb016352ce5784147cb9fe5fe35c1 | [
"MIT",
"Unlicense"
] | null | null | null | Engine/source/gui/worldEditor/worldEditorSelection.cpp | lukaspj/OmniEngine.Net | 85edaa3e8afbb016352ce5784147cb9fe5fe35c1 | [
"MIT",
"Unlicense"
] | null | null | null | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 25.691304 | 151 | 0.546285 | RichardRanft |
81d1437d6f9fb35d883e5bd4a9a72ae384b3f62b | 18,505 | cpp | C++ | drlvm/vm/vmcore/src/ncai/ncai_modules.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 8 | 2015-11-04T06:06:35.000Z | 2021-07-04T13:47:36.000Z | drlvm/vm/vmcore/src/ncai/ncai_modules.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 1 | 2021-10-17T13:07:28.000Z | 2021-10-17T13:07:28.000Z | drlvm/vm/vmcore/src/ncai/ncai_modules.cpp | sirinath/Harmony | 724deb045a85b722c961d8b5a83ac7a697319441 | [
"Apache-2.0"
] | 13 | 2015-11-27T03:14:50.000Z | 2022-02-26T15:12:20.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... | 26.857765 | 121 | 0.64107 | sirinath |
81d204dc2dbd5c85ee4c27fe5f35d90b4eaf549e | 1,502 | cpp | C++ | src/BayesFilters/src/DrawParticles.cpp | mfkiwl/bayes-filters-lib | 8baabba1897bcc5634619fbc048bb5ab17a742da | [
"BSD-3-Clause"
] | 50 | 2017-04-12T09:02:54.000Z | 2022-02-15T20:01:35.000Z | src/BayesFilters/src/DrawParticles.cpp | xEnVrE/bayes-filters-lib | 8baabba1897bcc5634619fbc048bb5ab17a742da | [
"BSD-3-Clause"
] | 79 | 2017-11-07T07:32:14.000Z | 2021-06-20T17:12:08.000Z | src/BayesFilters/src/DrawParticles.cpp | xEnVrE/bayes-filters-lib | 8baabba1897bcc5634619fbc048bb5ab17a742da | [
"BSD-3-Clause"
] | 23 | 2017-05-07T01:47:39.000Z | 2022-02-28T10:15:59.000Z | /*
* Copyright (C) 2016-2019 Istituto Italiano di Tecnologia (IIT)
*
* This software may be modified and distributed under the terms of the
* BSD 3-Clause license. See the accompanying LICENSE file for details.
*/
#include <BayesFilters/DrawParticles.h>
#include <utility>
using namespace bfl;
using namespace Ei... | 25.896552 | 129 | 0.759654 | mfkiwl |
81d27a926311ffb81c3357daede205551b999eb3 | 112,344 | cc | C++ | gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 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 "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h"
#include <memory>
#include <string>
#include <utility>
#include "base/bind.h"
... | 36.310278 | 107 | 0.688101 | DamieFC |
81d3e642ccaf2c37a206950800df4404d7a4e83e | 4,146 | cxx | C++ | dicom2rawiv/zipextract/gdcm-2.6.3/Examples/Cxx/GetJPEGSamplePrecision.cxx | chipbuster/skull-atlas | 7f3ee009e1d5f65f101fe853a2cf6e12662970ee | [
"BSD-3-Clause"
] | 47 | 2020-03-30T14:36:46.000Z | 2022-03-06T07:44:54.000Z | dicom2rawiv/zipextract/gdcm-2.6.3/Examples/Cxx/GetJPEGSamplePrecision.cxx | chipbuster/skull-atlas | 7f3ee009e1d5f65f101fe853a2cf6e12662970ee | [
"BSD-3-Clause"
] | null | null | null | dicom2rawiv/zipextract/gdcm-2.6.3/Examples/Cxx/GetJPEGSamplePrecision.cxx | chipbuster/skull-atlas | 7f3ee009e1d5f65f101fe853a2cf6e12662970ee | [
"BSD-3-Clause"
] | 8 | 2020-04-01T01:22:45.000Z | 2022-01-02T13:06:09.000Z | /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT A... | 33.983607 | 136 | 0.592378 | chipbuster |
81d48f61adb55c012d64cff3d2451011438537c6 | 4,101 | cpp | C++ | src/Exception.cpp | markuspf/velocypack | 0cf8f21764f0336c32925ccd48f488cb8068a097 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | src/Exception.cpp | markuspf/velocypack | 0cf8f21764f0336c32925ccd48f488cb8068a097 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | src/Exception.cpp | markuspf/velocypack | 0cf8f21764f0336c32925ccd48f488cb8068a097 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 35.051282 | 80 | 0.682273 | markuspf |
81d5218dbd4b315670839164413445b4fc96c1d0 | 7,593 | cpp | C++ | src/mongo/db/s/database_sharding_state_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/database_sharding_state_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/database_sharding_state_test.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2020-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 39.546875 | 97 | 0.69788 | benety |
81d61b6d27ee2e797b6f3cf390084e5abd99ea23 | 21,788 | cpp | C++ | Sources/Extras/CoreMediaIO/DeviceAbstractionLayer/Devices/DP/Base/CMIO_DP_ControlDictionary.cpp | nnanhthu/QuickomVC | 6d4641336dd5d515238c94feb8f6a025fc8d181b | [
"MIT"
] | 170 | 2018-11-28T10:20:54.000Z | 2022-03-29T01:54:43.000Z | Sources/Extras/CoreMediaIO/DeviceAbstractionLayer/Devices/DP/Base/CMIO_DP_ControlDictionary.cpp | nnanhthu/QuickcomVirtualCamera | 4eba93196549a9ad8ee63fb5a741586098e9ca5b | [
"MIT"
] | 19 | 2018-12-03T15:06:54.000Z | 2022-02-11T00:02:59.000Z | Sources/Extras/CoreMediaIO/DeviceAbstractionLayer/Devices/DP/Base/CMIO_DP_ControlDictionary.cpp | nnanhthu/QuickcomVirtualCamera | 4eba93196549a9ad8ee63fb5a741586098e9ca5b | [
"MIT"
] | 25 | 2018-11-29T02:15:09.000Z | 2021-12-28T20:56:35.000Z | /*
File: CMIO_DP_ControlDictionary.cpp
Abstract: n/a
Version: 1.2
*/
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// Includes
//-----------------------------------... | 55.159494 | 246 | 0.329447 | nnanhthu |
81d822767a2f6d5af43642d68d38fd4c8a77df40 | 9,454 | cpp | C++ | test/frame/test_manager.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | 1 | 2021-02-10T15:29:46.000Z | 2021-02-10T15:29:46.000Z | test/frame/test_manager.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | test/frame/test_manager.cpp | tangzhenquan/atframe_utils | 94a41a89cbc65a62102a8ac0f98b4b340b2bb8ef | [
"MIT"
] | null | null | null | /*
* test_manager.cpp
*
* Created on: 2014年3月11日
* Author: owent
*
* Released under the MIT license
*/
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "cli/cmd_option.h"
#include "cli/cmd_option_phoenix.h"
#include "cli/shell_font.h"
#include "tes... | 40.575107 | 139 | 0.591919 | tangzhenquan |
81da56367189fa6760f29ca00792eb4dea98844e | 4,057 | cpp | C++ | src/gspan_cuda/main_gspan_cuda_lists.cpp | zakimjz/GPU_graph_mining | 22ba73bea97533ed6b2af613bd263ef4d869e71a | [
"Apache-2.0"
] | 2 | 2020-05-13T09:09:50.000Z | 2021-07-16T12:51:53.000Z | src/gspan_cuda/main_gspan_cuda_lists.cpp | zakimjz/GPU_graph_mining | 22ba73bea97533ed6b2af613bd263ef4d869e71a | [
"Apache-2.0"
] | null | null | null | src/gspan_cuda/main_gspan_cuda_lists.cpp | zakimjz/GPU_graph_mining | 22ba73bea97533ed6b2af613bd263ef4d869e71a | [
"Apache-2.0"
] | 1 | 2022-03-22T01:15:33.000Z | 2022-03-22T01:15:33.000Z | #include <string>
#include <iomanip>
#include <iostream>
#include <graph_output.hpp>
#include <graph_types.hpp>
#include <logger.hpp>
#include <utils.hpp>
#include <dbio.hpp>
#include <memory_checker.hpp>
#include <gspan_cuda_lists.hpp>
#include <test_support.hpp>
#include <sys/time.h>
using std::string;
using nam... | 30.276119 | 137 | 0.724673 | zakimjz |
81dbf6da3b323b22ddd6d84d6142015d1ed76b24 | 27,487 | cpp | C++ | AggRender/Graphin/src/agg/svg/agg_svg_parser.cpp | isuhao/BaijieCppUILibs | 7771f225d854c69bc129d983cfcb10d672e1eacd | [
"BSD-3-Clause"
] | null | null | null | AggRender/Graphin/src/agg/svg/agg_svg_parser.cpp | isuhao/BaijieCppUILibs | 7771f225d854c69bc129d983cfcb10d672e1eacd | [
"BSD-3-Clause"
] | null | null | null | AggRender/Graphin/src/agg/svg/agg_svg_parser.cpp | isuhao/BaijieCppUILibs | 7771f225d854c69bc129d983cfcb10d672e1eacd | [
"BSD-3-Clause"
] | 1 | 2018-09-22T04:03:43.000Z | 2018-09-22T04:03:43.000Z | //----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.3
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all... | 30.953829 | 107 | 0.421545 | isuhao |
81dd1ebafcde32005fd7a3068f2d79246549ed37 | 1,875 | cpp | C++ | igvc_training_exercises/src/week_slam/landmark_registration.cpp | oswinso/ros_training_exercises | 33388d6d66e32a792583d534f20ef152030df84e | [
"MIT"
] | 16 | 2017-09-28T21:50:57.000Z | 2021-07-10T18:30:01.000Z | code/igvc_training_exercises/src/week_slam/landmark_registration.cpp | RoboJackets/igvc-training | cb236134db2cab9a99d5b8d0248f2d00deebf793 | [
"MIT"
] | 14 | 2017-09-07T19:41:43.000Z | 2019-09-01T15:11:21.000Z | code/igvc_training_exercises/src/week_slam/landmark_registration.cpp | RoboJackets/igvc-training | cb236134db2cab9a99d5b8d0248f2d00deebf793 | [
"MIT"
] | 50 | 2017-09-24T21:03:39.000Z | 2021-12-03T20:25:51.000Z | #include <week_slam/landmark_registration.h>
LandmarkRegistration::LandmarkRegistration(const Options& options, const BarrelRansac::Options& barrel_ransac_options)
: options_{ options }, barrel_ransac_{ barrel_ransac_options }
{
}
std::vector<Landmark> LandmarkRegistration::getLandmarks(const pcl::PointCloud<pcl::P... | 28.846154 | 140 | 0.723733 | oswinso |
81dd704359816e69341c161204b56aa71781dfb4 | 14,962 | cc | C++ | src/lib/socket/socket.cc | easel/v8cgi | 0ac37452006803fb7bc83e64e934b4009aabc910 | [
"BSD-3-Clause"
] | 4 | 2016-01-31T08:49:35.000Z | 2021-07-12T17:31:42.000Z | src/lib/socket/socket.cc | easel/v8cgi | 0ac37452006803fb7bc83e64e934b4009aabc910 | [
"BSD-3-Clause"
] | null | null | null | src/lib/socket/socket.cc | easel/v8cgi | 0ac37452006803fb7bc83e64e934b4009aabc910 | [
"BSD-3-Clause"
] | 1 | 2017-11-28T13:02:40.000Z | 2017-11-28T13:02:40.000Z | /**
* Socket library. Provides a simple OO abstraction atop several socket-related functions.
*/
#include <v8.h>
#include "macros.h"
#include "common.h"
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#ifdef windows
# include <winsock2.h>
# include <ws2tcpip.h>
# define close(s) closesocket(s)
#else
... | 27.105072 | 119 | 0.650715 | easel |
81defe5efd2f0ed797e47949e8dc5f3d7ea874f7 | 927 | cpp | C++ | Solutions/1-50/43/Solution.cpp | kitegi/Edmonton | 774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d | [
"Unlicense"
] | 2 | 2021-07-16T13:30:10.000Z | 2021-07-16T18:17:40.000Z | Solutions/1-50/43/Solution.cpp | kitegi/Edmonton | 774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d | [
"Unlicense"
] | null | null | null | Solutions/1-50/43/Solution.cpp | kitegi/Edmonton | 774c9b2f72e7b2c6a3bc1b3329ef227ef39adf9d | [
"Unlicense"
] | 1 | 2021-04-16T22:56:07.000Z | 2021-04-16T22:56:07.000Z | #include <algorithm>
#include <boost/multiprecision/cpp_int.hpp>
#include <iostream>
#include <numeric>
#include <string>
#include <vector>
using namespace std;
using boost::multiprecision::cpp_int;
int main(int argc, char *argv[]) {
vector<cpp_int> nums;
string base = "0123456789";
do {
// Convert... | 28.090909 | 120 | 0.571737 | kitegi |
81dfb3efad99c0f97ce2a0d19acf297ed5711d21 | 2,344 | cc | C++ | device/fido/reset_request_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | device/fido/reset_request_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | device/fido/reset_request_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <utility>
#include "base/bind.h"
#include "base/check_op.h"
#include "device/fido/fido_authenticator.h"
#include "device/fido/fido_constants.h"
... | 32.555556 | 77 | 0.735922 | zealoussnow |
81e18daa0affe21df0e1babedb884f7969d89833 | 10,024 | cpp | C++ | cplusplus/level2_simple_inference/6_other/colorization_video/src/colorize_process.cpp | Dedederek/samples | 31d99de20af2f7046556e0f48c4b789b99e422f8 | [
"Apache-2.0"
] | null | null | null | cplusplus/level2_simple_inference/6_other/colorization_video/src/colorize_process.cpp | Dedederek/samples | 31d99de20af2f7046556e0f48c4b789b99e422f8 | [
"Apache-2.0"
] | null | null | null | cplusplus/level2_simple_inference/6_other/colorization_video/src/colorize_process.cpp | Dedederek/samples | 31d99de20af2f7046556e0f48c4b789b99e422f8 | [
"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 o... | 29.395894 | 94 | 0.630188 | Dedederek |
81e215a986b7b39587f83c100af2fe357878b728 | 8,632 | cpp | C++ | mediainfo/MediaInfoLib/Source/MediaInfo/Audio/File_Ape.cpp | pavel-pimenov/sandbox | d29b6cb42f93953d36dfc648cdd168e90c9daf83 | [
"MIT"
] | null | null | null | mediainfo/MediaInfoLib/Source/MediaInfo/Audio/File_Ape.cpp | pavel-pimenov/sandbox | d29b6cb42f93953d36dfc648cdd168e90c9daf83 | [
"MIT"
] | null | null | null | mediainfo/MediaInfoLib/Source/MediaInfo/Audio/File_Ape.cpp | pavel-pimenov/sandbox | d29b6cb42f93953d36dfc648cdd168e90c9daf83 | [
"MIT"
] | null | null | null | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
// Pre-compilation
#include "Medi... | 40.909953 | 135 | 0.41323 | pavel-pimenov |
81e4b5a4aec9a4379f523c26dfc488ec3dab5633 | 3,334 | cpp | C++ | Day Two/DayTwo.cpp | Heartbroken-Git/Advent-Code-2017 | d7284621983693e2bbd88b021912a401a480494f | [
"WTFPL"
] | null | null | null | Day Two/DayTwo.cpp | Heartbroken-Git/Advent-Code-2017 | d7284621983693e2bbd88b021912a401a480494f | [
"WTFPL"
] | null | null | null | Day Two/DayTwo.cpp | Heartbroken-Git/Advent-Code-2017 | d7284621983693e2bbd88b021912a401a480494f | [
"WTFPL"
] | null | null | null | #include <iostream>
using namespace std;
const int NB_ROWS = 16;
const int NB_COLS = 16;
const int INPUT[NB_ROWS][NB_COLS] = {{5048, 177, 5280, 5058, 4504, 3805, 5735, 220, 4362, 1809, 1521, 230, 772, 1088, 178, 1794},
{6629, 3839, 258, 4473, 5961, 6539, 6870, 4140, 4638, 387, 7464... | 42.74359 | 129 | 0.454709 | Heartbroken-Git |
81e8a29839be1131be37ec1eae739962694fe642 | 22,846 | cc | C++ | squid/squid3-3.3.8.spaceify/src/comm/ModSelect.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-01-20T15:25:34.000Z | 2017-12-20T06:47:42.000Z | squid/squid3-3.3.8.spaceify/src/comm/ModSelect.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-05-15T09:32:55.000Z | 2016-02-18T13:43:31.000Z | squid/squid3-3.3.8.spaceify/src/comm/ModSelect.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | null | null | null | /*
* DEBUG: section 05 Socket Functions
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
* Squid is the result of efforts by numerous individuals from
* the Internet community; see the CONTRIBUTORS file for full
* details. Many... | 27.997549 | 127 | 0.582597 | spaceify |
81e90055a4fd33b8c83255a27cc7bf0879e2e687 | 1,527 | inl | C++ | lib/nimg/pixel.inl | 4rknova/asciimg | f907d530c3f7bb22e4b374da2e5d4cb6308a78eb | [
"MIT"
] | 3 | 2017-12-01T09:39:27.000Z | 2021-03-23T06:02:41.000Z | lib/nimg/pixel.inl | 4rknova/asciimg | f907d530c3f7bb22e4b374da2e5d4cb6308a78eb | [
"MIT"
] | 1 | 2022-03-05T23:39:57.000Z | 2022-03-05T23:41:41.000Z | lib/nimg/pixel.inl | 4rknova/asciimg | f907d530c3f7bb22e4b374da2e5d4cb6308a78eb | [
"MIT"
] | null | null | null | #ifndef NIMG_PIXEL_INL_INCLUDED
#define NIMG_PIXEL_INL_INCLUDED
#ifndef NIMG_PIXEL_H_INCLUDED
error "pixel.h must be included before pixel.inl"
#endif /* NIMG_PIXEL_H_INCLUDED */
namespace nimg {
namespace util {
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
static inline pixel32_t rgba_c_to_pixel... | 21.208333 | 109 | 0.67649 | 4rknova |
81ed4ce7729cabb6c4d4a8be2362f3e9039272b9 | 25,375 | cpp | C++ | TraceCollier/tmtracefile.cpp | NormanDunbar/TraceCollier | 735f1d656a34892bc02a454e735c1d03477fd898 | [
"MIT"
] | 1 | 2019-01-16T10:55:22.000Z | 2019-01-16T10:55:22.000Z | TraceCollier/tmtracefile.cpp | NormanDunbar/TraceCollier | 735f1d656a34892bc02a454e735c1d03477fd898 | [
"MIT"
] | 14 | 2017-03-13T12:17:58.000Z | 2019-04-25T14:29:26.000Z | TraceCollier/tmtracefile.cpp | NormanDunbar/TraceMiner2 | 735f1d656a34892bc02a454e735c1d03477fd898 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2017 Norman Dunbar
*
* 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, mo... | 29.20023 | 140 | 0.518227 | NormanDunbar |
81ef650c08d0e06aa17d68079cf478459313850b | 219 | cpp | C++ | tests/source/test_Crc.cpp | snhobbs/ModbusRegisters | e2de7b510cd51f4c93c5fd13ccd702a13e6300e1 | [
"MIT"
] | 1 | 2021-06-30T13:21:59.000Z | 2021-06-30T13:21:59.000Z | tests/source/test_Crc.cpp | snhobbs/ModbusRegisters | e2de7b510cd51f4c93c5fd13ccd702a13e6300e1 | [
"MIT"
] | 1 | 2021-01-02T04:33:01.000Z | 2021-01-02T04:33:01.000Z | tests/source/test_Crc.cpp | snhobbs/ModbusBasic | e2de7b510cd51f4c93c5fd13ccd702a13e6300e1 | [
"MIT"
] | null | null | null | /*
* Copyright 2020 Electrooptical Innovations
* */
#include <Utilities/Crc.h>
#include <gtest/gtest.h>
#include <array>
#include <iostream>
#include <vector>
#include <cassert>
/*
* Example from MS56XX AN520
* */
| 15.642857 | 44 | 0.694064 | snhobbs |
81ef98d6692e4cd62fb3ee57abf026e58c6d2230 | 2,350 | cc | C++ | src/firstGreedy.cc | vanessavvp/DAA-pr07-parallel-machine-scheduling-problem | f5d5d1fb9e1b2abe0bafa3d1ce5ddfa79535fb02 | [
"MIT"
] | null | null | null | src/firstGreedy.cc | vanessavvp/DAA-pr07-parallel-machine-scheduling-problem | f5d5d1fb9e1b2abe0bafa3d1ce5ddfa79535fb02 | [
"MIT"
] | null | null | null | src/firstGreedy.cc | vanessavvp/DAA-pr07-parallel-machine-scheduling-problem | f5d5d1fb9e1b2abe0bafa3d1ce5ddfa79535fb02 | [
"MIT"
] | 1 | 2021-05-08T08:48:49.000Z | 2021-05-08T08:48:49.000Z | /**
* PROJECT HEADER
* @input firstGreedy.cc
* @author: Vanessa Valentina Villalba Perez
* Contact: alu0101265704@ull.edu.es
* @date: 24/04/2021
* Subject: Diseño y Análisis de Algoritmos
* Practice: Numberº7
* Purpose: Parallel Machine Scheduling Problem with Dependent Setup Times
*/
#include "../include/fir... | 34.057971 | 81 | 0.640426 | vanessavvp |
81f1ae6b0896471187f2460c9d4fc9e419b76f4e | 1,043 | cpp | C++ | src/diff/deltas/type_members_delta.cpp | kmichel/zizany | cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435 | [
"MIT"
] | 3 | 2017-07-02T08:33:22.000Z | 2019-03-16T00:48:11.000Z | src/diff/deltas/type_members_delta.cpp | kmichel/zizany | cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435 | [
"MIT"
] | null | null | null | src/diff/deltas/type_members_delta.cpp | kmichel/zizany | cfd21b5a58e0935c66b6b4ee2ef2a4d22ad4c435 | [
"MIT"
] | null | null | null | #include "type_members_delta.hpp"
#include "../../json_writer.hpp"
#include "../../unity_type.hpp"
namespace zizany {
type_members_delta::type_members_delta(const delta_set_operation operation_, const type_identity &identity_, const member_path &path_, const unity_type &added_type_)
: delta(),
... | 31.606061 | 169 | 0.644295 | kmichel |
81f3c68269f137abe299445e7d4e033b8559e4cf | 1,669 | cpp | C++ | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/main(7).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/main(7).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/main(7).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | #include <iostream>
#include "UnsortedType.cpp"
using namespace std;
int main()
{
UnsortedType<int> List;
int items;
cout<<"Enter four items: "<<endl;
for(int i=0;i<4;i++)
{
cin>>items;
List.InsertItem(items);
}
cout<<endl;
int temp;
for(int i=0;i<4;i++)
{
... | 14.144068 | 45 | 0.467945 | diptu |
81f6967d21fbb526f6579fcb932354a6da7e5fc3 | 434 | cpp | C++ | Dataset/Leetcode/train/66/327.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/66/327.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/66/327.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> XXX(vector<int>& digits) {
int i = digits.size() - 1;
vector<int> ret;
int carry = 1;
int c;
while(i >= 0){
c = digits[i] + carry;
ret.push_back(c % 10);
carry = c / 10;
i--;
}
... | 20.666667 | 47 | 0.430876 | kkcookies99 |
81f87815db1b02e654663d14117f02b1be4a2a6d | 1,147 | cpp | C++ | TouchGFX/generated/fonts/src/Kerning_trebucbd_40_4bpp.cpp | timagr615/ILI9488_touchGFX | 5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2 | [
"MIT"
] | null | null | null | TouchGFX/generated/fonts/src/Kerning_trebucbd_40_4bpp.cpp | timagr615/ILI9488_touchGFX | 5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2 | [
"MIT"
] | null | null | null | TouchGFX/generated/fonts/src/Kerning_trebucbd_40_4bpp.cpp | timagr615/ILI9488_touchGFX | 5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2 | [
"MIT"
] | null | null | null | #include <touchgfx/Font.hpp>
FONT_KERNING_LOCATION_FLASH_PRAGMA
KEEP extern const touchgfx::KerningNode kerning_trebucbd_40_4bpp[] FONT_KERNING_LOCATION_FLASH_ATTRIBUTE = {
{ 0x0050, -1 }, // (First char = [0x0050, P], Second char = [0x0020, ], Kerning dist = -1)
{ 0x0050, -5 }, // (First char = [0x0050, P]... | 71.6875 | 108 | 0.581517 | timagr615 |
81f91e5d62ea1b21dc10f088a614ed54bad12d96 | 5,850 | cpp | C++ | MMOCoreORB/src/server/zone/objects/tangible/tool/SurveyToolImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/server/zone/objects/tangible/tool/SurveyToolImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/server/zone/objects/tangible/tool/SurveyToolImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
Copyright <SWGEmu>
See file COPYING for copying conditions.*/
#include "engine/engine.h"
#include "server/zone/objects/tangible/tool/SurveyTool.h"
#include "server/zone/managers/resource/ResourceManager.h"
#include "server/zone/objects/creature/CreatureObject.h"
#include "server/zone/objects/player/PlayerObj... | 31.967213 | 129 | 0.767179 | V-Fib |
81f948772b86b8a29812ea7c61940fea3de11fff | 1,868 | cpp | C++ | core/TextureData.cpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | core/TextureData.cpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | core/TextureData.cpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | #include "TextureData.hpp"
#include <iostream>
#include "../libs/stb_image.h"
TextureData::TextureData(std::string texturePath) {
// Save path information
this->path = texturePath;
// Set type
this->type = TEXTURE_UCHAR;
// Load texture from file
data = stbi_load(this->path.c_str(), &width, &height, &channels... | 23.35 | 92 | 0.663276 | jmppmj |
3b484cb3c54200baf4617f500e0a40501913a8d2 | 1,355 | hpp | C++ | deps/src/boost_1_65_1/boost/icl/type_traits/predicate.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2018-12-15T20:03:51.000Z | 2018-12-15T20:03:51.000Z | deps/src/boost_1_65_1/boost/icl/type_traits/predicate.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 3 | 2021-09-08T02:18:00.000Z | 2022-03-12T00:39:44.000Z | deps/src/boost_1_65_1/boost/icl/type_traits/predicate.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2019-06-01T18:49:28.000Z | 2019-06-01T18:49:28.000Z | /*-----------------------------------------------------------------------------+
Copyright (c) 2010-2010: Joachim Faulhaber
+------------------------------------------------------------------------------+
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENCE.txt or copy at
... | 30.795455 | 86 | 0.564576 | shreyasvj25 |
3b4894102a70bae36a3879e9f07ec4c909708a73 | 4,814 | cpp | C++ | flatsat_openmsp430/software/tools/spread_codes/codes.cpp | Sayapatri/hackasat | b0cb5ab3f16a14a3434234f745e91ac15ccee733 | [
"MIT"
] | 62 | 2020-09-01T19:47:37.000Z | 2022-03-14T03:21:53.000Z | flatsat_openmsp430/software/tools/spread_codes/codes.cpp | Sayapatri/hackasat | b0cb5ab3f16a14a3434234f745e91ac15ccee733 | [
"MIT"
] | null | null | null | flatsat_openmsp430/software/tools/spread_codes/codes.cpp | Sayapatri/hackasat | b0cb5ab3f16a14a3434234f745e91ac15ccee733 | [
"MIT"
] | 10 | 2020-09-21T22:25:34.000Z | 2022-01-17T11:47:53.000Z | #include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "util.h"
#include "RandomNumberGen.h"
#include "MersenneRNG.h"
#define TEAM_COUNT 21
#define CODE_COUNT 20
#define NUMBER_OF_CODES 16
bool generate_codes( uint8_t code_team_list[], uint8_t code_difference_per_team[][CODE_COUNT] )
{
uint16_t i, j;... | 20.312236 | 99 | 0.600332 | Sayapatri |
3b4a0518b87d5005d31bff3e05586c4752488b7b | 2,152 | cpp | C++ | MonoNative/mscorlib/System/Reflection/mscorlib_System_Reflection_ReflectionContext.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative/mscorlib/System/Reflection/mscorlib_System_Reflection_ReflectionContext.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative/mscorlib/System/Reflection/mscorlib_System_Reflection_ReflectionContext.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | #include <mscorlib/System/Reflection/mscorlib_System_Reflection_ReflectionContext.h>
#include <mscorlib/System/Reflection/mscorlib_System_Reflection_TypeInfo.h>
#include <mscorlib/System/Reflection/mscorlib_System_Reflection_Assembly.h>
#include <mscorlib/System/mscorlib_System_Type.h>
#include <mscorlib/System/mscorli... | 42.196078 | 199 | 0.750929 | brunolauze |
3b4a21087c77047d816542c7155429bde1436397 | 16,703 | cc | C++ | ns-3-dev/src/internet/test/tcp-rto-test.cc | Marquez607/Wireless-Perf-Sim | 1086759b6dbe7da192225780d5fe6a3da0c5eb07 | [
"MIT"
] | 1 | 2022-03-22T08:08:35.000Z | 2022-03-22T08:08:35.000Z | ns-3-dev/src/internet/test/tcp-rto-test.cc | Marquez607/Wireless-Perf-Sim | 1086759b6dbe7da192225780d5fe6a3da0c5eb07 | [
"MIT"
] | null | null | null | ns-3-dev/src/internet/test/tcp-rto-test.cc | Marquez607/Wireless-Perf-Sim | 1086759b6dbe7da192225780d5fe6a3da0c5eb07 | [
"MIT"
] | null | null | null | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2015 Natale Patriciello <natale.patriciello@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Softwar... | 30.931481 | 163 | 0.675148 | Marquez607 |
3b4bd633767cf38e6f2d0da3172953734e733b0f | 2,774 | cpp | C++ | cpp-GEngine/Sprite.cpp | leftidev/cpp-GEngine | fb1a000336f8295386c5e9e401072cfe0679b587 | [
"MIT"
] | 4 | 2016-04-02T05:52:59.000Z | 2021-05-15T21:03:17.000Z | deps/include/GEngine/Sprite.cpp | lefti-/cpp-Gravity-Gizmo | b9ddde976a6585f2c9cc978372146383f19dd00d | [
"MIT"
] | null | null | null | deps/include/GEngine/Sprite.cpp | lefti-/cpp-Gravity-Gizmo | b9ddde976a6585f2c9cc978372146383f19dd00d | [
"MIT"
] | 1 | 2016-04-13T17:25:44.000Z | 2016-04-13T17:25:44.000Z | #include <cstddef>
#include "Vertex.h"
#include "ResourceManager.h"
#include "Sprite.h"
namespace GEngine {
Sprite::Sprite() {
_vboID = 0;
}
Sprite::~Sprite() {
if (_vboID != 0) {
glDeleteBuffers(1, &_vboID);
}
}
// Initializes the sprite VBO. x, y, width, and height are
// in the normalized device coordina... | 25.218182 | 104 | 0.709805 | leftidev |
3b4c3b155457fcab5ee3833dddae14e9ed11f551 | 12,426 | cpp | C++ | src/hed/libs/common/Utils.cpp | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | src/hed/libs/common/Utils.cpp | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | src/hed/libs/common/Utils.cpp | davidgcameron/arc | 9813ef5f45e5089507953239de8fa2248f5ad32c | [
"Apache-2.0"
] | null | null | null | // -*- indent-tabs-mode: nil -*-
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <signal.h>
#ifdef HAVE_GLIBMM_GETENV
#include <glibmm/miscutils.h>
#else
#include <stdlib.h>
#endif
#ifdef HAVE_GLIBMM_SETENV
#include <glibmm/miscutils.h>
#else
#include <stdlib.h>
#endif
#ifdef HAVE_GLIBMM_UNSETENV
#include... | 28.565517 | 95 | 0.65709 | davidgcameron |
3b4c7fce17e3293df7f023dc4f5a0dd45c5b4dae | 2,546 | hpp | C++ | modules/filters/include/toffy/viewers/cloudviewpcl.hpp | voxel-dot-at/toffy | e9f14b186cf57225ad9eae99f227f894f0e5f940 | [
"Apache-2.0"
] | null | null | null | modules/filters/include/toffy/viewers/cloudviewpcl.hpp | voxel-dot-at/toffy | e9f14b186cf57225ad9eae99f227f894f0e5f940 | [
"Apache-2.0"
] | null | null | null | modules/filters/include/toffy/viewers/cloudviewpcl.hpp | voxel-dot-at/toffy | e9f14b186cf57225ad9eae99f227f894f0e5f940 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2018 Simon Vogl <svogl@voxel.at>
Angel Merino-Sastre <amerino@voxel.at>
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.673913 | 81 | 0.699136 | voxel-dot-at |
3b51f8653d08aedb5bca91894eb0408eecdb1741 | 344 | hpp | C++ | src/swapShop/SwapContext.hpp | Stephen-Seo/SwapShop | 994ae8dae15c79710b4a91e451784ae546043acb | [
"MIT"
] | null | null | null | src/swapShop/SwapContext.hpp | Stephen-Seo/SwapShop | 994ae8dae15c79710b4a91e451784ae546043acb | [
"MIT"
] | null | null | null | src/swapShop/SwapContext.hpp | Stephen-Seo/SwapShop | 994ae8dae15c79710b4a91e451784ae546043acb | [
"MIT"
] | null | null | null |
#ifndef SWAP_CONTEXT_HPP
#define SWAP_CONTEXT_HPP
#include <engine/sceneNode.hpp>
class SwapContext
{
public:
SwapContext();
enum BattleStatus
{
STANDBY,
PLAYER_WIN,
ENEMY_WIN
};
SceneNode* player;
SceneNode* enemy;
BattleStatus battleStatus;
int playerLevel;... | 11.466667 | 31 | 0.648256 | Stephen-Seo |
3b5354fef2127f9bf998fd9014549c4087a96382 | 41,063 | cpp | C++ | maya/AbcExport/AttributesWriter.cpp | nebkor/ardent-embic | 4eab1c4f089438bd26636f4be3be3efa83bc8338 | [
"MIT"
] | null | null | null | maya/AbcExport/AttributesWriter.cpp | nebkor/ardent-embic | 4eab1c4f089438bd26636f4be3be3efa83bc8338 | [
"MIT"
] | null | null | null | maya/AbcExport/AttributesWriter.cpp | nebkor/ardent-embic | 4eab1c4f089438bd26636f4be3be3efa83bc8338 | [
"MIT"
] | null | null | null | //-*****************************************************************************
//
// Copyright (c) 2009-2011,
// Sony Pictures Imageworks Inc. and
// Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with ... | 29.842297 | 80 | 0.489735 | nebkor |
3b557865ed950720d77ea6658a6b8ca1934f32ef | 147,653 | cpp | C++ | thirdparty/physx/APEXSDK/module/destructible/src/DestructibleAsset.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | thirdparty/physx/APEXSDK/module/destructible/src/DestructibleAsset.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | thirdparty/physx/APEXSDK/module/destructible/src/DestructibleAsset.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | 37.947314 | 226 | 0.759416 | johndpope |
3b57fd64d2b711467fc7db44f7401a5e3bfaa0ab | 1,558 | cpp | C++ | 1. Alokasi dan Representasi/14 Program Alokasi Dinamis/PTR5.cpp | zharmedia386/Data-Structures-and-Algorithms | 316a7f4836cf77a4c150d4ee6a48b8d94db6518e | [
"MIT"
] | 2 | 2021-06-21T16:33:26.000Z | 2022-03-13T04:59:43.000Z | 1. Alokasi dan Representasi/14 Program Alokasi Dinamis/PTR5.cpp | zharmedia386/Data-Structures-and-Algorithms | 316a7f4836cf77a4c150d4ee6a48b8d94db6518e | [
"MIT"
] | null | null | null | 1. Alokasi dan Representasi/14 Program Alokasi Dinamis/PTR5.cpp | zharmedia386/Data-Structures-and-Algorithms | 316a7f4836cf77a4c150d4ee6a48b8d94db6518e | [
"MIT"
] | 2 | 2021-06-21T16:33:34.000Z | 2022-03-13T04:58:20.000Z | /*---------------------------
File Program : PTR5.cpp
Contoh pointer ke type dasar, mendeklarasikan & alokasi variabel dinamik
Tujuan : Memahami operasi pada pointer
----------------------------*/
#include <stdlib.h>
#include <stdio.h>
int main()
{
// Kamus Data (deklarasi, inisialisasi nilai variabel)
int i = 5,... | 26.862069 | 72 | 0.566752 | zharmedia386 |
3b58f925ea39fdf69b1d61a81b5dd35ed5e8108b | 4,670 | cpp | C++ | iree/compiler/InputConversion/Common/ConvertUpstreamToIREE.cpp | sifive/iree | d00a7b42648c99d047e427fabde2f669176bb1f4 | [
"Apache-2.0"
] | null | null | null | iree/compiler/InputConversion/Common/ConvertUpstreamToIREE.cpp | sifive/iree | d00a7b42648c99d047e427fabde2f669176bb1f4 | [
"Apache-2.0"
] | null | null | null | iree/compiler/InputConversion/Common/ConvertUpstreamToIREE.cpp | sifive/iree | d00a7b42648c99d047e427fabde2f669176bb1f4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "iree/compiler/Dialect/Flow/IR/FlowDialect.h"
#include "iree/compiler/Dialect/Flow/IR/Fl... | 34.850746 | 80 | 0.685225 | sifive |
3b5b63cc8e23153073febc697d4a2c4ff40382cd | 16,664 | cc | C++ | src/shell_content_browser_client.cc | ghrhomeDist/node-webkit | 5fc6d07a60a05dd57f76cb6171fe909c3ee5e1e7 | [
"MIT"
] | 45 | 2015-02-06T07:42:18.000Z | 2018-05-21T02:15:15.000Z | src/shell_content_browser_client.cc | mcdongWang/node-webkit | e3cfc89e2458eafec81880c2ad5ef81cbf68f6ed | [
"MIT"
] | null | null | null | src/shell_content_browser_client.cc | mcdongWang/node-webkit | e3cfc89e2458eafec81880c2ad5ef81cbf68f6ed | [
"MIT"
] | 15 | 2015-01-23T05:39:08.000Z | 2017-11-02T11:32:27.000Z | // Copyright (c) 2012 Intel Corp
// Copyright (c) 2012 The Chromium Authors
//
// 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... | 37.113586 | 107 | 0.756361 | ghrhomeDist |
3b5d408abc93f3b3eb11822aa3a880398d4bc274 | 24,036 | cpp | C++ | source/games/duke/src/hudweapon_r.cpp | DosFreak/Raze | 389f760d45748da28ba758f12be1be2a9ba9b4b2 | [
"RSA-MD"
] | null | null | null | source/games/duke/src/hudweapon_r.cpp | DosFreak/Raze | 389f760d45748da28ba758f12be1be2a9ba9b4b2 | [
"RSA-MD"
] | null | null | null | source/games/duke/src/hudweapon_r.cpp | DosFreak/Raze | 389f760d45748da28ba758f12be1be2a9ba9b4b2 | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 1996, 2003 - 3D Realms Entertainment
Copyright (C) 2017-2019 Nuke.YKT
Copyright (C) 2020 - Christoph Oelckers
This file is part of Duke Nukem 3D version 1.5 - Atomic Edition
Duke Nukem 3D is free software; you can redistribut... | 26.442244 | 164 | 0.497462 | DosFreak |
3b5d8fb02ccc621c836803679fc4f732ae9c6ca3 | 2,731 | cpp | C++ | engine/engine/core/math/tests/so2.cpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | engine/engine/core/math/tests/so2.cpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | engine/engine/core/math/tests/so2.cpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2022-01-28T16:37:51.000Z | 2022-01-28T16:37:51.000Z | /*
Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 29.684783 | 97 | 0.650311 | ddr95070 |
3b5e57023cee21226e3b65ff9c131d5ee2a75a26 | 3,963 | hpp | C++ | ext/zmq/src/dist.hpp | Saums/ml-suite | 8a2b52763b0c1406abc4400302977d8354d74e11 | [
"Apache-2.0"
] | 334 | 2018-06-07T00:42:09.000Z | 2022-01-08T19:48:50.000Z | ext/zmq/src/dist.hpp | Saums/ml-suite | 8a2b52763b0c1406abc4400302977d8354d74e11 | [
"Apache-2.0"
] | 99 | 2018-06-20T14:13:09.000Z | 2020-11-03T19:36:50.000Z | ext/zmq/src/dist.hpp | Saums/ml-suite | 8a2b52763b0c1406abc4400302977d8354d74e11 | [
"Apache-2.0"
] | 151 | 2018-06-15T12:10:09.000Z | 2021-11-19T06:22:35.000Z | /*
Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file
This file is part of libzmq, the ZeroMQ core engine in C++.
libzmq is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Found... | 33.584746 | 80 | 0.665405 | Saums |
3b5e5b3f8b1e92c69cdec142e4a70fa0a041498a | 17,015 | hpp | C++ | toonz/sources/include/tcg/hpp/triangulate.hpp | rozhuk-im/opentoonz | ad5b632512746b97fd526aa79660fbaedf934fad | [
"BSD-3-Clause"
] | 3,710 | 2016-03-26T00:40:48.000Z | 2022-03-31T21:35:12.000Z | toonz/sources/include/tcg/hpp/triangulate.hpp | rozhuk-im/opentoonz | ad5b632512746b97fd526aa79660fbaedf934fad | [
"BSD-3-Clause"
] | 4,246 | 2016-03-26T01:21:45.000Z | 2022-03-31T23:10:47.000Z | toonz/sources/include/tcg/hpp/triangulate.hpp | rozhuk-im/opentoonz | ad5b632512746b97fd526aa79660fbaedf934fad | [
"BSD-3-Clause"
] | 633 | 2016-03-26T00:42:25.000Z | 2022-03-17T02:55:13.000Z | #pragma once
#ifndef TCG_TRIANGULATE_HPP
#define TCG_TRIANGULATE_HPP
// tcg includes
#include "../triangulate.h"
#include "../traits.h"
#include "../point_ops.h"
// OS-specific includes
#if defined(_WIN32)
#include "windows.h"
#include <GL/glu.h>
#elif defined(MACOSX)
#include <GLUT/glut.h>
#elif defined(LINUX) || d... | 32.043315 | 88 | 0.595416 | rozhuk-im |
3b5e79e6551f43d5834e84b7226fdba7a193d7c1 | 6,089 | cc | C++ | server/motr_put_key_value_action.cc | shailesh-vaidya/cortx-s3server-1 | f61d4ab8961f53722feb68f233840326715ca47e | [
"Apache-2.0"
] | 35 | 2020-09-25T07:27:10.000Z | 2022-03-23T07:49:57.000Z | server/motr_put_key_value_action.cc | shailesh-vaidya/cortx-s3server-1 | f61d4ab8961f53722feb68f233840326715ca47e | [
"Apache-2.0"
] | 1,000 | 2020-09-24T13:10:23.000Z | 2022-03-28T08:19:34.000Z | server/motr_put_key_value_action.cc | shailesh-vaidya/cortx-s3server-1 | f61d4ab8961f53722feb68f233840326715ca47e | [
"Apache-2.0"
] | 150 | 2020-09-24T14:41:40.000Z | 2022-03-04T05:37:17.000Z | /*
* Copyright (c) 2020 Seagate Technology LLC and/or its Affiliates
*
* 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 req... | 35.196532 | 80 | 0.699951 | shailesh-vaidya |
3b5fb1de34b20a87477b2c36c828330d52cf2501 | 5,130 | cpp | C++ | Malmo/test/CppTests/test_mission.cpp | geekstor/malmo-1 | ce1e7972d9c1d6244a2615af0dc80f709222c6fd | [
"MIT"
] | null | null | null | Malmo/test/CppTests/test_mission.cpp | geekstor/malmo-1 | ce1e7972d9c1d6244a2615af0dc80f709222c6fd | [
"MIT"
] | null | null | null | Malmo/test/CppTests/test_mission.cpp | geekstor/malmo-1 | ce1e7972d9c1d6244a2615af0dc80f709222c6fd | [
"MIT"
] | null | null | null | // --------------------------------------------------------------------------------------------------
// Copyright (c) 2016 Microsoft Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
// associated documentation files (the "Software"), to deal in th... | 47.5 | 247 | 0.6577 | geekstor |
3b601f71639e6eca6369e3889b6a7e1e082515af | 66,491 | cpp | C++ | x265/param.cpp | amccool/staxrip | 5b80c600c6f84e963be6e3cfe30034cf13b539ae | [
"MIT"
] | null | null | null | x265/param.cpp | amccool/staxrip | 5b80c600c6f84e963be6e3cfe30034cf13b539ae | [
"MIT"
] | null | null | null | x265/param.cpp | amccool/staxrip | 5b80c600c6f84e963be6e3cfe30034cf13b539ae | [
"MIT"
] | null | null | null | /*****************************************************************************
* Copyright (C) 2013 x265 project
*
* Authors: Deepthi Nandakumar <deepthi@multicorewareinc.com>
* Min Chen <min.chen@multicorewareinc.com>
*
* This program is free software; you can redistribute it and/or modify
* it under t... | 38.456333 | 196 | 0.591057 | amccool |
3b63fb5a8114e3086e39398b3e433cb1385a70ae | 3,500 | cpp | C++ | src/test/r3/colon-case/level-data/AssetManagerTests/AssetManagerTests-main.cpp | ryantherileyman/riley-colon-case | 16c7f1239b7b70373ee9d250f028f49e5da1d4a5 | [
"Apache-2.0"
] | 1 | 2021-02-24T04:38:33.000Z | 2021-02-24T04:38:33.000Z | src/test/r3/colon-case/level-data/AssetManagerTests/AssetManagerTests-main.cpp | ryantherileyman/riley-colon-case | 16c7f1239b7b70373ee9d250f028f49e5da1d4a5 | [
"Apache-2.0"
] | 42 | 2020-12-29T22:16:12.000Z | 2021-05-03T02:46:07.000Z | src/test/r3/colon-case/level-data/AssetManagerTests/AssetManagerTests-main.cpp | ryantherileyman/riley-colon-case | 16c7f1239b7b70373ee9d250f028f49e5da1d4a5 | [
"Apache-2.0"
] | null | null | null |
#include <assert.h>
#include <iostream>
#include <r3/colon-case/level-data/r3-colonCase-AssetManager.hpp>
using namespace r3::colonCase;
bool testGetMapStatus_LoadingNotInitiated() {
AssetManager assetManager;
assetManager.setCampaignFolder("good-campaign");
AssetLoadingStatus status = assetManager.getMapStatus(... | 29.91453 | 101 | 0.781714 | ryantherileyman |
3b644ec2aaedf297aa236db8d950b8e68b12e507 | 4,867 | cpp | C++ | GMPsgCtl/GMPsgCtl.cpp | rs0h/PostGISGDO | abf980569b703e80567b43817ea1d79fdee626e9 | [
"Apache-2.0"
] | null | null | null | GMPsgCtl/GMPsgCtl.cpp | rs0h/PostGISGDO | abf980569b703e80567b43817ea1d79fdee626e9 | [
"Apache-2.0"
] | null | null | null | GMPsgCtl/GMPsgCtl.cpp | rs0h/PostGISGDO | abf980569b703e80567b43817ea1d79fdee626e9 | [
"Apache-2.0"
] | null | null | null | // Copyright 2011 Intergraph 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 l... | 32.66443 | 157 | 0.626875 | rs0h |
3b66a8575ccc1e68c9dfa3dbc6518ea012e2de2e | 1,395 | cpp | C++ | src/packetizer.cpp | sergeyrachev/sandstream | bad2c90f075f1abdc027dec9f47875239ce99bf3 | [
"MIT"
] | null | null | null | src/packetizer.cpp | sergeyrachev/sandstream | bad2c90f075f1abdc027dec9f47875239ce99bf3 | [
"MIT"
] | null | null | null | src/packetizer.cpp | sergeyrachev/sandstream | bad2c90f075f1abdc027dec9f47875239ce99bf3 | [
"MIT"
] | null | null | null | #include "packetizer.h"
#include <algorithm>
#include <cassert>
challenge::packetizer_t::packetizer_t(size_t max_buffer_size) : data_storage(max_buffer_size), input_buffer{data_storage.data(), 0} {
}
challenge::mutable_buffer_t challenge::packetizer_t::request() {
mutable_buffer_t requested_buffer{data_storage.... | 29.0625 | 133 | 0.732616 | sergeyrachev |
3b66f441ac36850e03dd468893e4b5c4f6aa7153 | 370 | hpp | C++ | include/reptil_exotico.hpp | fernandocunhapereira/petfera | 6c1a3661df2561f53691abc548b1ce4202a3ba1e | [
"MIT"
] | null | null | null | include/reptil_exotico.hpp | fernandocunhapereira/petfera | 6c1a3661df2561f53691abc548b1ce4202a3ba1e | [
"MIT"
] | null | null | null | include/reptil_exotico.hpp | fernandocunhapereira/petfera | 6c1a3661df2561f53691abc548b1ce4202a3ba1e | [
"MIT"
] | 1 | 2020-11-18T21:06:29.000Z | 2020-11-18T21:06:29.000Z | #include "reptil.hpp"
#include "exotico.hpp"
class ReptilExotico: public Reptil, public Exotico{
private:
ostream& print(ostream& o) const;
public:
ReptilExotico(string identificacao, double preco, string descricao,
double peso, tipoSexo sexo, Venomous veneno, double comprim... | 33.636364 | 96 | 0.675676 | fernandocunhapereira |
3b6a04141721ceaac640c4aa7a8f57879d111345 | 397 | cpp | C++ | Teste e exercicios/Struct/struct.cpp | Lu1zReis/exercicios-cpp | 81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0 | [
"MIT"
] | null | null | null | Teste e exercicios/Struct/struct.cpp | Lu1zReis/exercicios-cpp | 81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0 | [
"MIT"
] | null | null | null | Teste e exercicios/Struct/struct.cpp | Lu1zReis/exercicios-cpp | 81fabe4080d75ad88e25f4d3cda9fd5df31cbfa0 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
struct pessoa{
string nome;
int idade;
int cpf;
};
int main()
{
pessoa p;
cout << "digite os dados: " << endl;
cout << "CPF ->";
cin >> p.cpf;
cout << "Idade ->";
cin >> p.idade;
cout << "Nome ->";
cin >> p.nom... | 14.178571 | 55 | 0.465995 | Lu1zReis |
3b6bd84c11236d5c1867cd89f95a8ee212dfbe2e | 437 | cpp | C++ | a132.cpp | puyuliao/ZJ-d879 | bead48e0a500f21bc78f745992f137706d15abf8 | [
"MIT"
] | null | null | null | a132.cpp | puyuliao/ZJ-d879 | bead48e0a500f21bc78f745992f137706d15abf8 | [
"MIT"
] | null | null | null | a132.cpp | puyuliao/ZJ-d879 | bead48e0a500f21bc78f745992f137706d15abf8 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#include<stdint.h>
using namespace std;
#define IOS {cin.tie(nullptr);ios_base::sync_with_stdio(false);}
#define N 1000000
int main()
{
IOS;
int n;
while(cin >> n && n){
cout << "The parity of ";
int ans = 0;
for(unsigned int i=1<<31;i;i>>=1){
if(n & i) cout << 1,a... | 16.185185 | 65 | 0.512586 | puyuliao |
3b74ab0b169df1064455e3bd281c71e8d006c331 | 5,119 | cc | C++ | chrome/browser/extensions/api/app/app_api.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 1 | 2019-04-23T15:57:04.000Z | 2019-04-23T15:57:04.000Z | chrome/browser/extensions/api/app/app_api.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/api/app/app_api.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/app/app_api.h"
#include "base/json/json_writer.h"
#include "base/values.h"
#include "base/time.h"
#include "b... | 34.126667 | 78 | 0.728267 | 1065672644894730302 |
3b7559688dff18d69af70447761960b3d7bcfaff | 2,173 | cpp | C++ | oneflow/xrt/openvino/ops/upsample_op.cpp | mosout/oneflow | afbb221d900f1a340568ae2462b2022f8fcc4b3d | [
"Apache-2.0"
] | 1 | 2022-01-19T07:50:28.000Z | 2022-01-19T07:50:28.000Z | oneflow/xrt/openvino/ops/upsample_op.cpp | mosout/oneflow | afbb221d900f1a340568ae2462b2022f8fcc4b3d | [
"Apache-2.0"
] | null | null | null | oneflow/xrt/openvino/ops/upsample_op.cpp | mosout/oneflow | afbb221d900f1a340568ae2462b2022f8fcc4b3d | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020 The OneFlow 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 agre... | 37.465517 | 100 | 0.712379 | mosout |
3b762a18ef43aed5c40d70ddf8023f4ac64cbe4c | 2,596 | cpp | C++ | src/custom/common/misc.cpp | ntoskrnl7/crtsys | 2948afde9496d4e873dc067d1d0e8a545ce894bc | [
"MIT"
] | null | null | null | src/custom/common/misc.cpp | ntoskrnl7/crtsys | 2948afde9496d4e873dc067d1d0e8a545ce894bc | [
"MIT"
] | null | null | null | src/custom/common/misc.cpp | ntoskrnl7/crtsys | 2948afde9496d4e873dc067d1d0e8a545ce894bc | [
"MIT"
] | null | null | null | // clang-format off
//
// vcruntime/guard_support.c
//
extern "C" unsigned char _guard_xfg_dispatch_icall_nop = 0x90;
//
// vcruntime/utility_app.cpp
//
#include <windows.h>
#define _ROAPI_
#include <roapi.h>
EXTERN_C
ROAPI
_Check_return_
HRESULT
WINAPI
RoInitialize (
_In_ RO_INIT_TYPE initType
)
{
... | 15.829268 | 92 | 0.689137 | ntoskrnl7 |
3b77575f201d6f6fda58cbcc5f311fa7de6117be | 984 | cxx | C++ | test/t1144.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 10 | 2018-03-26T07:41:44.000Z | 2021-11-06T08:33:24.000Z | test/t1144.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | null | null | null | test/t1144.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 1 | 2020-11-17T03:17:00.000Z | 2020-11-17T03:17:00.000Z | /* -*- C++ -*- */
/*************************************************************************
* Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch)
*
* For the licensing terms see the file COPYING
*
************************************************************************/
#include <stdio.h>
#include <string>... | 28.941176 | 74 | 0.556911 | paulwratt |
3b798da7a049860bc39caa1d61915556cd50e71a | 17,812 | hpp | C++ | xfinal/mime.hpp | maxbad/xfinal | 3e8ba689fc40b896bb2555aebf903672335b8b7b | [
"MIT"
] | 57 | 2019-05-14T09:55:14.000Z | 2022-03-17T07:08:55.000Z | xfinal/mime.hpp | maxbad/xfinal | 3e8ba689fc40b896bb2555aebf903672335b8b7b | [
"MIT"
] | 12 | 2019-05-18T02:34:48.000Z | 2021-06-29T15:30:41.000Z | xfinal/mime.hpp | maxbad/xfinal | 3e8ba689fc40b896bb2555aebf903672335b8b7b | [
"MIT"
] | 22 | 2019-06-15T10:09:33.000Z | 2022-01-18T09:24:25.000Z | #pragma once
#include "string_view.hpp"
#include <map>
namespace xfinal {
static std::map<nonstd::string_view, nonstd::string_view> mime_map = {
{ ".323", "text/h323" },
{ ".3gp", "video/3gpp" },
{ ".aab", "application/x-authoware-bin" },
{ ".aam", "application/x-authoware-map" },
{ ".aas", "application/x-authow... | 34.789063 | 90 | 0.552493 | maxbad |
3b79d081acd074d6874940fc1a84ad6cb25734e7 | 17,564 | cpp | C++ | cpp-cgdk/model/Game.cpp | leloykun/russian-ai-cup | aa06dcd594f8a33aa5d1accc128b931812de7297 | [
"MIT"
] | null | null | null | cpp-cgdk/model/Game.cpp | leloykun/russian-ai-cup | aa06dcd594f8a33aa5d1accc128b931812de7297 | [
"MIT"
] | null | null | null | cpp-cgdk/model/Game.cpp | leloykun/russian-ai-cup | aa06dcd594f8a33aa5d1accc128b931812de7297 | [
"MIT"
] | null | null | null | #include "Game.h"
using namespace model;
Game::Game()
: randomSeed(-1), tickCount(-1), worldWidth(-1.0), worldHeight(-1.0), fogOfWarEnabled(false), victoryScore(-1),
facilityCaptureScore(-1), vehicleEliminationScore(-1), actionDetectionInterval(-1), baseActionCount(-1),
additionalActionCountPerControlCent... | 36.74477 | 120 | 0.808187 | leloykun |
3b79f31a046bb2ceaabb630cb05fa4e25ca4b6e0 | 6,539 | cxx | C++ | src/matrix_4x4.cxx | cervenkam/muscle-deformation-PBD | 66cce66944a8e81cb9bbc82f845bd45beccf0d9b | [
"Apache-2.0"
] | 1 | 2020-11-15T23:21:31.000Z | 2020-11-15T23:21:31.000Z | src/matrix_4x4.cxx | cervenkam/muscle-deformation-PBD | 66cce66944a8e81cb9bbc82f845bd45beccf0d9b | [
"Apache-2.0"
] | null | null | null | src/matrix_4x4.cxx | cervenkam/muscle-deformation-PBD | 66cce66944a8e81cb9bbc82f845bd45beccf0d9b | [
"Apache-2.0"
] | null | null | null | /* ###########################################################
# PBD algorithm implementation #
# Thesis: Muscle Fibres Deformation using Particle System #
# Author: Martin Cervenka #
# Version: 5/2019 #
##... | 37.365714 | 71 | 0.577 | cervenkam |
3b7a78749f9f6caa6e06878f7645abb189daede8 | 11,615 | cpp | C++ | sources/unvrtool.cpp | unvrtool/unvrtool | 1f9601f1b3f7db16244cec6064e648a3df45d2f6 | [
"BSD-3-Clause"
] | null | null | null | sources/unvrtool.cpp | unvrtool/unvrtool | 1f9601f1b3f7db16244cec6064e648a3df45d2f6 | [
"BSD-3-Clause"
] | null | null | null | sources/unvrtool.cpp | unvrtool/unvrtool | 1f9601f1b3f7db16244cec6064e648a3df45d2f6 | [
"BSD-3-Clause"
] | null | null | null | //
// Copyright (c) 2020, Jan Ove Haaland, all rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include "_headers_std.hpp"
#include "util.hpp"
#include "config.hpp"
#include "vrrecorder.hpp"
using namespace std;
c... | 38.716667 | 145 | 0.620146 | unvrtool |
3b7be769699b5325e3edfaa1885569ba8a2eb362 | 135,049 | inl | C++ | dev/Code/Framework/AzCore/AzCore/Serialization/AZStdContainers.inl | Kezryk/lumberyard | d21172c26536133a4213873469a171f4f0c4280c | [
"AML"
] | 1 | 2019-02-06T19:12:41.000Z | 2019-02-06T19:12:41.000Z | dev/Code/Framework/AzCore/AzCore/Serialization/AZStdContainers.inl | santosh90n/lumberyard-1 | 9608bcf905bb60e9f326bd3fe8297381c22d83a6 | [
"AML"
] | null | null | null | dev/Code/Framework/AzCore/AzCore/Serialization/AZStdContainers.inl | santosh90n/lumberyard-1 | 9608bcf905bb60e9f326bd3fe8297381c22d83a6 | [
"AML"
] | null | null | null | /*
* 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... | 40.874395 | 224 | 0.554887 | Kezryk |
3b8053fec43e49d20300eef56be3664934adb7e3 | 5,574 | cpp | C++ | Oxcart/src/data/Model.cpp | JackiBackiBoy/Oxcart | 75cb9efbbf4122d06015f6700bcf3b22b1241a2c | [
"Apache-2.0"
] | 1 | 2020-10-06T13:52:15.000Z | 2020-10-06T13:52:15.000Z | Oxcart/src/data/Model.cpp | JackiBackiBoy/Oxcart | 75cb9efbbf4122d06015f6700bcf3b22b1241a2c | [
"Apache-2.0"
] | null | null | null | Oxcart/src/data/Model.cpp | JackiBackiBoy/Oxcart | 75cb9efbbf4122d06015f6700bcf3b22b1241a2c | [
"Apache-2.0"
] | null | null | null | #include "Model.h"
#include <iostream>
#include "GL/glew.h"
#include "vendor/stb_image/stb_image.h"
Model::Model(const std::string& aPath, const bool& anIsFlippedUVs) : myIsFlippedUVs(anIsFlippedUVs)
{
LoadModel(aPath);
}
void Model::Render(Shader& aShader)
{
for (unsigned int i = 0; i < myMeshes.size(); i++)
{
... | 26.542857 | 117 | 0.719232 | JackiBackiBoy |
3b80beb3bb688b516d918bffbb1cb93a8e9c502a | 484 | cpp | C++ | Implementations/06 - DP (3)/6.2 - Examples/Traveling Salesman (4).cpp | Senpat/USACO | 7f65e083e70c10b43224c6e1acbab79af249b942 | [
"MIT"
] | null | null | null | Implementations/06 - DP (3)/6.2 - Examples/Traveling Salesman (4).cpp | Senpat/USACO | 7f65e083e70c10b43224c6e1acbab79af249b942 | [
"MIT"
] | null | null | null | Implementations/06 - DP (3)/6.2 - Examples/Traveling Salesman (4).cpp | Senpat/USACO | 7f65e083e70c10b43224c6e1acbab79af249b942 | [
"MIT"
] | null | null | null | /**
* Description: Bitset DP example
* Solves TSP for small N
*/
const int MX = 15;
int N, dp[MX][1<<MX], dist[MX][MX];
int solve() {
F0R(i,N) F0R(j,1<<N) dp[i][j] = MOD;
dp[0][1] = 0;
F0R(j,1<<N) F0R(i,N) if (j&(1<<i))
F0R(k,N) if (!(j&(1<<k)))
dp[k][j^(1<<k)] = min(dp[k][j^(1... | 22 | 57 | 0.417355 | Senpat |
3b8416520722faa27530f6ed5064873df412ef17 | 1,414 | cpp | C++ | GL_GraphicLab/src/Scene/TriangleScene.cpp | acros/GL_GraphicLab | a2b892d87d0f022c15f092ab45950495dbdb4bd4 | [
"MIT"
] | 3 | 2016-11-16T18:04:50.000Z | 2018-05-10T11:31:52.000Z | GL_GraphicLab/src/Scene/TriangleScene.cpp | acros/GL_GraphicLab | a2b892d87d0f022c15f092ab45950495dbdb4bd4 | [
"MIT"
] | null | null | null | GL_GraphicLab/src/Scene/TriangleScene.cpp | acros/GL_GraphicLab | a2b892d87d0f022c15f092ab45950495dbdb4bd4 | [
"MIT"
] | null | null | null | #include "TriangleScene.h"
TriangleScene::TriangleScene(Renderer& renderer)
: Scene(renderer)
{
mVertStr =
"#version 300 es \n"
"layout(location = 0) in vec4 vPosition; \n"
"void main() \n"
"{ \n"
" gl_Position ... | 23.966102 | 65 | 0.476662 | acros |
3b86ba6e6e90bb73e2ed0e2ca9a13a513ba19ef8 | 12,048 | cpp | C++ | prototype/TAT-C/cpp/test/SystemTest_Analysis.cpp | Randl/GMAT | d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5 | [
"Apache-2.0"
] | 2 | 2020-01-01T13:14:57.000Z | 2020-12-09T07:05:07.000Z | prototype/TAT-C/cpp/test/SystemTest_Analysis.cpp | rdadan/GMAT-R2016a | d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5 | [
"Apache-2.0"
] | 1 | 2018-03-15T08:58:37.000Z | 2018-03-20T20:11:26.000Z | prototype/TAT-C/cpp/test/SystemTest_Analysis.cpp | rdadan/GMAT-R2016a | d6a5b1fed68c33b0c4b1cfbd1e25a71cdfb8f8f5 | [
"Apache-2.0"
] | 3 | 2019-10-13T10:26:49.000Z | 2020-12-09T07:06:55.000Z | //------------------------------------------------------------------------------
// SystemTest_Analysis
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Author: Wendy Shoan
// Created: 2016.05.31
//
/**
* System ... | 40.840678 | 127 | 0.534363 | Randl |
3b89684bf0e2fb7f3dbf03921fe8aa10ce692593 | 7,298 | cc | C++ | gnuradio-3.7.13.4/gr-trellis/lib/siso_combined_f_impl.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | 1 | 2021-03-09T07:32:37.000Z | 2021-03-09T07:32:37.000Z | gnuradio-3.7.13.4/gr-trellis/lib/siso_combined_f_impl.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | gnuradio-3.7.13.4/gr-trellis/lib/siso_combined_f_impl.cc | v1259397/cosmic-gnuradio | 64c149520ac6a7d44179c3f4a38f38add45dd5dc | [
"BSD-3-Clause"
] | null | null | null | /* -*- c++ -*- */
/*
* Copyright 2004,2010,2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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, or (at y... | 28.960317 | 91 | 0.633598 | v1259397 |
3b898bfcedf9131a37a2ad56305439fe557e7b94 | 4,765 | cpp | C++ | src/Field.cpp | renatocf/rugby-game-cpp | 4a00f1b582304d728f47e39d6a97d02bdce40e16 | [
"MIT"
] | null | null | null | src/Field.cpp | renatocf/rugby-game-cpp | 4a00f1b582304d728f47e39d6a97d02bdce40e16 | [
"MIT"
] | null | null | null | src/Field.cpp | renatocf/rugby-game-cpp | 4a00f1b582304d728f47e39d6a97d02bdce40e16 | [
"MIT"
] | null | null | null | // C Headers
#include <cassert>
// Standard exceptions
#include <sstream>
#include <stdexcept>
// Internal headers
#include "Dimension.hpp"
#include "Position.hpp"
// Main header
#include "Field.hpp"
namespace rugby {
/* ////////////////////////////////////////////////////////////////////////// */
/* -------------... | 33.090278 | 80 | 0.375236 | renatocf |
3b8d0919b8a8894ea4ae3b9f0431ca57787d895e | 3,426 | hpp | C++ | missions/po4.tanoa/Tasks/op_2_targetWeaponsCache.hpp | ademirt/Arma3 | f75c28f59deb45e56d021d9d1d3458b145432bd8 | [
"MIT"
] | null | null | null | missions/po4.tanoa/Tasks/op_2_targetWeaponsCache.hpp | ademirt/Arma3 | f75c28f59deb45e56d021d9d1d3458b145432bd8 | [
"MIT"
] | null | null | null | missions/po4.tanoa/Tasks/op_2_targetWeaponsCache.hpp | ademirt/Arma3 | f75c28f59deb45e56d021d9d1d3458b145432bd8 | [
"MIT"
] | null | null | null | class op_2_TargetWeaponsCache: TaskDefaults {
scope = 1;
typeID = 2;
positionSearchTypes[] = {"Town","Shack","Village","House","Clearing","Hill"};
positionSearchRadius = 1000;
positionNearLast = 1;
class TaskDetails {
title = "%1";
description[] = {
"<t>Ref: %2</t> | <t>Date: %3<br/>AO: %4 %5 near %6</t>"
... | 25.567164 | 138 | 0.603619 | ademirt |
3b8d8da989aa3178b1213184076bff742da212c4 | 3,484 | cpp | C++ | Engine/Source/Runtime/AIModule/Private/BehaviorTree/Decorators/BTDecorator_Cooldown.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Runtime/AIModule/Private/BehaviorTree/Decorators/BTDecorator_Cooldown.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Runtime/AIModule/Private/BehaviorTree/Decorators/BTDecorator_Cooldown.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "AIModulePrivate.h"
#include "BehaviorTree/Decorators/BTDecorator_Cooldown.h"
UBTDecorator_Cooldown::UBTDecorator_Cooldown(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer)
{
NodeName = "Cooldown";
CoolDownTime = 5.0f;
//... | 35.917526 | 181 | 0.799369 | PopCap |
3b8de2800883bcbeabfd237c78c38c025e28e62b | 4,312 | cpp | C++ | LeetCode/Answers/Leetcode-cpp-solution/search && sort/34_Search for a Range.cpp | quantumlaser/code2016 | 25f8e1e55224e3f7522f8ba1fa5587530f0daf54 | [
"MIT"
] | null | null | null | LeetCode/Answers/Leetcode-cpp-solution/search && sort/34_Search for a Range.cpp | quantumlaser/code2016 | 25f8e1e55224e3f7522f8ba1fa5587530f0daf54 | [
"MIT"
] | null | null | null | LeetCode/Answers/Leetcode-cpp-solution/search && sort/34_Search for a Range.cpp | quantumlaser/code2016 | 25f8e1e55224e3f7522f8ba1fa5587530f0daf54 | [
"MIT"
] | null | null | null | /*
Search for a RangeMar 3 '124707 / 12607
Given a sorted array of integers, find the starting and ending position of a given target value.
Your algorithm's runtime complexity must be in the order of O(log n).
If the target is not found in the array, return [-1, -1].
For example,
Given [5, 7, 7, 8, 8, 10] and targe... | 24.924855 | 96 | 0.426484 | quantumlaser |
3b92204ae3ef7dd10ff90b9b1b38d30008e44b03 | 17,344 | cpp | C++ | src/frontend/mame/ui/dirmenu.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/frontend/mame/ui/dirmenu.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/frontend/mame/ui/dirmenu.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:Maurizio Petrarota
/*********************************************************************
ui/dirmenu.cpp
Internal UI user interface.
*********************************************************************/
#include "emu.h"
#include "ui/ui.h"
#include "ui/dirmenu.h... | 33.353846 | 142 | 0.571725 | Robbbert |
3b942e189ccfcc2de67a8dca1bfd1bc5c1c50938 | 2,006 | cpp | C++ | src/RE/T/TESForm.cpp | colinswrath/CommonLibSSE | 9c693f6a2406fb6128ee0dd0462bfc9ddbd83eee | [
"MIT"
] | 118 | 2019-02-07T22:34:11.000Z | 2022-03-29T10:40:40.000Z | src/RE/T/TESForm.cpp | colinswrath/CommonLibSSE | 9c693f6a2406fb6128ee0dd0462bfc9ddbd83eee | [
"MIT"
] | 63 | 2019-07-30T13:50:11.000Z | 2022-02-19T02:14:33.000Z | src/RE/T/TESForm.cpp | colinswrath/CommonLibSSE | 9c693f6a2406fb6128ee0dd0462bfc9ddbd83eee | [
"MIT"
] | 71 | 2019-05-21T00:15:51.000Z | 2022-03-03T15:14:19.000Z | #include "RE/T/TESForm.h"
#include "RE/B/BGSDefaultObjectManager.h"
#include "RE/F/FormTraits.h"
#include "RE/I/IObjectHandlePolicy.h"
#include "RE/I/InventoryEntryData.h"
#include "RE/T/TESFullName.h"
#include "RE/T/TESGlobal.h"
#include "RE/T/TESModel.h"
#include "RE/T/TESObjectREFR.h"
#include "RE/V/VirtualMachine.... | 24.765432 | 107 | 0.666999 | colinswrath |
3b956fe7da7e80058d9a6d2171a462d5186a13fc | 2,502 | cc | C++ | src/IndexEntryParser.cc | Black-Library/black-library-parsers | e5fa87d1066c0247e3636a51ff0b973c894c4aec | [
"MIT"
] | null | null | null | src/IndexEntryParser.cc | Black-Library/black-library-parsers | e5fa87d1066c0247e3636a51ff0b973c894c4aec | [
"MIT"
] | null | null | null | src/IndexEntryParser.cc | Black-Library/black-library-parsers | e5fa87d1066c0247e3636a51ff0b973c894c4aec | [
"MIT"
] | null | null | null | /**
* IndexEntryParser.cc
*/
#include <functional>
#include <iostream>
#include <LogOperations.h>
#include <IndexEntryParser.h>
#include <ShortTimeGenerator.h>
namespace black_library {
namespace core {
namespace parsers {
namespace BlackLibraryCommon = black_library::core::common;
IndexEntryParser::IndexEntr... | 24.057692 | 149 | 0.701039 | Black-Library |
3b9704f9fdda59e24eca8c843b63597101f3bc0e | 460 | cpp | C++ | page23/page23.cpp | valeriivoronkov/cplusplus_schildt3 | 8690889543f595e00bef99fc6981260fffae67d3 | [
"MIT"
] | null | null | null | page23/page23.cpp | valeriivoronkov/cplusplus_schildt3 | 8690889543f595e00bef99fc6981260fffae67d3 | [
"MIT"
] | null | null | null | page23/page23.cpp | valeriivoronkov/cplusplus_schildt3 | 8690889543f595e00bef99fc6981260fffae67d3 | [
"MIT"
] | null | null | null | /*
* Эта программа преобразует галлоны в литры.
*/
/*
* File: page23.cpp
* Author: xcoder
*
* Created on November 5, 2018, 7:56 PM
*/
#include <iostream>
using namespace std;
/*
*
*/
int main(int argc, char** argv) {
int gallons, liters;
cout << "Введите количество галлонов: ";
cin >> gallo... | 16.428571 | 52 | 0.604348 | valeriivoronkov |
3b9776ec72bc734ab0906517a86a44e35cceedc9 | 231 | cpp | C++ | parser.cpp | wistron-corporation/openpower-vpd-parser | 73b589b85ec6194853f1474b76e62623468debdb | [
"Apache-2.0"
] | null | null | null | parser.cpp | wistron-corporation/openpower-vpd-parser | 73b589b85ec6194853f1474b76e62623468debdb | [
"Apache-2.0"
] | null | null | null | parser.cpp | wistron-corporation/openpower-vpd-parser | 73b589b85ec6194853f1474b76e62623468debdb | [
"Apache-2.0"
] | null | null | null | #include "parser.hpp"
#include "impl.hpp"
namespace openpower
{
namespace vpd
{
Store parse(Binary&& vpd)
{
parser::Impl p(std::move(vpd));
Store s = p.run();
return s;
}
} // namespace vpd
} // namespace openpower
| 12.157895 | 35 | 0.636364 | wistron-corporation |
3b984a4f11986b24fd1a3619b9199a63e44a4c1c | 4,273 | cpp | C++ | dpctl-capi/tests/test_sycl_kernel_interface.cpp | reazulhoque/dpctl | 27634efff7bcaf2096d3e236d9739e1a25e0d99e | [
"Apache-2.0"
] | 1 | 2020-08-09T13:55:34.000Z | 2020-08-09T13:55:34.000Z | dpctl-capi/tests/test_sycl_kernel_interface.cpp | PokhodenkoSA/pydppl | 9b8644b167a2bc9d1067e5c0d13d3abef0bff82b | [
"Apache-2.0"
] | 6 | 2021-07-08T08:08:25.000Z | 2021-09-10T13:55:55.000Z | dpctl-capi/tests/test_sycl_kernel_interface.cpp | PokhodenkoSA/dpctl | 9b8644b167a2bc9d1067e5c0d13d3abef0bff82b | [
"Apache-2.0"
] | null | null | null | //===-- test_sycl_program_interface.cpp - Test cases for kernel interface ===//
//
// Data Parallel Control (dpctl)
//
// Copyright 2020-2021 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
/... | 32.618321 | 80 | 0.668617 | reazulhoque |
3b9927fc8098750630ef4b9ab94e0988cfe835bc | 3,350 | cpp | C++ | igl/grad_intrinsic.cpp | sabinaRachev/3D-Snake-Game-Final-Project | 5c1f2044d848f24d6ce60dc61411393b503c8da2 | [
"Apache-2.0"
] | null | null | null | igl/grad_intrinsic.cpp | sabinaRachev/3D-Snake-Game-Final-Project | 5c1f2044d848f24d6ce60dc61411393b503c8da2 | [
"Apache-2.0"
] | null | null | null | igl/grad_intrinsic.cpp | sabinaRachev/3D-Snake-Game-Final-Project | 5c1f2044d848f24d6ce60dc61411393b503c8da2 | [
"Apache-2.0"
] | null | null | null | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2018 Alec Jacobson <alecjacobson@gmail.com>
//
// 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 h... | 42.405063 | 297 | 0.617612 | sabinaRachev |
3b99a4e4b231502a984dd8f0f4f67f5e803b42ec | 18,365 | hpp | C++ | include/public/coherence/lang/MemberHolder.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-01T21:38:30.000Z | 2021-11-03T01:35:11.000Z | include/public/coherence/lang/MemberHolder.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 1 | 2020-07-24T17:29:22.000Z | 2020-07-24T18:29:04.000Z | include/public/coherence/lang/MemberHolder.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-10T18:40:58.000Z | 2022-02-18T01:23:40.000Z | /*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
#ifndef COH_MEMBER_HOLDER_HPP
#define COH_MEMBER_HOLDER_HPP
#include "coherence/lang/compatibility.hpp"
#include "coherence/lang/Object.hpp"
... | 29.290271 | 121 | 0.475306 | chpatel3 |
3b9b19f12df016171fabed0815993cdbb12795eb | 17,021 | cc | C++ | pmlc/target/intel_gen/subgroup_broadcast.cc | hfp/plaidml | c86852a910e68181781b3045f5a306d2f41a775f | [
"Apache-2.0"
] | null | null | null | pmlc/target/intel_gen/subgroup_broadcast.cc | hfp/plaidml | c86852a910e68181781b3045f5a306d2f41a775f | [
"Apache-2.0"
] | null | null | null | pmlc/target/intel_gen/subgroup_broadcast.cc | hfp/plaidml | c86852a910e68181781b3045f5a306d2f41a775f | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Intel Corporation
#include "llvm/ADT/TypeSwitch.h"
#include "mlir/Dialect/GPU/ParallelLoopMapper.h"
#include "mlir/Dialect/SCF/SCF.h"
#include "mlir/Dialect/StandardOps/IR/Ops.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/Dialect/Vector/VectorOps.h"
#include "mlir/IR/BlockAndValueMapp... | 39.400463 | 80 | 0.658187 | hfp |