text
stringlengths
5.71k
33.7k
// MFEM Example 1 - High-Performance Version // // Compile with: make ex1 // // Sample runs: ex1 -m ../../data/fichera.mesh -perf -mf -pc lor // ex1 -m ../../data/fichera.mesh -perf -asm -pc ho // ex1 -m ../../data/fichera.mesh -perf -asm -pc ho -sc // ex1 ...
#include "slot_manager.h" #include "virtual_devices/virtual_kbm.h" #include <csignal> slot_manager::slot_manager(int max_pads, bool keys, const virtpad_settings& padstyle) : log("slot"), opts([&] (std::string& name, MGField value){ return process_option(name, value); }), max_pads(max_pads) { ui = new uinput(); du...
#include "mirtk/Common.h" #include "mirtk/Options.h" #include "mirtk/IOConfig.h" #include "mirtk/GenericImage.h" using namespace mirtk; Array<double> i_ctr; void ReadRegionParamFile(char* fn, Array<int*>& params) { ifstream* istream; istream = new ifstream(); istream->open(fn); string line_in_file; char* l...
/************************************************************** * * 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...
/* ---------------------------------------------------------------------- miniMD is a simple, parallel molecular dynamics (MD) code. miniMD is an MD microapplication in the Mantevo project at Sandia National Laboratories ( http://www.mantevo.org ). The primary authors of miniMD are <NAME> (<EMAIL>) , <NAM...
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2017-2019 The GreenVenturesChain Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "coinutxotx.h" #include "main.h" #include <string> #include <cstdarg> ...
/** Boost */ #include <boost/serialization/serialization.hpp> #include <boost/serialization/unordered_map.hpp> #include <boost/serialization/unordered_set.hpp> #include <boost/serialization/utility.hpp> #include <boost/serialization/vector.hpp> #include <boost/archive/binary_iarchive.hpp> #include <boost/archive/binar...
// Copyright 2016 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. // // This file implements a wrapper to run the virtual me2me session within a // proper PAM session. It will generally be run as root and drop privileges ...
#include <memory/memanalysis.h> #include <utility/defines.h> #include <trees/trees.h> #include <common/common_defines.h> #include <common/meminfo.h> #include <common/utilities.h> #include <algorithm> #include <iostream> #include <map> using namespace std; mem_info_t* get_the_deepest_enclosing(mem_regions_t* regio...
#include <stdio.h> #include <string.h> #include <arpa/inet.h> #include <rtsLog.h> #include <rts.h> // for the sake of swap32 entry #include <rtsSystems.h> // This reader works for TRG_VERSIONS: 0x30 (FY07 run) // one needs to diffuse the crummy trigger stuff first #define TRG_VERSION 0x30 #include <daqFormats.h> ...
/* * ClientS3ORAM.cpp * * Created on: Mar 15, 2017 * Author: ceyhunozkaptan, thanghoang */ #include "ClientS3ORAM.hpp" #include "Utils.hpp" #include "S3ORAM.hpp" #include <algorithm> using namespace std; unsigned long int ClientS3ORAM::exp_logs[9]; unsigned long int ClientS3ORAM::thread_max = 0; char Clien...
/*************************************************************************** * Copyright (C) by <NAME> * * * * You can redistribute and/or modify this program under the * * terms of the...
/* * Copyright 2015 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 applica...
/// /// @file SceneGenerator.cpp /// @version 1.0 /// @brief This module handles scene and game object generation #include "SceneGenerator.h" #include <iostream> #include "Mesh.h" #include "Camera.h" void SceneGenerator::generateScene() { //first randimize all the scene stats randomizeStats(); ...
#include "webSites.h" const char WebSites::HTMLHeader1[] = "<!DOCTYPE html>" "<html><head>" "<meta charset=\"utf-8\">" "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">" "<link href=\"http://enelsoft.de/templates/enelsoft/favicon.ico\" rel=\"shortcut icon\" typ...
#include <pc/manager.hpp> #include <pc/log.hpp> #include <unistd.h> #include <signal.h> #include <iostream> class test_publish; // system-wide notification events and factory for publisher class test_connect : public pc::manager_sub { public: test_connect(); // on connection to (but not initialization) solana va...
#include "Marques.hpp" #include <core/logger/event_logger.h> namespace { const char *DOMAIN = "marques"; const util::graphics::Color WHITE(0xFFFFFFFF); const util::graphics::Color BLACK(0); uint8_t font8x8[95][8] = { {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, // space {0x18, 0...
#include <SPI.h> #include <EEPROM.h> #include "pins_arduino.h" // RTC registry addresses #define HOURS_WRITE 0x82 #define HOURS 0x02 #define MINUTES_WRITE 0x81 #define MINUTES 0x01 #define SECONDS_WRITE 0x80 #define SECONDS 0x00 #define ALARM2_HOURS_WRITE 0x8C #define ALARM2_HOURS 0x0C #define ALARM2_MINUTES_WRITE 0x8...
/// @file ACTable.cpp /// @brief Aircraft listing in form of an ImGui::Table /// @author <NAME> /// @copyright (c) 2018-2020 <NAME> /// @copyright Permission is hereby granted, free of charge, to any person obtaining a /// copy of this software and associated documentation files (the "Softw...
#include "TernaryDagDictionary.h" #define _HASH_TABLE_SIZE 12000000 TernaryDagNodePtr hashTable[_HASH_TABLE_SIZE]; TernaryDagDictionary::TernaryDagDictionary(TernaryDagNodePtr head, string longWord, unsigned longWordLength, unsigned wordCount, unsigned nodeCount) : root(head), longestWord(longWord), longestWordLength...
/* * Copyright (C) 2017 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...
//////////////////////////////////////////////////////////////////////////////// /** * @file main.cpp * @date 2017-03-04 * @author <NAME> (<EMAIL>) * * @copyright * 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 * th...
#include <stdint.h> static const char gDigitsLut[200] = { '0', '0', '0', '1', '0', '2', '0', '3', '0', '4', '0', '5', '0', '6', '0', '7', '0', '8', '0', '9', '1', '0', '1', '1', '1', '2', '1', '3', '1', '4', '1', '5', '1', '6', '1', '7', '1', '8', '1', '9', '2', '0', '2', '1', '2', '2', '2', '3', '2', '4', '2', '5'...
// // See the file LICENSE for redistribution information. // // Copyright (c) 2002,2009 Oracle. All rights reserved. // #include "../DbXmlInternal.hpp" #include <sstream> #include <dbxml/XmlException.hpp> #include "../Container.hpp" #include "NsDocumentDatabase.hpp" #include "NsDocument.hpp" #include "NsUtil.hpp" #...
// // <NAME> <<EMAIL>> // Indiana University // October 23, 2007 // #include <cmath> #include <cstdlib> #include <algorithm> #include <functional> #include <cstring> #include <cassert> #include "L2upsilonResult2006.h" #include "L2upsilon2006.hh" #ifdef IS_REAL_L2 //in l2-ana environment #include "trgStructures.h...
/* ************************************************************************ * Copyright 2020 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "norm.hpp" #include "rocsolver_test.hpp" #include "rocsolver_arguments.hpp" #include "rocsolver.hpp" #includ...
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4; -*- // vim: set shiftwidth=4 softtabstop=4 expandtab: /* * 2013,2014, Copyright University Corporation for Atmospheric Research * * This file is part of the "eolts" package for the R software environment. * The license and distribution terms...
#include "Global.hpp" #include "Shader.hpp" #include "Camera.hpp" #include "Gui.hpp" #include "CubeManager.hpp" #include "Cube.hpp" #include "SkyBox.hpp" #include "Cloth.hpp" #include "CRUD.h" #include "Text.hpp" #include <iostream> #include <list> #include <ctime> using namespace std; //#define CALTIME // calculat...
// 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 "config.h" #include "bindings/core/v8/V8Binding.h" #include "bindings/core/v8/ExceptionState.h" #include "core/testing/GarbageCollectedScriptWra...
#include "llvm/Pass.h" #include "llvm/IR/Module.h" #include "llvm/IR/Function.h" #include "llvm/IR/BasicBlock.h" #include "llvm/IR/IRBuilder.h" #include "llvm/Support/raw_ostream.h" #include "llvm/IR/Type.h" #include "llvm/IR/CFG.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include "llvm/IR/Dominators.h" #inc...
// Copyright (c) 2020-2021 <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, modify, merge, publish, ...
/********************* */ /*! \file inst_strategy_e_matching.cpp ** \verbatim ** Original author: ajreynol ** Major contributors: mdeters ** Minor contributors (to current version): bobot ** This file is part of the CVC4 prototype. ** Copyright (c) 200...
//<NAME>/<NAME> //GAME PROJECT //DUE ONE DAY //PERIOD 6 //<NAME> // //LIBRARIES------------ #include <conio.h> #include <iostream.h> #include <iomanip.h> #include <apstring.h> #include <apmatrix.h> #include <fstream.h> #include <apvector.h> #include <graphics.h> #include <dos.h> #include <alloc.h> //St...
#include <cstdlib> #include <cassert> #include <cstdio> #include <cstdint> #include <cstdbool> #include <cstring> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <linux/dvb/frontend.h> #include <linux/dvb/dmx.h> #include <glib-2.0/glib.h> #include <event.h> #include <er...
//<NAME> //28/01/2020 //BA Best Match Graphs #include "tree.h" using namespace std; //constructing the first entry in the vectors which represents the root of the tree Tree::Tree() { parent.push_back(-1); children.push_back({}); vertex.push_back(-1); classes.push_back(-1); } //connecting "subtree" to the Tre...
/* Copyright ©2013 The Regents of the University of California (Regents). All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and not-for-profit purposes, without fee and without a signed licensing agreement, is hereby granted, pr...
#include "Experiment.hpp" #include "../Learning/Substrate.hpp" #include <Population.h> Experiment::Experiment(const std::string& name) : Logging::Log(name), mName(name) {} Experiment::~Experiment() {} /** * @brief * Returns the substrate of the experiment. * * If the experiment hasnt defined a substrate,...
#include "acpi.h" #include "kernel.h" #include <io.h> #include <asm.h> #include <string.h> #include <heap.h> #include <bootscreen.h> #include "timer.h" #include "pci.h" __attribute__((always_inline)) inline bool IsCanonical(uint64_t Address) { return ((Address <= 0x00007FFFFFFFFFFF) || ((Address >= 0xFFFF8000000...
/* * Copyright 2016, 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 applica...
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2009-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. // // File contains modifications by: The Gulden developers // All modifications: // Copyrig...
#include "stdafx.h" #include "pe_file_version_info.h" using namespace pe_resource_irnl; pe_file_version_info::pe_file_version_info() : valid_info(false), valid_file_info(false), file_info({ 0 }) { } pe_file_version_info::pe_file_version_info(const uint8_t* version_info, size_t version_info_size) : valid_i...
#include "Arduino.h" #include "Communication.h" mist1::Communication::Communication(String com_name) { _com_name = com_name; } String mist1::Communication::get_com_name() { return _com_name; } void mist1::Communication::add_channel(Channel ch) { _all_channels[_number_of_channels] = ch; _numb...
/*********************************************************************************************************************** * * * ANTIKERNEL v0.1 ...
/************************************************************** * * 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 "mpi.h" #include "def.hpp" #include "adptls.hpp" #include "MtxSpMpiA2a.hpp" #include <cstring> #include <iostream> #include <cstdio> /* stderr */ #include <cstdlib> /* exit */ #include <fstream> /* fstream */ #include <sstream> #include <cmath> /* fabs */ using namespace std; //int gdbid=0; //bool gdbfl...
#include "iAnt_loop_functions.h" /***** * The constructor function is used only to initialize variables to null/0 values. Primary setup is done with Init(). *****/ iAnt_loop_functions::iAnt_loop_functions() : SimTime(0), MaxSimTime(0), TicksPerSecond(0), ResourceDensityDelay(0), RandomSeed(0), ...
/*========================================================================= Program: ToolCursor Module: vtkRotateCameraTool.cxx Copyright (c) 2010 <NAME> All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR ...
#define _GNU_SOURCE #include <dlfcn.h> #include <elf.h> #include "pt_parser.hpp" extern "C" { #include "intel-pt.h" } #include <link.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <inttypes.h> #include <errno.h> #include <iostream> #include <map> #include <mutex> #include <unordered_map> #in...
/* * * \class StFgtRawMaker * \author <NAME> (<EMAIL>) based on StFgtComsicReader, * v1.15 written by <NAME> (<EMAIL>) * * See header for description. * */ #include "StFgtRawDaqReader.h" #include "StRoot/StEvent/StEvent.h" #include "StRoot/StFgtPool/StFgtCosmicTestStandGeom/StFgtCosmicTestStandGeom.h" #includ...
#include "ofApp.h" #include "ofAppRunner.h" #include "ofColor.h" #include "ofGraphics.h" #include "ofLog.h" #include <climits> #include <string> //#define DEBUG_SHOWMOUSEPOS //#define DEBUG_NOLOADJAPANESE using namespace std; //-------------------------------------------------------------- void ofApp::s...
/* * Copyright (C) 2010-2019 <NAME> * http://www.1f0.de * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ve...
#include <numeric> #include "dcsr_matrix_multiplication.hpp" #include "dcsr_matrix_multiplication_hash.hpp" #include "../coo/coo_matrix_addition.hpp" #include "../coo/coo_utils.hpp" #include "../cl/headers/count_workload.h" #include "../cl/headers/prepare_positions.h" #include "../cl/headers/set_positions.h" #include "...
//===----------------------------------------------------------------------===// // // Author: <NAME> <<EMAIL>> // Copyright (c) 2018 Secure Systems Group, Aalto University <ssg.aalto.fi> // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------...
// OpenAIL - Open Android Indoor Localization // Copyright (C) 2015 <NAME> (<EMAIL>) // 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 a...
/* Name: STEP400_firmware.ino target: Arduino Zero (Native USB port) Created: 2020/12/03 10:24:41 Author: kanta */ #include <Arduino.h> #include "wiring_private.h" // pinPeripheral() function #include <SPI.h> #include <Ethernet.h> #include <SD.h> #include <OSCMessage.h> // https://github.com/CNMAT/OSC #in...
/** This tool will merge multiple .fnt BMF files into one .atl ATL file, which serves as an atlas for our Add-on Loader font. The ATL file is a combination of an RGBA PNG file with some additional information before the image data as header. It assumes the input texture files are RGBA. Anything else than that causes u...
/** * @file llxmlrpctransaction.cpp * @brief LLXMLRPCTransaction and related class implementations * * $LicenseInfo:firstyear=2006&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it un...
/*************************************************************************** * * monetary.cpp * * $Id$ * *************************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file ...
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKcommon * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
#include <fstream> #include <cstdlib> #include <tuple> #include <types.h> #include <send.h> #include "vm.h" #include <plot.h> namespace mp = boost::multiprecision; using namespace std; std::map<std::pair<Exp*, Exp*>, Sexp> globalCache_; map<bint, Sexp> numMap; Sexp num(bint num) { if (num < -1024 && num > 1024...
//===--- RCIdentityAnalysis.cpp -------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
//-------------------------------------------------------------------------------------- // File: Mouse.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // http://go.microsoft.com/fwlink/?LinkId=248929 // http://go.microsoft.com/fwlink/?LinkID=615561 //----------...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/* * The MIT License (MIT) * * Copyright (c) 2022 <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,...
/* * Input configuration modal * TODO: Rename source file */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <errno.h> #include <unistd.h> #include <algorithm> #include <regex> #include <string> #include <vector> #include <GL/gl3w.h> #include <SDL2/SDL.h> #include "imgui....
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file textEncoder.cxx * @aut...
#include "BVHOptimizer.h" #include "Config.h" #include "Core/IO.h" #include "Core/Array.h" #include "Core/MinHeap.h" #include "Core/Timer.h" #include "Core/Random.h" #include "Core/Allocators/LinearAllocator.h" #include "Util/Util.h" // Calculates the SAH cost of a whole tree static float bvh_sah_cost(const BVH2 & ...
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #pragma once #include "absl/container/flat_hash_set.h" //#include "absl/container/inlined_vector.h" #include "cell.hpp" #include "hierarchy.hpp" #include "lconst.hpp" #include "lgraph_base_core.hpp" #include "mmap_map.hpp" #include ...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GpuTimer.h" #include "GrContextFactory.h" #include "SkGr.h" #include "SkCanvas.h" #include "SkCommonFlags.h" #include "SkCommonFlagsGpu.h" #include "SkOSFile.h" #in...
/*! @file @brief キーボードマクロ @author <NAME> @date 20011229 aroka バグ修正、コメント追加 YAZAKI 組替え */ /* Copyright (C) 1998-2001, <NAME> Copyright (C) 2001, aroka Copyright (C) 2002, YAZAKI, aroka, genta Copyright (C) 2004, genta This source code is designed for sakura editor. Please contact the copyright holder to use...
#include <sstream> #include "OneVsOneAIModule.h" #include "BroodwarPrinter.h" #include "LogWriter.h" using namespace BWAPI; bool analyzed; bool analysis_just_finished; BWTA::Region* home; BWTA::Region* enemy_base; // LOGGING LogWriter gLog( "QLearning_v1.log" ); TableWriter gTable( "QLearning_v1_1Vs1.csv" ); Table...
/*========================================================================= Program: Visualization Toolkit Module: vtkOSPRayVolumeMapperNode.cxx Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is ...
/* * Author: <NAME> * * This code controls our GPS sensor and ensures we get samples at around 1 Hz. * * Future development: * - Configure GPS to increase baud rate from 9600 and reduce the amount of NMEA messages sent to just GGA and VTG * - Make the GGA and VTG messages use GP instead of GN * * ...
// // normal_esti_coarse2fine_ps.cpp // pm_stereo // // Created by KaiWu on Sep/9/16. // Copyright © 2016 KaiWu. All rights reserved. // #include "normal_esti_coarse2fine_ps.hpp" // OV_tar_ind is not used void esti_norm(MatrixXd &OV_tar, vector<MatrixXd> &OV_ref, VectorXi &OV_tar_ind, vector<VectorXi> &OV_ref_ind...
// ********************************************************************** // @@@ 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....
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
/* Servo.cpp - Interrupt driven Servo library for Arduino using 16 bit timers- Version 2 Copyright (c) 2009 <NAME>. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; e...
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkCodec.h" #include "SkJpegCodec.h" #include "SkJpegDecoderMgr.h" #include "SkJpegUtility_codec.h" #include "SkCodecPriv.h" #include "SkColorPriv.h" #include "SkScan...
/**************************************************************************** * * Copyright (c) 2022 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. Redistri...
#include <USB_MSD.h> //extern CDCACM uSerial; uint16_t USB_MSD::getDescriptorLength() { return 9 + 7 + 7; } uint8_t USB_MSD::getInterfaceCount() { return 1; } bool USB_MSD::getStringDescriptor(uint8_t __attribute__((unused)) idx, uint16_t __attribute__((unused)) maxlen) { return false; } ...
// -*- C++ -*- // // Package: HcalTestBeam // Class : HcalTB02Analysis // // Implementation: // Main analysis class for Hcal Test Beam 2002 Analysis // // Original Author: // Created: Sun May 21 10:14:34 CEST 2006 // // system include files #include <cmath> #include <iostream> #include <iomanip> ...
/* * Copyright 2018 Humdinger * Copyright 2017-2018 Owen * Copyright 2009-2017 <NAME> * Copyright 2014-2016 <NAME> * Copyright 2013 Luke (noryb009) * Based on BeVexed by DarkWyrm Copyright 2007-2009 * * Distributed under terms of the MIT License. * */ #include "MainWindow.h" #include <View.h> #...
/** \file basilisk_c.cpp * Main basilisk compiler executable, combining the whole process from a source file to an object file. * * \author <NAME> */ #include <basilisk/config.h> #include <basilisk/Lexer.h> #include <basilisk/Tokens.h> #include <basilisk/Parser.h> #include <basilisk/AST.h> #include <basilisk/AST_u...
#include "altruct/algorithm/math/primes.h" #include "altruct/structure/math/polynom.h" #include <algorithm> #include <vector> #include <map> #include "gtest/gtest.h" using namespace std; using namespace altruct::math; TEST(primes_test, primes_pq) { int n = 30; vector<int> vp(n); vector<c...
#include "TopQuarkAnalysis/TopTools/interface/JetPartonMatching.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include <Math/VectorUtil.h> JetPartonMatching::JetPartonMatching(const std::vector<const reco::Candidate*>& p, const std::vector<reco::GenJet>& j, ...
/*-------------------------------------------------------------------------------------- DMD.cpp - Function and support library for the Freetronics DMD, a 512 LED matrix display panel arranged in a 32 x 16 layout. Copyright (C) 2011 <NAME> (info <at> freetronics <dot> com) Note that the DMD library use...
/* * Copyright (C) 2007 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...
/* * Cloud9 Parallel Symbolic Execution Engine * * Copyright (c) 2011, Dependable Systems Laboratory, EPFL * 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...
#include <ros/ros.h> #include <ros/package.h> #include <sensor_msgs/PointCloud2.h> #include <sensor_msgs/Image.h> #include <sensor_msgs/image_encodings.h> #include <sensor_msgs/CameraInfo.h> #include <angles/angles.h> #include <geometry_msgs/PoseStamped.h> #include <tf/transform_datatypes.h> #include <tf/tf.h> #inclu...
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
// Copyright (c) 2014-2020 <NAME> // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <names/main.h> #include <chainparams.h> #include <coins.h> #include <consensus/validation.h> #include <dbwrapper.h> #include <hash.h> #i...
/*****************************************************************************/ /** * @file ColorPalette.cpp * @author <NAME> */ /*****************************************************************************/ #include "ColorPalette.h" #include <kvs/HSVColor> #include <kvs/String> #include <kvs/EventBase> #includ...
/** \file * * \author <NAME> - INFN Legnaro <<EMAIL>> */ /* This Class Header */ #include "RecoLocalMuon/DTSegment/src/DTLinearFit.h" /* Collaborating Class Header */ /* C++ Headers */ #include <cmath> using namespace std; /* ====================================================================== */ /// Construc...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein is * confidential and proprietary to MediaTek Inc. and/or its licensors. Without * the prior written permission of MediaTek inc. and/or ...
/* * 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...
#include <fstream> #include <boost/asio/io_context.hpp> #include <boost/asio/ip/tcp.hpp> #include <boost/asio/connect.hpp> #include <boost/filesystem.hpp> #include <boost/beast/core/error.hpp> #include <boost/beast/websocket.hpp> #include <boost/exception/all.hpp> #include <boost/archive/text_oarchive.hpp> #include <bo...
#include "TerrainFilter.h" CTerrainFilter::CTerrainFilter() : size_grid(0), Disk_Radius(0), Height_Difference_Threshold(0) { Block_Process_Obj = new CBlockProcessor(); } CTerrainFilter::CTerrainFilter(const char * input_file_name, double grid_size, int disk_radius, double height_difference) : size_gri...
/************************************************************** * * 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...
// Copyright (c) 2019-2021, Lawrence Livermore National Security, LLC and // other Serac Project Developers. See the top-level LICENSE file for // details. // // SPDX-License-Identifier: (BSD-3-Clause) #include "serac/numerics/mesh_utils.hpp" #include <fstream> #include "axom/core.hpp" #include "fmt/fmt.hpp" #inclu...
// This file is part of the dune-xt-common project: // https://github.com/dune-community/dune-xt-common // Copyright 2009-2018 dune-xt-common developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://o...