text
stringlengths
54
60.6k
<commit_before>#include "MPU9150.h" #include "AConfig.h" #if(HAS_MPU9150) #include "Device.h" #include "Settings.h" #include <Wire.h> //#include "I2Cdev.h" #include "MPU9150Lib.h" //#include "CalLib.h" //#include "dmpKey.h" //#include "dmpmap.h" //#include "inv_mpu.h" //#include "inv_mpu_dmp_motion_driver.h" #include <...
<commit_before><commit_msg>Increased fill rate of the support 1st layer from 50% to 70%.<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <math.h> #include <sys/times.h> #include "../include/PSATsolver.hpp" #include "../include/CVC4solver.hpp" #include "../include/Parser.hpp" using namespace std; using namespace arma; int PSATsolver::solve(int**& m, vector<double>& prob, ...
<commit_before>/**************************************************************************** * * Copyright (c) 2013-2014 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>// Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html #ifndef __RAPICORN_PIXMAP_HH__ #define __RAPICORN_PIXMAP_HH__ #include <rcore/utilities.hh> namespace Rapicorn { /// A Pixmap (i.e. PixmapT<Pixbuf>) conveniently wraps a Pixbuf and provides various pixel operations. template<class...
<commit_before>/* BelaCsound.cpp: Copyright (C) 2017 V Lazzarini This file is part of Csound. The Csound 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 Li...
<commit_before>#include "GameScene.h" #include "utils\global.h" #include <chrono> USING_NS_CC; using namespace std::chrono; Scene* GameScene::createScene() { // 'scene' is an autorelease object auto scene = Scene::createWithPhysics(); scene->getPhysicsWorld()->setAutoStep(false); scene->getPhysicsWorld()-...
<commit_before>#include <math.h> #include "PathFinder.h" void PathFinder::PrintStateInfo(void * /*state*/) { // For debug purposes, for example write state to stdout. } Vec2 PathFinder::NodeToPoint(void *node) { int index = (int) node; int y = index / MAP_WIDTH; int x = index - y * MAP_WIDTH; retu...
<commit_before>#include <cassert> #include "PointField.h" using namespace cigma; // --------------------------------------------------------------------------- PointField::PointField() { points = new Points(); values = new Points(); } PointField::~PointField() { delete points; delete values; } // -...
<commit_before>// // ASTTypeExpr.cpp // Emojicode // // Created by Theo Weidmann on 04/08/2017. // Copyright © 2017 Theo Weidmann. All rights reserved. // #include "ASTTypeExpr.hpp" #include "../Analysis/SemanticAnalyser.hpp" #include "../Generation/FnCodeGenerator.hpp" namespace EmojicodeCompiler { Type ASTInfe...
<commit_before>#include <stdarg.h> #include <ctype.h> #include "../log.h" #include "../console.h" #include "../common.h" #include <QTextCodec> #define BLNKW (2) /* 横方向の余白 */ #define BLNKH (2) /* 縦方向の余白 */ VSurface *JFont::ZFont = NULL; // 全角フォントデータサーフェスへのポインタ VSurface *JFont::HFont = NULL; // 半角フォントデータサーフェスへのポインタ ...
<commit_before>#include "Task/TaskManager.h" #include "Platform/Os.h" namespace Flourish { TaskManager::TaskManager() : _nextId(1) , _workerThreads(new std::thread[5]) , _taskQueue() , _taskQueueMutex() , _workAddedToTaskQueue() , _openTaskQueue() , _openTaskQueueMutex() { CreateAndStartWorkerThread...
<commit_before>#pragma once #include "../Base/Renderer.hpp" #include <vulkan/vulkan.h> #include <vector> #include "../Base/Window.hpp" /// Vulkan implementation of the renderer. class VulkanRenderer : public Renderer { public: /// Create new Vulkan renderer. /** * @param window The window...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2012 Preferred Infrastracture 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(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#pragma once #include <string> namespace principia { namespace base { #define STRINGIFY(X) #X #define STRINGIFY_EXPANSION(X) STRINGIFY(X) // See http://goo.gl/2EVxN4 for a partial overview of compiler detection and // version macros. We cannot use |COMPILER_MSVC| because it conflicts with // a macro...
<commit_before>/* This file is part of the ORK library. Full copyright and license terms can be found in the LICENSE.txt file. */ #pragma once #include"boost/spirit/home/support/common_terminals.hpp" #include"boost/spirit/home/qi.hpp" #include"ork/ork.hpp" /* Placeholders for parser components */ namespace ork { name...
<commit_before><commit_msg>win: _set_ouput_format is no longer available or required on VS2015<commit_after><|endoftext|>
<commit_before>// ShapeTools.cpp // Copyright (c) 2009, Dan Heeks // This program is released under the BSD license. See the file COPYING for details. #include "stdafx.h" #include "ShapeTools.h" #include "Vertex.h" const wxBitmap &CFaceList::GetIcon() { static wxBitmap* icon = NULL; if(icon == NULL)icon = new wxBit...
<commit_before>// $Id: numeric_vector.C,v 1.17 2005-10-14 15:20:31 roystgnr Exp $ // The libMesh Finite Element Library. // Copyright (C) 2002-2005 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 // Li...
<commit_before>#include "widget.h" #include "ui_widget.h" #include <math.h> #include <string.h> #include <QPainter> #include <QConicalGradient> #include <QMessageBox> #include <QDebug> #include <QApplication> Widget::Widget(QWidget *parent) : QWidget(parent), ui(new Ui::Widget) { // initialize pointers ...
<commit_before>#ifndef __STRUCTDESC_HPP__ #define __STRUCTDESC_HPP__ #include <string> #include <memory> #include "FileSink.hpp" #include "StructDescTypes.hpp" #define offsetof(type, member) __builtin_offsetof (type, member) #define REGISTER_RAW_VALUE(desc, _class_, field, name) \ (desc)->registerRawValue<decltype...
<commit_before>#include <string.h> #include "JWModules.hpp" struct ThingThingBall { NVGcolor color; }; struct ThingThing : Module { enum ParamIds { BALL_RAD_PARAM, ZOOM_MULT_PARAM, NUM_PARAMS }; enum InputIds { BALL_RAD_INPUT, ZOOM_MULT_INPUT, ANG_INPUT, NUM_INPUTS = ANG_INPUT + 5 }; enum OutputId...
<commit_before>// Copyright 2016 Alessio Sclocco <a.sclocco@vu.nl> // // 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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: appdata.hxx,v $ * * $Revision: 1.18 $ * * last change: $Author: kz $ $Date: 2008-03-06 19:57:12 $ * * The Contents of this file are made ...
<commit_before>/* * Copyright (C) 2008-2014 The QXmpp developers * * Author: * Jeremy Lainé * * Source: * https://github.com/qxmpp-project/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General...
<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 "chrome/browser/chromeos/setting_level_bubble.h" #include <algorithm> #include <gdk/gdk.h> #include "chrome/browser/chromeo...
<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 "chrome/browser/chromeos/setting_level_bubble.h" #include <gdk/gdk.h> #include "base/timer.h" #include "chrome/browser/chrom...
<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 *...
<commit_before>#ifndef _SDD_MEM_CACHE_HH_ #define _SDD_MEM_CACHE_HH_ #include "sdd/mem/cache_entry.hh" #include "sdd/mem/hash_table.hh" #include "sdd/mem/interrupt.hh" #include "sdd/mem/lru_list.hh" #include "sdd/util/hash.hh" namespace sdd { namespace mem { /*--------------------------------------------------------...
<commit_before>/* Copyright (c) 2006 Volker Krause <volker.krause@rwth-aachen.de> 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, or (at your ...
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2013, 2014 Raffaello D. Di Napoli This file is part of Application-Building Components (henceforth referred to as ABC). ABC is free software: you can redistribute it and/or modify it under the terms of the GNU General ...
<commit_before>// Source : https://leetcode.com/problems/set-matrix-zeroes/ // Author : Siyuan Xu // Date : 2015-08-12 /********************************************************************************** * * Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. * * click to ...
<commit_before>#include "AudioNodeOutput.h" AudioNodeOutput::AudioNodeOutput(AudioNode* owner, int* ptr) : AudioNode() { _owner = owner; _ptr = ptr; _output = NULL; _value = 0; } void AudioNodeOutput::connect(AudioNode* destination) { } void AudioNodeOutput::disconnect(AudioNode* destination) { } void Audi...
<commit_before>#include <nan.h> #include <string> #include <cstring> #include <vector> #include <stdlib.h> // atoi #include "node_blf.h" #define NODE_LESS_THAN (!(NODE_VERSION_AT_LEAST(0, 5, 4))) using namespace v8; using namespace node; namespace { bool ValidateSalt(const char* salt) { if (!salt || *salt !=...
<commit_before>//======- X86RetpolineThunks.cpp - Construct retpoline thunks for x86 --=====// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/** * @file dem_stream_file.hpp * @author Robin Dietrich <me (at) invokr (dot) org> * @version 1.0 * * @par License * Alice Replay Parser * Copyright 2014 Robin Dietrich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
<commit_before> /* * Copyright 2008 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkFontHost.h" SkTypeface* SkFontHost::CreateTypeface(const SkTypeface* familyFace, const c...
<commit_before>/* * Copyright (C) 2012 by Glenn Hickey (hickey@soe.ucsc.edu) * * Released under the MIT license, see LICENSE.txt */ #include <string> #include <cstring> #include <sstream> #include <set> #include <iostream> #include "hdf5Sequence.h" #include "hdf5DNAIterator.h" #include "defaultTopSegmentIterator.h"...
<commit_before>/* * Copyright (c) 2013 David Wicks, sansumbrella.com * 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 *...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fileidentifierconverter.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: ihi $ $Date: 2007-06-05 14:49:32 $ * * The Contents of thi...
<commit_before>#include "FrontCameraVision.h" #include "SimpleImageThresholder.h" #include "ThreadedImageThresholder.h" #include "ParallelImageThresholder.h" #include "TBBImageThresholder.h" #include "GateFinder.h" #include "BallFinder.h" #include "AutoCalibrator.h" #include <queue> // std::priority_queue #inc...
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved. #ifndef RDB_PROTOCOL_PATHSPEC_HPP_ #define RDB_PROTOCOL_PATHSPEC_HPP_ #include "errors.hpp" #include <boost/variant.hpp> #include "rdb_protocol/datum.hpp" namespace ql { class pathspec_t { public: pathspec_t(const pathspec_t &other); path...
<commit_before>/************************************************************************* * * Copyright 2016 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www....
<commit_before>#include "atrac1_bitalloc.h" #include "atrac1_scale.h" #include "atrac1.h" #include <math.h> #include <cassert> #include "../bitstream/bitstream.h" namespace NAtrac1 { using std::vector; using std::cerr; using std::endl; static const uint32_t FixedBitAllocTableLong[MAX_BFUS] = { 7, 7, 7, 6, 6, 6, 6...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.o...
<commit_before>#ifndef __DUMMY_BDD_HPP__ #define __DUMMY_BDD_HPP__ #include <string> #include "core.h" namespace dummy { class Describe { public: Describe( const char* subject ); Describe& it( const char* behaviour, dummyTestFunction fn ); private: std::string m_Subject; }; // ---- implementation ----...
<commit_before>I#include "dmx.h" #include "pins_arduino.h" #pragma region 상수 const char COMMAND_DELIMITER = ':'; const char COMMAND_TOKEN = '#'; const char COMMAND_FTOKEN = '+'; #pragma endregion #pragma region 변수 byte value[512] = {0, }; int DMX_PIN; #pragma endregion #pragma region 사용자 함수 void dmx::setPin...
<commit_before><?hh // strict /**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ ...
<commit_before>/// \file DboxOptions.cpp //----------------------------------------------------------------------------- #include "PasswordSafe.h" #include "ThisMfcApp.h" #if defined(POCKET_PC) #include "pocketpc/resource.h" #else #include "resource.h" #endif #include "corelib/PWSprefs.h" // dialog boxen #inclu...
<commit_before>/* Copyright (c) 2014, Project OSRM, Dennis Luxen, others All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list...
<commit_before>/************************************************************************** * * Copyright 2011 Jose Fonseca * 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 t...
<commit_before>/************************************************************************* * * $RCSfile: rscpar.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: pl $ $Date: 2001-11-05 14:44:05 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before><commit_msg>detection must look into file if typename was empty<commit_after><|endoftext|>
<commit_before><commit_msg>#81744#: save some properties, new medium may be killed<commit_after><|endoftext|>
<commit_before>/* * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<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 requ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkMarchingContourFilter.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1998 Ken Martin, Will Schroeder, Bill Lorensen. THIS CLASS IS PA...
<commit_before>/*****************************************************************************\ * * * FILENAME: windef.h * * * * CONTENTS: Windows-like definitions * * * * Author: Jean-Francois Larvoire 94/05/14 * * * * Notes: Cont...
<commit_before>#include "EngineCommand.h" #include <maya/MArgDatabase.h> #include <maya/MArgList.h> #include <maya/MStatus.h> #include <HAPI/HAPI.h> #include "SubCommand.h" #define kHoudiniVersionFlag "-hv" #define kHoudiniVersionFlagLong "-houdiniVersion" #define kSaveHIPFlag "-sh" #define kSaveHIPFlagLong "-saveH...
<commit_before>/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
<commit_before>/* * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
<commit_before>/* * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
<commit_before>#pragma once #include <opencv2/core/core.hpp> cv::Mat sepia(cv::Mat& image); cv::Mat tint(cv::Mat& image, int hue, float sat); int glow(cv::Mat& image);<commit_msg>Add Boost Color implementation<commit_after>#pragma once #include <opencv2/core/core.hpp> cv::Mat sepia(cv::Mat& image); cv::Mat tint(...
<commit_before>/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2019, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University ...
<commit_before>//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2006/03/14 // Author: Sriram Rao // // Copyright 2008 Quantcast Corp. // Copyright 2006-2008 Kosmix Corp. // // This file is part of Kosmos File System (KFS). // // Licensed under the Apache License, Ver...
<commit_before>/* * GfxSaveSurface.cpp * OpenLieroX * * Created by Albert Zeyer on 03.12.09. * code under LGPL * */ #include <SDL.h> #include "GfxPrimitives.h" #include "Options.h" #include "FindFile.h" #ifndef DEDICATED_ONLY #include <gd.h> #endif #ifndef DEDICATED_ONLY /////////////////////// // Conver...
<commit_before>#include <fstream> #include <iostream> #include <algorithm> #include "TFile.h" #include "TLegend.h" #include "PlotStack.h" ClassImp(PlotStack) //-------------------------------------------------------------------- PlotStack::PlotStack() : fTreeName("events"), fAllHist("htotal"), fLuminosity(211...
<commit_before>/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */ /* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License ...
<commit_before>/* GNE - Game Networking Engine, a portable multithreaded networking library. * Copyright (C) 2001 Jason Winnebeck (gillius@mail.rit.edu) * Project website: http://www.rit.edu/~jpw9607/ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Ge...
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGPropeller.cpp Author: Jon S. Berndt Date started: 08/24/00 Purpose: Encapsulates the propeller object ------------- Copyright (C) 2000 Jon S. Berndt (jsb@hal-pc.org) ------------- This pr...
<commit_before>//===----------------------------------------------------------------------===// // // Peloton // // table_factory.cpp // // Identification: src/storage/table_factory.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===-------------------------------...
<commit_before><commit_msg>darray: use larger growth heuristic<commit_after><|endoftext|>
<commit_before>/* ESP8266 Simple Service Discovery Copyright (c) 2015 Hristo Gochkov Original (Arduino) version by Filippo Sallemi, July 23, 2014. Can be found at: https://github.com/nomadnt/uSSDP License (MIT license): Permission is hereby granted, free of charge, to any person obtaining a copy of this software ...
<commit_before>// // main.cpp // Euchre // // Created by Dillon Hammond on 9/12/14. // Copyright (c) 2014 Learning. All rights reserved. // #define GLEW_STATIC #include "GL/glew.h" #include <SDL2/SDL.h> #include "SOIL.h" #define GLM_FORCE_RADIANS #include "glm.hpp" #include <iostream> #include <fstream> GLuint Lo...
<commit_before><commit_msg>Make Future<T>::delayed complete on correct executor 2/n: Apply codemod future delayed to delayed unsafe<commit_after><|endoftext|>
<commit_before>#include "pgDal.h" #include <capnp/message.h> #include <capnp/pretty-print.h> #include <kj/debug.h> #include <iostream> #include "fact_util.h" namespace holmes { void PgDAL::initDB() { pqxx::work work(conn); work.exec("create schema if not exists facts"); auto res = work.exec("select table_nam...
<commit_before>// Copyright (c) 2019-2020 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 <chainparams.h> #include <coins.h> #include <consensus/tx_check.h> #include <consensus/tx_verify.h> #...
<commit_before>#include "geodrawer_plugin.h" #include "visualizationmanager.h" //#include "geodrawer.h" #include <qqml.h> #include "geometries.h" #include "iooptions.h" #include "drawers/drawerfactory.h" #include "selectiondrawer.h" #include "layersview.h" void GeodrawerPlugin::registerTypes(const char *uri) { /...
<commit_before> /*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2012-2016 Igor Mironchik 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 restrict...
<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><commit_msg>Use world coordinates when rendering transformation gizmo<commit_after><|endoftext|>
<commit_before><commit_msg>added missing include guard to disk_io_thread.hpp<commit_after><|endoftext|>
<commit_before>#pragma once #include <string> #include <blackhole/detail/datetime.hpp> #include "../global.hpp" class generator_test_case_t : public Test { protected: std::tm tm; suseconds_t usec; void SetUp() { tm = std::tm(); usec = 0; } std::string generate(const std::string...
<commit_before>/* * ConstructKDTree.cpp * Copyright (C) 2019 by MegaMol Team * Alle Rechte vorbehalten. */ #include "ConstructKDTree.h" #include <limits> #include "CallKDTree.h" #include "adios_plugin/CallADIOSData.h" #include "mmcore/moldyn/MultiParticleDataCall.h" #include "mmcore/param/EnumParam.h" #include "mm...
<commit_before>/* This file is part of KOrganizer. Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> 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 Lice...
<commit_before>#include "Application.hpp" #include "log.hpp" #include "lua/State.hpp" #include "Build.hpp" #include "bind.hpp" #include "quote.hpp" #include "commands.hpp" #include "Filesystem.hpp" #include "Process.hpp" #include "generators.hpp" #include <boost/algorithm/string.hpp> #include <boost/filesystem.hpp> #...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (people-users@projects.maemo.org) ** ** This file is part of contactsd. ** ** If you have questions re...
<commit_before>/* * ALURE OpenAL utility library * Copyright (c) 2009-2010 by Chris Robinson. * * 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 l...
<commit_before>/** * logger_metrics_test.cc * Mich, 2014-11-17 * Copyright (c) 2014 Datacratic Inc. All rights reserved. * * Manual test for the logger metrics. Provide the proper json config and * run. **/ #define BOOST_TEST_MAIN #define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include <boost/...
<commit_before>#include <composite.hpp> #include <sphere.hpp> #include <box.hpp> #include <triangle.hpp> #include <shape.hpp> Composite::Composite() : Shape{{{INFINITY,INFINITY,INFINITY},{-INFINITY,-INFINITY,-INFINITY}}}, shapes_{} {} Composite::Composite(std::string const& name) : Shape{Material{}, name, {{INFINI...
<commit_before>/*****************************************************************************/ /* Csv.cpp Copyright (c) Ladislav Zezula 2019 */ /*---------------------------------------------------------------------------*/ /* Implementation for the CSV handler class ...
<commit_before>#line 2 "togo/tool_build/types.hpp" /** @copyright MIT license; see @ref index or the accompanying LICENSE file. @file @brief tool_build types. @ingroup tool_build_types */ #pragma once #include <togo/tool_build/config.hpp> #include <togo/types.hpp> #include <togo/memory_types.hpp> #include <togo/coll...
<commit_before>// *************************************************************************** // bamtools_sort.cpp (c) 2010 Derek Barnett, Erik Garrison // Marth Lab, Department of Biology, Boston College // All rights reserved. // --------------------------------------------------------------------------- // Last modi...
<commit_before>#include "compression.h" CompressionType Compression::GetCompressionType(char first_byte) { switch (first_byte) { case 0: return CompressionType::NONE; case 1: return CompressionType::BZIP2; case 2: return CompressionType::GZIP; case 3: return CompressionType::LZMA; default: throw std::r...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2018 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 <compressor.h> #include <hash.h> #include <pubkey.h> #in...
<commit_before>// Filename: showBase.cxx // Created by: shochet (02Feb00) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved // // All use of this software is subject to the terms of the Panda 3d // Softwa...
<commit_before>#include "CudaMatrixKernel.h" #include "Cublas.h" #include <iostream> #include <stdexcept> #include <tools/Matrix.h> #include <tools/MismatchedMatricesException.h> #include <tools/MatrixHelper.h> using namespace std; using namespace CudaUtils; const float ALPHA = 1.0f; const float BETA = 0.0f; size_t ...
<commit_before>#include"Application.hpp" namespace viewmodel { void Application::start() { std::string globalDataDirectories( std::getenv("XDG_DATA_DIRS") ); std::string globalDataDirectory = globalDataDirectories.substr( 0, globalDataDirectories.find_first_of(':') ); std::string localDataDirectories( std::get...
<commit_before>/****************************************************************************** * Copyright (c) 2014, Andrew Bell * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * * Redis...