text
stringlengths
54
60.6k
<commit_before>// Copyright 2010 Gregory Szorc // // 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 applicab...
<commit_before>#include "qcsvtoxml.h" #include <algorithm> #include <QFileDialog> #include <QTextStream> #include <QXmlStreamWriter> QCSVToXML::QCSVToXML(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); connect(this->ui.actionLoad, &QAction::triggered, this, &QCSVToXML::loadAction); connect(this->ui.a...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before><commit_msg>add a copy method to the AST<commit_after><|endoftext|>
<commit_before>#include "qhotkey.h" #include "qhotkey_p.h" #include <QDebug> #include <QX11Info> #include <QThreadStorage> #include <X11/Xlib.h> #include <xcb/xcb.h> //compability to pre Qt 5.8 #ifndef Q_FALLTHROUGH #define Q_FALLTHROUGH() (void)0 #endif class QHotkeyPrivateX11 : public QHotkeyPrivate { public: // Q...
<commit_before>#include "qhotkey.h" #include "qhotkey_p.h" #include <QDebug> #include <QX11Info> #include <QThreadStorage> #include <QTimer> #include <X11/Xlib.h> #include <xcb/xcb.h> //compability to pre Qt 5.8 #ifndef Q_FALLTHROUGH #define Q_FALLTHROUGH() (void)0 #endif class QHotkeyPrivateX11 : public QHotkeyPriva...
<commit_before><commit_msg>comienzo read/write<commit_after><|endoftext|>
<commit_before>/** This source adapted from https://github.com/kmicklas/variadic-static_variant * * Copyright (C) 2013 Kenneth Micklas * * 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 withou...
<commit_before>#include "StdAfx.h" #include "RawDecoder.h" /* RawSpeed - RAW file decoder. Copyright (C) 2009 Klaus Post 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 Found...
<commit_before> #include <layout/form_layout.h> #include <layout/box_layout.h> #include <gui/application.h> #include <gui/cocoa_style.h> namespace { //////////////////////////////////////// void build_form_window( const std::shared_ptr<gui::window> &win ) { using layout::form_layout; gui::builder builder( win ); ...
<commit_before><commit_msg>Remove device get_default().<commit_after><|endoftext|>
<commit_before>//----------------------------------------------------------- // // Copyright (C) 2017 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Publi...
<commit_before><commit_msg>Separate Best AI stats from game results<commit_after><|endoftext|>
<commit_before>/* * * NRF24L01+ to Message Protocol gateway * Copyright (C) 2013 Dustin Brewer * License: MIT */ #include <algorithm> #include <unordered_map> #include <string> #include <sstream> #include <vector> #include <ctime> #include "csiphash.c" #include "StringSplit.h" #include "IMessageProtocol.h" ...
<commit_before>#ifndef _SNARKFRONT_RANK_1_OPS_HPP_ #define _SNARKFRONT_RANK_1_OPS_HPP_ #include <algorithm> #include <cassert> #include <cstdint> #include <vector> #include "PowersOf2.hpp" #include <Rank1DSL.hpp> // snarklib #include "TLsingleton.hpp" namespace snarkfront { //////////////////////////////////////////...
<commit_before>/* Copyright 2014 Adam Grandquist 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 agreed to in wr...
<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 https://github.com/borneq/IniParser The MIT License (MIT), see file LICENSE */ #include "StrTools.h" //http://stackoverflow.com/questions/1798112/removing-leading-and-trailing-spaces-from-a-string string StrTools::trim(const string& str) { const string whitespace = " \t";...
<commit_before>// // example macro for reconstruction of the TPC raw data // // The path to the Calibration parameters is for the moment hard-wired in the code // Taken from /afs/ // // void recTPC(Int_t type, const char *filename="data.root") { // // Set path to calibration data // // type variable = 0 - cosm...
<commit_before>/* Copyright 2017 The TensorFlow 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 Unless required by appl...
<commit_before>// casnddrv.cpp // CoreAudio (MacOS X) Sound Driver for Crystal Space // // Created by mreda on Sun Nov 11 2001. // Copyright (c) 2001 Matt Reda. All rights reserved. #include "cssysdef.h" #include "csver.h" #include "cssys/sysfunc.h" #include "csutil/scf.h" #include "ivaria/reporter.h" #include "iuti...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008-2009, 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 // ...
<commit_before>// For conditions of distribution and use, see copyright notice in LICENSE #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "OgreRenderingModule.h" #include "Renderer.h" #include "EC_Placeable.h" #include "EC_Mesh.h" #include "EC_OgreCustomObject.h" #include "EC_AnimationController.h" ...
<commit_before>/****************************************************************************** * Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com) * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions a...
<commit_before>// Copyright 2014 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 "ui/ozone/platform/egl/egl_surface_factory.h" #include "third_party/skia/include/core/SkBitmap.h" #include "third_party/skia/includ...
<commit_before>#include <iostream> #include <bw/channelselector.h> #include <bw/thresholding.h> #include <bw/connectedcomponents.h> #include <bw/regionfeatures.h> #include <bw/extern_templates.h> int main(int argc, char** argv) { using namespace vigra; using namespace BW; if(argc != 3) { std::co...
<commit_before>/* mockturtle: C++ logic network library * Copyright (C) 2018-2019 EPFL * * 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 limita...
<commit_before>#include "common.h" #include "World.h" #include "PositionComponent.h" #include "PlayerCameraComponent.h" void World::Init() { } void World::Update(DeltaTicks &, std::vector<Object *> &) { chunks.With([] (ChunksType &chunks) { //INFO(chunks.size()); }); if(cameraObj == nullptr) { return; } auto...
<commit_before>// ---------------------------------------------------------------------------- // Callbacks.cpp // // // Authors: // Peter Polidoro polidorop@janelia.hhmi.org // ---------------------------------------------------------------------------- #include "Callbacks.h" namespace callbacks { // Callbacks must ...
<commit_before>/** \file undistort.cc Apply Lensfun corrections to a PNM file in place. This means, the original file is overwritten. The command line parameters are: - path to the PNM file - x coordinate of top left corner - y coordinate of top left corner - x coordinate of top right corner ...
<commit_before>#include <silicium/http/receive_request.hpp> #include <silicium/http/generate_response.hpp> #include <silicium/asio/writing_observable.hpp> #include <silicium/asio/tcp_acceptor.hpp> #include <silicium/observable/transform.hpp> #include <silicium/observable/spawn_coroutine.hpp> #include <silicium/observab...
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #ifndef FLUSHER_H #define FLUSHER_H 1 #include "common.hh" #include "ep.hh" #include "dispatcher.hh" enum flusher_state { initializing, running, pausing, paused, stopping, stopped }; class Flusher; ...
<commit_before>/* EEPROMEx.cpp - Extended EEPROM library Copyright (c) 2012 Thijs Elenbaas. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 ...
<commit_before>/* * 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 option) any later version. * * This program is distributed in the hope that...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Co...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#include <iostream> #include <fstream> #include <sys/stat.h> #ifdef ENABLE_LLVM #include <llvm/Support/ManagedStatic.h> #endif #include "environment.hpp" #include "oop.hpp" #include "type_info.hpp" #include "exception.hpp" #include "config.h" #include "paths.h" using namespace std; using namespace ...
<commit_before>#include "llvm/jit_operations.hpp" #include "llvm/access_memory.hpp" #include "builtin/access_variable.hpp" namespace rubinius { class Inliner { JITOperations& ops_; InlineCache* cache_; int count_; BasicBlock* after_; public: Inliner(JITOperations& ops, InlineCache* cache, in...
<commit_before>/* * copyright: (c) RDO-Team, 2011 * filename : main.cpp * author : Evgeny Proydakov * email : lord.tiran@gmail.com * date : 16.06.2011 * bref : Test rdo_common * indent : 4T */ // ====================================================================== PCH // ==============...
<commit_before>#include <cstdio> #include <cstdlib> #include "geometry/point.hpp" #include "geometry/triangle.hpp" #include "triangulation/figure_definition.hpp" #include "triangulation/triangulation.hpp" struct HUI : public FigureDefinition { int parameter(double x, double y) { //return !(y > x + 3 || y > 12 - x...
<commit_before>/* Copyright 2013 Roman Kurbatov * * 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 la...
<commit_before>/* * Copyright 2011 Jonathan Anderson * * 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>/************************************************************************* * * $RCSfile: sdgrffilter.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: kz $ $Date: 2005-01-13 17:24:45 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>#include <iostream> #include <iomanip> #include <cassert> #include "sampler.h" #include "vec2.h" #include "bsdf.h" using namespace std; struct sas { sas() : tp(0), n(0) { } scalar tp; int n; }; scalar solid_angle_area(scalar t0, scalar t1, scalar p0, scalar p1) { return (t1 - t0) * (cos(p0) -...
<commit_before>#include "includes/peciman.h" #include <graphics.h> int CanMovePeciman(pacmanController peciman, int nextDirection) // Untuk mencek apakah ada tembok atau tidak, jika tidak maka akan return true { switch(nextDirection) { case RIGHT : return levelMap[peciman.pos.x+1][peciman.pos.y].Wall == RE...
<commit_before>#include "stdafx.h" #include "vao.h" bool gl::vao::use_vao = true; gl::vao::vao() { if (!use_vao) return; glGenVertexArrays(1, *this); } gl::vao::~vao() { if (!use_vao) return; glDeleteVertexArrays(1, *this); } void gl::vao::setup_attrib(gl::buffer &buffer, int attrib, int size, int type, i...
<commit_before>#include "uspeech.h" char signal::getPhoneme(){ sample(); if(power()>SILENCE){ int k = complexity(power()); overview[6] = overview[5]; overview[5] = overview[4]; overview[4] = overview[3]; overview[3] = overview[2]; overview[2] = overview[1]; overview[1] = overview[0]; overview[0] = k...
<commit_before>#include <iostream> #include <string> #include <vector> #include <stdexcept> #include <boost/compute.hpp> #include <algorithm> #include <QtGui> #include <QtOpenGL> #include <boost/compute/command_queue.hpp> #include <boost/compute/kernel.hpp> #include <boost/compute/program.hpp> #include <boost/compute/s...
<commit_before>#ifndef SILICIUM_TO_UNIQUE_HPP #define SILICIUM_TO_UNIQUE_HPP #include <memory> namespace Si { template <class T> auto to_unique(T &&t) -> std::unique_ptr<typename std::decay<T>::type> { typedef typename std::decay<T>::type decayed_T; return std::unique_ptr<decayed_T>(new decayed_T(std::forward<...
<commit_before>/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #ifndef DATABASE_HH_ #define DATABASE_HH_ #include "dht/i_partitioner.hh" #include "config/ks_meta_data.hh" #include "locator/abstract_replication_strategy.hh" #include "core/sstring.hh" #include "core/shared_ptr.hh" #include "net/byteorder.hh" #inclu...
<commit_before>/*! * VerbalExpressions C++ Library v0.1 * https://github.com/whackashoe/C++VerbalExpressions * * The MIT License (MIT) * * Copyright (c) 2013 whackashoe * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the ...
<commit_before>#include <util/Logger.h> #include "ZoomView.h" namespace gui { static logger::LogChannel zoomviewlog("zoomviewlog", "[ZoomView] "); ZoomView::ZoomView() : _scale(1.0), _shift(0.0, 0.0), _zoomStep(1.1) { registerInput(_content, "painter"); registerOutput(_zoomed, "painter"); _content.registe...
<commit_before>/* * Copyright (c) 2017-2018 Tuukka Norri * This code is licensed under MIT license (see LICENSE for details). */ #include <boost/format.hpp> #include <sys/stat.h> #include <libbio/fasta_reader.hh> #include <vcf2multialign/read_single_fasta_seq.hh> #include <vcf2multialign/types.hh> namespace lb = l...
<commit_before>#include "Geometry.hpp" #include "Line.hpp" #include "PolylineCollection.hpp" #include "clipper.hpp" #include <algorithm> #include <list> #include <map> #include <set> #include <vector> #ifdef SLIC3R_DEBUG #include "SVG.hpp" #endif using namespace boost::polygon; // provides also high() and low() nam...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fmtcol.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-09 01:48:41 $ * * The Contents of this file are made av...
<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>#include <fstream> #include <string> #include <string.h> #include <iostream> #include "io.hh" #include "conf.hh" #include "HmmSet.hh" #include "Distributions.hh" int main(int argc, char *argv[]) { conf::Config config; HmmSet first_model; HmmSet second_model; try { config("usage: cmpmode...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Baozeng Ding <sploving1@gmail.com> // author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch> //---------------------------------------------------...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXQt - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2010-2011 Razor team * Authors: * Petr Vanek <petr@scribus.info> * * This program or library is free software; you can redistribute it * and/or modify it unde...
<commit_before>/******************************************************************************\ * File: vcs.cpp * Purpose: Implementation of wxExVCS class * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reproduction in ...
<commit_before>/** * CFunction * * Created for Copasi by Stefan Hoops * (C) Stefan Hoops 2001 */ #define COPASI_TRACE_CONSTRUCTION #include "copasi.h" #include "CFunctionParameter.h" #include "CFunctionParameters.h" #include "CFunction.h" CFunction::CFunction() { CONSTRUCTOR_TRACE; mReversible = TriUnspecif...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: postit.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2008-02-19 13:34:29 $ * * The Contents of this file are made av...
<commit_before>/* The MIT License (MIT) Copyright (c) 2013-2014 winlin 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, m...
<commit_before>/** * File : E.cpp * Author : Kazune Takahashi * Created : 11/25/2018, 12:14:31 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <strin...
<commit_before>AliPhysicsSelectionTask* AddTaskPhysicsSelection(Bool_t mCAnalysisFlag = kFALSE, Bool_t deprecatedFlag = kTRUE, UInt_t computeBG = 0, Bool_t useSpecialOutput=kFALSE) { AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager(); if (!mgr) { ::Error("AddTaskPhysicsSelection", "No analysis ...
<commit_before>#include <cassert> #include <cstring> #include <iostream> #include "Packet.h" #include "VpnPacket.h" // #define HOSTGATOR int open_raw_socket_for_listening() { static constexpr auto AF_PACKET = 17; static constexpr auto PF_PACKET = AF_PACKET; static constexpr auto SOCK_RAW_ = 3; static constexpr ...
<commit_before>/* * Copyright (C) 2008-2009 Manjeet Dahiya * * Author: * Manjeet Dahiya * * Source: * http://code.google.com/p/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 Public * Lic...
<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 (c) 2013-2014 Christoph Malek // See LICENSE for more information. // #ifndef RJ_CORE_MAIN_MENU_MAIN_MENU_HPP #define RJ_CORE_MAIN_MENU_MAIN_MENU_HPP #include "background.hpp" #include "component_manager.hpp" #include "items.hpp" #include "menu_levels.hpp" #include "menu_start.hpp" #in...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>/************************************************************************* * * $RCSfile: registerservices.cxx,v $ * * $Revision: 1.24 $ * * last change: $Author: obo $ $Date: 2004-09-09 17:09:56 $ * * The Contents of this file are made available subject to the terms of * either of the follo...
<commit_before>/* * tests_SGLGraph.cpp * * Created on: Oct 11, 2013 * * Author: Alexandre Baron */ #include "gtest/gtest.h" #include "SGLGraph.h" using namespace SGL; using namespace std; //*********************************FIXTURES************************************ //***********************...
<commit_before>#line 2 "quanta/core/object/object.cpp" /** @copyright MIT license; see @ref index or the accompanying LICENSE file. */ #include <quanta/core/config.hpp> #include <togo/core/log/log.hpp> #include <togo/core/error/assert.hpp> #include <togo/core/utility/utility.hpp> #include <togo/core/memory/memory.hpp>...
<commit_before>// // MSX.cpp // Clock Signal // // Created by Thomas Harte on 24/11/2017. // Copyright © 2017 Thomas Harte. All rights reserved. // #include "MSX.hpp" #include "../../Processors/Z80/Z80.hpp" #include "../../Components/1770/1770.hpp" #include "../../Components/9918/9918.hpp" #include "../../Compon...
<commit_before>// illarionserver - server for the game Illarion // Copyright 2011 Illarion e.V. // // This file is part of illarionserver. // // illarionserver is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Softwar...
<commit_before>/* Copyright (c) 2014, J.D. Koftinoff Software, Ltd. 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 notice, ...
<commit_before>void recTPC2007(Int_t type, const char *filename="data.root") { // .x recTPC(0,"rfio:/castor/cern.ch/alice/tpc/2007/12/13/00/07000011524011.980.root") // // Set path to calibration data // // type variable = 0 - cosmic test // = 1 - laser test // // Set reconstruction pa...
<commit_before>/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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 copyrig...
<commit_before>#include "GL.h" #include "PrimitiveRenderer.h" #include <VBO.h> #include "../system/StringUtils.h" #include <iostream> using namespace std; PrimitiveRenderer::PrimitiveRenderer() { } static set<int> readCompressedFormats() { set<int> r; GLint num_compressed_format; glGetIntegerv(GL_NUM_COMP...
<commit_before>#include "inbuilt.h" #include <cstdio> #include <cstdlib> #include <cstring> static const char pushya[] = R"(:code (pushya) dex sta LSB,x sty MSB,x + rts ;code)"; static const char oneplus[] = R"(:code 1+ inc LSB,x bne + inc MSB,x + rts ;code)"; static const char oneminus[...
<commit_before>#include <turner/msturn> #include <turner/test> #include <catch2/generators/catch_generators.hpp> namespace { using namespace turner_test; TEST_CASE("msturn") { SECTION("method registry") { CHECK(turner::msturn::allocate == 0x0003); CHECK(turner::msturn::allocate_success == 0x0103); CHECK(tu...
<commit_before>/* Copyright (C) 2013,2018 Rodrigo Jose Hernandez Cordoba 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 la...
<commit_before>// Simple Chatterbox client written in C++ // Depends on boost 1.55 and MinGW. // // To build on Windows 64-bit systems, we used the excellent MinGW Distro // from nuwen.net. Build command is: // g++ -std=c++0x -Wall -o cbclient cbclient.cpp -lboost_thread -lboost_system -lws2_32 // // When building on...
<commit_before>/* * hdfs_wfx.cpp file written and maintained by Calin Cocan * Created on: May 15, 2015 * * Double Commander * ------------------------------------------------------------------------- * WFX plugin for working with HDFS * * Based on: * GVFS plugin for Double Commander * C...
<commit_before>/* Copyright (C) 2016 iNuron NV This file is part of Open vStorage Open Source Edition (OSE), as available from http://www.openvstorage.org and http://www.openvstorage.com. This file is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public Li...
<commit_before>/******************************************************************************\ * File: test.cpp * Purpose: Implementation for wxextension cpp unit testing * Author: Anton van Wezenbeek * RCS-ID: $Id$ * Created: za 17 jan 2009 11:51:20 CET * * Copyright (c) 2009 Anton ...
<commit_before>//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgp...
<commit_before>#include "layers/layer_z.h" #include "core/exception.h" #include "core/ptree_utils.h" #include "ts/ts.h" using namespace std; using namespace cv; using namespace sem; /** * @brief class for testing layer Z initialization, the main, SEM learning algorithm */ class LayerZInitTest : public ::testing::T...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (c) 2010 Arjen Hiemstra <ahiemstra@heimr.nl> * Copyright (c) 2011 Laszlo Papp <djszapi@archlinux.us> * * This library is free software; you can redistribu...
<commit_before>#include <ros/ros.h> #include <ros/package.h> #include <cvt_ros/RGBDSubscriber.h> #include <tf2_ros/transform_listener.h> #include <cvt/cl/OpenCL.h> #include <cvt/cl/CLPlatform.h> #include <cvt/vision/TSDFVolume.h> #include <cvt/vision/CameraCalibration.h> using namespace cvt_ros; class TSDFMeshing : ...
<commit_before>/* * Copyright (C) 2009 by Marc Boris Duerner, 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 opt...
<commit_before>#include "coders_crux.gen.h" // Contains FB32 palette #include "number_font.h" #include "ElementCube.h" #include "Element.h" #include "periodic.h" /* Order of adding electrons according to WolframAlpha: 1. Right 2. Left 3. Top 4. Bottom Repeat pattern as needed. */ enum LewisSides { LRight = 0, ...
<commit_before>/************************************************************** COSC 501 Elliott Plack 14 NOV 2013 Due date: 30 NOV 2013 Problem: Write a program that plays the game of HANGMAN(guessing a mystery word). Read a word to be guessed from a file into successive elements of the ...
<commit_before><commit_msg>Update TGClient.cxx<commit_after><|endoftext|>
<commit_before>/* This file is part of the Grantlee template system. Copyright (c) 2008,2010 Stephen Kelly <steveire@gmail.com> 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; eithe...
<commit_before>#include <SFML/Graphics.hpp> #include <iostream> using namespace std; #define M_PI 3.14f #define LIGHT_RADIUS 400 struct Line { sf::Vector2f a, b; inline void create(float x1, float y1, float x2, float y2) { a = { x1, y1 }; b = { x2, y2 }; } inline void create(sf::Vector2f A, sf::Vector2f ...
<commit_before>/*- * Copyright (c) 2013 David Chisnall * All rights reserved. * * This software was developed by SRI International and the University of * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) * ("CTSRD"), as part of the DARPA CRASH research programme. * * Redistribution and...
<commit_before>/* * Copyright (C) 2010-2011 Dmitry Marakasov * * This file is part of glosm. * * glosm 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 opt...
<commit_before>#include "gtest/gtest.h" #include "S3ExtWrapper.cpp" #define KEYID "AKIAIAFSMJUMQWXB2PUQ" #define SECRET "oCTLHlu3qJ+lpBH/+JcIlnNuDebFObFNFeNvzBF0" class S3Reader_fake : public S3Reader { public: S3Reader_fake(const char *url); virtual ~S3Reader_fake(); virtual bool Init(int segid, int s...
<commit_before>/** * @file * @author Jason Lingle * @brief Implementation of src/core/init_state.hxx */ #include <iostream> #include <typeinfo> #include <ctime> #include <new> #include <algorithm> #include <GL/gl.h> #include <SDL.h> #include <tcl.h> #include "init_state.hxx" #include "src/abendstern.hxx" #inclu...