text
stringlengths
54
60.6k
<commit_before>#include <iostream> #include <iomanip> #include "Point.hpp" #include "TimeHelpers.hpp" const double tolerance = 0.00001; const size_t malla = 10000; using Row = vector<real>; using Matrix = vector<Row>; class Mu { public: Mu(size_t n) : m_M(n,Row(n,0)) { } real operator()(size_t x, size_t y) c...
<commit_before>f79b1874-585a-11e5-8dae-6c40088e03e4<commit_msg>f7a206e6-585a-11e5-a1f8-6c40088e03e4<commit_after>f7a206e6-585a-11e5-a1f8-6c40088e03e4<|endoftext|>
<commit_before>#include "serial.h" speed_t baud = 4800; std::string port = "/dev/ttyUSB0"; Serial gps(baud, port); void readGPS() { for(int i = 0; i < 4; ++i) { gps.serialRead(); std::cout << "Sentence: " << gps.getData() << std::endl; } } void printConfig() { termios cur_config = gps.getConfig(); std::cout ...
<commit_before>eaf77bf8-585a-11e5-8d37-6c40088e03e4<commit_msg>eafe6fd0-585a-11e5-8e99-6c40088e03e4<commit_after>eafe6fd0-585a-11e5-8e99-6c40088e03e4<|endoftext|>
<commit_before>#include <iostream> #include <memory> #include <fstream> #include "Game/Game.h" #include "Game/Board.h" #include "Moves/Move.h" #include "Players/Genetic_AI.h" #include "Players/Human_Player.h" #include "Players/Random_AI.h" #include "Players/Outside_Player.h" #include "Genes/Gene_Pool.h" #include "...
<commit_before>51c850e1-2e4f-11e5-bf32-28cfe91dbc4b<commit_msg>51cf0835-2e4f-11e5-8dfb-28cfe91dbc4b<commit_after>51cf0835-2e4f-11e5-8dfb-28cfe91dbc4b<|endoftext|>
<commit_before>66fb6914-2fa5-11e5-b8bb-00012e3d3f12<commit_msg>66fd8bf4-2fa5-11e5-a5f4-00012e3d3f12<commit_after>66fd8bf4-2fa5-11e5-a5f4-00012e3d3f12<|endoftext|>
<commit_before>8c3d208f-2d14-11e5-af21-0401358ea401<commit_msg>8c3d2090-2d14-11e5-af21-0401358ea401<commit_after>8c3d2090-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>90a5ffb0-ad58-11e7-a2af-ac87a332f658<commit_msg>Initial commit.13<commit_after>9108495e-ad58-11e7-a8f5-ac87a332f658<|endoftext|>
<commit_before>49b206d8-5216-11e5-8b78-6c40088e03e4<commit_msg>49b8e9f6-5216-11e5-8154-6c40088e03e4<commit_after>49b8e9f6-5216-11e5-8154-6c40088e03e4<|endoftext|>
<commit_before>2c770621-2748-11e6-8361-e0f84713e7b8<commit_msg>Did a thing<commit_after>2c81bb75-2748-11e6-9150-e0f84713e7b8<|endoftext|>
<commit_before>4696e450-5216-11e5-8173-6c40088e03e4<commit_msg>469e321c-5216-11e5-a4fc-6c40088e03e4<commit_after>469e321c-5216-11e5-a4fc-6c40088e03e4<|endoftext|>
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>#include <SDL2/SDL.h> #ifdef main #undef main #endif #include "cudaray.h" #include <vector> #ifdef HAVE_OPENMP #include <omp.h> #endif static float rnd() { static long a = 3; a = (((a * 214013L + 2531011L) >> 16) & 32767); return (((a % 65556) + 1)) / 65556.0f; } struct t_light_aux { ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: MNameMapper.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-08 06:29:03 $ * * The Contents of this file are ma...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * inc...
<commit_before>/************************************************************************* * * $RCSfile: MNameMapper.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hjs $ $Date: 2004-06-25 18:33:16 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>/* * Copyright (c) 2021, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * ...
<commit_before>// Copyright (c) 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/legacy_quic_stream_id_manager.h" #include "net/third_party/quiche/src/quic/core/quic_ses...
<commit_before>/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkArenaAlloc.h" #include "SkAutoBlitterChoose.h" #include "SkComposeShader.h" #include "SkDraw.h" #include "SkNx.h" #include "SkPM4fPriv.h" #include "...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_...
<commit_before>//Author: Christopher Lee Hiles //2015-02-13 //Entry point example for the ToyTetragraphHash class. //Hashes a string and returns the hash. //Basically: //The idea is to use consume a string to repeatedly fill in a set sized grid with characters that are converted to ints. //round 1: //A vector takes the...
<commit_before>#include <gbBase/Log.hpp> #include <gbBase/Assert.hpp> #include <gbBase/LogHandlers.hpp> #include <boost/predef.h> #if BOOST_COMP_MSVC #pragma warning(push) #pragma warning(disable: 4146 4244) #endif #include <hinnant_date/date.h> #if BOOST_COMP_MSVC #pragma warning(pop) #endif #include <atomic> #incl...
<commit_before>/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkPictureShader.h" #include "SkBitmap.h" #include "SkBitmapProcShader.h" #include "SkCanvas.h" #include "SkImage.h" #include "SkImageGenerator.h" #in...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the ...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>/* libs/graphics/sgl/SkScan_AntiPath.cpp ** ** Copyright 2006, 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.apach...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999 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. Redistri...
<commit_before>#include <cmath> #include <cstring> #include <iostream> #include <set> #include <stdio.h> #include <stdlib.h> #include "../include/oasis.h" #if defined(_MSC_VER) #include "../wingetopt/wingetopt.h" #else #include <unistd.h> #endif namespace validatevulnerability { inline bool ProbabilityCheck(float...
<commit_before>// Requires Adafruit_ASFcore library! // Be careful to use a platform-specific conditional include to only make the // code visible for the appropriate platform. Arduino will try to compile and // link all .cpp files regardless of platform. #if defined(ARDUINO_ARCH_SAMD) #include <sam.h> #include "Wat...
<commit_before>/************************************************************************* * * $RCSfile: stl_types.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: fs $ $Date: 2001-05-29 09:19:25 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: property.cxx,v $ * $Revision: 1....
<commit_before>// // Copyright (C) 2004-2006 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved. // Licensed to SIPfoundry under a Contributor Agreement. // // $$ /////////////////////////////////////////////////////////////////////////////...
<commit_before>/* This file is part of the KDE project Copyright (C) 2004-2007 Matthias Kretz <kretz@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. T...
<commit_before>#ifndef __STAN__MATH__ERROR_HANDLING__MATRIX__CHECK_SIMPLEX_HPP__ #define __STAN__MATH__ERROR_HANDLING__MATRIX__CHECK_SIMPLEX_HPP__ #include <sstream> #include <stan/math/matrix/Eigen.hpp> #include <stan/meta/traits.hpp> #include <stan/math/error_handling/dom_err.hpp> #include <stan/math/error_handling/...
<commit_before>/* * ReedSolomonDecoder.cpp * zxing * * Created by Christian Brunschen on 05/05/2008. * Copyright 2008 Google UK. 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 cop...
<commit_before>#include <SFML/Graphics.hpp> #include <fstream> #include <iostream> #include <string> #include "Map.h" #pragma once using namespace std; //Loads the map. Map::Map(){ size = 20; int blocks[][20] = { {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, {1,4,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,4,1}, {1,0,1,1,0,...
<commit_before>/*********************************************************************** created: Sat Jul 19 2014 author: Timotei Dolean <timotei21@gmail.com> *************************************************************************/ /***********************************************************************...
<commit_before>/** * PWM.hpp * * This header file contains the function definitions for the PWM class in * libbbbpwm. This class encapsulates the fileops needed to activate the PWM * interface on the BeagleBone Black running the 3.8 kernel. * * Copyright (C) 2014 Nathan Hui <ntlhui@gmail.com> (408.838.5393) * ...
<commit_before>//-------------------------------------------------------------------------- // // QUESO - a library to support the Quantification of Uncertainty // for Estimation, Simulation and Optimization // // Copyright (C) 2008,2009,2010,2011,2012,2013 The PECOS Development Team // // This library is free software...
<commit_before>/* * $Id$ * * Copyright(C) 1998-2004 Satoshi Nakamura * All rights reserved. * */ #include <qsencoder.h> #include <qsstl.h> #include <qstextutil.h> using namespace qs; /**************************************************************************** * * TextUtil * */ wxstr...
<commit_before>// infoware - C++ System information Library // // Written in 2017 by nabijaczleweli <nabijaczleweli@gmail.com> and ThePhD <phdofthehouse@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public doma...
<commit_before>/* * SessionFilesListingMonitor.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, *...
<commit_before>// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
<commit_before>/** * baseConvert.cpp * * Author: Patrick Rummage (patrickbrummage@gmail.com) * * Takes a positive number in decimal, binary, hex, or octal form and * converts the number to the other 3 forms. */ #include <iostream> using std::cin; using std::cout; int convertToDecimal(int base); void base...
<commit_before>// // Created by jannis on 01.09.18. // #include "../../platform.hpp" #ifdef NOVA_LINUX #include "x11_window.hpp" namespace nova { x11_window::x11_window(uint32_t width, uint32_t height) { display = XOpenDisplay(nullptr); if(display == nullptr) { throw window_creation_...
<commit_before>/* * Copyright (C) 2020 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 ...
<commit_before> /* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved. This file is part of Navitia, the software to build cool stuff with public transport. Hope you'll enjoy and contribute to this project, powered by Canal TP (www.canaltp.fr). Help us simplify mobility and open public...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/memory_details.h" #include "app/l10n_util.h" #include "base/file_version_info.h" #include "base/metrics/histo...
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/memory_details.h" #include <psapi.h> #include "base/file_version_info.h" #include "base/histogram.h" #in...
<commit_before>#include <TSR.h> #include <Eigen/Geometry> #include <ompl/util/RandomNumbers.h> #include <vector> using namespace or_ompl; TSR::TSR() : _initialized(false) { } TSR::TSR(const Eigen::Affine3d &T0_w, const Eigen::Affine3d &Tw_e, const Eigen::Matrix<double, 6, 2> &Bw) : _T0_w(T0_w), _Tw_e(Tw_e), _Bw(Bw...
<commit_before>/* RTcmix - Copyright (C) 2004 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ /* Write a basic .rtcmixrc file in the user's home directory. -JGG, 7/1/04 */ #include <Option.h> #include...
<commit_before>// Copyright (c) 2006-2008 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 provides the embedder's side of random webkit glue functions. #include "build/build_config.h" #if defined(OS_WIN) #...
<commit_before>/*========================================================================= * * Copyright David Doria 2012 daviddoria@gmail.com * * 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>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/lib/p9_avsbus_lib.H $ ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011-2012 Denis Shienkov <denis.shienkov@gmail.com> ** Copyright (C) 2011 Sergey Belyashov <Sergey.Belyashov@gmail.com> ** Copyright (C) 2012 Laszlo Papp <lpapp@kde.org> ** Contact: http://www.qt-project.org...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/perv/p9_start_cbs.C $ ...
<commit_before>// Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation ...
<commit_before> #include "temoto/preplanned_sequences/enable_compliance.h" // Enable compliance int enable_compliance::enable_compliance() { // Put the robot in force mode // This will be compliant in all directions with a target wrench of 0 std::vector<float> force_frame {0., 0., 0., 0., 0., 0.}; // A pose ...
<commit_before>/************************************************************************* * * $RCSfile: datasourceconnector.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: kz $ $Date: 2005-01-21 17:20:22 $ * * The Contents of this file are made available subject to the terms of * either of the foll...
<commit_before>#include "generator.h" #include "opcodes.h" #include "sections.h" #include <iostream> namespace ceos { std::stringstream &Generator::generate() { generateProgram(m_ast); m_output.seekg(0); return m_output; } void Generator::generateNode(std::shared_ptr<AST> node) { switch (node->...
<commit_before>#include <iostream> #include <unistd.h> #define LIMIT (unsigned int) 1E9 using namespace std; struct Task { unsigned int start; unsigned int end; double res; }; void *PartialLeibniz(void *task) { Task *myTask = (Task *) task; myTask->res = 0.0; for (auto i = myTask->start; i <...
<commit_before>/** * @license * Copyright 2021 William Silvermsith * 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 requir...
<commit_before>// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
<commit_before>#include <possumwood_sdk/node_implementation.h> #include <boost/filesystem.hpp> #include "datatypes/vertex_data.inl" #include "datatypes/font.h" #include <possumwood_sdk/datatypes/filename.h> namespace { dependency_graph::InAttr<std::string> a_text; dependency_graph::InAttr<possumwood::Font> a_font;...
<commit_before>// // Bareflank Extended APIs // // Copyright (C) 2015 Assured Information Security, Inc. // Author: Rian Quinn <quinnr@ainfosec.com> // Author: Brendan Kerrigan <kerriganb@ainfosec.com> // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Le...
<commit_before>/* * Copyright (C) 2009 Gregory Haynes <greg@greghaynes.net> * * 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 optio...
<commit_before>#include "static_controller.hpp" #include "file_system.hpp" #include "content_type_map.hpp" #include "router.hpp" #include "settings.hpp" #include <boost/algorithm/string.hpp> namespace msrv { StaticController::StaticController( Request* request, SettingsStore* store, const ContentTypeMap* ctmap) ...
<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 "remoting/protocol/libjingle_transport_factory.h" #include "base/callback.h" #include "base/single_thread_task_runner.h" #inc...
<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. Redistr...
<commit_before>/* * despot1_main.cpp * * Created by Tobias Wood on 23/01/2012. * Copyright 2012 Tobias Wood. All rights reserved. * */ #include <time.h> #include <getopt.h> #include <iostream> #include <atomic> #include <Eigen/Dense> #include "NiftiImage.h" #include "DESPOT.h" #include "DESPOT_Functors.h" #i...
<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 "net/third_party/quiche/src/spdy/core/spdy_header_block.h" #include <memory> #include <utility> #include "net/third_party/qu...
<commit_before>#include "Player.h" #include "SDL.h" #include "InputHandler.h" Player::Player(const LoaderParams* pParams) : SDLGameObject(pParams) { } void Player::draw() { SDLGameObject::draw(); //we now use SDLGameObject } void Player::update() { m_velocity.setX(0); m_velocity.setY(0); m_acceleration.setX(0...
<commit_before>#include <zombye/rendering/texture.hpp> namespace zombye { texture::texture(const gli::texture2D& texture) noexcept : width_{texture[0].dimensions().x}, height_{texture[0].dimensions().y} { glGenTextures(1, &id_); glBindTexture(GL_TEXTURE_2D, id_); // adapted from http://...
<commit_before>// $Id: mesh_data_unv_support.C,v 1.3 2003-05-22 09:39:58 spetersen Exp $ // The Next Great Finite Element Library. // Copyright (C) 2002 Benjamin S. Kirk, John W. Peterson // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (ivan.frade@nokia.com) ** ** This file is part of the QtSparql module (not yet part of the Qt Toolkit...
<commit_before>/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
<commit_before>/** \brief A tool for installing IxTheo and KrimDok from scratch on Ubuntu and Centos systems. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2016 Universitätsbiblothek Tübingen. All rights reserved. * * This program is free software: you can redistribu...
<commit_before>/** \brief Utility for two collections of MARC records. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2018 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the t...
<commit_before>#include "AppDelegate.h" #include "cocos2d.h" #include "SimpleAudioEngine.h" #include "ScriptingCore.h" #include "jsb_cocos2dx_auto.hpp" #include "jsb_cocos2dx_extension_auto.hpp" #include "jsb_cocos2dx_builder_auto.hpp" #include "jsb_cocos2dx_spine_auto.hpp" #include "jsb_cocos2dx_3d_auto.hpp" #include...
<commit_before>/* * Copyright (C) 2005 Tommi Maekitalo * * 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 option) any later version....
<commit_before>#include "pqrs/xml_compiler.hpp" namespace pqrs { xml_compiler::symbol_map::symbol_map(void) { clear(); } void xml_compiler::symbol_map::clear(void) { symbol_map_.clear(); symbol_map_["ConfigIndex::VK__AUTOINDEX__BEGIN__"] = 0; map_for_get_name_.clear(); } void xml_compiler::symbol_map::dump(...
<commit_before>/************************************************************************* * * $RCSfile: XMLConsolidationContext.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: sab $ $Date: 2001-02-28 08:19:33 $ * * The Contents of this file are made available subject to the terms of * either of the...
<commit_before>// Copyright Joshua Boyce 2010-2012. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // This file is part of HadesMem. // <http://www.raptorfactor.com/> <raptorfactor@raptorfactor.com> #inc...
<commit_before>/************************************************************************* * * $RCSfile: apinodeaccess.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: vg $ $Date: 2003-10-06 16:10:18 $ * * The Contents of this file are made available subject to the terms of * either of the following ...
<commit_before>#include <gtest/gtest.h> #include <stan/math/prim/mat.hpp> #include <limits> #include <string> #include <vector> template <typename T_x, typename T_sigma> std::string pull_msg(std::vector<T_x> x, T_sigma sigma) { std::string message; try { stan::math::gp_dot_prod_cov(x, sigma); } catch (std::d...
<commit_before>// Copyright (c) 2011 - 2018, GS Group, https://github.com/GSGroup // 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 PRO...
<commit_before>/** * Intrusive linked lists. * * An intrusive linked list uses link fields embedded directly in * objects as fields, much like how linked lists are often implemented * in C. As a result, adding an object to an intrusive linked list * requires no copying or allocation and is exception-safe. The ...
<commit_before>#include "../metaSMT/impl/_var_id.hpp" #include <boost/atomic.hpp> namespace metaSMT { namespace impl { unsigned new_var_id( ) { static boost::atomic_uint _id ( 0u ); ++_id; return _id; } } /* impl */ } /* metaSMT */ <commit_msg>workaround for the boost::...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/test_timeouts.h" #include "base/command_line.h" #include "base/logging.h" #include "base/string_number_conversions...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: emptyproperties.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-09 00:14:05 $ * * The Contents of this file ar...
<commit_before>/* * boost_input_utils.cc * * Created on: 12/12/14 * Author: Steven Wu * Modified DJW Aug-15 */ #include "utils/bamtools_fasta.h" #include "parsers.h" #include "boost_input_utils.h" void validate(boost::any& v, const vector<string>& values, nfreqs* target_type, int){ nfreqs result; ...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>/*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 d...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met:...
<commit_before>#include <gtest/gtest.h> #include <iostream> #include <fstream> #include <istream> #include <sstream> #include <exception> #include <stdexcept> #include <test/unit/gm/utility.hpp> TEST(gm_parser,eight_schools) { EXPECT_TRUE(is_parsable("src/models/misc/eight_schools/eight_schools.stan")); } TEST(gm_p...
<commit_before>/* * Adplug - Replayer for many OPL2/OPL3 audio file formats. * Copyright (C) 1999 - 2006 Simon Peter, <dn.tlp@gmx.net>, et al. * * 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...
<commit_before>/* * File: AizuJudger.cpp * Author: 51isoft * * Created on 2014年8月13日, 下午2:53 */ #include "AizuJudger.h" AizuJudger::AizuJudger(JudgerInfo * _info) : VirtualJudger(_info) { socket->sendMessage(CONFIG->GetJudge_connect_string() + "\nAizu"); language_table["1"] = "C++"; language_ta...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>/* * Copyright © 2012 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, mod...