text stringlengths 5 1.04M |
|---|
// Copyright 2011 the V8 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.
#include <stdlib.h>
#include "src/ast/context-slot-cache.h"
#include "src/ast/scopes.h"
#include "src/ast/variables.h"
#include "src/bootstrapper.h"
n... |
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-20 Bradley M. Bell
CppAD is distributed under the terms of the
Eclipse Public License Version 2.0.
This Source Code may also be made available under the following
Secon... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dune Spice developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "cha... |
//
// Computer.hpp
// server
//
// Created by Bruno Macedo Miguel on 10/12/16.
// Copyright © 2016 d2server. All rights reserved.
//
#ifndef Computer_hpp
#define Computer_hpp
#include <cstdlib>
#include <queue>
#include <boost/asio.hpp>
#include <iostream>
#include "Consts.hpp"
#include "Account.hpp"
#include "Me... |
auto PSG::serialize(serializer& s) -> void {
Thread::serialize(s);
s.integer(io.channel);
s.integer(io.volumeLeft);
s.integer(io.volumeRight);
s.integer(io.lfoFrequency);
s.integer(io.lfoControl);
s.integer(io.lfoEnable);
for(auto C : range(6)) {
s.integer(channel[C].io.waveFrequency);
s.integ... |
/// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// 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 limita... |
#include "myglheaders.h"
#include "timer.h"
#include "stdio.h"
Timer::Timer(){
glGenQueries(1, &id);
}
Timer::~Timer(){
glDeleteQueries(1, &id);
}
void Timer::begin(){
glBeginQuery(GL_TIME_ELAPSED, id);
}
int Timer::end(){
glEndQuery(GL_TIME_ELAPSED);
glGetQueryObjectiv(id, GL_QUERY_RESULT, &nanoseconds);
return... |
// Copyright 2014 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/mpd/base/xml/xml_node.h"
#include <gflags/gflags.h>
#include <libxml/tree.h>
... |
/* Copyright(c) 1998-2020, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
//*************************************************************************
// \class AliAnalysisTaskSECharmHadronMLSelector
// \brief Analysis task to select charm-h... |
#include "NovahAdvancedMath.h"
using namespace Novah::AdvancedMath;
IntersectionData::IntersectionData(float distance, const Vector3& point, const Vector3& normal, const Surface* collisionSurface, const Surface* detailedSurface)
: _distance(distance), _point(point), _normal(normal), _collisionSurface(collisionSur... |
#ifndef ABSTRACT_PRODUCT_B_HH
#define ABSTRACT_PRODUCT_B_HH
/*!
The AbstractProductB class specifies the behavior of Product B
*/
class AbstractProductB {};
#endif // !ABSTRACT_PRODUCT_B_HH
|
//=============================================================================================================
/**
* @file rtsourcedatacontroller.cpp
* @author Lorenz Esch <lesch@mgh.harvard.edu>
* @since 0.1.0
* @date November, 2017
*
* @section LICENSE
*
* Copyright (C) 2017, Lorenz Esch. All r... |
//-----------------------------------------------------------------------------
// Created on: 02 December 2015
//-----------------------------------------------------------------------------
// Copyright (c) 2017, Sergey Slyadnev
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or ... |
//!
//! Copyright (c) 2015, The casual project
//!
//! This software is licensed under the MIT license, https://opensource.org/licenses/MIT
//!
#include "domain/manager/admin/server.h"
#include "domain/manager/admin/model.h"
#include "domain/manager/handle.h"
#include "domain/manager/configuration.h"
#include "domain... |
// Copyright 2013 The Flutter 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 "testing.h"
#include "flutter/fml/file.h"
namespace flutter {
namespace testing {
std::string GetCurrentTestName() {
return ::testing::UnitTe... |
#ifndef ONEWRITER_ABSTRACTWRITER_HPP
#define ONEWRITER_ABSTRACTWRITER_HPP
#include <string>
namespace OneWriter {
enum class MeshType {
MeshLess, Grid, Structured, UnStructured, Unknown
};
struct WriterProps {
bool canAppend;
};
struct WriterFlags {
bool toAppend;
MeshType meshType;
bool constMesh;
};
s... |
// The MIT License (MIT)
// Copyright (c) 2013 Danny Y., Rapptz
// 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
// ... |
#pragma unmanaged
#include "StdAfx.h"
#include "ReadVirtualCache.h"
#include "Dac.h"
HRESULT ReadVirtualCache::Read(ULONG64 Offset, PVOID Buffer, ULONG BufferSize, PULONG lpcbBytesRead)
{
// Needs testing as it doesnt work
return g_ExtData->ReadVirtual(Offset, Buffer, BufferSize, lpcbBytesRead);
// Offset can ... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 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 "rpcserver.h"
#include "main.h"
#include "sync.h"
#include "checkpoints.h"
#i... |
// Copyright (c) 2012-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 "key.h"
#include "keystore.h"
#include "validation.h"
#include "policy/policy.h"
#include "script/script.h"
#include... |
// Copyright (c) 2019 PaddlePaddle 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... |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
This is an auto-generated file... |
//==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... |
/**
* @example oglplus/034_billiard_balls.cpp
* @brief Shows rendering into multiple cube maps and simple shadow raytracing
*
* @oglplus_screenshot{034_billiard_balls}
*
* Copyright 2008-2018 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.... |
#include "switcher_plugin.h"
// This must be included before many other Windows headers.
#include <windows.h>
// For getPlatformVersion; remove unless needed for your plugin implementation.
#include <VersionHelpers.h>
#include <flutter/method_channel.h>
#include <flutter/plugin_registrar_windows.h>
#include <flutter... |
//=============================================================================
/**
* @file exception.cpp
*
* $Id: exception.cpp 95536 2012-02-20 12:34:23Z johnnyw $
*
* Generic visitor generating code for Exceptions.
*
*
* @author Aniruddha Gokhale
*/
//================================================... |
//
// Copyright (C) 2004 Andras Varga
// 2010 Zoltan Bojthe
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any... |
/**
* \author Norihiro Watanabe
* \date 2012-08-03
*
* \file
* \copyright
* Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/lic... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
/**
* \brief Profiler::CudaRuntime for creating a Compiler to profile the kernel
* \author wenxh
*/
#include <cstdio>
#include <libgen.h>
#include <limits.h>
#include "cpu_runtime.hpp"
#include "nnfusion/core/kernels/cpu/cpu_langunit.hpp"
... |
/*
* SPDX-FileCopyrightText: 2022 Julian Amann <dev@vertexwahn.de>
* SPDX-License-Identifier: Apache-2.0
*/
#include "flatland/imaging/io/io_ppm.h"
#include <fstream>
#include "include/gmock/gmock.h"
using namespace flatland;
TEST(Image, storeLoadOpenEXR) {
// Arrange
Image4b image{100, 100};
for... |
/* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2016, ITU/ISO/IEC
* All rights reserve... |
// 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 "media/filters/dav1d_video_decoder.h"
#include <memory>
#include <string>
#include <utility>
#include "base/bind.h"
#include "base/bits.h"
#inc... |
#include "hsm/hsm.h"
#include <boost/hana.hpp>
#include <gtest/gtest.h>
#include <future>
#include <memory>
namespace {
// States
struct S1 {
};
struct S2 {
};
struct S3 {
};
// Events
struct e1 {
};
struct e2 {
};
struct e3 {
};
struct e4 {
};
// Guards
const auto guard = [](auto /*event*/, auto /*source*/, auto... |
// Copyright (c) 2017-2018 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 <key_io.h>
#include <keystore.h>
#include <rpc/protocol.h>
#include <rpc/util.h>
#include <tinyformat.h>
#include <u... |
// Copyright (c) 2011-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <qt/sendcoinsdialog.h>
#include <qt/forms/ui_s... |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016 Brno University of Technology, PRISTINE project
//
// 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 wit... |
/**
* Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "SettingSystemSDKDataTypes_types.h"
#include <algorithm>
#include <ostream>
#include <thrift/TToString.h>
namespace Ruyi { namespace SDK { namespace SettingSystem { name... |
/*
* Copyright (c) 2008-2018, Hazelcast, Inc. 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 ... |
#include <Windows.h>
#include "Window.h"
#include "Renderer.h"
#include "Triangle.h"
int CALLBACK WinMain(HINSTANCE appInstance, HINSTANCE prevInstance, LPSTR cmdLine, int cmdCount) {
Window window(800, 600);
Renderer renderer(window);
Triangle triangle(renderer);
MSG msg = { 0 };
while (true) {
if (PeekMessa... |
/*
* Copyright (c) 2015-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.
*
*/
#inc... |
#include "MainWindow.h"
#include <sg/Mesh.h>
#include <sg/Model.h>
#include <sg/Light.h>
#include <sg/LineList.h>
#include <sg/Texture.h>
#include <sg/VertexFormat.h>
#include <sg/Material.h>
#include <sg/Context.h>
#include <sg/Camera.h>
#include <sg/PointLight.h>
#include <sg/DirectLight.h>
#include <sg/V... |
#include "os/gltexturedgeometry2d.h"
#include "os/extensionfunctions.h"
#include "renderer.h"
#include "opengl.h"
#include <cassert>
// ===================================== PUBLIC METHODS =====================================
sad::os::GLTexturedGeometry2D::GLTexturedGeometry2D(sad::Renderer* renderer, unsigned int... |
/*************************************************************************
* Copyright (c) 2012 eProsima. All rights reserved.
*
* This copy of FASTRPC is licensed to you under the terms described in the
* FASTRPC_LICENSE file included in this distribution.
*
******************************************************... |
#include <autonomy/autonomy.h>
int main(int argc, char** argv)
{
ros::init(argc, argv, "autonomy");
try
{
autonomy::Autonomy an;
ros::spin();
}
catch (const std::exception& e)
{
ROS_FATAL_STREAM("Exception: " << e.what());
std::cout << "Exception: " << e.what() ... |
#include <openql_i.h>
namespace ql {
double quick_fidelity_circuit(ql::circuit);
}
void
test_recursion(std::string v, std::string param1, std::string param2, std::string param3, std::string param4)
{
int n = 7;
std::string prog_name = "test_" + v + "_maplookahead=" + param1 + "_maprecNN2q=" + param2 + "... |
#include "algorithm_ptt.h"
void TrackWith_PTT::get_initial_curve() {
if (SEED::seedingMode==SEED_COORDINATES_WITH_DIRECTIONS)
curve->getARandomFrame(thread->seed_init_direction);
else
curve->getARandomFrame();
curve->getInitCandidate();
}
Initialization_Decision TrackWith_PTT::initialize() {
// ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Contains wrappers for functions whose required headers conflict with the PAL
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <sign... |
// license:BSD-3-Clause
// copyright-holders:David Haywood, Roberto Fresca
/*************************************************************************
Cuatro en Linea.
System I.
1991, Compumatic
Driver by David Haywood & Roberto Fresca.
*************************************************************************... |
#include "TileSetComponent.h"
#include "../../../ComponentModel/GameObject.h"
#include <string>
TileSetComponent::TileSetComponent(
int firtsId,
int tileWidth, int tileHeight,
int spaceing, int margin,
int tileCount, int collumns,
int imageWidth, int imageHeight, std::string spritePath) : Component(... |
//===-- ARMAsmBackend.cpp - ARM Assembler Backend -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2009 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... |
// 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 "dbus/mock_exported_object.h"
namespace dbus {
MockExportedObject::MockExportedObject(Bus* bus,
cons... |
/*
* Copyright 2009-2017 Alibaba Cloud 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... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The People Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "overviewpage.h"
#include "ui_overviewpage.h"
#include "bitco... |
/**********************************************************************
* Copyright (c) 2008-2014, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published ... |
/* Copyright (c) 2008-2013, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See l... |
// Copyright 2014 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 "components/sync/model_impl/shared_model_type_processor.h"
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/location.... |
#pragma once
#include "distconv_config.hpp"
#ifdef DISTCONV_HAS_CUDA
#include "benchmark_common_cuda.hpp"
#endif
#include "benchmark_common.hpp"
#include "distconv/tensor/tensor.hpp"
#include "distconv/tensor/tensor_mpi.hpp"
#include "distconv/distconv.hpp"
#include "distconv/util/cxxopts.hpp"
#include "distconv/util/... |
/// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// 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 limita... |
#include <cryptoconditions.h>
#include <gtest/gtest.h>
#include "cc/eval.h"
#include "importcoin.h"
#include "base58.h"
#include "core_io.h"
#include "key.h"
#include "main.h"
#include "primitives/transaction.h"
#include "script/cc.h"
#include "script/interpreter.h"
#include "script/serverchecker.h"
#include "txmempo... |
/*
* Copyright (C) 2005-2007 Benjamin C Meyer
* Copyright (C) 2001-2002 Walter Rawdanik
* 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 (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2019 The Dash Core developers
// Copyright (c) 2020 The Luckybit Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licen... |
// Copyright 2017 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "crypto/KeyUtils.h"
#include "crypto/SecretKey.h"
#include "database/Database.h"
#incl... |
#ifndef HOPS_DEGENERATEMULTIVARIATEGAUSSIANMODEL_HPP
#define HOPS_DEGENERATEMULTIVARIATEGAUSSIANMODEL_HPP
#define _USE_MATH_DEFINES
#include <math.h>
#include <Eigen/Cholesky>
#include <Eigen/Core>
#include <Eigen/LU>
#include <utility>
namespace hops {
template<typename Matrix, typename Vector>
class Degener... |
#include <colib.h>
#include <limits.h>
#include "iustring.h"
// -*- C++ -*-
// Copyright 2009 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz
// or its licensors, as applicable.
//
// You may not use this file except under the terms of the accompanying license.
//
// Licensed under the Apache License, Versio... |
/*************************************************************************/
/* editor_help.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "ioapi.h"
#include "test_includes.h" // Needs to be included last
using namespace std;
class fileTest : public testing::Test
{
public:
virtual void SetUp()
{
fill_fopen_filefunc(&mFuncDef);
}
virtual void TearDown()
{
}
void fileOpenTest()
{
mFileHandle = (FIL... |
// Copyright (c) 2012-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 "key.h"
#include "base58.h"
#include "dstencode.h"
#include "script/script.h"
#include "test/test_bitcoin.h"
#inclu... |
// Boost.Geometry Index
//
// R-tree destroying visitor implementation
//
// Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland.
//
// 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... |
/*
* Copyright (C) 2013 The Android Open Source Project
* 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, t... |
#include "test.hpp"
#include "test/numbers.hpp"
#include "jln/mp/smp/utility/sizeof.hpp"
TEST_SUITE_BEGIN()
template<std::size_t n>
using of_size = char[n];
TEST()
{
using namespace jln::mp;
using namespace ut::ints;
test_pack<sizeof_>().test_unary();
ut::same<_1, emp::sizeof_<of_size<1>>>();
ut::same<_... |
//===- EmitC.cpp - EmitC Dialect --------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, 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 "stdafx.h"
extern const float g_pi = glm::pi<float>();
extern const float g_piHalf = g_pi*0.5f;
extern const glm::mat4 g_identityMatrix(1.f);
extern const glm::ivec2 g_emptyIVector2(0);
extern const glm::vec3 g_emptyVector(0.f);
extern const glm::quat g_emptyQuat(1.f, 0.f, 0.f, 0.f);
extern const glm::vec4 g_... |
/*
Copyright (c) 2009-2016, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#include <El-lite.hpp>
#include <El/blas_like.hpp>
#de... |
/****************************************************************************
*
* Copyright (c) 2015 Mark Charlebois. All rights reserved.
* Copyright (c) 2016 Anton Matosov. All rights reserved.
* Copyright (c) 2017-2020 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and bi... |
#include<bits/stdc++.h>
#define REP(x,y,z) for(int x=y;x<=z;x++)
#define MSET(x,y) memset(x,y,sizeof(x))
#define M 100005
using namespace std;
using LL = long long;
int n,m;
int cnt[M], in1[M], in2[M];
int main()
{
while (~scanf("%d %d", &n, &m)) {
REP(i,1,n) scanf("%d", &in1[i]);
REP(i,1,m) scanf("... |
// 2018 Artur Avkhadiev
/*! \file geodesic_path_computer.cpp
*/
#include "../include/geodesic_path_computer.h"
namespace geodesic{
/***************************************************************************
* GEODESIC PATH COMPUTER (BASE CLASS)
**********************************************... |
//
// multicast.cpp
// ~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Disable autolinking for unit tests.
#i... |
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2006 Mark Joshi
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/or m... |
/*
Copyright (c) 2017 - 2022 Advanced Micro Devices, Inc. All rights reserved.
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, ... |
/*
PURPOSE:
LIBRARY DEPENDENCIES: (
(idf/UsbChProPedals.cpp)
)
*/
/**
* @trick_parse{everything}
* @trick_link_dependency{idf/UsbChProPedals.cpp}
*/
#ifndef USB_CH_PRO_PEDALS_HH
#define USB_CH_PRO_PEDALS_HH
#include "idf/UsbDevice.hh"
#include "idf/ChProPedals.hh"
namespace idf {
/** USB Ch Pro Pedals foot peda... |
/* ******************************************************************************
* Copyright (c) 2014-2018 Google, Inc. All rights reserved.
* Copyright (c) 2011 Massachusetts Institute of Technology All rights reserved.
* Copyright (c) 2008 VMware, Inc. All rights reserved.
* **********************************... |
/*
* Copyright (C) 2004-2017 ZNC, see the NOTICE file for details.
* Copyright (C) 2008 Michael "Svedrin" Ziegler diese-addy@funzt-halt.net
*
* 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 ... |
#using <System.dll>
#using <System.Data.dll>
#using <System.Security.dll>
#using <System.Windows.Forms.dll>
using namespace System;
using namespace System::Data;
using namespace System::Security::Principal;
using namespace System::Windows::Forms;
void main()
{
// <Snippet1>
Uri^ baseUri = gcnew... |
#include "dvlnet/protocol_zt.h"
#include <random>
#include <SDL.h>
#ifdef USE_SDL1
#include "utils/sdl2_to_1_2_backports.h"
#else
#include "utils/sdl2_backports.h"
#endif
#include <lwip/igmp.h>
#include <lwip/mld6.h>
#include <lwip/sockets.h>
#include <lwip/tcpip.h>
#include "dvlnet/zerotier_nativ... |
#ifndef VIENNACL_LINALG_DETAIL_SPAI_BLOCK_VECTOR_HPP
#define VIENNACL_LINALG_DETAIL_SPAI_BLOCK_VECTOR_HPP
/* =========================================================================
Copyright (c) 2010-2012, Institute for Microelectronics,
Institute for Analysis and Scientific Computing,... |
// Copyright 2021 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/ash/phonehub/camera_roll_download_manager_impl.h"
#include <memory>
#include <string>
#include "ash/components/phonehub/camera_... |
#ifndef action_hh
#define action_hh
//call mandatory class
#include "G4VUserActionInitialization.hh"
#include "runaction.hh"
class actioninitialization: public G4VUserActionInitialization{
public:
actioninitialization();
~actioninitialization();
virtual void Build() const;
virtual void Build... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "LyShine_precompiled.h"
#include "UiNavigationSettings.h"
#include <AzCore/Serialization/Se... |
#pragma once
#include <algorithm>
#include <cassert>
#include <utility>
namespace obelisk
{
template <typename IteratorT, typename T = std::decay_t<typename std::iterator_traits<IteratorT>::value_type>>
auto updateMinMax(std::pair<T, T> currentMinMax, IteratorT const dataBegin, IteratorT const dataEnd) -> std::pair<T... |
// Autogenerated by gameplay-luagen
#include "Base.h"
#include "ScriptController.h"
#include "lua_PhysicsController.h"
#include "Base.h"
#include "Bundle.h"
#include "Game.h"
#include "MeshPart.h"
#include "PhysicsCharacter.h"
#include "PhysicsController.h"
#include "PhysicsRigidBody.h"
#include "ScriptController.h"
#i... |
#include <iostream>
#include <typeinfo>
using namespace std;
class car {
public:
string name;
virtual ~car(){};
};
class truck : public car {
int colour;
};
void rtti_test(void)
{
double f1 = 1.0;
car * pcar;
truck *ptruck;
car tool0;
truck tool1;
pcar = &tool1;
cout ... |
/*
@copyright Louis Dionne 2014
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/foldable/mcd.hpp>
#include <boost/hana/detail/assert.hpp>
#include <boost/hana/detail/minimal/foldable.hpp>
#include <boost... |
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is d... |
/*
* Copyright 2021 4Paradigm
*
* 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 w... |
// __BEGIN_LICENSE__
// Copyright (C) 2006-2010 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
#include <gtest/gtest.h>
#include <vw/Math/Functors.h>
#include <boost/random.hpp>
using namespace vw;
using... |
#pragma once
#include <string>
#include <iostream>
class IPerson
{
public:
virtual ~IPerson() = default;
virtual std::string GetName() const = 0;
};
std::ostream& operator<<(std::ostream& os, const IPerson& person);
|
#include <string>
#include "envoy/registry/registry.h"
#include "server/config/http/buffer.h"
#include "server/config/http/dynamo.h"
#include "server/config/http/fault.h"
#include "server/config/http/grpc_http1_bridge.h"
#include "server/config/http/grpc_web.h"
#include "server/config/http/ip_tagging.h"
#include "ser... |
// see LICENSE.md for license.
#pragma once
#include "densityxx/globals.hpp"
namespace density {
const uint32_t header_magic_number = 1908011803U;
typedef enum {
header_origin_type_stream,
header_origin_type_file
} header_origin_type_t;
#pragma pack(push)
#pragma pack(4)
struct heade... |
#include <iostream>
using namespace std;
extern void menu();
int main(int argc, char** argv)
{
menu();
return 0;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.