text stringlengths 5 1.04M |
|---|
// g2o - General Graph Optimization
// Copyright (C) 2011 H. Strasdat
// 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 ... |
/*****************************************************************************************
* *
* OpenSpace *
* ... |
/*!
* Copyright (c) 2020 by Contributors
* \file array/cpu/array_nonzero.cc
* \brief Array nonzero CPU implementation
*/
#include <dgl/array.h>
namespace dgl {
using runtime::NDArray;
namespace aten {
namespace impl {
template <DLDeviceType XPU, typename IdType>
IdArray NonZero(IdArray array) {
std::vector<int... |
// MIT License
// Copyright (c) 2018 Neutralinojs
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, me... |
/**********************************************************************************/
/* MIT License */
/* */
/* Copyright (c) 2020, 2021 JetBrains-Research ... |
#ifndef CLPROGRAM_HPP
#define CLPROGRAM_HPP
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <memory>
#include <utility>
#include <algorithm>
#define __CL_ENABLE_EXCEPTIONS
#include <CL/cl.hpp>
class CLProgram
{
public:
CLProgram(const std::string & file);
cl::Kernel & getKer... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Hah Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "splashscreen.h"
#include "guiutil.h"
#include "networkstyle.h"
... |
// Copyright (c) 2018 Doyub Kim
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#include "implicit_triangle_mesh.h"
#include "pybind11_utils.h"
#include <jet/implicit_triangle_mesh3.h... |
#pragma once
#if defined(_WIN32)
# define WIN32_LEAN_AND_MEAN
# define NOMINMAX
# include <Windows.h> // for FreeLibrary, GetProcAddress, HMODULE, LoadLibrary
using module_t = HMODULE;
#elif defined(__unix__)
# include <dlfcn.h> // for dlclose, dlsym, dlopen
// For cleaner syntax, match macros w/ Window... |
/*
* Copyright 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 contributing ... |
/*
Keyboard.cpp
Copyright (c) 2015, Arduino LLC
Original code (pre-library): Copyright (c) 2011, Peter Barrett
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 by the Free Software Foundation; either
version 2.1... |
/*
-- MAGMA (version 2.5.4) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date October 2020
@author Mark Gates
@generated from src/cblas_z.cpp, normal z -> c, Thu Oct 8 23:05:22 2020
Wrappers around a few CBLAS functions.
... |
/*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2020, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following conditions... |
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
#define rep(i,p,n) for( i = p; i<n;i++)
#define lld long long int
#define Clear(a,b) memset(a,b,sizeof(a))
template<class T>inline bool read(T &x) {
int c=getchar();
int sgn=1;
while(~c&&c<'0'||c>'9') {
if(c=='-')sgn=-1;
c=ge... |
//*****************************************************************************
// Copyright 2017-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://w... |
/* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
#include <iostream>
#include <string>
#include "util/exception.hh"
#include "util/system_runner.hh"
using namespace std;
void usage( const char * argv0 )
{
cerr << argv0 << " COMMAND [ARG]..." << endl;
}
int main( int argc, char * argv... |
/*
* Copyright (c) 2019, 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 ... |
//------------------------------------------------------------------------------
// posteffectserver.cc
// (C) 2008 Radon Labs GmbH
// (C) 2013-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "posteffect/rt/p... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
/*
* 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 ... |
// Copyright (c) 2015-2017 The Bitcoin Core developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2020 The Simulacrum developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "httprpc.h"
#include... |
//
// HostEntry.cpp
//
// Library: Net
// Package: NetCore
// Module: HostEntry
//
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/Net/HostEntry.h"
#include "Poco/Exception.h"
#include <algorithm>
namespace Poc... |
// license:BSD-3-Clause
// copyright-holders:Wilbert Pol
#include "emu.h"
#include "keyboards.h"
#include "ec1841.h"
#include "iskr1030.h"
#include "keytro.h"
#include "msnat.h"
#include "pc83.h"
#include "pcxt83.h"
#include "pcat84.h"
#include "pcat101.h"
#include "hle_mouse.h"
void pc_xt_keyboards(device_slot_inter... |
//===-test_constant_xnnpack.cc-----------------------------------------------------------===//
//
// Copyright (C) 2019-2020 Alibaba Group Holding Limited.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy o... |
#include <nano/secure/versioning.hpp>
#include <nano/test_common/system.hpp>
#include <nano/test_common/testutil.hpp>
#include <gtest/gtest.h>
using namespace std::chrono_literals;
TEST (wallets, open_create)
{
nano::system system (1);
bool error (false);
nano::wallets wallets (error, *system.nodes[0]);
ASSERT_F... |
#include "L1Trigger/L1TMuonEndCap/interface/EMTFSubsystemCollector.h"
#include "DataFormats/L1TMuon/interface/L1TMuonSubsystems.h"
#include "FWCore/Framework/interface/Event.h"
#include "DataFormats/Common/interface/Handle.h"
#include "Geometry/RPCGeometry/interface/RPCGeometry.h" // needed to handle RPCRecHit
#incl... |
/* $Id: once.cpp 69111 2017-10-17 14:26:02Z vboxsync $ */
/** @file
* IPRT - Execute Once.
*/
/*
* Copyright (C) 2007-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or... |
/* Copyright 2015 Google 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 by applicable law or agreed to in ... |
/*
* Copyright (c) 2017 [Ribose Inc](https://www.ribose.com).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
... |
/****************************************************************************************
Copyright (C) 2015 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accompa... |
// dear imgui, v1.79 WIP
// (main code and documentation)
// Help:
// - Read FAQ at http://dearimgui.org/faq
// - Newcomers, read 'Programmer guide' below for notes on how to setup Dear ImGui in your codebase.
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that.
/... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
/*
the vast starry sky,
bright for those who chase the light.
*/
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
#define mk make_pair
const int inf=(int)1e9;
const ll INF=(ll)5e18;
const int MOD=998244353;
int _abs(int x){return x<0 ? -x : x;}
int add(int x,int y){x+=y; ret... |
/*
* Copyright (c) 2015 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... |
#include "hls_video.h"
#define HEIGHT 1080
#define WIDTH 1920
typedef hls::stream<ap_axiu<32,1,1,1> > AXI_STREAM;
typedef hls::Mat<HEIGHT, WIDTH, HLS_8UC1> MY_IMAGE;
//typedef hls::Mat<HEIGHT, WIDTH, HLS_32FC1> MY_IMAGE;
void image_filter(AXI_STREAM& INPUT_STREAM,
AXI_STREAM& OUTPUT_STREAM,
... |
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2004-2015, International Business Machines
* Corporation and others. All Rights Reserved.
**************... |
class Solution {
public:
void merge(vector<int>& a, int m, vector<int>& b, int n) {
cin.tie(0);
cout.tie(0);
int i=0,j=0,r=0;
vector<int> v(m+n);
while(j<n && i<m)
if(a[i]<=b[j])
v[r++]=a[i++];
else
v[r++]=b[j++];
... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "noui.h"
#include "ui_in... |
#include "Quest.h"
|
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/*=============================================================================
Copyright (c) 2001-2006 Joel de Guzman
Copyright (c) 2006 Dan Marsden
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=====... |
/**
* @file LoRaPHYCN779.cpp
*
* @brief Implements LoRaPHY for Chinese 779 MHz band
*
* \code
* ______ _
* / _____) _ | |
* ( (____ _____ ____ _| |_ _____ ____| |__
* \____ \| ___ | (_ _) ___ |/ ___) _ \
* _____) ) ____| | | || |_| ____( (_... |
#include <mbgl/annotation/render_annotation_source.hpp>
#include <mbgl/annotation/annotation_tile.hpp>
#include <mbgl/renderer/render_tile.hpp>
#include <mbgl/renderer/paint_parameters.hpp>
#include <mbgl/algorithm/generate_clip_ids.hpp>
#include <mbgl/algorithm/generate_clip_ids_impl.hpp>
#include <mbgl/layermanager... |
// 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 "chrome/browser/ui/app_list/start_page_service_factory.h"
#include "base/command_line.h"
#include "chrome/browser/extensions/install_tracker_fac... |
#define BIORBD_API_EXPORTS
#include "s2mMuscles.h"
#include "s2mMuscle.h"
#include "s2mError.h"
#include "s2mGroupeMusculaire.h"
#include "s2mGenCoord.h"
#include "s2mTau.h"
#include "s2mMuscleStateDynamics.h"
#include "s2mMuscleForce.h"
s2mMuscles::s2mMuscles(){
}
s2mMuscles::~s2mMuscles(){
}
void s2mMuscles::a... |
//===-- ModuleUtils.cpp - Functions to manipulate Modules -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1991 - 2000.
//
// File: BITSTM.hxx
//
// Contents: 'Bit streams'
//
// Classes: CBitStream, CWBitStream, CPBitStream, CRBitStream
//
// History: ... |
// SPDX-FileCopyrightText: 2021 Robin Lindén <dev@robinlinden.eu>
//
// SPDX-License-Identifier: BSD-2-Clause
#include "geom/geom.h"
#include "etest/etest.h"
using etest::expect;
using geom::EdgeSize;
using geom::Rect;
int main() {
etest::test("Rect::expanded", [] {
Rect r{0, 0, 10, 10};
expect(... |
// 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 "net/dns/host_resolver.h"
#include <string>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/check.h"
#include "b... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of... |
/*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2020, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
w... |
#pragma once
#include "type_check.hpp"
#include "math.hpp"
#include "model_adapter.hpp"
#include "matrix_adapter.hpp"
#include "vector_adapter.hpp"
#include "manipulation.hpp"
#include "task_manager.hpp"
#include <vector>
namespace densitas {
/**
* The density estimator, once trained, predicts any given quantiles
... |
#ifndef OPENPOSE_EXPERIMENTAL_3D_CAMERA_PARAMETER_READER_HPP
#define OPENPOSE_EXPERIMENTAL_3D_CAMERA_PARAMETER_READER_HPP
#include <opencv2/core/core.hpp>
#include <openpose/core/common.hpp>
namespace op
{
class OP_API CameraParameterReader
{
public:
explicit CameraParameterReader();
voi... |
#include "skse64/GameMenus.h"
#include "skse64/GameReferences.h"
#include "skse64/ObScript.h"
#include "skse64/PluginAPI.h"
#include "skse64_common/skse_version.h"
#include "skse64_common/SafeWrite.h"
#include "ActorManager.h"
#include "config.h"
#include "EventDebugLogger.h"
#include "hdtSkyrimPhysicsWorld.h"
#includ... |
/* Copyright 2015 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... |
/*
* WebRTCConnection.cpp
*/
#include <map>
#include <algorithm>
#include <string>
#include <cstring>
#include <vector>
#include "WebRtcConnection.h"
#include "MediaStream.h"
#include "DtlsTransport.h"
#include "SdpInfo.h"
#include "bandwidth/MaxVideoBWDistributor.h"
#include "bandwidth/TargetVideoBWDistributor.h"
... |
// streamClases.cpp
#ifndef LINUX
#include "stdafx.h"
#endif
#include "stdio.h"
#include "stdlib.h"
#include "streamClasses.h"
LIBSTREAM_API LPSTR CTCHAR2A(LPCTSTR lpszBuffer)
{
static char output[4096];
LPSTR _lpa = output;
_lpa[0] = 0;
LPCWSTR _lpw = lpszBuffer;
if (NULL == _lpw)
return NULL;
int nChars = ... |
// -------------------------------------------------------------------------------------------------
// Copyright 2016 - NumScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// ... |
#include <functional>
#include "KeyOnOffTest.h"
#include "SimpleIrqTest.h"
typedef std::function<CTest*()> TestFactoryFunction;
// clang-format off
static const TestFactoryFunction s_factories[] =
{
[]() { return new CKeyOnOffTest(); },
[]() { return new CSimpleIrqTest(); },
};
// clang-format on
int main(int argc... |
#include "client.hpp"
#include <fmt/ostream.h>
#include <spdlog/spdlog.h>
#include <fstream>
#include <iostream>
#include "idle-inhibit-unstable-v1-client-protocol.h"
#include "util/clara.hpp"
#include "util/json.hpp"
#include "wlr-layer-shell-unstable-v1-client-protocol.h"
waybar::Client *waybar::Client::inst() {
... |
#include <iostream>
#include <thread>
void start_func(int *n)
{
std::cout << "thread execute.. " << std::endl;
*n = 10;
}
int main()
{
int n = 0;
std::thread t(start_func, &n);
std::cout << "thread id " << t.get_id() << std::endl;
t.join();
std::cout <<" n = " << n << std::endl;
... |
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#pragma once
#include <cstdint>
#include <type_traits>
#include "caf/config.hpp"
#includ... |
// Copyright 2015 Markus Jylhänkangas
#include <iostream>
#include "battlefield.h"
#include <limits>
#include <time.h>
#include "version.h" // Version numbers from CMakeLists
using namespace std;
auto main() -> int {
Battlefield battle;
time_t t1, t2;
cout << "********************************... |
// Copyright (c) 2014-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.
#if defined(HAVE_CONFIG_H)
#include "config/royalbritishlegion-config.h"
#endif
#include "timedata.h"
#include "netaddress.... |
/*
* serialport.cpp
*
* Created on: 2012. 12. 27.
* Author: zerom
*/
#include <stdio.h>
#include <string.h>
#include <termios.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <linux/serial.h>
#include "serialport.h"
using namespace Thor;
Se... |
//***************************************************************************
// File name: TransactioalFee.cpp
// Author: Hannah Newby
// Date: 2/28/19
// Class: CS485
// Assignment: Bank
// Purpose: TransactionalFee class implamentation
//************************************************************... |
#include "src1.h"
void foo() {
bar();
}
void bar() {
}
|
#include "./Material.h"
#include <iostream>
#include "../texture/TextureLoader.h"
//#include "stb_image_write.h"
#include "stb_image.h"
namespace TEngine {
Material::Material(Texture* albedoMap, Texture* normalMap, Texture* metallicMap, Texture* roughnessMap, Texture* ambientOcclusionMap, Texture* mixtureMap) :
mA... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: Friederike Bock *
* Version 1 ... |
#include <functorch/csrc/CustomFunction.h>
#include <ATen/ATen.h>
#include <torch/csrc/autograd/function.h>
#include <torch/csrc/autograd/variable.h>
#include <torch/csrc/autograd/saved_variable.h>
#include <torch/csrc/autograd/FunctionsManual.h>
#include <torch/csrc/autograd/VariableTypeUtils.h>
#include <torch/csrc/... |
/*_############################################################################
_##
_## AGENT++ 4.0 - mib_proxy.cpp
_##
_## Copyright (C) 2000-2013 Frank Fock and Jochen Katz (agentpp.com)
_##
_## Licensed under the Apache License, Version 2.0 (the "License");
_## you may not use this file exce... |
/****************************************************************************
*
* Copyright (c) 2013-2020 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Red... |
// Copyright 2008 Isis Innovation Limited
#include "ATANCamera.h"
#include <TooN/helpers.h>
#include <cvd/vector_image_ref.h>
#include <iostream>
#include <gvars3/instances.h>
using namespace std;
using namespace CVD;
using namespace GVars3;
ATANCamera::ATANCamera(string sName)
{
// The camera name is used to find t... |
#include <eepp/physics/cshapesegment.hpp>
#include <eepp/physics/cspace.hpp>
#include <eepp/helper/chipmunk/chipmunk_unsafe.h>
#ifdef PHYSICS_RENDERER_ENABLED
#include <eepp/graphics/renderer/cgl.hpp>
#include <eepp/graphics/cprimitives.hpp>
using namespace EE::Graphics;
#endif
CP_NAMESPACE_BEGIN
cShapeSegment * cSh... |
namespace hx {
unsigned char __res_44[] = {
0x80, 0x00, 0x00, 0x80,
137,80,78,71,13,10,26,10,0,0,
0,13,73,72,68,82,0,0,0,11,
0,0,0,11,8,6,0,0,0,169,
172,119,38,0,0,0,4,115,66,73,
84,8,8,8,8,124,8,100,136,0,
0,0,9,112,72,89,115,0,0,11,
18,0,0,11,18,1,210,221,126,252,
0,0,0,28,116,69,88,116,83,111,
102,116,119,97,114,101... |
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
/**\file
* Test that Catch's prefixed macros compile and run properly.
*... |
#include "mapping/mapProperties.h"
namespace gnssShadowing {
namespace mapping {
std::ostream& operator<<(std::ostream& os, const MapProperties& mapProperties)
{
os << "["
"min_x: " << mapProperties.m_min_x << " "
"min_y: " << mapProperties.m_min_y << " "
"num_cols:... |
#pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//Analog to Digital Converter
namespace Adc2Isr{ ///<ADC interrupt and status register
using Addr = Register::Address<0x40022100,0xfffff800,0x00000000,std::uint32_t>;
///ADC group injected contexts queue overfl... |
/*
* Copyright 2008-2011 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... |
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "../InferenceTest.hpp"
#include "../Cifar10Database.hpp"
#include "armnnCaffeParser/ICaffeParser.hpp"
int main(int argc, char* argv[])
{
int retVal = EXIT_FAILURE;
try
{
... |
// Copyright (c) 2012-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Beenode Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "netbase.h"
#include "test/test_beenode.h"
#include <string>... |
/*
* This file belongs to the Galois project, a C++ library for exploiting parallelism.
* The code is being released under the terms of the 3-Clause BSD License (a
* copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... |
/* 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-2020, ITU/ISO/IEC
* All rights reserve... |
#pragma once
#include <fea/config.hpp>
#include <fea/rendering/tilechunk.hpp>
#include <unordered_map>
#include <functional>
namespace fea
{
using TileId = int32_t;
struct FEA_API TileDefinition
{
TileDefinition(const glm::uvec2& texPos, TileId next = -1, uint32_t ticks = 0);
glm::uvec2 mT... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLShaderCache.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This soft... |
// Copyright 2013 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 "src/objects/keys.h"
#include "src/api/api-arguments-inl.h"
#include "src/execution/isolate-inl.h"
#include "src/handles/handles-inl.h"
#inclu... |
/*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The BitToken Developers 2011-2013
*/
#include "walletview.h"
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "addressbookpage.h"
#include "sendcoinsdialog.h"
#include "signverifymessagedialog.h"
#include "clientmodel.h"
#include "walletmod... |
#include "drw_textcodec.h"
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <cstring>
#include <iconv.h>
#include "../drw_base.h"
#include "drw_cptables.h"
#include "drw_cptable932.h"
#include "drw_cptable936.h"
#include "drw_cptable949.h"
#include "drw_cptable950.h"
DRW_TextCodec::DRW_TextCodec() {... |
/*
Copyright (c) 2002-2009 Tampere University.
This file is part of TTA-Based Codesign Environment (TCE).
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, ... |
#include <stdio.h>
#include "Logger.h"
#include "GEngine.h"
#include "colors.h"
#include "GShaderProgram.h"
#include "GShaderProgramManager.h"
#include "GShaderVariableHandle.h"
#include "GVertexBufferObject.h"
#include "GPrimativeFactory.h"
#include "GLight_T.h"
using glw::GReturnCode::GLW_SUCCESS;
using glw::GR... |
/*
Copyright (c) 2015-2016 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, cop... |
/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... |
/*
Copyright (c) 2008-2009 nemesis Developers Association. All rights reserved.
Governed by the nemesis License 3.0 the full text of which is contained in
the file License.txt included in nemesis binary and source code distribution
packages.
*/
#include "System.h"
#include "Main/GraphicUserInterface.h"
#include "... |
// 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"
// Including type: UnityEngine.Pr... |
/*
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... |
//============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... |
// (C) Copyright Jonathan Turkanis 2004
// 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.)
// See http://www.boost.org/libs/iostreams for documentation.
#ifndef BOOST_IOSTREAMS_TEST_READ_BIDIRECTIONAL_HPP_INCLUDED
#... |
/*=========================================================================
Program: ParaView
Module: vtkPVClassNameInformation.cxx
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT A... |
/***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* MusicPlayer.hpp :+: :+: :+: ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.