text
stringlengths
54
60.6k
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: urltransformer.cxx,v $ * * $Revision: 1.15 $ * * last change: $Author: rt $ $Date: 2007-04-03 13:50:24 $ * * The Contents of this file ar...
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum 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 3 of the License, or (at your option) any later version. cpp-ethereum is dis...
<commit_before>// // AmstradCPC.cpp // Clock Signal // // Created by Thomas Harte on 30/07/2017. // Copyright © 2017 Thomas Harte. All rights reserved. // #include "StaticAnalyser.hpp" #include "../../Storage/Disk/Parsers/CPM.hpp" #include "../../Storage/Disk/Encodings/MFM.hpp" static bool strcmp_insensitive(con...
<commit_before>// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/third_party/quiche/src/quic/core/quic_connection_id.h" #include <cstddef> #include <cstdint> #include <cstring> #include <io...
<commit_before>#include <string> #include <errno.h> #include <fcntl.h> #include <math.h> #include <unistd.h> #include <boost/format.hpp> #include <SDL2/SDL.h> static const int WIDTH = 32 * 6; static const int HEIGHT = 64 * 3; static const int WHEEL_DIA = 16; static const int TIMEOUT = 30...
<commit_before>#include "mdist.hpp" #include <cstdlib> TilesMdist::TilesMdist(FILE *in) : Tiles(in) { initmd(); initincr(); } TilesMdist::State TilesMdist::initialstate(void) { State s; s.h = 0; for (unsigned int i = 0; i < Ntiles; i++) { if (init[i] == 0) s.b = i; else s.h += md[init[i]][i]; s.ts[i]...
<commit_before>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2012 Belledonne Communications SARL. This program 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 Software Foundation, either...
<commit_before>#include "openmc/source.h" #if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) #define HAS_DYNAMIC_LINKING #endif #include <algorithm> // for move #ifdef HAS_DYNAMIC_LINKING #include <dlfcn.h> // for dlopen, dlsym, dlclose, dlerror #endif #include <fmt/core.h> #include "xtensor/xada...
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string.h> #include "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h" #include "chrome/browser/chromeos/bluetooth/test/...
<commit_before>#include <cstdlib> #include "cpu.hpp" #include "../opcodes.hpp" CPU::CPU() : pc(0), mem_size(0), memory(NULL), flags({false,false,false,false}), extension({NULL}) {} CPU::~CPU() { free(this->memory); } bool CPU::Initialize(u32 mem_size) { if ((this->memory = (u32 *)calloc(mem_size, sizeof(u32))))...
<commit_before>#include <cstdlib> #include <cstring> #include "cpu.hpp" #include "../conversion.hpp" #include "../opcodes.hpp" #define VALIDATE_ARGS(val1, val2)\ VALIDATE_ARG(val1)\ VALIDATE_ARG(val2) #define VALIDATE_ARG(value)\ {\ if (((value) & ~0x80) > 0x12)\ return ERR_INVALID_ARG;\ } #define VALIDATE_PC()\...
<commit_before><commit_msg>added range operator (start, end) for contour<commit_after><|endoftext|>
<commit_before>/* * 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 * "Li...
<commit_before>// // LayerBuilder.cpp // G3MiOSSDK // // Created by Mari Luz Mateo on 21/12/12. // // #include "LayerBuilder.hpp" #include "LevelTileCondition.hpp" #include "LayerSet.hpp" LayerSet* LayerBuilder::createDefaultSatelliteImagery() { LayerSet* layerSet = new LayerSet(); WMSLayer* blueMarble = ne...
<commit_before><commit_msg>Automated merge with http://hg.secondlife.com/viewer-development<commit_after><|endoftext|>
<commit_before>#pragma once #include <vector> #include "depthai-shared/common/CameraBoardSocket.hpp" #include "depthai-shared/common/Point3f.hpp" namespace dai { struct Extrinsics { std::vector<std::vector<float>> rotationMatrix; /** * (x, y, z) pose of destCameraSocket w.r.t currentCameraSocket obtai...
<commit_before>/*------------------------------------------------------------------------- * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2018 Advanced Micro Devices, Inc. * Copyright (c) 2018 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
<commit_before>// Copyright (C) 2010-2013 Joshua Boyce. // See the file COPYING for copying permission. #pragma once #include <cstddef> #include <iosfwd> #include <memory> #include <ostream> #include <string> #include <utility> #include <windows.h> #include <winnt.h> #include <hadesmem/config.hpp> #...
<commit_before><commit_msg>Added missing <limits> header<commit_after><|endoftext|>
<commit_before>#ifndef SIMDIFY_STRUCTURE_OF_ARRAYS #define SIMDIFY_STRUCTURE_OF_ARRAYS #include "../simdify.hpp" #include "../containers.hpp" #include "../util/inline.hpp" #include "named_array.hpp" namespace simd { template <typename Simd_t, id... Ids> struct structure_of_arrays; template <typename Mm_t...
<commit_before> #ifndef INTERCOM_CPP_POSIX_IUNKNOWN_H #define INTERCOM_CPP_POSIX_IUNKNOWN_H #include "../callingconvention.hpp" #include "../datatypes.hpp" #include "../error_codes.hpp" #include "../guiddef.hpp" // MIDL_INTERFACE("00000000-0000-0000-C000-000000000046") struct ISupportErrorInfo { public: virtual...
<commit_before>/* Copyright 2002-2013 CEA LIST This file is part of LIMA. LIMA 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 Software Foundation, either version 3 of the License, or (at your option) ...
<commit_before>// ConfigFile.cpp #include "ConfigFile.h" using std::string; ConfigFile::ConfigFile( string filename, string delimiter, string comment, string sentry ) : myDelimiter(delimiter), myComment(comment), mySentry(sentry) { // Construct a ConfigFile, getting keys and value...
<commit_before>#ifndef MJOLNIR_POTENTIAL_GLOBAL_EXCLUDED_VOLUME_POTENTIAL_HPP #define MJOLNIR_POTENTIAL_GLOBAL_EXCLUDED_VOLUME_POTENTIAL_HPP #include <mjolnir/forcefield/global/ParameterList.hpp> #include <mjolnir/core/ExclusionList.hpp> #include <mjolnir/core/System.hpp> #include <mjolnir/math/math.hpp> #include <algo...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 * * (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before>#include "lexerTest.h" #include <QtCore/QDebug> #include <plugins/generationRulesTool/tokenTypes.h> using namespace qrTest; void LexerTest::SetUp() { mErrors.clear(); mLexer.reset(new simpleParser::Lexer(mErrors)); } void LexerTest::TearDown() { mErrors.clear(); } TEST_F(LexerTest, lexerTestForF...
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "xwalk/extensions/renderer/xwalk_extension_module.h" #include "...
<commit_before>/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2018 INRIA. * * 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 L...
<commit_before> #include <iterator> #include "Representations/Infrastructure/JointData.h" #include "Tools/Math/Common.h" #include "PlatformInterface/Platform.h" #include "Tools/Debug/NaoTHAssert.h" #include "Messages/Framework-Representations.pb.h" #include <google/protobuf/io/zero_copy_stream_impl.h> using...
<commit_before>// StoryMaster Simulator // Bryan DeGrendel (c) 2014 // // See LICENSE for licensing information. // // simulator.cpp - Main file for the sample StoryMaster simulator. #include <cstdlib> #include <cstdio> #include <iostream> #include <storymaster.h> using namespace std; int main(int argc, const char...
<commit_before>// // (c) Copyright 2017 DESY,ESS // // This file is part of h5cpp. // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; either version 2.1 of the License, or // (at your ...
<commit_before>/************************************************************************* * * $RCSfile: so_main.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2004-08-20 10:08:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/* addcontactwizard.cpp - Kopete's Add Contact Wizard Copyright (c) 2002 by Nick Betcher <[email protected]> Copyright (c) 2002 by Duncan Mac-Vicar Prett <[email protected]> Kopete (c) 2002 by the Kopete developers <[email protected]> **********************************...
<commit_before>#ifndef __MODEL_CLIENT_HPP__ #define __MODEL_CLIENT_HPP__ #include <map> #include <boost/shared_ptr.hpp> #include "urdf/model.h" #include <lcm/lcm.h> #include "lcmtypes/model_pub_robot_urdf_t.h" #include <fstream> class ModelClient { public: ModelClient (lcm_t* lcm_, int keep_updated); Mod...
<commit_before>/* * Copyright (C) 2012-2013 Matt Broadstone * Contact: http://bitbucket.org/devonit/qjsonrpc * * This file is part of the QJsonRpc Library. * * 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...
<commit_before>#include <ecl/thread/semaphore.hpp> #include <array> #include <thread> #include <atomic> #include <algorithm> #include <functional> #include <CppUTest/TestHarness.h> #include <CppUTest/CommandLineTestRunner.h> // Error code helper // TODO: move it to 'utils' headers and protect with check of // curren...
<commit_before>/* -*- Mode: C++; c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil -*- * * Quadra, an action puzzle game * Copyright (C) 1998-2000 Ludus Design * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
<commit_before>/*$Id$ * * This source file is a part of the Fresco Project. * Copyright (C) 2000 Stefan Seefeld <[email protected]> * http://www.fresco.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by t...
<commit_before>#ifndef _VKREF_HPP #define _VKREF_HPP /*------------------------------------------------------------------------- * Vulkan CTS Framework * -------------------- * * Copyright (c) 2015 Google Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and...
<commit_before>#include <cthun-agent/agent.hpp> #include <cthun-agent/errors.hpp> #include <cthun-agent/uuid.hpp> #include <cthun-agent/string_utils.hpp> #include <cthun-agent/external_module.hpp> #include <cthun-agent/modules/echo.hpp> #include <cthun-agent/modules/inventory.hpp> #include <cthun-agent/modules/ping.hpp...
<commit_before>/* Copyright (c) 2006, MassaRoddel, Arvid Norberg 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 ...
<commit_before>#include "cmm_socket_receiver.h" #include "cmm_socket_sender.h" #include <pthread.h> #include "debug.h" #include <vector> using std::vector; class ReadyIROB { public: bool operator()(PendingIROB *pi) { assert(pi); PendingReceiverIROB *pirob = static_cast<PendingReceiverIROB*>(pi); ...
<commit_before>// Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // /...
<commit_before>#include "EntityManager.hpp" #ifndef KENGINE_MAX_SAVE_PATH_LENGTH # define KENGINE_MAX_SAVE_PATH_LENGTH 64 #endif #ifndef KENGINE_MAX_COMPONENT_NAME_LENGTH # define KENGINE_MAX_COMPONENT_NAME_LENGTH 64 #endif namespace kengine { Entity EntityManager::getEntity(Entity::ID id) { detail::ReadLock l(_e...
<commit_before>#include "common.h" #include "watcher.h" #include <stdlib.h> #include <stdio.h> #include <Psapi.h> #pragma comment (lib, "psapi.lib") namespace NodeJudger { #define EXCEPTION_WX86_BREAKPOINT 0x4000001F #define MAX_TIME_LIMIT_DELAY 200 const bool __WATCHER_PRINT_DEBUG = (GetEnvironmentVar("JU...
<commit_before>/* Generated automatically by ppremake 1.11 from Sources.pp. */ /* ################################# DO NOT EDIT ########################### */ #include "fmod_audio_composite1.cxx" <commit_msg>remove accidentally committed file<commit_after><|endoftext|>
<commit_before>#include <boost/function.hpp> #include <boost/assign/list_of.hpp> #include <boost/assert.hpp> #include <math.h> #include <moveit/robot_state/conversions.h> #include <moveit/trajectory_processing/iterative_time_parameterization.h> #include <moveit_cartesian_plan_plugin/generate_cartesian_path.h> #include...
<commit_before>/* Copyright 2007-2015 QReal Research Group * * 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 ap...
<commit_before> #include "Globals.h" #include "IncrementalRedstoneSimulator.h" #include "../../Chunk.h" #include "CommandBlockHandler.h" #include "DoorHandler.h" #include "RedstoneTorchHandler.h" #include "RedstoneWireHandler.h" #include "RedstoneRepeaterHandler.h" #include "RedstoneToggleHandler.h" #include "SolidB...
<commit_before>// Copyright (c) 2011-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/bitcoin-config.h" #endif #include "askpassphrasedialog.h" #includ...
<commit_before>#include <iostream> #include <string> #include <sstream> #include "ladybug.h" #include "ladybugstream.h" #include <stdexcept> #include <unistd.h> #include <signal.h> #include <ros/ros.h> #include <sensor_msgs/image_encodings.h> #include <sensor_msgs/Image.h> #include <sensor_msgs/CameraInfo.h> #include...
<commit_before>/** @file Implementation of the Layout class. @section license License 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 licen...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // // File Stdexpansion.cpp // // For more information, please see: http://www.nektar.info // // The MIT License // // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA), // Department of Aeronautics, ...
<commit_before>#include <QMessageBox> #include <iostream> #include <QByteArray> #include "ltr_gui.h" #include "webcam_ft_prefs.h" #include "wc_driver_prefs.h" #include "webcam_info.h" #include "ltr_gui_prefs.h" static QString currentId = QString("None"); static QString currentSection = QString(); void WebcamFtPrefs:...
<commit_before>#include <cstdlib> #include <cstring> #include "cpu.hpp" #include "../conversion.hpp" #include "../opcodes.hpp" #define VALIDATE_ARGS(val1, val2)\ VALIDATE_ARG(val1)\ VALIDATE_ARG(val2) #define VALIDATE_ARG(value)\ {\ if (((value) & ~0x80) > 0x12)\ return ERR_INVALID_ARG;\ } #define VALIDATE_PC()\...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // // File: testNekMatrix.cpp // // For more information, please see: http://www.nektar.info // // The MIT License // // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA), // Department of Aeronautics...
<commit_before>#include <cstdlib> #include <iostream> #include "dla.hpp" int main(int argc, char *argv[]) { int grid_width = std::atoi(argv[1]); int grid_height = std::atoi(argv[2]); char *outfile = argv[3]; Dla dla = Dla(grid_width, grid_height, true); dla.simulate(); //dla.print_grid(); d...
<commit_before>#include <QtGui> #include <QApplication> #include <QDesktopServices> #include <QFileDialog> #include <QFormLayout> #include <QHBoxLayout> #include <QSpacerItem> #include <QProcess> #include <QNetworkRequest> #include <QNetworkReply> #include "window.h" #include "screenshot.h" #include "upload.h" QStrin...
<commit_before>#include <cstdlib> #include <iostream> #include "dla.hpp" void print_usage(); int main(int argc, char *argv[]) { if (argc < 4) { print_usage(); exit(0); } int grid_width = std::atoi(argv[1]); int grid_height = std::atoi(argv[2]); char *outfile = argv[3]; Dla dl...
<commit_before>// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/raw_object_fields.h" namespace dart { #if defined(DART_PRECOMPILER) #def...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2013 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Lic...
<commit_before>// Copyright 2010-2012 RethinkDB, all rights reserved. #include "rdb_protocol/stream.hpp" #include "btree/keys.hpp" #include "rdb_protocol/ql2.hpp" #include "rdb_protocol/transform_visitors.hpp" namespace query_language { boost::shared_ptr<json_stream_t> json_stream_t::add_transformation(const rdb_pro...
<commit_before>// Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // /...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) // substr(m, n) // stoi(nnn) #include <complex> #include <tuple> // get<n>(xxx) #include <queue> #include <st...
<commit_before>/* * Copyright (c) 2011, Ben Noordhuis <[email protected]> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS ...
<commit_before>/** * ros_control node for commanding K.H.A.N. via Python * \author: Jason Ziglar <[email protected]> * \date: 10/28/2015 */ #include "khan_control/KHANHWInterface.h" #include <ros/ros.h> #include <controller_manager/controller_manager.h> controller_manager::ControllerManager* CM = NULL; khan::KHANHWInter...
<commit_before>/* * IceWM * * Copyright (C) 1997-2003 Marko Macek * * Dialogs */ #include "config.h" #include "ylib.h" #include "wmabout.h" #include "yprefs.h" #include "prefs.h" #include "wmapp.h" #include "wmframe.h" #include "sysdep.h" #include "WinMgr.h" #include "intl.h" AboutDlg::AboutDlg(): YDialog() {...
<commit_before>//======================================================================= // Copyright (c) 2013-2014 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>#include <build-bot/worker.h> #include <boost/algorithm/string.hpp> #include <boost/filesystem.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ini_parser.hpp> #include <boost/random/random_device.hpp> #include <boost/random/uniform_int_distribution.hpp> #include <boost/proce...
<commit_before>#include "Scene.h" #include"ObjectBehaviour.h" namespace AEngine::Game { void Scene::OnInit() { for (var i : m_objects) { i->OnInit(); } } void Scene::OnUpdate() { } void Scene::OnRelease() { for (var i : m_objects) { RemoveObject(dynamic_cast<GameObject*>(dynamic_cast<ObjectBe...
<commit_before>#include <sstream> #include <pcl/features/fpfh.h> #include <pcl/io/pcd_io.h> #include <pcl/keypoints/uniform_sampling.h> #include <pcl/registration/icp.h> #include <pcl/registration/ia_ransac.h> #include <pcl/common/time.h> #include "proctor/detector.h" #include "proctor/proctor.h" #include "proctor/ia...
<commit_before>#include "Engine.h" #include "Game.h" #include "ObjectDummy.h" #include "BodyRigid.h" #include "BodyDummy.h" #include "Physics.h" #include "ShapeCapsule.h" #include "ActorBase.h" #include "Visualizer.h" #include "sys/SysControl.h" using namespace MathLib; #ifdef MEMORY_INFO #define new new(__FILE__, _...
<commit_before>#include "Advertisement.h" Advertisement::Advertisement(void) { path = "advertisement.txt"; } Advertisement::~Advertisement(void) {}; string Advertisement::getAd(void) { int numLines = 0; string line; ifstream file(path.c_str()); //count number of lines while (getline(file, line)) ...
<commit_before>/* This file is part of the Vc library. Copyright (C) 2010 Matthias Kretz <[email protected]> Vc is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the Lic...
<commit_before>#include <common/buffer.h> #include <ssh/ssh_algorithm_negotiation.h> #include <ssh/ssh_mac.h> #include <ssh/ssh_session.h> namespace { struct ssh_mac_algorithm { const char *rfc4250_name_; CryptoMAC::Algorithm crypto_algorithm_; unsigned size_; }; static const struct ssh_mac_algorithm ssh_ma...
<commit_before>#include <dlfcn.h> #include <cstdio> #include <cstring> #include <unistd.h> #include <cstdlib> #include <iostream> #include <fstream> #include <vector> #include <array> #include <string> #define cursor_forward(x) printf("\033[%dC", static_cast<int>(x)) #define cursor_backward(x) printf("\033[%dD", stat...
<commit_before>//===- ReaderWrappers.cpp - Parse bytecode from file or buffer -----------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>//===- MachineCopyPropagation.cpp - Machine Copy Propagation Pass ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// (C) 2014 Arek Olek #include <iostream> #include <boost/graph/adjacency_list.hpp> #include "options.hpp" #include "test_suite.hpp" #include "timing.hpp" #include "bfs.hpp" #include "lost.hpp" using namespace std; typedef boost::adjacency_list< boost::hash_setS, boost::vecS, boost::undirectedS ...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Javier López-Gómez <[email protected]> // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or th...
<commit_before>/** @file A brief file description @section license License 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 fi...
<commit_before>/** * 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 * ...
<commit_before>//======================================================================= // Copyright (c) 2014-2016 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>// // Copyright (c) 2012 Kim Walisch, <[email protected]>. // All rights reserved. // // This file is part of primesieve. // Homepage: http://primesieve.googlecode.com // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following c...
<commit_before>/* * Copyright (c) 2015 Intel Corporation. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your op...
<commit_before>#pragma once #include <stdexcept> #include <string> #include <cassert> #define NEVER_INLINE __attribute__((noinline)) #define ALWAYS_INLINE __attribute__((always_inline)) #define UNUSED __attribute__((unused)) #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), ...
<commit_before>/* Copyright (C) 2004 by Jorrit Tyberghein (C) 2004 by Frank Richter This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License,...
<commit_before>/* * Salsa20 / XSalsa20 * (C) 1999-2010 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/salsa20.h> #include <botan/loadstor.h> #include <botan/rotate.h> #include <botan/internal/xor_buf.h> namespace Botan { namespace { /* * Generate HSalsa20 cipher stream (for XSals...
<commit_before>//---------------------------------------------------------------------------- /// \file mean_variance.hpp //---------------------------------------------------------------------------- /// This file contains classes used for calculating mean and /// variance. They are used mainly in unit tests. //-----...
<commit_before>//============================================================================== // Single cell simulation view simulation worker //============================================================================== #include "cellmlfileruntime.h" #include "coredaesolver.h" #include "corenlasolver.h" #...
<commit_before>/** * @file llsecapi_test.cpp * @author Roxie * @date 2009-02-10 * @brief Test the sec api functionality * * $LicenseInfo:firstyear=2009&license=viewergpl$ * * Copyright (c) 2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is prov...
<commit_before>//===-- XCoreISelDAGToDAG.cpp - A dag to dag inst selector for XCore ------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===- ConstantProp.cpp - Code to perform Simple Constant Propagation -----===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 The Apache Software Foundation. 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. Redi...
<commit_before>//===----------------------------------------------------------------------===// // // 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 // //===------------...
<commit_before>///////////////////////////////////// // This C code is a companion to the paper // ///////////////////////////////////// // // this code will hash strings of 64-bit characters. To use on // strings of 8-bit characters, you may need some adequate padding. // #include <cassert> #include <cinttypes> #incl...
<commit_before>#include <boost/pointer_cast.hpp> #include "messageStream.h" using namespace watcher; using namespace watcher::event; using namespace std; INIT_LOGGER(MessageStream, "MessageStream"); MessageStream::MessageStream(const string &serverName_, const Timestamp &startTime_, const float streamRate_) : m...
<commit_before>// Composes two transform sets. // Output transform is the result of applying the first input transform, followed by the second. #include <assert.h> #include "itkTransformFileReader.h" #include "itkTransformFileWriter.h" #include "itkTransformFactory.h" #include "itkMatrixOffsetTransformBase.h" #inclu...