text stringlengths 8.71k 38.4k |
|---|
// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2019 Bitcoin Association
// Distributed under the Open BSV software license, see the accompanying file LICENSE.
#include "txdb.h"
#include "chainparams.h"
#include "config.h"
#include "hash.h"
#include "init.h"
#... |
#include "Parser/MLIR.h"
#include "Parser/Parser.h"
#include <iostream>
using namespace Knossos::AST;
using namespace Knossos::MLIR;
using namespace std;
static int verbose = 0;
// ======================================================= Helpers
#define LOC() Location { __FILE__, __LINE__, 0 }
Expr::Ptr parse(const... |
//************************************************************
//
// FileName: mscanner2d.cpp
//
// Created: 1997
//
// Author: <NAME>
//
// Abstract: Scan-based AA polygon renderer
//
// Change History:
// ??/??/97 <NAME> Wrote AA poly scanning for DxTrans 1.0
// 10/18/98 ketand Rewo... |
// Compile command: g++ -Wall -Wextra -std=c++17 -O2 -pthread -I/usr/include/python3.8 -I/usr/include/eigen3 -o triangular_cone_newdisloc triangular_cone_newdisloc.cpp -lpython3.8
#include <iostream>
#include <fstream>
#include <cmath>
#include <complex>
#include <Eigen/Dense>
#include <unsupported/Eigen/MatrixFunction... |
/*
* audio_irix.cpp - Audio support, SGI Irix implementation
*
* Basilisk II (C) 1997-2008 <NAME>
*
* 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, o... |
/************************************************************************
Surface simplification using quadric error metrics
Copyright (C) 1998 <NAME>. See "COPYING.txt" for details.
$Id: MxQSlim.cxx,v 1.42.2.2 2004/07/01 18:47:32 garland Exp $
**************************************************************... |
/*
* iaf_psc_alpha_presc.cpp
*
* This file is part of NEST.
*
* Copyright (C) 2004 The NEST Initiative
*
* NEST 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, o... |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
<NAME>, <EMAIL>
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with San... |
/**************************************************************
*
* 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 "std.h"
#include "ddutil.h"
#include "asmcoder.h"
#include "gxcanvas.h"
#include "gxruntime.h"
extern gxRuntime* gx_runtime;
#include "..\freeimage\freeimage.h"
static AsmCoder asm_coder;
static void calcShifts(unsigned mask, unsigned char* shr, unsigned char* shl) {
if(mask) {
for(*shl = 0; !(mask & 1... |
#include <stdio.h>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <filesystem>
#include <map>
#include <vector>
#include <openssl/md5.h>
#include "n64_span.h"
#include <cstdint>
#include "bk_asset.hpp"
#include "bk_asm.hpp"
#include "yaml-cpp/yaml.h"
#include "file_helper.hpp"
static const uint32... |
/*
* Copyright 2020 <NAME>
*
* 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 wr... |
#include "Node.h"
#include <unistd.h>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <cstring>
#include <vector>
// Directory with txt files
#define FILE_DIR "text/"
#define MAX_NUM_NODES 10
using namespace std;
Node::Node(int id, int dst_id, string str_msg, int time) :
... |
#include <string>
#include <symbol/symbol_lookup.hpp>
#include "tinydir/tinydir.h"
#include "util/assert.hpp"
#include "util/files_env.hpp"
#include "driver.hpp"
#include "builtin/builtin_types.hpp"
#include "llvm_generator.hpp"
#include "tx_lang_defs.hpp"
#include "TuplexConfig.h"
#include "parser_if.hpp"
#incl... |
/**
*
* \section COPYRIGHT
*
* Copyright 2013-2015 Software Radio Systems Limited
*
* \section LICENSE
*
* This file is part of the srsUE library.
*
* srsUE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Softwa... |
#include "stdafx.hxx"
#include "gfx-surface.hxx"
#include "rng/rng.hxx"
using gfx_vxo_util::set_mesh_data;
gfx_icosahedron::gfx_icosahedron() : gfx_vxo(vx_info("a_v3_position, a_v3_normal, a_v2_tex_coord")) {}
void gfx_icosahedron::set_dimensions(float iradius)
{
float size = iradius;
float t = (1.f + glm::s... |
////////////////////////////////////////////////////////////////////////////////
// //
// Name: DHMaster.cxx //
// ... |
#include "L4/LocalMemory/HashTableService.h"
#include "L4/Log/PerfCounter.h"
#include <algorithm>
#include <boost/any.hpp>
#include <boost/program_options.hpp>
#include <chrono>
#include <condition_variable>
#include <iostream>
#include <string>
#include <thread>
class Timer {
public:
Timer() : m_start{std::chrono... |
/* Copyright (c) 2019, NVIDIA CORPORATION. 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 cond... |
/*
* Wirefox Networking API
* (C) <NAME>, 2019.
*
* Licensed under the BSD 3-Clause License, see the LICENSE file in the project
* root folder for more information.
*/
#include "PCH.h"
#include "Peer.h"
#include "PacketQueue.h"
#include "RemotePeer.h"
#include "PacketHeader.h"
#include "WirefoxConfigRefs.h"
#inc... |
/***************************************************************************
liberator.c - 'vidhrdw.c'
Functions to emulate the video hardware of the machine.
Liberator's screen is 256 pixels by 256 pixels. The
round planet in the middle of the screen is 128 pixels
tall by 96 equivalent (192 at dou... |
#include <iostream>
#include <math.h>
#include <eigen3/Eigen/Dense>
#include "ros/ros.h"
#include "geometry_msgs/Pose.h"
#include "geometry_msgs/Twist.h"
#include "geometry_msgs/Vector3.h"
#include "std_msgs/Float64.h"
#include "std_msgs/UInt8.h"
float x = 0;
float y = 0;
float z = 0;
float phi = 0;
float theta = 0;
... |
/*
* SerialConsole.cpp
*
* Serial interface to influence the behaviour and chang the contifuration
* of the bee sauna.
*
Copyright (c) 2017 <NAME>
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 S... |
#include "Halide.h"
#include "Derivative.h"
using namespace Halide;
// A model weight is either just an input, or an input and an output
// (the updated weights and the ADAM state) depending on whether we're
// doing inference or training.
template<bool training> struct ModelWeight;
template<>
struct ModelWeight<fal... |
// Copyright (c) 2016 by SN Systems Ltd., Sony Interactive Entertainment Inc.
//
// 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 right... |
// Copyright 2015 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 "extensions/browser/api/webcam_private/visca_webcam.h"
#include <stddef.h>
#include <stdint.h>
#include <algorithm>
#include <memory>
#include... |
/* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of <NAME>, <EMAIL>. Use of this code is governed by an
MIT-style License that can be found at "https://github... |
//=--3C.cpp-------------------------------------------------------*- 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 <TFile.h>
#include "RecoEgamma/EgammaTools/interface/EGEnergyCorrector.h"
#include "CondFormats/EgammaObjects/interface/GBRForest.h"
#include "CondFormats/DataRecord/interface/GBRWrapperRcd.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "DataFormats/EgammaCandidates/interface/Photon.h"
#include "... |
/*
* Copyright (c) 2011 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... |
/*
* mustnodepath.cpp
*
* Created on: Jul 26, 2016
* Author: franz
*/
#include "../head.h"
//#include"glpk.h"
#include"gurobi_c++.h"
//#include"singlemustnodepath_nlp.hpp"
//using namespace Ipopt;
using namespace std;
void processAuxilityAPInfo(GraphTopo *p_graph, Request *p_request)
{
int now = p_graph->... |
/*
* Copyright (c) 2017, The University of Oxford
* 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 list ... |
/*
* Copyright (C) 2009 The Android Open Source Project
*
* 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 app... |
#include "pch.h"
#include "Trainer.h"
#include "Panels.h"
std::shared_ptr<Trainer> Trainer::Create(const std::shared_ptr<Memory>& memory) {
auto trainer = std::shared_ptr<Trainer>(new Trainer());
memory->AddSigScan({0x84, 0xC0, 0x75, 0x59, 0xBA, 0x20, 0x00, 0x00, 0x00}, [trainer](__int64 offset, int in... |
// See LICENSE_CELLO file for license and copyright information
/// @file enzo_EnzoMethodGrackle.cpp
/// @author <NAME> (<EMAIL>)
/// <NAME> (<EMAIL>)
/// @date Tues May 7
/// @brief Implements the EnzoMethodGrackle class
#include "cello.hpp"
#include "enzo.hpp"
//---------------------------... |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/Event.h"
#inc... |
/*copyright 2016-2018 hyperchain.net (Hyperchain)
Distributed under the MIT software license, see the accompanying
file COPYING or https://opensource.org/licenses/MIT.
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), t... |
// Problem generator for studying clouds in SN-driven winds
// C++ headers
#include <algorithm> // min()
#include <cmath> // abs(), pow(), sqrt()
#include <sstream> // stringstream
#include <stdexcept> // runtime_error
#include <string> // string
// Athena++ headers
#include "../mesh/mesh.hpp"
#include ... |
// Copyright 2012 Cloudera 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 wr... |
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include <pybind11/iostream.h>
namespace py = pybind11;
using namespace pybind11::literals;
#include "spdlog/spdlog.h"
#include "spdlog/sinks/base_sink.h"
#include <spdlog/details/null_mutex.h>
#include <mutex>
#include "PnRDB/Pn... |
/*
* Player - One Hell of a Robot Server
* Copyright (C) 2003
* <NAME>, <NAME>
*
*
* 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 yo... |
// @@@ START COPYRIGHT @@@
//
// 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... |
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <typeinfo>
#include <iostream>
#include "arvore_sintaxe_abstrata.h"
#include "simbolos.h"
#include "tabela_simbolos.h"
#include "erro.h"
#include "semantico.h"
#include "semantico_escopo.h"
#include "lexico.h"
int ... |
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved.
//Datastructures for friction systems:
// Vector of all objects (IVP_Real_Object) belonging to fr sys, objects are counted: friction_obj_number
// every object has Vector of IVP_Friction_Info_For_Obj for every friction system it belongs... |
// [[Rcpp::depends(RcppEigen)]]
#include <RcppEigen.h>
#include <R.h>
#include <Rmath.h>
#include <Rcpp.h>
using namespace Eigen;
using namespace Rcpp;
using namespace std;
using Eigen::Map;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using Eigen::MatrixXi;
using Eige... |
#include "Model.h"
Model::Model() {
m_hasMaterial = false;
m_hasTextureCoords = false;
m_hasNormals = false;
m_mltPath = "";
T.identity();
invT.identity();
}
Model::~Model(){
}
void Model::rotate(const Vector3f &axis, float degrees){
Matrix4f rotMtx;
rotMtx.rotate(axis, degrees);
Matrix4f invRotMtx = M... |
#include "gdprocmesh.h"
#include <Dictionary.hpp>
#include <GlobalConstants.hpp>
#include <VisualServer.hpp>
using namespace godot;
Array GDProcMesh::_get_property_list() {
Array arr;
// add a property for each node that we have
std::map<int, Ref<GDProcNode> >::iterator it;
for (it = nodes.begin(); it != nodes.e... |
/* From: https://chromium.googlesource.com/chromium/src.git/+/4.1.249.1050/third_party/sqlite/src/os_symbian.cc
* https://github.com/spsoft/spmemvfs/tree/master/spmemvfs
* http://www.sqlite.org/src/doc/trunk/src/test_demovfs.c
* http://www.sqlite.org/src/doc/trunk/src/test_vfstrace.c
* http://www.sqlite.org/src/doc... |
/*
Copyright (C) 2003-2013 by <NAME> <<EMAIL>>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... |
// header file for Plan Director node
#include "ros2_bdi_core/plan_director.hpp"
// Inner logic + ROS PARAMS & FIXED GLOBAL VALUES for ROS2 core nodes
#include "ros2_bdi_core/params/core_common_params.hpp"
// Inner logic + ROS2 PARAMS & FIXED GLOBAL VALUES for Plan Director node
#include "ros2_bdi_core/params/plan_dire... |
/*
------------------------------------- Credits -----------------------------------------------------------------
Generalized National Airspace Trajectory Simulation (GNATS) software
2017-2021 GNATS Development Team at Optimal Synthesis Inc. are:
Team Lead, Software Architecture and Algorithms: Dr. <NAME>
Algorithms a... |
/* =====================================================================================
CSPlib version 1.1.0
Copyright (2021) NTESS
https://github.com/sandialabs/csplib
Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Gov... |
/**
* Contact: <EMAIL>
*/
#include "PrefixTable.h"
#include <stdexcept>
#include <cmath>
#include <algorithm>
#include <sstream>
#include <stdio.h>
#include "CS.h"
#include "Timing.h"
#undef module_name
#define module_name "PREPROCESS"
extern int lastSeqTotal;
static uint const refTabCookie = 0x1701E;
//static ... |
/******************************************
Copyright (c) 2019, <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, mo... |
// -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
// DESCRIPTION: Verilator: Implementation of Christofides' algorithm to
// approximate the solution to the traveling salesman problem.
//
// ISSUES: This isn't exactly Christofides algo... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
#include "rs-range/selection.hpp"
#include "rs-format/string.hpp"
#include "rs-tl/iterator.hpp"
#include "rs-unit-test.hpp"
#include <algorithm>
#include <memory>
#include <numeric>
#include <random>
#include <string>
#include <vector>
using namespace RS::Format;
using namespace RS::Range;
using namespace RS::TL;
usin... |
/* Copyright (c) 2015 Convey Computer Corporation
*
* This file is part of the OpenHT toolset located at:
*
* https://github.com/TonyBrewer/OpenHT
*
* Use and distribution licensed under the BSD 3-clause license.
* See the LICENSE file for the complete license text.
*/
// ScDesign.cpp: implementation of the CSc... |
/***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* obje... |
#pragma once
#include "SQLiteOLEDB.h"
// ==================================================================================================================================
// ___________ ____ __ _ __ ____ __ ____
// / ____/ ___// __ \ / / (_) /____ / __ \_... |
// Copied tutorial from
// http://www.opengl-tutorial.org/intermediate-tutorials/billboards-particles/particles-instancing/
// https://github.com/opengl-tutorials/ogl/tree/master/tutorial18_billboards_and_particles
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#include <algorithm>
#include <GL/glew.h>
... |
/** @file ParamOptimization.cxx
@brief ParamOptimization member functions
$Header: /nfs/slac/g/glast/ground/cvs/ScienceTools-scons/pointlike/src/ParamOptimization.cxx,v 1.16 2008/11/11 01:31:16 mar0 Exp $
*/
#include "pointlike/ParamOptimization.h"
#include "skymaps/IParams.h"
#include "TMatrixD.h"
#include <fstrea... |
#include "ComponentImage.h"
#include "GameObject.h"
#include "Application.h"
#include "ModuleResourceManager.h"
#include "ModuleUI.h"
#include "ModuleTextures.h"
#include "PanelScene.h"
#include "ModuleGui.h"
#include "ModuleRenderer3D.h"
#include "ModuleCamera3D.h"
#include "ModuleSceneManager.h"
#include "ModuleFileS... |
/*
BAREOS® - Backup Archiving REcovery Open Sourced
Copyright (C) 2001-2012 Free Software Foundation Europe e.V.
Copyright (C) 2011-2016 Planets Communications B.V.
Copyright (C) 2013-2016 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of... |
/************************************************************************/
/* */
/* IA_DATA.cpp -- Library for Impedance Analyzer */
/* */
/************************************************************************/
/* Author: <NAME> */
/* Copyright 2... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2019, WVU Interactive Robotics Laboratory
* https://web.statler.wvu.edu/~irl/
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or w... |
/*
*** autosliceCMD.cpp ***
Front end for autoslic.cpp containing a command line user interface.
------------------------------------------------------------------------
Copyright 1998-2012 <NAME>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Ge... |
#include "index.h"
#include <aruco/aruco.h>
#include <aruco/cvdrawingutils.h>
#include <opencv2/core/core.hpp>
#include "pcl/visualization/pcl_visualizer.h"
struct KeyPt{
PointT pt;
int id;
};
void getKeyPt(const pcl::PointCloud<PointT>::Ptr cloud, const std::vector<aruco::Marker> &markers, std::vector<KeyPt... |
#include "track_preset.h"
TrackPreset::TrackPreset(
const std::string &type_, const std::string &instrumentJson_, const std::string ¬esJson_)
: type(type_)
, instrumentJson(instrumentJson_)
, notesJson(notesJson_) {
}
TrackPreset &TrackPreset::get(const std::string &name) {
if (!loaded) {
loa... |
// ****************************************************************************
//
// Copyright (c) 2014, <NAME>, <NAME>, <NAME>, Johns Hopkins University.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the follow... |
#include "flowCutter.h"
#include <algorithm>
#include <cassert>
#include <cstdio>
#include <limits>
#include <vector>
#include "graphUtils.h"
#include "utils.h"
// MAYBE replace vector with static containers (std::vector<int> is 6*sizeof(int), maybe gsl::dyn_array would work).
FlowCutter::FlowCutter(const BasicOneB... |
#include <FS.h>
#include <SPIFFS.h>
#include <Adafruit_ADS1015.h>
#include <DNSServer.h>
#include <OneWire.h>
#include <WiFi.h>
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <ESPAsyncWiFiManager.h>
#include <Wire.h>
#include <ArduinoJson.h>
#include <SimpleList.h>
#include <DallasTemperature... |
int Da//nUT
,
J5U,
nqn,W1F
,
ui
,//8Q6O
//
tkwq, SM4, IY,
R8X ,VA3, fY ,
gA9XSGr ,
LCJ,Own4w,Ss
,
Kig, IG7 ,Zf, II8 ,N3KZ, Ax6ox
//5J
, cC,//
ga9N,EgZ
,YV ,//7T
x7 , qm4,
xUY ,hNr7 , /**/qQr
, mIT
, EN , Wh4GC,Jk1,
AB7
,FR
,
I4EF,/*B*/ e8,
o
,/*944Ng*//*C*/Q
,M21R
, fB, sh ,RH0Y,Ro6... |
#include "PreferencesFrame.h"
#include "../Feature/LogGUI.h"
#include "../Feature/Language.h"
#include "../Feature/Config.h"
#include "../TextField.h"
#include "EventID.h"
wxFrame* PreferencesFrame::mFrame;
PreferencesFrame::DictionaryPage PreferencesFrame::mDP;
PreferencesFrame::GeneralPage PreferencesFrame::mGP;
wxA... |
#include "globals.h"
#include "option_parser.h"
#include "ext/tree_util.hh"
#include "plugin.h"
#include "rng.h"
#include <algorithm>
#include <iostream>
#include <string>
#include <utility>
using namespace std;
ParseError::ParseError(string m, ParseTree pt)
: msg(m),
parse_tree(pt) {
}
ParseError::ParseEr... |
/*
* \file L1TDTTPG.cc
*
* \author <NAME>
*
*
*
* organized message logger
*
* Revision 1.19 2008/03/14 20:35:46 berryhil
*
*
* stripped out obsolete parameter settings
*
* rpc tpg restored with correct dn access and dbe handling
*
* Revision 1.18 2008/03/12 17:24:24 berryhil
*
*
* eliminated log... |
/**
* @file
* @copyright defined in agr/LICENSE
*/
#include <agriolib/crypto.h>
#include <agriolib/agrio.hpp>
#include <agriolib/print.hpp>
#include "test_api.hpp"
#define WASM_TEST_FAIL 1
static const char test1[] = "abc";
static const unsigned char test1_ok_1[] = {
0xa9, 0x99, 0x3e, 0x36, 0x47, 0x06, 0x81,... |
/* Copyright (c) <2003-2021> <<NAME>, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
*... |
// 2014-2019, ETH Zurich, Integrated Systems Laboratory
// Authors: <NAME>
#include "ll_hbondss.h"
#include "ll_fn.h"
#include "ll_io.h"
#include "ll_hio.h"
using namespace ll__;
using namespace lm__;
// constructor
ll_hbondss::ll_hbondss(const ll_hbondss_input& inp, std::ostream& os) {
assert(!inp.wbh.empty());
... |
int
Ra,
ba//bzB
,s3Su ,sZRiC
,
UVF1
,wPUh,
k0 , Hrz
,/*IA*/Erq,AMv ,gF ,YZyR,
/*G*/
Cz,dgV,
GI//Uj
,
eLBZ/*pU*/
, k3BX,
Xem5
,gtwv ,
//HDUa
h1R1,pFp, Ss, Gmc,FWNWJ , irY
,ZeV ,//aI
Zj , S,xF//9vc
, ZqYOJ ,PJSr ,
dPe,P2epT, ArJfX ,MO , PQa , D4T , ScU, bn7,
sy
, fPr,m1
, fZ,Wh
,kqpV ,VzeS//K
... |
// Copyright (c) 2020 The Wagerr developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <util.h>
#include <betting/bet_tx.h>
#include <betting/bet_db.h>
#include <betting/bet_common.h>
#include <amount.h>
#inclu... |
//--by <NAME>
#define __CL_ENABLE_EXCEPTIONS
#include <cstdlib>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string>
#include <cstring>
#include <CL/cl.h>
#include <math.h>
//#include "CLHelper.h"
#include "util.h"
#define MAX_THREADS_PER_BLOCK 256//256
int work_group_size = 512;//512
// Open... |
/* Copyright 2019 The MLPerf 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 agreed t... |
//===- VectorUnrollDistribute.cpp - patterns to do vector unrolling -------===//
//
// 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 "VWCInfillerPlugin.h"
#include "Path.h"
#include "PathTypeBitField.h"
#include "VariableWidthContouring.h"
using CLint = ClipperLib::cInt;
using CLPoint = ClipperLib::IntPoint;
using CLPath = ClipperLib::Path;
using CLPaths = ClipperLib::Paths;
void buildMATGraphWithBOOST(MATGraph& mat, const CLPaths & inpu... |
/**
Copyright (c) 2016, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
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 ... |
#include <string.h>
#include <cstdio>
#include <cstdlib>
#include "todprocess_planck.h"
#include "despike_func.h"
DespikeStruct *alloc_despike_struct(const long n_event_expected,
const long ringsize, GlitchInfoStruct glitchinfo, const long kernel_size,
const double *kernel, /* kernel_size */
bool do_snail)... |
#include "EDepSimUserDetectorConstruction.hh"
#include "EDepSimDetectorMessenger.hh"
#include "EDepSimRootGeometryManager.hh"
#include "EDepSimSDFactory.hh"
#include "EDepSimUniformField.hh"
#include "EDepSimEMFieldSetup.hh"
#include "EDepSimArbEMField.hh"
#include "EDepSimArbElecField.hh"
#include "EDepSimArbMagField.... |
#include <AMLGUIElement.h>
#include <AggregatableGUIElementAdapter.h>
#include <XMLParser.h>
#include <StringHelpers.h>
#include <PathFunctions.h>
#include <BeautifulGUIImage.h>
#include <BeautifulGUIText.h>
#include <BeautifulGUIButton.h>
#include <Drawer2D.h>
#include <utilities.h>
#include <FlexibleFont.h>
#include ... |
/*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#include "../simworld.h"
#include "../simcolor.h"
#include "../display/simgraph.h"
#include "../gui/simwin.h"
#include "../utils/simstring.h"
#include "../utils/cbuffer_t.h"
#include "../utils/csv.h"
#include... |
#include "physicalSimulation.h"
#include "conjugate_gradient.h"
#include <limits>
using namespace std;
//Initialize the physical parameters
/*void initializePhysics()
{
physicalglobals = new PhysicalGlobalVariables();
}*/
//compute the volume of a tetraheron
PhysicalGlobalVariables* physicalglobals;
float GetTetra... |
/**************************************************
Copyright 2015 <NAME>
***************************************************/
#include "SSOptionsMenu.h"
#include "../../utility/GameData.h"
#include <SDL2/SDL.h>
#include <utility/Logger.h>
#include <input/KeyBindings.h>
#include <gfx/GraphicsEngine.h>
#include <utilit... |
/*
* Copyright (c) 2011 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 <stdexcept>
#include <random>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <vector>
#include <numeric>
#include <limits>
#include <math.h>
#include <libmuscle/libmuscle.hpp>
#include <ymmsl/ymmsl.hpp>
#include <stdlib.h>
#include "absmc3D.h"
using libmuscle::Data;
usin... |
// __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__
// TestMatrix.h
#include <gtest/gtest.h>
#include <vw/Math/Matrix.h>
using namespace vw;
TEST(Matrix, Stati... |
// Copyright (C) 2019. Huawei Technologies Co., Ltd. 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,... |
#include "InputOutput.h"
#include "Cell.h"
#include "Constants.h"
#include "Forces.h"
#include <sys/stat.h>
#include <string>
// input and output functions
// also initializes the starting positions of cells
void CreateOutputFileLineage(int OutputID, OutputFiles& Files, bool append)
{
// create output file linea... |
int qM4 /*CIc*/,wm,ZQ ,
An
,
U0 ,
sY//sr8
,erg
,u , ex
//7ud
,
nli
,rd6hF
,
x9C,zy8OT,
PneU , AP,X9
,lPAWYD,
QH
, ZXnR
, i
, zhYW2/*a*/,XY
,
Ov, Fj, kmH,
GOLM
, E//Ia2b
,iVTR ,H0
,
cvu3 , QV7V,
a , z0y , aM, fj,
u2klIy,gH
,
Jy,
Pwm8 ,bj , Zvh ,EkC,kQk
,
wFt, TH, inEK,wTEsb;void f_f0... |
/**
* @file
* @brief functions used during combat
*/
#include "AppHdr.h"
#include "fight.h"
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "art-enum.h"
#include "cloud.h"
#include "coordit.h"
#include "delay.h"
#include "env.h"
#include "fineff.h"
#include "fprop.h"
#includ... |
#include "../dep/laynii_lib.h"
int show_help(void) {
printf(
"LN_GRADSMOOTH_ITER : Layering algorithm based on iterative smothing\n"
"\n"
" This program is designed smooth to data within layer or columns ,\n"
" In order to avoid smoothing across masks a crawler smoothed only across connected ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.