text
stringlengths
54
60.6k
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: abpfinalpage.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-08 19:02:29 $ * * The Contents of this file are m...
<commit_before>/************************************************************************* * Copyright (C) 2011-2016 by Paul-Louis Ageneau * * paul-louis (at) ageneau (dot) org * * * * ...
<commit_before>#include "blackmagicsdk_video_source.h" #include "deck_link_display_mode_detector.h" #include <chrono> namespace gg { VideoSourceBlackmagicSDK::VideoSourceBlackmagicSDK() : IVideoSource() , _frame_rate(0.0) , _video_buffer(nullptr) , _video_buffer_length(0) , _cols(0) , _rows(0)...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libmeegotouch. ** ** If you have questions regar...
<commit_before>/* * Copyright (c) 2008-2018, Hazelcast, 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 * * U...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
<commit_before>/* * Copyright (C) 2011 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>#include <Player.h> #include <Globals.h> using namespace uth; Player::Player() : GameObject("Player") { AddChild(m_base = new GameObject()); m_base->AddTags({ "Player", "Base" }); m_base->AddComponent(new Sprite("PlayerBase.png")); AddChild(m_tip = new GameObject()); m_tip->AddTags({ "Player", "...
<commit_before>#include <SDL2/SDL.h> #ifdef main #undef main #endif #include "cudaray.h" #include <vector> #ifdef HAVE_OPENMP #include <omp.h> #endif static float rnd() { static long a = 3; a = (((a * 214013L + 2531011L) >> 16) & 32767); return (((a % 65556) + 1)) / 65556.0f; } struct t_light_aux { ...
<commit_before>#ifndef _arena_hpp_INCLUDED #define _arena_hpp_INCLUDED #include <cassert> #include <cstdlib> #include <cstring> namespace CaDiCaL { // This memory allocation arena provides fixed size pre-allocated memory for // the moving garbage collector 'copy_non_garbage_clauses' in 'reduce.cpp' // to hold clause...
<commit_before>// Copyright 2013 The Flutter 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 "flutter/shell/platform/android/android_surface_gl.h" #include <GLES/gl.h> #include <utility> #include "flutter/fml/logging.h" #i...
<commit_before>/* * Copyright (C) 2013 midnightBITS * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, * mod...
<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>/** * Copyright (c) 2013-2014 Tomas Dzetkulic * Copyright (c) 2013-2014 Pavol Rusnak * * 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 with...
<commit_before>#include <cctype> #include <fstream> #include <stdio.h> #include "utils/logoutput.h" #include "settings.h" #define TRIM_STRING(s) do { while(((s).length() > 0) && isspace((s)[0])) { (s).erase(0, 1); } while(((s).length() > 0) && isspace((s)[(s).length() - 1])) { (s).erase((s).length() - 1); } } ...
<commit_before>/************************************************************************* * * * I|*j^3Cl|a "+!*% qt Nd gW * * l]{y+l?MM* !#Wla\NNP NW MM I| * * ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: stdctrl.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2007-04-26 10:31:43 $ * * The Contents of this file are made a...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * 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 with this * file, You can obtain one ...
<commit_before>/* * Copyright 2013, Tim Branyen @tbranyen <tim@tabdeveloper.com> * @author Michael Robinson @codeofinterest <mike@pagesofinterest.net> * * Dual licensed under the MIT and GPL licenses. */ #include <string.h> #include <v8.h> #include <node.h> #include "../vendor/libgit2/include/git2.h" #include "c...
<commit_before>#include "Point.hpp" Point::Point(int px, int py) : x(px), y(py){ if(abs(px + py) > 4 || abs(px) > 4 || abs(py) > 4){ throw BoardBoundsException(px,py); } } bool Point::operator < (const Point& pToCompare) const{ return (this->x < pToCompare.x) || ((this->x == pToCompare.x) && (this->y < pToCom...
<commit_before>/// @brief provides stuff for std::tan in case of fixed-point numbers namespace std { template<typename T, size_t n, size_t f, class op, class up> typename core::fixed_point<T, n, f, op, up>::tan_type tan(core::fixed_point<T, n, f, op, up> const& val) { typedef core::fixed_poin...
<commit_before>#include "cinder/app/App.h" #include "cinder/Capture.h" #include "cinder/Utilities.h" #include "cinder/ImageIo.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/Texture.h" #include "cinder/gl/Fbo.h" #include "cinder/gl/shader.h" #include "cinder/gl/draw.h" #include "cinder/gl/scoped.h" #include...
<commit_before>/* * G28Handler.cpp * * Created on: 15 maj 2014 * Author: MattLech */ #include "G28Handler.h" static G28Handler *instance; G28Handler *G28Handler::getInstance() { if (!instance) { instance = new G28Handler(); }; return instance; }; G28Handler::G28Handler() { } int G28Handler::...
<commit_before>#include "Genes/Gene.h" #include <cmath> #include <iostream> #include <algorithm> #include <utility> #include <map> #include <fstream> #include <numeric> #include <iterator> #include "Game/Board.h" #include "Game/Color.h" #include "Utility/Random.h" #include "Utility/String.h" #include "Utility/Except...
<commit_before>/// Copyright (C) 2013 Kojack /// /// 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, modify, merge, p...
<commit_before>#include "NewsItemWidget.h" #include <QVBoxLayout> #include <QDesktopServices> #include <QUrl> /** * NewsItemWidget constructor * \param p The color palette for the UI * \param URL The URL to the RSS article * \param source The RSS feed the headline came from * \param title The headline to be displ...
<commit_before>#include <Python.h> #include "numpy/arrayobject.h" #include "types.h" #include "index_table.h" #include <vector> /*Wraps the flux_extractor into a python module called spectra_priv. Don't call this directly, call the python wrapper.*/ /*Helper function to copy los data into the form expected by the wo...
<commit_before>#include "GameEntity.h" GameEntity::GameEntity() { position = VecF3(0.0f, 0.0f, 0.0f); rotation = VecF3(0.0f, 0.0f, 0.0f); scale = VecF3(1.0f, 1.0f, 1.0f); graphicsContainer = NULL; initMatrices(); } GameEntity::GameEntity( VecF3 position, VecF3 rotation, VecF3 scale, vector<Componen...
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum 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 option) any later version. cpp-ethereum is dis...
<commit_before>// // AppDelegate.cpp // ee_x_test // // Created by Zinge on 5/17/17. // // #include "AppDelegate.hpp" #include "CrashlyticsAgent.hpp" #include "NotificationAgent.hpp" #include <cocos2d.h> #include <ee/Core.hpp> #include <ee/FacebookAds.hpp> #include <ee/Macro.hpp> namespace { const auto DesignRes...
<commit_before>#include <Interfaces/PacketSocket.h> #include "HealthEcho.h" #include <poll.h> #include <iostream> int main(int argc, char** argv) { int interface_index = 0; try { nshdev::PacketSocket interface(interface_index); HealthEcho echo; interface.SetConsumer(&echo); int fd = interface.GetWait...
<commit_before><commit_msg>templates dlg: close window and use _default target for template creation<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: prtsetup.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: pl $ $Date: 2001-12-06 17:19:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>// Copyright (c) 2008-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "googleurl/src/gurl.h" #include "media/filters/ffmpeg_audio_decoder.h" #include "media/fil...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dp_identifier.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2007-01-19 09:14:21 $ * * The Contents of this file are ...
<commit_before>/* * Copyright 2016 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. Al...
<commit_before>/* Copyright (c) 2003, 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>/* * File: main.cpp * Author: Luca Bettinelli * * Created on July 18, 2017, 3:20 PM */ #include <stdlib.h> #include <core.hpp> #include <imgproc.hpp> #include <highgui.hpp> #include <iostream> #include <math.h> #include<string.h> #include<fstream> #include<dirent.h> #include "Filter.h" #includ...
<commit_before>/******************************************************************************* fsm11 - A C++11-compliant framework for finite state machines Copyright (c) 2015, Manuel Freiberger All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permit...
<commit_before>// // Reference : Chapter 6, "Introduction to Algorithms 3rd ed", aka CLRS. // #pragma once #include <vector> #include <functional> #include <stdexcept> #include <algorithm> using std::move; using std::find_if; using std::swap; namespace search { // // parent // O(1) // template...
<commit_before>/* This file is part of kdepim. Copyright (c) 2004 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 th...
<commit_before>#pragma once #include <stdint.h> #include "mrboom.h" #include "common.hpp" #ifndef DEBUG #define NDEBUG #endif #include "assert.h" #ifdef __cplusplus extern "C" { #endif #define DELTA_X 3 #define DELTA_Y 14 #define COUNTDOWN_DURATON 256 #define CELLPIXEL...
<commit_before>/* * Copyright (c) 2008,2009, University of California, Los Angeles 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 abov...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission no...
<commit_before>/* * Copyright 2019 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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 Software Foundation, either version 3 of the License, or * (at your option...
<commit_before>/* * Implementation of graph.h. */ #include "graph.h" #define V_VISITED 1 // for marking the BFT_kmer as visited Graph::Graph(char* bftFileName) { bft = load_BFT(bftFileName); free(bftFileName); } Graph::~Graph() { free_cdbg(bft); } bool Graph::isBFTKmer(char* strKmer) const { uint...
<commit_before>/* * Copyright (C) 2006,2007,2008,2009,2010,2011,2012 Olly Betts * * 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 *...
<commit_before>// This file is auto-generated from nearest_neighbor.idl // *** DO NOT EDIT *** #ifndef JUBATUS_CLIENT_NEAREST_NEIGHBOR_CLIENT_HPP_ #define JUBATUS_CLIENT_NEAREST_NEIGHBOR_CLIENT_HPP_ #include <map> #include <string> #include <vector> #include <utility> #include <jubatus/msgpack/rpc/client.h> #include ...
<commit_before>/* This file is part of KContactManager. Copyright (c) 2009 Tobias Koenig <tokoe@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 L...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: entrylisthelper.cxx,v $ * $Revis...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: entrylisthelper.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-08 22:48:23 $ * * The Contents of this file ar...
<commit_before>/* This file is part of the Kate project. * * Copyright (C) 2012 Christoph Cullmann <cullmann@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either ...
<commit_before>#ifndef LIBTG_HPP #define LIBTG_HPP #include <bits/stdc++.h> #include "uint_t.hpp" // ============================================================================= // Types // ============================================================================= enum {CONJ=1,DISJ,IMPL,EQUI,NEGA,ATOM}; struct ...
<commit_before>/************************************************************************* * * $RCSfile: timemeasure.hxx,v $ * * $Revision: 1.1 $ * * last change: $Author: as $ $Date: 2001-05-21 06:12:32 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser General Pub...
<commit_before>#include "frc971/control_loops/drivetrain/drivetrain.h" #include <stdio.h> namespace frc971 { namespace control_loops { namespace drivetrain { DrivetrainLoop *loop1296; struct DrivetrainConfig config1296; extern "C" void CheezyInit1296(void) { config1296.shifter_type = ShifterType::SIMPLE_SHIFTER; ...
<commit_before>// $Id: energyMinimizer.C,v 1.5 1999/12/30 20:30:44 oliver Exp $ #include <BALL/MOLMEC/MINIMIZATION/energyMinimizer.h> #include <BALL/COMMON/limits.h> using namespace std; namespace BALL { const char* EnergyMinimizer::Option::MAXIMAL_NUMBER_OF_ITERATIONS = ...
<commit_before>//===-- AsmPrinterDwarf.cpp - AsmPrinter Dwarf Support --------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <unistd.h> #include <node.h> #include <QtGui> #include <QObject> #include "QmlContext.h" namespace Brig { using namespace v8; using namespace node; Persistent<Function> QmlContext::constructor; QmlContext::QmlContext() : ObjectWrap() { obj = NULL; } QmlContext::~QmlContext() { d...
<commit_before> // RCONServer.cpp // Implements the cRCONServer class representing the RCON server #include "Globals.h" #include "IniFile.h" #include "RCONServer.h" #include "Server.h" #include "Root.h" #include "CommandOutput.h" // Disable MSVC warnings: #if defined(_MSC_VER) #pragma warning(push) #pragma war...
<commit_before><commit_msg>error: assigning to 'PrintQueueFlags' from incompatible type 'int'<commit_after><|endoftext|>
<commit_before><commit_msg>Fix merge issues<commit_after><|endoftext|>
<commit_before>//===-- XCoreLowerThreadLocal - Lower thread local variables --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright 2004-present Facebook. All Rights Reserved. #include <gflags/gflags.h> #include <glog/logging.h> #include "osquery/core.h" DEFINE_string(query, "", "query to execute"); int main(int argc, char* argv[]) { osquery::core::initOsquery(argc, argv); if (FLAGS_query != "") { int err; ...
<commit_before>/******************************************************************************* GPU OPTIMIZED MONTE CARLO (GOMC) 2.60 Copyright (C) 2018 GOMC Group A copy of the GNU General Public License can be found in the COPYRIGHT.txt along with this program, also can be found at <http://www.gnu.org/licenses/>...
<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>/************************************************************************* * * Copyright (c) 2008-2010 Kohei Yoshida * * 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 wi...
<commit_before>/* * Copyright (c) 2011 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>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or the GNU Lesser General Public License. See // LICENSE.TX...
<commit_before>/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gl/GrGLInterface.h" #include "gl/GrGLAssembleInterface.h" #include "gl/GrGLUtil.h" #include <GL/glx.h> static GrGLFuncPtr glx_get(void* ctx, const ...
<commit_before> /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gl/GrGLInterface.h" #include "gl/GrGLExtensions.h" #include "GrGLUtil.h" #include <OpenGL/gl.h> #include <OpenGL/glext.h> #include <dlfcn.h> stat...
<commit_before>/*- * Copyright (c) 2015 Masayoshi Mizutani <mizutani@sfc.wide.ad.jp> * 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 ab...
<commit_before>#include "TrackLayer.h" #include "PathUtil.h" #include "Projection.h" #include "Types.h" #include "ViewCtx.h" #define PARTICLE_RADIUS 12.0 #define MEDIUM_LOD_RES 10.0 #define LO_LOD_RES 20.0 using namespace cinder; const Color TrackLayer::RunColor = Color( 1, 0, 0 ); const Color TrackLayer::OtherColo...
<commit_before>// // File: Actor.hpp // Class: Actor // Author: John Barbero Unenge // All code is my own except where credited to others. // // Copyright (c) 2012 Catch22. All Rights Reserved. // // Date: 2/10/12 // // Description: // This class is used to graphically represent some part of // th...
<commit_before>#pragma once #include <memory> #include <cstring> #include <boost/lockfree/queue.hpp> #include <sqlite3.h> #include <iod/sio.hh> #include <iod/callable_traits.hh> namespace iod { void free_sqlite3_statement(void* s) { sqlite3_finalize((sqlite3_stmt*) s); } struct sqlite_statement { ...
<commit_before>/* The MIT License Copyright (c) 2016 Adrian Tan <atks@umich.edu> 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 ...
<commit_before>/*******************************************************************************/ /* */ /* Copyright (c) 2007-2009: Peter Schregle, */ /* All rights reserved. ...
<commit_before>/* This file is part of the Grantlee template system. Copyright (c) 2009 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 version 3 only, as published by the Free Software Founda...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "operator.h" #include <vespa/vespalib/util/regexp.h> #include <vespa/vespalib/stllike/asciistream.h> #include <vespa/vespalib/stllike/hash_map.hpp> #include <cassert> #include...
<commit_before>// Convert DMD CodeView debug information to PDB files // Copyright (c) 2009-2010 by Rainer Schuetze, All Rights Reserved // // License for redistribution is given by the Artistic License 2.0 // see file LICENSE for further details #include "mspdb.h" #include <windows.h> #pragma comment(lib,...
<commit_before>#include "music.h" #include <string> #include <iostream> #include "globals.h" // #include "defs.h" #include <pthread.h> #include "util/funcs.h" #include "util/file-system.h" #include "util/music-player.h" using namespace std; static Music * instance = NULL; static double volume = 1.0; // static bool ...
<commit_before>#include "builtin/nativemethod.hpp" #include "objectmemory.hpp" #include "gc/baker.hpp" #include "capi/capi.hpp" #include "capi/handles.hpp" namespace rubinius { namespace capi { Handle* Handles::allocate(STATE, Object* obj) { bool needs_gc = false; Handle* handle = allocator_->alloca...
<commit_before>/* Copyright (c) 2010, Antonie Jovanoski * * All rights 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 of the License, or (at your ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pipe.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: hr $ $Date: 2006-06-20 04:07:03 $ * * The Contents of this file are made avai...
<commit_before>/* * Copyright (c) 2010, Joshua Lackey * 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 * n...
<commit_before>/*! * \page CRSTestSuite_cpp Command-Line Test to Demonstrate How To Test the SimCRS Project * \code */ // ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// // STL #include <sstream> #inclu...
<commit_before>#ifndef __test_modelgen__ #define __test_modelgen__ #include <ciri/gfx/IGraphicsDevice.hpp> #include "Model.hpp" namespace modelgen { // width; height; depth; u-scale; v-scale static Model* createCube( float w, float h, float d, float us, float vs, ciri::IGraphicsDevice* device ) { Model* model = n...
<commit_before>// Author: Daisuke Kanaizumi // Affiliation: Department of Applied Mathematics, Waseda University // Email: daisuke15@asagi.waseda.jp // Verification program for q-special functions // by using double exponential formula with verified error bounds. // References // Ismail, M. E., & Zhang, R. (2016)....
<commit_before>#include <cstdint> #include <sys/types.h> #include <thread> #include <vector> #include "raft_c_if.h" #include "raft_shm.h" using boost::interprocess::anonymous_instance; using boost::interprocess::interprocess_mutex; static void start_fsm_worker(RaftFSM* fsm); static void run_fsm_worker(RaftFSM* fsm)...
<commit_before>#include <iostream> #include <fstream> #include <cstring> #include <vector> // c++11 sleep #include <thread> #include <chrono> #include "Net.h" #define SHOW_ACKS using namespace std; using namespace net; const unsigned short ServerPort = 30000; const unsigned short ClientPort = 30001; const int Proto...
<commit_before>#include "responce.h" std::string test(std::string data){ std::string message; message = data; return message; } <commit_msg>Delete responce.cpp<commit_after><|endoftext|>
<commit_before>/** * \file * \brief ContiguousRange template class header. * * \author Copyright (C) 2014 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 * ...
<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) 2011 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>// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE-CHROMIUM file. #include "shell/browser/ui/devtools_ui.h" #include <memory> #include <string> #include <utility> #include "base/memory/ref_c...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: infotips.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hr $ $Date: 2006-06-19 14:13:20 $ * * The Contents of this file are made ...
<commit_before>/* * Copyright (c) 2014 Patrick P. Frey * * 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 with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /// \file textwolf/xmlpathautomatonparse.hpp /// \brief...
<commit_before>#include "APSEthernetPacket.h" APSEthernetPacket::APSEthernetPacket() : header{{}, {}, APS_PROTO, 0, {0}, 0}, payload(0){}; APSEthernetPacket::APSEthernetPacket(const APSCommand_t & command) : header{{}, {}, APS_PROTO, 0, command, 0}, payload(0){}; APSEthernetPacket::APSEthernetPacket(const APSComma...
<commit_before>/*========================================================================= Program: Visualization Library Module: Actor.cc Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reproduce...
<commit_before>/* * raft_if, Go layer of libraft * Copyright (C) 2015 Clayton Wheeler * * 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 ...