text
stringlengths
54
60.6k
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * 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 ...
<commit_before>//===- PowerPCRegisterInfo.cpp - PowerPC Register Information ---*- C++ -*-===// // // 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>/*========================================================================= * * Copyright Insight Software Consortium * * 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 ...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007, 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>#pragma once #include "funcs/trid.h" #include "funcs/qing.h" #include "funcs/beale.h" #include "funcs/booth.h" #include "funcs/cauchy.h" #include "funcs/sphere.h" #include "funcs/matyas.h" #include "funcs/powell.h" #include "funcs/sargan.h" #include "funcs/colville.h" #include "funcs/zakharov.h" #includ...
<commit_before>// // Aspia Project // Copyright (C) 2020 Dmitry Chapyshev <dmitry@aspia.ru> // // 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 3 of the License, or // (at your ...
<commit_before><commit_msg>[mer] Allow creation of 'native' glyph nodes.<commit_after><|endoftext|>
<commit_before>/* * File: LocalExpansionCoeff.cpp * Author: matteo * * Created on April 3, 2015, 6:05 PM */ #include "local_expansion_coeff.h" #include "string.h" #include <iostream> using std::cout; using std::endl; LocalExpansionCoeff::LocalExpansionCoeff() { _p=0; _coeff= NULL; } LocalExpansionCoeff::...
<commit_before>#include "stdafx.h" #include "Stage.h" #include "SceneMgr.h" #include "RenderMgr.h" #include "Terrain.h" #include "TimeMgr.h" #include "ObjMgr.h" #include "Flower.h" #include "Player.h" #include "StaticObject.h" #include "Camera.h" #include "Info.h" #include "ResourcesMgr.h" #include "Frustum.h" CStage:...
<commit_before>/************************************************************************* * * $RCSfile: actiontriggerhelper.cxx,v $ * * $Revision: 1.1 $ * * last change: $Author: cd $ $Date: 2001-12-04 07:45:19 $ * * The Contents of this file are made available subject to the terms of * either of the foll...
<commit_before>// // Created by david on 2019-08-07. // #include <complex.h> #undef I #include <complex> #define lapack_complex_float std::complex<float> #define lapack_complex_double std::complex<double> #if __has_include(<mkl_lapacke.h>) #include <mkl_lapacke.h> #elif __has_include(<lapacke.h>) #include <la...
<commit_before> // A game fragment adapted from Andre La Mothe's book // Ported by Antonello Dettori // The Black Art of 3D Games Programming // Modified by CJM 24/9/'08 to run without error or warnings: // 1. hconsole - called TEXT( ) for parameter 1 // 2. added _ as prefix to deprecated kbhit() funct...
<commit_before>/* Copyright (C) 2013 David Edmundson (davidedmundson@kde.org) 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 you...
<commit_before>/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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...
<commit_before>// Copyright (c) 2016-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <policy/rbf.h> #include <util/rbf.h> RBFTransactionState IsRBFOptIn(const CTransaction& tx, const CT...
<commit_before>#pragma once #include "lubee/error.hpp" #include <unordered_set> #include <memory> namespace spi { template <class T, class F_Hash=std::hash<T>, class F_Cmp=std::equal_to<>> class Flyweight { private: using value_t = T; public: using SP = std::shared_ptr<const value_t>; private: struct ...
<commit_before>/* * LinkBasedFileLock.cpp * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero Gen...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
<commit_before>/** * \file * \brief SerialPort class implementation * * \author Copyright (C) 2016 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distrib...
<commit_before>// (C) Copyright Gennadiy Rozental 2001-2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ ...
<commit_before>/* * SessionRSConnect.cpp * * Copyright (C) 2009-14 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero Gene...
<commit_before>// recalibrate_main.cpp: mapping quality recalibration for GAM files #include <omp.h> #include <unistd.h> #include <getopt.h> #include <string> #include <sstream> #include <subcommand.hpp> #include "../alignment.hpp" #include "../vg.hpp" #include <vowpalwabbit/vw.h> using namespace std; using names...
<commit_before>#include "cbase.h" #include "ios_fieldbot.h" #include "sdk_player.h" #include "team.h" #include "in_buttons.h" LINK_ENTITY_TO_CLASS(ios_fieldbot, CFieldBot); ConVar bot_shootatgoal("bot_shootatgoal", "1"); void CFieldBot::BotThink() { if (m_vDirToBall.Length2D() > 25) BotRunToBall(); else BotSho...
<commit_before>/* * SessionUserPrefs.hpp * * Copyright (C) 2009-19 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero Gene...
<commit_before>// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. /** * @file File.cpp * @br...
<commit_before>#ifndef QRW_PATHFINDING_ASTAR_HPP #define QRW_PATHFINDING_ASTAR_HPP #include <set> #include <map> #include "engine/pathfinding/abstractpathfinder.hpp" #include "engine/pathfinding/path.hpp" #include "engine/pathfinding/node.hpp" #include "engine/coordinates.hpp" namespace qrw { namespace pathfinding ...
<commit_before>#include "Font.h" #include <iostream> #include <algorithm> #include <vector> #include "Renderer.h" #include <boost/filesystem.hpp> #include "Log.h" FT_Library Font::sLibrary; bool Font::libraryInitialized = false; int Font::getDpiX() { return 96; } int Font::getDpiY() { return 96; } int ...
<commit_before>#ifndef MAP_MAP_HPP #define MAP_MAP_HPP #include <unordered_map> #include <utility> #include "Area.hpp" #include "Tile.hpp" #include "std_hash.hpp" #include "AreaManager.hpp" #include <SFML/Graphics.hpp> /* Store all the map (Areas) * and allaow you to load/unload piece of the map on the fly + * g...
<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>#ifndef KGR_INCLUDE_KANGARU_DETAIL_LAZY_BASE_HPP #define KGR_INCLUDE_KANGARU_DETAIL_LAZY_BASE_HPP #include "../container.hpp" namespace kgr { namespace detail { template<typename T> struct LazyHelper { using type = T; protected: using ref = T&; using rref = T&&; using ptr = T*; T&& assign_value...
<commit_before>#include <stdlib.h> #include <math.h> #include "gason.h" static unsigned char ctype[256]; static const struct ctype_init_t { ctype_init_t() { for (int i : "\t\n\v\f\r\x20") ctype[i] |= 001; for (int i : ",:]}") ctype[i] |= 002; for (int i : "+-") ctype[i] |= 004; for (int i : "0123456789") ct...
<commit_before>#include "StableHeaders.h" #include "NaaliRenderWindow.h" #include <QWidget> #include <QImage> #include <utility> #ifdef Q_WS_X11 #include <QX11Info> #endif using namespace std; namespace { const char rttTextureName[] = "MainWindow RTT"; const char rttMaterialName[] = "MainWindow Material"; ...
<commit_before>/* --------------------------------------------------------------------- The template library textwolf implements an input iterator on a set of XML path expressions without backward references on an STL conforming input iterator as source. It does no buffering or read ahead and is dedicat...
<commit_before>#ifndef VSMC_HELPER_PARALLEL_TBB_HPP #define VSMC_HELPER_PARALLEL_TBB_HPP #include <vsmc/internal/common.hpp> #include <vsmc/helper/sequential.hpp> #include <tbb/tbb.h> /// \defgroup TBB Intel Threading Buidling Block /// \ingroup Helper /// \brief Parallelized samplers with Intel TBB namespace vsmc {...
<commit_before>/** * This file is part of the "libfnord" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with th...
<commit_before>/** * This file is part of the "libfnord" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with th...
<commit_before>// // Copyright (C) 2006-2007 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // Copyright (C) 2004-2007 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved. // Licensed to SIPfoundry under a Contrib...
<commit_before>/** * @file llfoldertype.cpp * @brief Implementation of LLViewerFolderType functionality. * * $LicenseInfo:firstyear=2001&license=viewergpl$ * * Copyright (c) 2001-2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by Lind...
<commit_before>#include "Game.hpp" namespace swift { const std::string errorLog = "./data/log.txt"; const std::string defaultFontFile = "./data/fonts/DejaVuSansMono.ttf"; Game::Game() : logger("Alpha", errorLog), console(500, 200, defaultFont, "[swift2]:") { graphics = Quality::Medium; smoothing = fal...
<commit_before>#pragma once //=====================================================================// /*! @file @brief 設定ファイル入力 @n @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include <boost/format.hpp> #include "utils/string_utils.hpp" #inclu...
<commit_before>/**************************************************************************** * * Copyright (c) 2012-2015 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 me...
<commit_before>#include "ObjParser.hpp" #include "Shaders.hpp" #include "Viewer.hpp" #include <GL/freeglut.h> #include <iostream> #include <string> int main(int argc, char** argv) { if (argc == 1) { std::cout << "Usage: obj-viewer FILE" << std::endl; return -1; } std::string file = std::string(argv[1]); O...
<commit_before>#ifdef _MSC_VER #pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup") #pragma comment(lib, "ws2_32.lib") #pragma comment(lib, "v8_base.lib") #pragma comment(lib, "v8_snapshot.lib") #pragma comment(lib, "v8_nosnapshot.lib") #pragma comment(lib, "winmm.lib") #pragma comment(lib, "Qt5Cored.lib...
<commit_before>#include "gpu.h" #include <cassert> #include <iostream> #include <fstream> static const size_t kBlockWidth = 4; static const size_t kBlockHeight = 4; static const size_t kNumComponents = 4; static const size_t kNumBlockPixels = kBlockWidth * kBlockHeight; static const size_t kBlockSize = kNumBlockPixel...
<commit_before>/* vim: set ai et ts=4 sw=4: */ #include <string> #include <utility> #include <map> #include <iostream> #include <signal.h> #include <HttpServer.h> //#include <InMemoryStorage.h> #include <PersistentStorage.h> // TODO: describe REST API in README.md or API.md // TODO: support rangescans // TODO: suppor...
<commit_before>/******************************************************************************\ * File: menu.cpp * Purpose: Implementation of wxExMenu class * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reproduction i...
<commit_before>// $Id$ // The libMesh Finite Element Library. // Copyright (C) 2002-2007 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 // License as published by the Free Software Foundation; either /...
<commit_before>/// /// @file S2Status.hpp /// /// Copyright (C) 2015 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef S2STATUS_HPP #define S2STATUS_HPP #include <int128.hpp> namespace primecount { class S2S...
<commit_before>/* * Date: $Date: 2009-09-30 20:28:45 -0400 (Wed, 30 Sep 2009) $ * Version: $Revision: 243 $ * Author: $Author: kanterae@UPHS.PENNHEALTH.PRV $ * ID: $Id: invertDeformationField.cxx 243 2009-10-01 00:28:45Z kanterae@UPHS.PENNHEALTH.PRV $ * * File Description * Compute the i...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: TestAMRUtilities.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>/* Copyright (c) Aleksey Fedotov MIT license */ #define VK_USE_PLATFORM_WIN32_KHR #include <vulkan.h> #include <SDL.h> #include <SDL_syswm.h> #include <windows.h> #include <vector> int main() { SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_EVENTS); auto window...
<commit_before>/* Definitions for the pqxx::result class and support classes. * * pqxx::result represents the set of result rows from a database query. * * DO NOT INCLUDE THIS FILE DIRECTLY; include pqxx/result instead. * * Copyright (c) 2000-2019, Jeroen T. Vermeulen. * * See COPYING for copyright license. If...
<commit_before>// Macro to compare masses in root data base to the values from pdg // http://pdg.lbl.gov/2009/mcdata/mass_width_2008.mc // // the ROOT values are read in by TDatabasePDG from $ROOTSYS/etc/pdg_table.C // // Author: Christian.Klein-Boesing@cern.ch #include <fstream> #include <iostream> #include "TData...
<commit_before>#include "echomesh/audio/GetReader.h" namespace echomesh { namespace { AudioFormatManager* makeManager() { AudioFormatManager* manager = new AudioFormatManager(); manager->registerBasicFormats(); return manager; } unique_ptr<AudioFormatManager> MANAGER(makeManager()); } // namespace Position...
<commit_before>/* * RudeSkinnedMesh.cpp * golf * * Created by Robert Rose on 9/20/08. * Copyright 2008 Bork 3D LLC. All rights reserved. * */ #include "RudeSkinnedMesh.h" #include "RudeDebug.h" #include "RudeGL.h" #include "RudeFile.h" #include "RudePerf.h" #include "RudeTextureManager.h" #include "RudeTwe...
<commit_before>//==- IdempotentOperationChecker.cpp - Idempotent Operations ----*- C++ -*-==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------...
<commit_before>/*! @file @author Albert Semenov @date 12/2008 */ #include "Precompiled.h" #include "State.h" namespace demo { State::State(const std::string& _layout, ControllerType _type) : wraps::BaseLayout(_layout), mFrameAdvise(false) { mType = _type; assignWidget(mButton1, "Button1"); assignWid...
<commit_before>#include <sys/types.h> #include <sys/stat.h> #include <cstdio> #include <cstddef> #include <cstdlib> #include <unistd.h> #include <fcntl.h> #include <elf.h> #include <algorithm> #include <cassert> // COMPILATION NOTE: Must pass -lseccomp to build #include <seccomp.h> #include <set> #include <string> #in...
<commit_before>#include "Image.h" #include "../raster/BgraFrame.h" namespace Aggplus { //////////////////////////////////////////////////////////////////////////////////////// CImage::CImage() : m_dwWidth(0), m_dwHeight(0), m_nStride(0), m_pImgData(NULL), m_bExternalBuffer(false), m_Status(WrongSta...
<commit_before>// PacketSensor.cc #include "lib.h" #include "PacketSensor.h" using namespace std; PacketSensor::PacketSensor() : globalSequence() { ackedSize = 0; ackedSendTime = Time(); } int PacketSensor::getAckedSize(void) const { if (ackedSendTime == Time()) { logWrite(ERROR, "PacketSensor::getAcked...
<commit_before>/** * @copyright Copyright 2017 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required by...
<commit_before>// // Copyright 2016 Giovanni Mels // // 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 ...
<commit_before> /** * NNTexture.cpp * ۼ: ̼ * ۼ: 2013. 10. 30 * : ̼ * : 2013. 12. 04 */ #include "NNTexture.h" #include "NNApplication.h" #include "NND2DRenderer.h" #include "NND3DRenderer.h" ////////////////////////////////////////////////////////////////////////// /* NND2DTexture */ ////////////...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: BIndex.cxx,v $ * * $Revision: 1.13 $ * * last change: $Author: hr $ $Date: 2006-06-20 01:08:58 $ * * The Contents of this file are made a...
<commit_before>/* * Polygon.cpp * * Created on: Nov 7, 2014 * Author: Péter Fankhauser * Institute: ETH Zurich, Autonomous Systems Lab */ #include <grid_map_core/Polygon.hpp> // Eigen #include <Eigen/Dense> #include <Eigen/Geometry> namespace grid_map { Polygon::Polygon() {} Polygon::Polygon(std::vec...
<commit_before><commit_msg>`yli::load::load_shaders`: add `const` modifiers to variables.<commit_after><|endoftext|>
<commit_before>#include "symbiosis.hpp" #include "shader.hpp" #include "symbiont_material.hpp" #include "symbiont_species.hpp" #include "holobiont.hpp" #include "material_struct.hpp" #include "render_templates.hpp" #include "code/ylikuutio/hierarchy/hierarchy_templates.hpp" #include <ofbx.h> // Include GLEW #ifndef __...
<commit_before>#include "flutter_webrtc_base.h" #include "flutter_data_channel.h" #include "flutter_peerconnection.h" namespace flutter_webrtc_plugin { FlutterWebRTCBase::FlutterWebRTCBase(BinaryMessenger *messenger, TextureRegistrar *textures) : messenger_(messenger), textur...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: Boris Polishchuk (Boris.Polishchuk@cern.ch) * ...
<commit_before><commit_msg>PWGGA/GammaConv: removing nonlin from tree (will be applied on tree level)<commit_after><|endoftext|>
<commit_before>//////////////////////////////////////////////////////////// // // DAGON - An Adventure Game Engine // Copyright (c) 2011-2014 Senscape s.r.l. // All rights reserved. // // This Source Code Form is subject to the terms of the // Mozilla Public License, v. 2.0. If a copy of the MPL was // not distributed ...
<commit_before>/* * GridMap.hpp * * Created on: Jul 14, 2014 * Author: Péter Fankhauser * Institute: ETH Zurich, Autonomous Systems Lab */ #pragma once #include "grid_map_core/TypeDefs.hpp" // STL #include <vector> #include <unordered_map> // Eigen #include <Eigen/Core> namespace grid_map { /*! * Gr...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "EC_WaterPlane.h" #include "EC_Placeable.h" #include "IAttribute.h" #include "Renderer.h" #include "SceneManager.h" #include "SceneEvents.h" #include "EventMa...
<commit_before>/* The Jinx library is distributed under the MIT License (MIT) https://opensource.org/licenses/MIT See LICENSE.TXT or Jinx.h for license details. Copyright (c) 2016 James Boer */ #include "UnitTest.h" using namespace Jinx; TEST_CASE("Test Collections", "[Collections]") { SECTION("Test create empty c...
<commit_before>// Copyright 2010-2012 RethinkDB, all rights reserved. #ifndef CLUSTERING_ADMINISTRATION_MAIN_SERVE_HPP_ #define CLUSTERING_ADMINISTRATION_MAIN_SERVE_HPP_ #include <set> #include <string> #include "clustering/administration/metadata.hpp" #include "clustering/administration/persist.hpp" #include "extpro...
<commit_before>/* * Copyright (C) 2014 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>// -*- c++ -*- /*========================================================================= Program: Visualization Toolkit Module: LoadOpenGLExtension.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.ht...
<commit_before>/*! * @file CurvatureFlow.cpp * @brief Implementation of a curvature flow algorithm */ #include "CurvatureFlow.h" #include <boost/numeric/bindings/traits/ublas_vector.hpp> #include <boost/numeric/bindings/traits/ublas_sparse.hpp> #include <boost/numeric/bindings/umfpack/umfpack.hpp> namespace psalm { ...
<commit_before>/* * Copyright 2020 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education. */ #include <memory> #include "common.h" #include "console_printer.h" #include "console_inputter.h" #include "framework.h" struct CLIArgs { u...
<commit_before>/* This file is part of the KDE project. Copyright (C) 2011 Trever Fischer <tdfischer@fedoraproject.org> 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...
<commit_before><commit_msg>Use regular intrinsic names rather than alternatives<commit_after><|endoftext|>
<commit_before><commit_msg>Realloc wave gen data when needed<commit_after><|endoftext|>
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGKinemat.cpp Author: Tony Peden, for flight control system authored by Jon S. Berndt Date started: 12/02/01 ------------- Copyright (C) 2000 Anthony K. Peden ------------- This program is free...
<commit_before>#include "simulatedbody.h" SimulatedBody::SimulatedBody() {} //mass = radius SimulatedBody::SimulatedBody(Color color, const Vector3 &position, int radius, const Vector3 &velocity) { color_ = color; center_ = position; velocity_ = velocity; radius_ = radius; mass_ = radius; } //Setters void...
<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 test suite module of the Qt Toolkit. ** ** $QT_BEG...
<commit_before>//=====================================================================// /*! @file @brief RX65N デジタル・ストレージ・オシロスコープ @n マイコン内臓12ビットA/D変換を使って、波形を観測するガジェット @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2018 Kunihito Hiramatsu @n Released under the MIT license @n https://gith...
<commit_before>//.............................................................................. // // This file is part of the Jancy toolkit. // // Jancy is distributed under the MIT license. // For details see accompanying license.txt file, // the public copy of which is also available at: // http://tibbo.com/do...
<commit_before>// @(#)root/hist:$Id$ // Author: Olivier Couet 13/07/09 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>#include "ShaderControl.h" ShaderControl::ShaderControl() { } ShaderControl::~ShaderControl() { } bool ShaderControl::Initialize(ID3D11Device * gDevice, ID3D11DeviceContext * gDeviceContext, const DirectX::XMINT2& resolution) { this->m_Device = gDevice; this->m_DeviceContext = gDeviceContext...
<commit_before> #include <iostream> #include <cstdint> extern "C" { #include <math.h> #include <libavutil/opt.h> #include <libavcodec/avcodec.h> #include <libavutil/channel_layout.h> #include <libavutil/common.h> #include <libavutil/imgutils.h> #include <libavutil/mathematics.h> #include <libavutil/samplefmt.h> } #def...
<commit_before>#include <mantella_bits/optimisationProblem/roboticsOptimisationProblem/robotModel/parallelKinematicMachine6PUPS.hpp> // C++ standard library #include <cassert> // Mantella #include <mantella_bits/helper/assert.hpp> #include <mantella_bits/helper/geometry.hpp> namespace mant { namespace robotics { ...
<commit_before>/** ** \file scheduler/scheduler.cc ** \brief Implementation of scheduler::Scheduler. */ //#define ENABLE_DEBUG_TRACES #include <cassert> #include <cstdlib> #include <libport/compiler.hh> #include <libport/containers.hh> #include <libport/foreach.hh> #include "kernel/userver.hh" #include "object/...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXQt - a lightweight, Qt based, desktop toolset * https://lxqt.org * * Copyright: 2012 Razor team * Authors: * Johannes Zellner <webmaster@nebulon.de> * * This program or library is free software; you can redistribute it * and/or modify it und...
<commit_before>// @(#)root/ged:$Id$ // Author: Ilka Antcheva 11/05/04 /************************************************************************* * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/****************************************************************************** * Copyright (c) 2014-2015, The Pennsylvania State University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
<commit_before>#pragma once #include <forward_list> #include <unordered_map> #include <limits> #include <GLFW/glfw3.h> #include "subsystem_base.hxx" namespace { using window_owner_dictionary_t = std::unordered_map < GLFWwindow* , std::weak_ptr<wonder_rabbit_project::wonderland::subsystem::subsystem_base_t...
<commit_before>#if defined(_MSC_VER) || defined(WINDOWS) #define _USE_MATH_DEFINES #endif #include <cmath> #include <string> #include <fstream> #include <sstream> #include <iostream> #include <vector> #include <cassert> #include "lodepng.h" #include <GL/glew.h> #ifdef __APPLE__ #include <OpenGL/gl.h> #include ...
<commit_before>//============================================================================== // Single cell simulation view simulation worker //============================================================================== #include "cellmlfileruntime.h" #include "coredaesolver.h" #include "corenlasolver.h" #...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <Arduino.h> #include "source.h" #include "filter.h" #include "function.h" #include "generator.h" #include "parse.h" #define MAX_CODE_LEN 512 #define MAX_NUM_ARGS 8 #define VALUE_SIZE 4 #define ARG_VA...
<commit_before>/* * KatzIndex.cpp * * Created on: 30.01.2015 * Author: Kolja Esders (kolja.esders@student.kit.edu) */ #include <list> #include "KatzIndex.h" namespace NetworKit { KatzIndex::KatzIndex(count maxPathLength, double dampingValue) : maxPathLength(maxPathLength), dampingValue(dampingValue) ...