text stringlengths 7 961k |
|---|
/****************************************************************************************
* @author: kzvd4729 created: Apr/27/2020 11:07
* solution_verdict: Wrong answer on test 3 language: GNU C++14
* run... |
%%cu
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
#include <cmath>
#include <stdio.h>
#include <cstdlib>
#define N 5
#define BASE_TYPE double
__device__ BASE_TYPE mult(BASE_TYPE *a, BASE_TYPE *b, int idx_a, int idx_b)
{
BASE_TYPE result = 0;
for(int i = 0; i < N; i++)
re... |
// Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
#include "core/color.h"
#include "core/util/rawData.h"
#include "core/frameAllocator.h"
#include "platform/platformNet.h"
#include "core/stream/stream.h"
#include "core/stringTable.h"
#include "core... |
/*
* Copyright (c) 2011,2012. Philipp Wagner <bytefish[at]gmx[dot]de>.
* Released to public domain under terms of the BSD Simplified license.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions o... |
#include <migraphx/gpu/pack_int8_args.hpp>
#include <migraphx/gpu/int8_gemm_pack.hpp>
#include <migraphx/gpu/int8_conv_pack.hpp>
#include <migraphx/gpu/hip.hpp>
#include <migraphx/instruction.hpp>
#include <migraphx/program.hpp>
#include <migraphx/iterator_for.hpp>
namespace migraphx {
inline namespace MIGRAPHX_INLINE... |
/*
* Copyright (c) 2015 Samsung Electronics 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... |
// This file is automatically generated at compile-time to include some subset of the user-created cpp files.
#include "C:/Users/Justin/Documents/Unreal Projects/QuestVRE/Plugins/VRExpansionPlugin/VRExpansionPlugin/Intermediate/Build/Win64/UE4Editor/Inc/VRExpansionPlugin/GrippableStaticMeshActor.gen.cpp"
#include "C:/U... |
//==================================================================================================
/*!
@file
@copyright 2012-2015 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//======================... |
/* ----------------------------------------------------------------------
* MatPar.cpp()
* ----------------------------------------------------------------------
*
* ----------------------------------------------------------------------
*/
#include "defs.h"
MatPar::MatPar(){
m_x = NULL;
m_y = NULL;
ivol = NU... |
#ifndef INCG_PHI_CORE_TYPE_TRAITS_NEGATION_HPP
#define INCG_PHI_CORE_TYPE_TRAITS_NEGATION_HPP
#include "phi/phi_config.hpp"
#if PHI_HAS_EXTENSION_PRAGMA_ONCE()
# pragma once
#endif
#include "phi/compiler_support/inline_variables.hpp"
#include "phi/type_traits/integral_constant.hpp"
DETAIL_PHI_BEGIN_NAMESPACE()
... |
#include "audio_output.hpp"
#include <atomic>
#include <thread>
#include <mutex>
#include <portaudio.h>
#include "log.hpp"
#include "buffers/ring_buffer.hpp"
#ifdef _WIN32
typedef unsigned long u_long;
#endif
template <typename SampleT>
struct data_type_table;
template <> struct data_type_table<short> { enum { value... |
// 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... |
/**
* @cond doxygenLibsbmlInternal
*
* @file XercesParser.cpp
* @brief Adapts the Xerces-C++ XML parser to the XMLParser interface
* @author Ben Bornstein
* @author Michael Hucka
*
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please v... |
/**
* \file dnn/src/cuda/elemwise_multi_type/kern_impl_q4.inl
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distr... |
//////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... |
/* Copyright 2017 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... |
// Copyright (C) 2018-2019 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
/**
* @brief The entry point the Inference Engine sample application
* @file classification_sample/main.cpp
* @example classification_sample/main.cpp
*/
#include <fstream>
#include <iomanip>
#include <vector>
#include <chrono>
#inc... |
/*
* Copyright (c) 2020, The OpenThread Authors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this ... |
// Classname: TFitParticleMomDev
// Author: Jan E. Sundermann, Verena Klose (TU Dresden)
//________________________________________________________________
//
// TFitParticleMomDev
// --------------------
//
// Particle with special parametrization of the momentum 4vector and
// free mass (4 free parameters). The para... |
/**************************************************************************
* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
//
// HTTPRequestWrapper.cpp
//
// $Id: //poco/1.4/JS/Net/src/HTTPRequestWrapper.cpp#7 $
//
// Library: JSNet
// Package: HTTP
// Module: HTTPRequestWrapper
//
// Copyright (c) 2013-2014, Applied Informatics Software Engineering GmbH.
// All rights reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
#include "Poc... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addresstablemodel.h"
#include "guiutil.h"
#include "walletmodel.h"
#include "base58.h"
#include "wallet/wallet.h"... |
// Copyright (c) 2012 The Chromium Embedded Framework Authors.
// Portions 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 "libcef/browser/file_dialog_manager.h"
#include <utility>
#include ... |
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... |
#include "bcdb/BCDB.h"
#include <llvm/Bitcode/BitcodeReader.h>
#include <llvm/IR/IRBuilder.h>
#include <llvm/IR/Instructions.h>
#include <llvm/IR/Module.h>
#include <llvm/Linker/Linker.h>
#include <llvm/Support/Error.h>
#include <llvm/Support/Path.h>
#include <llvm/Transforms/Utils/ModuleUtils.h>
#include <map>
#incl... |
/**
* Parrot Drones Awesome Video Viewer Library
* Broadcom VideoCore 4 EGL renderer
*
* Copyright (c) 2018 Parrot Drones SAS
* Copyright (c) 2016 Aurelien Barre
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... |
/* file: adaboost_train_dense_default_batch_fpt_dispatcher.cpp */
/*******************************************************************************
* Copyright 2014-2020 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... |
namespace outer {
template<typename T>
struct Foo {
T t;
};
template <typename T, unsigned U, template<typename> class W>
struct Baz { };
template <typename... T>
struct Qux { };
namespace inner {
struct Bar {
Bar(outer::Foo<bool>* foo) { }
typedef int FooType;
int *p;
int *f(int *p, char *x, FooType z)... |
#include "socket_locator.h"
#include "message_system.h"
void SocketLocator::Awake()
{
auto pMsgSystem = GetSystemManager()->GetMessageSystem();
pMsgSystem->RegisterFunction(this, Proto::MsgId::MI_NetworkDisconnect, BindFunP1(this, &SocketLocator::HandleNetworkDisconnect));
}
void SocketLocator::BackToPool()
{... |
// Copyright 2017 The Dawn 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 agreed t... |
#include <iostream>
using namespace std;
// Merges two subarrays of arr[].
// First subarray is arr[l..m]
// Second subarray is arr[m+1..r]
long long int merge(int arr[], int l, int m, int r)
{
long long int swaps = 0;
int n1 = m - l + 1;
int n2 = r - m;
// Create temp arrays
int L[n1... |
#include <tart/chip/rp2040/clocks.hpp>
#include <tart/hw/rp2040/clocks.hpp>
#include <tart/chip/rp2040/resets.hpp>
namespace platform::clocks {
using namespace tart::hw::clocks;
inline constexpr uint32_t mhz = 1000000;
constexpr bool has_glmux(uintptr_t clock) {
return clock == reg::ref || clock == reg::sys;
}... |
/*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... |
#pragma once
namespace NWNXLib {
namespace API {
class ZSTD_dictContentType_e { };
}
} |
// Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/common/api/event_emitter_caller_deprecated.h"
#include "shell/common/api/locker.h"
#include "shell/common/node_includes.h"
namespace mate {
namespace internal {
v8:... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE126_Buffer_Overread__new_wchar_t_loop_33.cpp
Label Definition File: CWE126_Buffer_Overread__new.label.xml
Template File: sources-sink-33.tmpl.cpp
*/
/*
* @description
* CWE: 126 Buffer Over-read
* BadSource: Use a small buffer
* GoodSource: Use a large buffer
* Sin... |
#pragma once
//=====================================================================//
/*! @file
@brief R8C/M110AN, R8C/M120AN グループ・A/D変換レジスター定義
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2015, 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/R8C/bl... |
#pragma once
#include "observable.h"
namespace embr { namespace coap {
#ifdef OBSOLETE
template <class TCollection,
class TIncomingContext,
class TRequestContextTraits>
template <class TDataPump>
void ObservableRegistrar<TCollection, TIncomingContext, TRequestContextTraits>::
for_each(
... |
#include "../header/helper.h"
#include <bits/stdc++.h>
void restore(int b[4][4], int a[4][4]) {
for(int i=0;i<4;i++)
for(int j=0;j<4;j++)
b[i][j] = a[i][j];
}
void load_vector(vector<vector<int>>&v, int a[4][4]) {
for(int i=0;i<4;i++) {
vector<int>w;
for(int j=0;j<4;j++)
w.push_back(a[i][j]);
v.pu... |
#ifndef ALGO_BTREE_H__
#define ALGO_BTREE_H__
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <memory>
#define BLOCKSIZE 4096
#define T 255
#define LEAF 0x0001
#define ONDISK 0x0002
#define MARKFREE 0x0004
namesp... |
#pragma once
struct Vertex_Structure
{
float X;
float Y;
float Z;
float Reciprocal_Homogeneous_W;
unsigned __int32 Color;
}; |
// Copyright 2009 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... |
/*************************************************************************/
/* webrtc_peer_connection_gdnative.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
/****************************************************************************
**
** This file is part of the Ponder library, formerly CAMP.
**
** The MIT License (MIT)
**
** Copyright (C) 2009-2014 TEGESO/TEGESOFT and/or its subsidiary(-ies) and mother company.
** Copyright (C) 2015-2019 Nick Trout.
**
** Permission is... |
/*
plugins.cpp
Работа с плагинами (низкий уровень, кое-что повыше в filelist.cpp)
*/
/*
Copyright © 1996 Eugene Roshal
Copyright © 2000 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redi... |
//=================================================================================================
/*!
// \file src/mathtest/dvecdvecsub/V6bV6a.cpp
// \brief Source file for the V6bV6a dense vector/dense vector subtraction math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This fil... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby ... |
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "... |
/*******************************************************************************
* Copyright 2018-2020 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... |
/*
* Copyright (c) 2018-2019, NVIDIA 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... |
#pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//GPIOE
namespace GpioeGpioeDircr{ ///<GPIOE_DIRCR
using Addr = Register::Address<0x4001e000,0x00000000,0x00000000,unsigned>;
///DIR0
constexpr Register::FieldLocation<Addr,Register::maskFromRange(0,0),Register::ReadWriteAcc... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// NOTE: This file is intended to be customised by the end user, and includes only loc... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.ResourceManagement.Util... |
#include<iostream>
#include<string>
using namespace std;
string wind;
int n, sx, sy, ex, ey;
int main(void){
cin>>n>>sx>>sy>>ex>>ey;
cin>>wind;
int res = 0;
if(sx==ex && sy==ey){
cout<<0<<endl;
return 0;
}
for(int i=0; i<n; i++){
if(wind[i]=='E'){
sx++;
}
if(wind[i]=='S'){
sy--;
}
if(wind[... |
#include "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"
#include "guiutil.h"
#include "init.h"
#include "main.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "wallet.h"
#include <QClipboard>
#include <string>
#include <vector>
Sign... |
/**
* @file word_embeddings.cpp
* @author Chase Geigle
*
* All files in META are dual-licensed under the MIT and NCSA licenses. For more
* details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the
* project.
*/
#include "meta/embeddings/word_embeddings.h"
#include "meta/io/filesystem.h"
#include... |
/*
* Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
#include <SDL2/SDL.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include "keyboard/xlib.cpp"
#include "mouse/xlib.cpp"
#include "joypad/sdl.cpp"
struct InputSDL : InputDriver {
InputSDL& self = *this;
InputSDL(Input& super) : InputDriver(super), keyboard(super), mouse(super), joypad(super) {}
~InputSDL() { term... |
#include "Display.h"
Display::Display() {
// set the LCD address to 0x3F for a 16 chars and 2 line display
lcd = new LiquidCrystal_I2C(0x3F, 16, 2);
lcd->init();
lcd->backlight();
setupDisplayTitles();
}
void Display::setupDisplayTitles() {
// Displaying day title
lcd->setCursor(0,0);
lcd->print("DAY:... |
/**
* Copyright (c) 2021 Julien SOYSOUVANH - All Rights Reserved
*
* This file is part of the Refureku library project which is released under the MIT License.
* See the LICENSE.md file for full license details.
*/
inline Variable::VariableImpl::VariableImpl(char const* name, std::size_t id, Type const& type, void* pt... |
#include "HeapWatcher.hpp"
#include <execinfo.h>
#include <array>
#include <atomic>
#include <chrono>
#include <cstring>
#include <future>
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <unordered_set>
#include "BacktraceDemangler.hpp"
#include "WorkerRequest.hpp"
#include "blockingcon... |
/**
* @file
* @copyright defined in roxe/LICENSE
*/
#pragma once
#include <fc/exception/exception.hpp>
#include <boost/core/typeinfo.hpp>
#define ROXE_ASSERT( expr, exc_type, FORMAT, ... ) \
FC_MULTILINE_MACRO_BEGIN \
if( !(expr) ) ... |
/* Copyright 2013 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... |
// ---------------------------------------------------------------------------
// OPM interface
// Copyright (C) cisc 1998, 2003.
// ---------------------------------------------------------------------------
// $Id: opm.cpp,v 1.26 2003/08/25 13:53:08 cisc Exp $
#include "headers.h"
#include "misc.h"
#include "opm.h"
... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
//
// FILE NAME: CQCDataSrv_InstSrvImpl.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 02/21/2001
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://op... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution
{
private:
map<int, int> count;
void through(TreeNode* root)
{
if (root == nullptr) retu... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The Sprocket developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http... |
/**
* @file Accumulator.cpp
*
* @brief Accumulator and AccumulatorWitness classes for the Zerocoin library.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This project is... |
/*---------------------------------------------------------------------------*\
Copyright Niels Gjøl Jacobsen, Technical University of Denmark.
-------------------------------------------------------------------------------
License
This file is part of Caelus.
CAELUS is free software: you can redistribute it a... |
/***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* This source code contains proprietary and confidential information of
* Valve L... |
/**
*/
#ifndef __codex_reactor_reactor_h__
#define __codex_reactor_reactor_h__
#include <codex/codex.hpp>
#if defined( __codex_linux__ )
#include <codex/reactor/epoll.hpp>
#include <codex/reactor/eventfd_wakeup.hpp>
#else
#endif
namespace codex { namespace reactor {
namespace{
#if defined( __codex_linux__ )
typ... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/mobile/model/DeleteProjectResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/cor... |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/history/snippet.h"
#include <algorithm>
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/string... |
/*
*
* Copyright (c) 2015-2017 Stanislav Zhukov
*
* 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 appli... |
#ifndef MAKE_TRACE_
#define MAKE_TRACE_
#include <headers/trace.hpp>
#include <boost/core/demangle.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
namespace raytrace {
namespace fs = boost::filesystem... |
// 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 "content/public/test/test_utils.h"
#include <memory>
#include <utility>
#include "base/base_switches.h"
#include "base/bind.h"
#include "ba... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2013 The blehcoin developer
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#include "base58.h"
#include "blehcoinrpc.h"
#include ... |
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/GrResourceAllocator.h"
#include "src/gpu/GrDeinstantiateProxyTracker.h"
#include "src/gpu/GrGpuResourcePriv.h"
#include "src/gpu/GrOpList.h"
#include "src/g... |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021, Kenneth Myhra <kennethmyhra@gmail.com>
* Copyright (c) 2021, Xavier Defrang <xavier.defrang@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Format.h>
#include <AK/Optional.h>
#include <AK/String.h>
#incl... |
/*
flink.cpp
Куча разных функций по обработке Link`ов - Hard&Sym
*/
/*
Copyright © 1996 Eugene Roshal
Copyright © 2000 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of so... |
/*
* Copyright (c) 2018, The bitcoin2network developers.
* Portions Copyright (c) 2012-2017, The CryptoNote Developers, The Bytecoin Developers.
*
* This file is part of bitcoin2network.
*
* This file is subject to the terms and conditions defined in the
* file 'LICENSE', which is part of this source code packag... |
/**
* \file src/core/impl/comp_node/mem_alloc/impl.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed ... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
#include "extern/beatsaber-hook/shared/u... |
/* $Id: CoinMessageHandler.hpp 1448 2011-06-19 15:34:41Z stefan $ */
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef CoinMessageHandler_H
#define CoinMessageHandler_H
#include ... |
/**************************************************************
*
* 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 y... |
#include "burner.h"
int bDrvSaveAll=0;
int nAppVirtualFps = 6000; // App fps * 100
bool bDoIpsPatch;
bool bRunPause=0;
int bDrvOkay = 0;
bool bAlwaysProcessKeyboardInput = 0;
TCHAR szAppHiscorePath[MAX_PATH];
TCHAR szAppSamplesPath[MAX_PATH];
bool AppProcessKeyboardInput()
{
return true;
}
void IpsApplyPatches(UINT... |
#include "openmc/reaction_product.h"
#include <string> // for string
#include <fmt/core.h>
#include "openmc/endf.h"
#include "openmc/error.h"
#include "openmc/hdf5_interface.h"
#include "openmc/memory.h"
#include "openmc/particle.h"
#include "openmc/random_lcg.h"
#include "openmc/secondary_correlated.h"
#include "op... |
// Copyright (c) 2011-present, Facebook, Inc. 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. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
// The following ... |
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "low_energy_address_manager.h"
#include <fbl/function.h>
#include "gap.h"
#include "src/connectivity/bluetooth/core/bt-host/sm/util.h"
#include ... |
// Includes
#include "LightBulb/Learning/Evolution/AbstractDefaultIndividual.hpp"
#include "LightBulb/NeuralNetwork/NeuralNetwork.hpp"
#include "LightBulb/ActivationOrder/TopologicalOrder.hpp"
#include "LightBulb/NetworkTopology/FeedForwardNetworkTopology.hpp"
#include "LightBulb/Learning/Evolution/AbstractEvolutionEnv... |
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QApplication>
#include "paymentserver.h"
#include "guiconstants.h"
#include "ui_interface.h"
#include "util.h"
#i... |
#ifdef _WIN32
#pragma warning (disable:4996)
#include "co/__/stack_trace.h"
#include "co/fs.h"
#include "StackWalker.hpp"
#include <stdio.h>
#include <string.h>
#include <signal.h>
namespace {
struct Param {
Param() : f(0), cb(0), p(0) {
n = 128;
s = (char*) malloc(n);
}
~Param() {
... |
/*
This file is part of:
NoahFrame
https://github.com/ketoo/NoahGameFrame
Copyright 2009 - 2018 NoahFrame(NoahGameFrame)
File creator: lvsheng.huang
NoahFrame is open-source software and you can redistribute it and/or modify
it under the terms of the License; b... |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
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 ... |
#include "guinsoodb/execution/operator/order/physical_order.hpp"
#include "guinsoodb/main/client_context.hpp"
#include "guinsoodb/parallel/task_context.hpp"
#include "guinsoodb/planner/expression/bound_reference_expression.hpp"
#include "guinsoodb/storage/statistics/base_statistics.hpp"
#include "guinsoodb/storage/sta... |
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifnd... |
// Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... |
//-------------------------------------------------------------------------
/*
Copyright (C) 1996, 2003 - 3D Realms Entertainment
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 redistribute it and/or
modify it under the t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.