text stringlengths 7 961k |
|---|
/* Copyright (c) 2021-2022 hors<horsicq@gmail.com>
*
* 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, ... |
#ifndef GENERATED_9f541b3570b343be06f4d8917703749f_HPP
#define GENERATED_9f541b3570b343be06f4d8917703749f_HPP
#include "bullet.hpp"
void stepfunc_95874c360a4c89e01fddd0381e0669e0_13502a3a88c363b210c8c82286210240(BulletInfo *p);
void stepfunc_0b725083a5d1cf9d803659ffbb8fbe57_13502a3a88c363b210c8c82286210240(Bullet... |
#ifndef V8PP_CONVERT_HPP_INCLUDED
#define V8PP_CONVERT_HPP_INCLUDED
#include <v8.h>
#include <climits>
#include <limits>
#include <memory>
#include <stdexcept>
#include <type_traits>
#include "v8pp/ptr_traits.hpp"
#include "v8pp/utility.hpp"
namespace v8pp {
template<typename T, typename Traits>
class class_;
// ... |
/**
* 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... |
// Copyright (c) 2015-2016 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 "bench.h"
#include "perf.h"
#include <algorithm>
#include <cassert>
#include <iomanip>
#include <iostream>
#include... |
#include "Fireworks/Core/interface/fwPaths.h"
#include "Fireworks/Core/interface/fwLog.h"
#include "TString.h"
#include "TSystem.h"
#include "TPRegexp.h"
#include <iostream>
#include <fstream>
namespace fireworks {
const TString datadir("/src/Fireworks/Core/");
const TString p1 = gSystem->Getenv("CMSSW_BASE") + d... |
/* Copyright (c) Stanford University, The Regents of the University of
* California, and others.
*
* All Rights Reserved.
*
* See Copyright-SimVascular.txt for additional details.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated doc... |
#ifndef MACH_O_RELOC_HPP
#define MACH_O_RELOC_HPP
#include <cstdint>
#ifdef __APPLE__
# include <mach-o/reloc.h>
# define CHECK 1
#endif
namespace mach_o {
// Format of a relocation entry of a Mach-O file. Modified from the 4.3BSD format. The
// modifications from the original format were changing t... |
//
// main.cpp
// Monte Carlo
//
// Created by Carter Pape on 1/12/16.
// Copyright © 2016 Carter Pape. All rights reserved.
//
#include <iostream>
#include <complex>
#include <random>
#define MANDELBROT_TEST_THRESHOLD 1000
#define POINT_COUNT 1000000
#define ACCEPTED_AREA 1.5065918849
using namespace std;
bool... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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/navcoin-config.h>
#endif
#include <n... |
/*===================================================================
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... |
#include "bindings.h"
BND_Hatch::BND_Hatch()
{
SetTrackedPointer(new ON_Hatch(), nullptr);
}
BND_Hatch::BND_Hatch(ON_Hatch* hatch, const ON_ModelComponentReference* compref)
{
SetTrackedPointer(hatch, compref);
}
void BND_Hatch::SetTrackedPointer(ON_Hatch* hatch, const ON_ModelComponentReference* compref)
{
m_... |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "ifcpp/model/AttributeObject.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/model/BuildingGuid.h"
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/I... |
/*
*
* Copyright 2015, Google Inc.
* 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 condi... |
#include "text.hpp"
#include "../util/fileutil.hpp"
#include "../util/strutil.hpp"
#include "area.hpp"
#include "character.hpp"
#include "data/types/type_ability.hpp"
#include "elona.hpp"
#include "enchantment.hpp"
#include "fov.hpp"
#include "i18n.hpp"
#include "map.hpp"
#include "random.hpp"
#include "variables.hpp"
... |
// Copyright (c) 2011-2013, Pacific Biosciences of California, Inc.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted (subject to the limitations in the
// disclaimer below) provided that the following conditions are met:
//
// * Redistri... |
// Copyright (c) 2022 Feng Yang
//
// 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 "shader_data.h"
#include "shader.h"
namespace vox {
ShaderData::ShaderData(wgpu::Device& d... |
/*******************************************************************************
Copyright (c) The Taichi Authors (2016- ). All Rights Reserved.
The use of this software is governed by the LICENSE file.
*******************************************************************************/
#include <taichi/image/tone... |
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
#include <armnn/Tensor.hpp>
namespace armnn
{
/// Computes the softmax function on some inputs, into outputs, with a shape given by tensorInfo.
void Softmax(const float* in, fl... |
// 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... |
// Copyright 2020 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 "src/ui/a11y/lib/screen_reader/speaker.h"
#include <lib/async/cpp/executor.h>
#include <lib/async/default.h>
#include <lib/sys/cpp/testing/compon... |
//======================================================================
/*! \file Point3dFloat.cpp
*
* \copydoc Copyright
* \author Kristian Bischoff (kb)
* \date Mar 14, 2016
*///-------------------------------------------------------------------
//================================================================... |
/**
* 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... |
#ifndef TINYTMX_TINYTMXTRANSFORMATIONS_HPP
#define TINYTMX_TINYTMXTRANSFORMATIONS_HPP
namespace tinyxml2 {
class XMLNode;
}
namespace tinytmx {
//-----------------------------------------------------------------------------
/// This element is used to describe which transformations can be applie... |
// Copyright (C) 2001-2003
// William E. Kempf
//
// Permission to use, copy, modify, distribute and sell this software
// and its documentation for any purpose is hereby granted without fee,
// provided that the above copyright notice appear in all copies and
// that both that copyright notice and this permission noti... |
// 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 writing, software
// distributed und... |
/*
* File: functor.cpp
* Author: Miles Lacey
*
* Created on April 13, 2014, 9:07 PM
*/
#include <utility> // std::move
#include "lightsky/script/ScriptFactory.h"
#include "lightsky/script/ScriptFunctor.h"
namespace ls
{
namespace script
{
/*------------------------------------------------------------------... |
/***
** A S M Atikur Rahman
** Update: 26-03-2020
***/
//#include <bits/stdc++.h>
#include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<cstring>
#include<time.h>
#include<limits.h>
#include<vector>
#include<string>
#include<stack>
#include<queue>
#include<map>
#include<unordered_map>
... |
#include "stdafx.h"
#pragma hdrstop
#include "ESceneWayTools.h"
#include "WayPoint.h"
CCustomObject* ESceneWayTools::CreateObject(LPVOID data, LPCSTR name)
{
CCustomObject* O = xr_new<CWayObject>(data,name);
O->ParentTools = this;
return O;
}
//---------------------------------------------------- |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE457_Use_of_Uninitialized_Variable__new_int_array_no_init_10.cpp
Label Definition File: CWE457_Use_of_Uninitialized_Variable__new.label.xml
Template File: sources-sinks-10.tmpl.cpp
*/
/*
* @description
* CWE: 457 Use of Uninitialized Variable
* BadSource: no_init Don't... |
#include <all_far.h>
#pragma hdrstop
#include "fstdlib.h"
/** @ingroup GetMsg
@fn LPCSTR FP_GetMsg( int MsgId )
@brief Retrive text message by it number.
@param MsgId Index of message in LNG file.
@return Text message from language file if parameter is message index or
static empty stri... |
/*
* Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO>
*
* 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
* ... |
/*
* Copyright (c) 2008-2019, 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 ... |
// Copyright (c) 2018-2020 Intel 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 the Software without restriction, including without limitation the rights
// to use, copy, modify, merge,... |
#include "my_application.h"
#include <flutter_linux/flutter_linux.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
#endif
#include "flutter/generated_plugin_registrant.h"
struct _MyApplication {
GtkApplication parent_instance;
char** dart_entrypoint_arguments;
};
G_DEFINE_TYPE(MyApplication, my_application, GT... |
/*
* Copyright 2019-2022 Diligent Graphics 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
*
* THE SOFTWARE IS PROVIDED "A... |
#ifndef _VKTIMAGETESTSUTIL_HPP
#define _VKTIMAGETESTSUTIL_HPP
/*------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2016 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ma... |
// Copyright 2018 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 "ledger/LedgerHeaderUtils.h"
#include "crypto/Hex.h"
#include "crypto/SHA.h"
#include ... |
/**
* 1371. Find the Longest Substring Containing Vowels in Even Counts
* https://leetcode.com/problems/find-the-longest-substring-containing-vowels-in-even-counts/
*
* idea: using bitmask to mark status
* each bit 0 represent even appearance, 1 odd appeareance
*
* for current char in the string s[i], only need to ch... |
#include "core.h"
#include "animevent.h"
#include "simplestring.h"
AnimEvent::AnimEvent()
: m_Time( 0.0f )
{
}
AnimEvent::~AnimEvent()
{
}
void AnimEvent::InitializeFromDefinition( const SimpleString& DefinitionName )
{
Unused( DefinitionName );
}
void AnimEvent::Call( Mesh* pMesh, Animation* pAnimation )
{
Unuse... |
/* 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... |
//===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... |
// fishnets
// Copyright (c) 2021 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
//
#include <doctest/doctest.h>
#include "TestSSLSettings.hpp"
#include <fishnets/WebSocketClient.hpp>
#include <fishnets/WebSocketSe... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
// Boost.Range library
//
// Copyright Thorsten Ottosen 2003-2004. 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)
//
// For more information, see http://www.boost.org/libs/rang... |
#include "com/mapswithme/platform/Platform.hpp"
#include "com/mapswithme/platform/GuiThread.hpp"
#include "com/mapswithme/core/jni_helper.hpp"
#include "com/mapswithme/util/NetworkPolicy.hpp"
#include "platform/network_policy.hpp"
#include "platform/settings.hpp"
#include "base/logging.hpp"
#include "base/macros.hp... |
/*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Evocoin Developers 2011-2013
*/
#include "walletstack.h"
#include "walletview.h"
#include "bitcoingui.h"
#include <QMap>
#include <QMessageBox>
WalletStack::WalletStack(QWidget *parent) :
QStackedWidget(parent),
clientModel(0),
bOutOfSync(tr... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Completed includes
// Type namesp... |
/////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Olaf Krzikalla 2004-2006.
// (C) Copyright Ion Gaztanaga 2006-2012
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/... |
/*
Copyright 2016-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.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
// Copyright 2015 Twin Oaks Computing, Inc.
// Modifications copyright (C) 2017-2018 Twin Oaks Computing, 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.... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
class Solution {
public:
string XXX(int num) {
if(num == 0) return "";
if(num >= 1000) {
return "M" + XXX(num-1000);
}else if(num >= 900) {
return "CM" + XXX(num-900);
}else if(num >= 500) {
return "D" + XXX(num-500);
}else if(num >= 400) {... |
// Copyright (c) YugaByte, 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 in writ... |
#include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R>
struct VirtualFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const V... |
// ======================================================================
// \title PCA9685ComponentImpl.hpp
// \author starchmd
// \brief hpp file for PCA9685 component implementation class
// ======================================================================
#ifndef PCA9685_HPP
#define PCA9685_HPP
#include "D... |
/******************************************************************************
* Copyright (c) 2010-2011, Duane Merrill. All rights reserved.
* Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved.
* Modifications Copyright (c) 2017-2020, Advanced Micro Devices, Inc. All rights reserved.
*
* Redist... |
/*
scrbuf.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. Redistribu... |
// Copyright (c) Warwick Allison, 1999.
// Qt4 conversion copyright (c) Ray Chason, 2012-2014.
// NetHack may be freely redistributed. See license for details.
// qt4inv.cpp -- inventory usage window
// This is at the top center of the main window
extern "C" {
#include "hack.h"
}
#undef Invisible
#undef Warning
#und... |
///////////////////////////////////////////////////////////////////////////////
///
/// Authors: Joshua Davis
/// Copyright 2011, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#include "Precompiled.hpp"
/*
Linear Constraint:
Let i correspond to ... |
// Copyright (c) 2021-2022 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 <consensus/validation.h>
#include <evo/mnhftx.h>
#include <evo/specialtx.h>
#include <llmq/commitment.h>
#include <llmq... |
/*
* Authors:
* Christian Schulte <schulte@gecode.org>
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Christian Schulte, 2008-2015
* Guido Tack, 2008-2015
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software, to deal in the software without restr... |
#include "openvslam/optimize/g2o/se3/shot_vertex_container.h"
#include "openvslam/util/converter.h"
namespace openvslam {
namespace optimize {
namespace g2o {
namespace se3 {
shot_vertex_container::shot_vertex_container(const unsigned int offset, const unsigned int num_reserve)
: offset_(offset) {
vtx_contain... |
/* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "meta/processors/GetProcessor.h"
namespace nebula {
namespace meta {
void GetProcessor::process(const cpp2::... |
// LoongArchAsmParser.cpp - Parse LoongArch assembly to MCInst instructions -=//
//
// 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 "RemoteExec.h"
#include "../Process.h"
#include "../../Misc/DynImport.h"
#include <VersionHelpers.h>
namespace blackbone
{
RemoteExec::RemoteExec( Process& proc )
: _proc( proc )
, _mods( _proc.modules() )
, _memory( _proc.memory() )
, _threads( _proc.threads() )
, _hWorkThd( (DWORD)0, &... |
/* _______ ________
\ \ / _____/ ____ ___
/ | \/ \ ____/ __ \ / \
/ | \ \_\ \ ___/| | \
\____|__ /\______ /\___ >___| /
\/ \/ \/ \/
The MIT License (MIT)
COPYRIGHT (C) 2016 RAZORWARE, LLC
Permission is hereby granted, free of charge, to any... |
// Copyright 2021 Gamergenic. See full copyright notice in Spice.h.
// Author: chucknoble@gamergenic.com | https://www.gamergenic.com
//
// Project page: https://www.gamergenic.com/project/maxq/
// Documentation: https://maxq.gamergenic.com/
// GitHub: https://github.com/Gamergenic1/MaxQ/
#include "pch.h... |
/*
** Copyright (c) 08.09.2021 statizarm
** This work is free. You can redistribute it and/or modify it under the
** terms of the Do What The Fuck You Want To Public License, Version 2,
** as published by Sam Hocevar. See the LICENSE file for more details.
*/
#include <iostream>
int main() {
int x, y, z;
std::ci... |
//83. Remove Duplicates from Sorted List
// 1. recursive
class Solution {
public:
ListNode* deleteDuplicates(ListNode* head) {
if(head == NULL || head->next == NULL) return head;
head->next = deleteDuplicates(head->next);
if(head->val == head->next->val) {
ListNode* del = head->... |
#ifndef strachnk_hpp
#define strachnk_hpp 1
#include "chunk.hpp"
#include "chunk_type.hpp"
#include "ltfx_exp.h"
#define StratDoor 50
#define StratLift 51
#define StratBinSwitch 52
#define StratSimpleObject 53
#define StratPlatLift 54
#define StratAirlock 57
#define StratSwitchDoor 59
#define StratLiftNoTel 60
#def... |
/**
* Monte Carlo studies for cathode LCTs.
*
* Slava Valuev May 26, 2004
* Porting from ORCA by S. Valuev in September 2006.
*
*
*/
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/CSCGeometry/interface/CSCGeometry.h"
#include "Geo... |
#include <assert.h>
#include <cassert>
#include "yaml-cpp/nodebuilder.h"
#include "yaml-cpp/node/detail/node.h"
#include "yaml-cpp/node/impl.h"
#include "yaml-cpp/node/node.h"
#include "yaml-cpp/node/type.h"
namespace YAML {
struct Mark;
NodeBuilder::NodeBuilder()
: m_pMemory(new detail::memory_ref), m_pRoot(nul... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/s3/model/GetBucketPolicyResult.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <utility>
using namespace Aws::S3::Model;
using namespac... |
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm 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/li... |
#include "mesh.h"
#include "lin_time.h"
#include "faction_generic.h"
#include "cmd/unit_generic.h"
#include "gfx/camera.h"
#include "config_xml.h"
struct warptrails
{
vector< Mesh* >factions;
vector< struct WarpTrail* >warps;
void Draw();
};
warptrails wt;
Mesh * GetWarpMesh( int faction, warptrails *wt ... |
/*!
@file
Defines `boost::hana::symmetric_difference`.
@copyright Louis Dionne 2013-2016
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_SYMMETRIC_DIFFERENCE_HPP
#define BOOST_HANA_SYMMETRIC_DIFFERENCE_HPP... |
/*=========================================================================
Program: ParaView
Module: vtkCPLinearScalarFieldFunction.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 WITH... |
#ifndef BOOST_MPL_MIN_MAX_HPP_INCLUDED
#define BOOST_MPL_MIN_MAX_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2008
//
// 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/mpl ... |
// Copyright (c) 2017 Franka Emika GmbH
// Use of this source code is governed by the Apache-2.0 license, see LICENSE
#include <franka_hw/franka_hw.h>
#include <cstdint>
#include <joint_limits_interface/joint_limits_urdf.h>
#include <urdf/model.h>
#include "resource_helpers.h"
namespace franka_hw {
constexpr doubl... |
// C:\diabpsx\PSXSRC\BLOCK.CPP
#include "types.h"
// address: 0x8008885C
// line start: 233
// line end: 239
void UpdateSel__FPUsUsPUc(unsigned short *Col, unsigned short Add, unsigned char *Count) {
}
// address: 0x8008889C
// line start: 244
// line end: 273
void CycleSelCols__Fv() {
}
// address: 0x80088A2... |
//===- ARMISelLowering.cpp - ARM DAG Lowering Implementation --------------===//
//
// 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
//
//===---------------------------... |
/**************************************************************
*
* 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 <iostream>
#include "Camera.h"
using namespace std;
Camera::Camera( double f, double larguraTelaProj, double alturaTelaProj ) :
telaProj( larguraTelaProj, alturaTelaProj )
{
setF( f );
setOrigemTelaProj();
}
void Camera::setF( double f ) {
if ( f < 0 )
Camera::f = 0;
else
Camera::f = f;
}
void C... |
#include "Reader.h"
#include "Chunks/SizeChunk.h"
#include "Chunks/PaletteChunk.h"
#include "Chunks/VoxelChunk.h"
namespace VoxelReader
{
std::vector<uint8_t> Reader::ReadBytes(const std::string& file)
{
std::ifstream input(file, std::ios::binary);
std::vector<char> chars((std::istreambuf_iterator<char>(input))... |
/**********************************************************************
Audacity - A Digital Audio Editor
Copyright 1999-2009 Audacity Team
File License: wxWidgets
Dan Horgan
******************************************************************//**
\file BatchEvalCommand.cpp
\brief Contains definitions for... |
// ***************************************************************
// Copyright (c) 2021 Jittor. All Rights Reserved.
// Maintainers: Dun Liang <randonlang@gmail.com>.
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
// ******************... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2019 The Brexocoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transaction... |
/*** Copyright (c) 2010 Data Intensive Cyberinfrastructure Foundation. All rights reserved. ***
*** For full copyright notice please refer to files in the COPYRIGHT directory ***/
/* Written by Jean-Yves Nief of CCIN2P3 and copyright assigned to Data Intensive Cyberinfrastructure Foundation */
#incl... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Neil Enns. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*-------------------------------------------------------------------------------... |
// Copyright (c) 2012-2015 The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Copyright (c) 2020-2021 The Foxdcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "util.h... |
#ifndef PYTHONIC_INCLUDE_NUMPY_INDICES_HPP
#define PYTHONIC_INCLUDE_NUMPY_INDICES_HPP
#include "pythonic/include/utils/functor.hpp"
#include "pythonic/include/numpy/int64.hpp"
#include "pythonic/include/types/ndarray.hpp"
namespace pythonic
{
namespace numpy
{
template <size_t N, class dtype = functor::int64... |
/*
* Copyright (c) 2003-2022 Rony Shapiro <ronys@pwsafe.org>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
/** \file pwFil... |
//
// ExtSupport.PHP4 - substitute for php4ts.dll
//
// Math.cpp
// - contains definitions of math exported functions
//
#include "stdafx.h"
#include <math.h>
#include <float.h>
#include "Math.h"
#include "Errors.h"
#include "TsrmLs.h"
#include "Variables.h"
#include "Spprintf.h"
#pragma unmanaged
#define PHP_ROU... |
// 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/test/data/nacl/ppapi_test_lib/test_interface.h"
#include <string.h>
#include <map>
#include <new>
#include "chrome/test/data/nacl/p... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Completed includes
// Begin forwa... |
//---------------------------------------------------------------------------//
// Copyright (c) 2020-2021 Mikhail Komarov <nemo@nil.foundation>
// Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation>
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of th... |
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018 The Chronos developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "multisigdialog.h"
#include "forms/ui_multisigdialog.h"
#include "askpassphrase... |
#pragma once
#include <mutex>
#include <functional>
#define LN_COORD_RH 1
namespace ln {
class EngineContext2;
class TypeInfo;
class PropertyInfo;
class ReflectionObjectVisitor;
class Serializer2;
class ViewProperty;
class ViewPropertyInfo;
class ObservablePropertyBase;
template<class T>
class TypeInfoTraits;
// FI... |
#include <stdio.h>
#include <robotcontrol.h>
// Headers for nonblocking stdin + console
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include "telemetry/telemetry.h"
int main() {
fcntl(0, F_SETFL, fcntl(0, F_GETFL) | O_NONBLOCK); // set stdin (file descriptor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.