text
stringlengths
54
60.6k
<commit_before>#include "Browser.h" #include "Log.h" #include <map> #include <cstdio> #include <cstring> #include <cstdlib> #include <cassert> typedef std::map<const char*, Browser::factory_callback> factory_map; typedef std::pair<const char*, Browser::factory_callback> pair; typedef factory_map::iterator iterator; f...
<commit_before>#include "Context.h" #include <cmath> #include <iostream> #ifdef OPENGL #include <glm/glm.hpp> #endif using namespace std; using namespace canvas; void Context::resize(unsigned int _width, unsigned int _height) { width = _width; height = _height; getDefaultSurface().resize(_width, _height); } ...
<commit_before>#include "gtest/gtest.h" TEST(Test, FIRST) { EXPECT_EQ(2,1+1); } TEST(Test, SECOND) { EXPECT_EQ(2,1); }<commit_msg>[NSTL]fix a test care<commit_after>#include "gtest/gtest.h" TEST(Test, FIRST) { EXPECT_EQ(2,1+1); } TEST(Test, SECOND) { EXPECT_EQ(2,2*1); }<|endoftext|>
<commit_before>#include <isl/set.h> #include <isl/union_map.h> #include <isl/union_set.h> #include <isl/ast_build.h> #include <isl/schedule.h> #include <isl/schedule_node.h> #include <coli/debug.h> #include <coli/core.h> #include <string.h> #include <Halide.h> /* Halide code. Func blurxy(Func input, Func blur_y) { ...
<commit_before>#include <climits> #include <elevator/elevator.h> #include <elevator/restartwrapper.h> #include <elevator/test.h> #include <wibble/raii.h> namespace elevator { std::vector< Button > genFloorButtons( const BasicDriverInfo &bi ) { std::vector< Button > btns; for ( int i = bi.minFloor(); i <= bi.m...
<commit_before>/* * $Id$ * * Copyright(C) 1998-2005 Satoshi Nakamura * All rights reserved. * */ #include <qsconv.h> #include <qsstream.h> using namespace qs; /**************************************************************************** * * Writer * */ qs::Writer::~Writer() { } ...
<commit_before>#include "Genetic.hpp" #include "Util.hpp" #include <iostream> #define GAME_SPEED 0 #define MUT_PROB 0.01 ai::Genetic::Genetic(logic::Game *game, ui::UI *uiPtr) { gameInstance = game; ui = uiPtr; for (int i = 0; i < POPULATION_SIZE; i++) { generateRandomCrom(population[i].chromosome, CHROM_LEN...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2007 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>#ifndef __ETERNAL_TCP_HEADERS__ #define __ETERNAL_TCP_HEADERS__ #include <errno.h> #include <pthread.h> /* POSIX Threads */ #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <time.h> #include <unistd.h> #include <algorithm> #include <array> #...
<commit_before>// header file for storing integration schemes #include "IBSolver.h" #include "Geometry.h" #include "ProjectionSolver.h" #include "ConjugateGradientSolver.h" #include "CholeskySolver.h" #include "BoundaryVector.h" #include "Grid.h" #include "State.h" #include "VectorOperations.h" #include <string> usin...
<commit_before>/* Rapicorn * Copyright (C) 2008 Tim Janik * * 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 versio...
<commit_before>#include "Operations.hpp" #include "Wallet.hpp" #include <graphene/utilities/key_conversion.hpp> #include <fc/smart_ref_impl.hpp> TransferOperation* OperationBuilder::transfer(ObjectId sender, ObjectId receiver, qint64 amount, ObjectId amountType, QString m...
<commit_before>/********************************************************************************** Infomap software package for multi-level network clustering Copyright (c) 2013 Daniel Edler, Martin Rosvall For more information, see <http://www.mapequation.org> This file is part of Infomap software package. ...
<commit_before>#include "LRUCache.h" #include <sys/time.h> #include <math.h> #ifndef __APPLE__ #include <unordered_map> #endif using namespace v8; unsigned long getCurrentTime() { timeval tv; gettimeofday(&tv, NULL); return tv.tv_sec * 1000 + tv.tv_usec; } std::string getStringValue(Handle<Value> value) { S...
<commit_before><commit_msg>ord: change write_lef multi-file to info<commit_after><|endoftext|>
<commit_before>// Copyright 2020 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 or...
<commit_before>// Copyright 2015 Patrick Putnam // // 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 a...
<commit_before>#include "stdafx.h" #include "AutoPacket.h" #include "Autowired.h" #include "AutoPacketFactory.h" #include "AutoPacketProfiler.h" #include "ContextEnumerator.h" #include "SatCounter.h" #include <list> AutoPacket::AutoPacket(AutoPacketFactory& factory) { // Traverse all contexts, adding their packet su...
<commit_before>#include "render_test.h" #include <QApplication> #include <qdir.h> #include "core/FS/file_system.h" #include "core/FS/ifile.h" #include "core/log.h" #include "core/profiler.h" #include "core/resource_manager.h" #include "core/resource_manager_base.h" #include "editor/world_editor.h" #include "editor/gizm...
<commit_before>/**********************************************************************/ /* Copyright 2014 RCF */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may no...
<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 "Lice...
<commit_before><commit_msg>Fix error of not calculating dose second time<commit_after><|endoftext|>
<commit_before>// // Copyright (C) 2003 Grzegorz Jaskiewicz <gj at pointblue.com.pl> // // gadupubdir.cpp // Gadu-Gadu Public directory contains people data, using it you can search friends // different criteria // // This program is free software; you can redistribute it and/or // modify it under the terms of the GN...
<commit_before>//===-- Serialization.cpp - Binary serialization of index data ------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//============================================================================= //File Name: GyroBase.hpp //Description: Wrapper for a gyro-accelerometer Kalman filter (GyroFilter) //Author: FRC Team 3512, Spartatroniks //============================================================================= /* U...
<commit_before>/* RapicornSignal * Copyright (C) 2005-2006 Tim Janik * * 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 l...
<commit_before>// ======================================================================== // // Copyright 2009-2016 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>/************************************************************************* * UrBackup - Client/Server backup system * Copyright (C) 2011-2016 Martin Raiber * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as...
<commit_before>//_________________________________________________________________________ // Utility Class for transverse energy studies // Base class for ESD & MC analysis // - cuts for reconstruction and MonteCarlo // implementation file // //*-- Authors: Oystein Djuvsland (Bergen), David Silvermyr (ORNL) //__...
<commit_before>/* mbed Microcontroller Library - stackheap * Copyright (C) 2009-2011 ARM Limited. All rights reserved. * * Setup a fixed single stack/heap memory model, * between the top of the RW/ZI region and the stackpointer */ #ifdef __cplusplus extern "C" { #endif #include <sys/types.h> #include <errno.h> ...
<commit_before>//===-- LiveRangeEdit.cpp - Basic tools for editing a register live range -===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright (c) 2014, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // This file i...
<commit_before><commit_msg>vtk_dump solution<commit_after><|endoftext|>
<commit_before><commit_msg>Backport r851236 by tmcguire from trunk to the 4.1 branch:<commit_after><|endoftext|>
<commit_before>#include "coreplugin.h" #include "applicationextension.h" #include "engineextension.h" #include "componentextension.h" #include "contextextension.h" #include <QApplication> #include <QQmlEngine> #include <QQmlComponent> #include <QQmlContext> Q_DECLARE_METATYPE(const QMetaObject*) namespace RubyQml { ...
<commit_before>// Scott Wiedemann // 05/13/2013 // evenfib.cpp // Largest prime factor #include <stdio.h> #include <stdlib.h> #include <math.h> using namespace std; int main(int argc, char **argv) { if (argc!=2) { printf("Usage: %s [long to factor]\n", argv[0]); return 1; } long toFactor = atol(argv[1]); l...
<commit_before>/*========================================================================= Program: Visualization Library Module: Triangle.cc Language: C++ Date: $Date$ Version: $Revision$ Description: --------------------------------------------------------------------------- This file is part...
<commit_before>#include <vector> #include <boost/filesystem.hpp> #include <bitcoin/bitcoin.hpp> #include <obelisk/zmq_message.hpp> #include "config.hpp" #define HEARTBEAT_LIVENESS 3 // 3-5 is reasonable #define HEARTBEAT_INTERVAL 1000 // msecs #define LOG_BALANCER "balancer" using namespace bc; using na...
<commit_before>#include "CWTableView.h" using namespace cocos2d; using namespace cocos2d::ui; namespace cw { TableView::TableView() : _vordering(VerticalFillOrder::BOTTOM_UP) , _isUsedCellsDirty(false) , _delegate(nullptr) { } TableView::~TableView() { } TableView *TableView::creat...
<commit_before>#include <stdio.h> #include "../SynCommonLib/RelationsIterator.h" #include "../common/SyntaxHolder.h" void GetAnanlytForms(const CSentence& Sentence, string& Res) { for( int WordNo = 0; WordNo<Sentence.m_Words.size(); WordNo++ ) { const CSynWord& W = Sentence.m_Words[WordNo]; if (...
<commit_before>#include "WebPage.h" #include "JavascriptInvocation.h" #include "NetworkAccessManager.h" #include "NetworkCookieJar.h" #include "UnsupportedContentHandler.h" #include <QResource> #include <QtNetwork> #include <iostream> WebPage::WebPage(QObject *parent) : QWebPage(parent) { setForwardUnsupportedConten...
<commit_before>#include <stdarg.h> #include <string.h> #include <sys/time.h> #include "misc.h" #include "threading.h" #include "logging.h" namespace base { int Log::level_s = Log::DEBUG; FILE* Log::fp_s = stdout; Mutex Log::m_s; void Log::set_level(int level) { ScopedLock sl(&m_s); level_s = level; } void...
<commit_before>// Copyright © 2016 by Donald King <[email protected]> // Available under the MIT License. See LICENSE for details. #include "base/logging.h" #include <sys/syscall.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h> #include <condition_variable> #include <cstdint> #include <c...
<commit_before> #include <cantera/Cantera.h> #include <cantera/IdealGasMix.h> // defines class IdealGasMix #include <iostream> #include <fstream> #include <vector> #include <map> #include <numeric> #include <string> #include <algorithm> using namespace std; using namespace Cantera; // The program is put into a ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 - 2013 Jolla Ltd. ** Contact: http://jolla.com/ ** ** This file is part of Qt Creator. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Le...
<commit_before>#include "qmlcodecompletion.h" #include "qmleditor.h" #include "qmlmodelmanagerinterface.h" #include "qmlexpressionundercursor.h" #include "qmllookupcontext.h" #include "qmlresolveexpression.h" #include "qmlsymbol.h" #include <texteditor/basetexteditor.h> #include <QtDebug> using namespace QmlEditor::I...
<commit_before>//===-- DebugInfoProbe.cpp - DebugInfo Probe ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2008 Ulrich von Zadow // // 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 of the Li...
<commit_before>/* Copyright 2014 Peter Goodman, all rights reserved. */ #include "clients/lifetime/metadata.h" #include "clients/lifetime/instrument.h" using namespace granary; namespace client { // A function invoked on every memory read of a watched address `addr`. void on_read(uintptr_t addr, int num_bytes) { ...
<commit_before>/* * Copyright (c) 2011-2012,2015,2017 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardwa...
<commit_before>/* * Copyright (C) 2019 ScyllaDB */ #include "build_id.hh" #include <fmt/printf.h> #include <link.h> #include <seastar/core/align.hh> #include <sstream> using namespace seastar; static const Elf64_Phdr* get_pt_note(dl_phdr_info* info) { const auto* h = info->dlpi_phdr; auto num_headers = inf...
<commit_before>// Copyright (c) 2016 Baidu, 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 applicabl...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>/* bzflag * Copyright (c) 1993 - 2009 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>#include <pthread.h> #include "barrier.h" /* * Initialize the barrier. */ Barrier::Barrier(int threads) : num_threads(threads), num_waiting(threads) { pthread_cond_init(&waiting_queue, NULL); pthread_mutex_init(&lock, NULL); } /* * Destroy the barrier. */ Barrier::~Barrier() { pthread_cond_...
<commit_before>#include "basecpu.h" #include "errors.h" BaseCPU::BaseCPU(const System &sys): sys(sys), running(false) { } void BaseCPU::stop() { running = false; } bool BaseCPU::startup() { bool started = false; if (!running) { started = true; reset(); while(running) { tick(); } ...
<commit_before>#include "JobHandler/PathPlanningHandler.h" #include <cmath> using namespace std; bool PathPlanningHandler::registered = JobHandler::RegisterJobHandler("path-planning", [](string command) { return (ptr<JobHandler>) std::make_shared<PathPlanningHandler>(); }); PathPlanningHandler::PathPlanningHandler()...
<commit_before>/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2015-2017 Baldur Karlsson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
<commit_before># include "rrdb.server.impl.h" # include <boost/filesystem.hpp> namespace dsn { namespace apps { rrdb_service_impl::rrdb_service_impl(::dsn::replication::replica* replica, ::dsn::configuration_ptr& config) : rrdb_service(replica, config) { _is_open = false; ...
<commit_before>#include "comparison_thread.h" #include "freetype_interface.h" FrameWinner::FrameWinner(char symb, uint_fast8_t diff) : symbol(symb) , grayLvlDiff(diff) { } SymbolMatches::SymbolMatches(size_t framesQuantity, const std::string& set) : progress(0) , symbolSet(set) { frameWinners.rese...
<commit_before>// Copyright 2015 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 require...
<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>// Catch #include <catch.hpp> // C++ Standard Library #include <memory> #include <iostream> // Boost #include <boost/filesystem.hpp> // Armadillo #include <armadillo> // HOP #include <hop> extern boost::filesystem::path testDirectory; static std::string dataPath_ = "/data/optimisationAlgorithm/traje...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with ...
<commit_before>/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* * ibun - bundle files operation */ #include "irods_client_api_table.hpp" #include "irods_pack_table.hpp" #include "rodsClient.hpp" #include "p...
<commit_before>#include <opencv2/opencv.hpp> namespace image_manip { // TODO(lucasw) mirror initUndistortRectifyMap as much as makes sense // Add m1type parameter // And R rectification matrix? // Need to investigate non-floating point version. void initDistortMap(const cv::Mat& cameraMatrix, const cv::Mat distCoeff...
<commit_before>namespace Bull { template<typename T> Vector2<T> Vector2<T>::normalize(const Vector2<T>& vector) { return Vector2<T>(vector).normalize(); } template<typename T> T Vector2<T>::dotProduct(const Vector2& left, const Vector2& right) { return (left.x * right.x) + (...
<commit_before>// Copyright 2017 Adam Smith // 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 or agree...
<commit_before>// Copyright 2015 Open Source Robotics Foundation, 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 re...
<commit_before>/* Copyright (c) 2006, 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 list of condi...
<commit_before>/* Copyright (c) 2006, 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 list of condi...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved */ #ifndef _Stroika_Foundation_DataExchangeFormat_ObjectVariantMapper_inl_ #define _Stroika_Foundation_DataExchangeFormat_ObjectVariantMapper_inl_ 1 /* *************************************************************************...
<commit_before>#include"all_defines.hpp" #include"symbols.hpp" #include"mutexes.hpp" #include<boost/noncopyable.hpp> #include<string> #include<map> void Symbol::copy_value_to(ValueHolderRef& p) { {AppLock l(m); /*Unfortunately the entire cloning has to be done while we have the lock. This is because a Symbo...
<commit_before>#include "cc_music_locate.hh" #include "cc_music_io.hh" #include "cc_music_edit.hh" #include <iostream> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/opencv.hpp> using namespace std; using namespace cv; Vec4i locateSymbolsX(Mat, Vec4i); vector<Vec4i> locateSheetLines(Mat image){ vector<Ve...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>#pragma once #include <memory> #include <iostream> #include <array> #include <mutex> #include <cassert> namespace petsc { class TimeStepper; namespace TimeStepper_private { // template< typename context > std::function<PetscErrorCode(TS, PetscReal, Vec, Mat*, Mat*, MatStructure*)> jacobian;...
<commit_before>/****************************************************************************** nomlib - C++11 cross-platform game engine Copyright (c) 2013, 2014 Jeffrey Carpenter <[email protected]> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitt...
<commit_before>/* -*- Mode:C++; c-file-style:"gnu" -*- */ /* * Copyright 2014 Waseda University, Sato Laboratory * Author: Zhu Li <[email protected]> * Jairo Eduardo Lopez <[email protected]> * * nnn-face.cc is free software: you can redistribute it and/or modify * it under the terms of...
<commit_before><commit_msg>Fix bad regex<commit_after><|endoftext|>
<commit_before>// ImageProcessor // Class to handle the processing of the image sequence #include "imageProcessor.h" ImageProcessor::ImageProcessor() { width = 480; height = 480; minVal = 0; maxVal = 255; bucketSize = 8; buckets = (maxVal + 1) / bucketSize; } ImageProcessor::~ImageProcessor(...
<commit_before>#include "BeaconTile.h" Tile* BeaconTile::beacon = NULL; BeaconTile::BeaconTile(int id) : Tile(id, &Material::metal) { tex = getTextureUVCoordinateSet("glass", 0); secondary_tex = getTextureUVCoordinateSet("obsidian", 0); terciary_tex = getTextureUVCoordinateSet("beacon", 0); //fourth_tex = getText...
<commit_before>/* Copyright (c) 2006 - 2007 Volker Krause <[email protected]> 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 op...
<commit_before>#ifndef VENTURA_REACTIVE_LINUX_INOTIFY_HPP #define VENTURA_REACTIVE_LINUX_INOTIFY_HPP #include <silicium/observable/observer.hpp> #include <silicium/error_or.hpp> #include <silicium/exchange.hpp> #include <silicium/throw_last_error.hpp> #include <ventura/linux/inotify_watch_descriptor.hpp> #include <ven...
<commit_before>/* Copyright 2016 Mitchell Young 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...
<commit_before>/* * Copyright (c) 2012 Fredrik Mellbin * * This file is part of VapourSynth. * * VapourSynth 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 y...
<commit_before>// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "trace.h" #include "utils.h" #include "pal.h" #include "fx_ver.h" #include "error_codes.h" #if FEATURE_APPHOST #define C...
<commit_before>#include "testApp.h" //-------------------------------------------------------------- void testApp::setup(){ #if 0 sink_ = new SinkNode(); constant_ = new ConstantNode(1.0); sink_ << constant_; #endif } //-------------------------------------------------------------- void testApp::update(){ } //--...
<commit_before>/* Copyright (c) 2015, Project OSRM contributors 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 of condi...
<commit_before>/// HEADER #include <csapex.h> /// PROJECT #include <csapex/core/csapex_core.h> #include <csapex/core/drag_io.h> #include <csapex/core/graphio.h> #include <csapex/core/settings.h> #include <csapex/scheduling/thread_pool.h> #include <csapex/model/graph.h> #include <csapex/model/graph_worker.h> #include <...
<commit_before>/* * ===================================================================================== * * Filename: main.cc * * Description: * * Version: 1.0 * Created: 03/20/2008 12:34:14 AM EDT * Revision: none * Compiler: gcc * * Author: Nikolaos Vas...
<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 distributed WIT...
<commit_before>/* * derived from: https://github.com/sabas1080/FXAS21002C_Arduino_Library * * modified by Francesco Ferraro 01/2016 * [email protected] * */ #include <Wire.h> #include <math.h> #include "FXAS21002C.h" // Public Methods ////////////////////////////////////////////////////////////// ...
<commit_before>/* Copyright (C) 2002 by Jorrit Tyberghein 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 option) any later ve...
<commit_before>/*! \copyright (c) RDO-Team, 2003-2012 \file app/rdo_studio_mfc/src/edit/view_base.cpp \author ([email protected]) \date 20.02.2003 \brief \indent 4T */ // ---------------------------------------------------------------------------- PCH #include "app/rdo_studio_mfc/pch/...
<commit_before>/* **************************************************************************** * * FILE diskManagerTest.cpp * * AUTHOR Javier Lois * * DATE December 2011 * * DESCRIPTION * * unit testing of the engine library * */ #include <sys/time.h> #include "gtest/gtest.h" #include ...
<commit_before>#ifndef __AXIS_HPP #define __AXIS_HPP #ifndef __ODRIVE_MAIN_H #error "This file should not be included directly. Include odrive_main.h instead." #endif enum HomingState_t { HOMING_STATE_IDLE, HOMING_STATE_HOMING, HOMING_STATE_MOVE_TO_ZERO }; class Axis { public: enum Error_t { ...
<commit_before>/* * MolecularBezierData.cpp * * Copyright (C) 2013 by TU Dresden * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "MolecularBezierData.h" #include "vislib/BezierCurve.h" #include "vislib/RawStorage.h" #include "vislib/RawStorageWriter.h" #include "vislib/Point.h" #include <lis...