text
stringlengths
54
60.6k
<commit_before><commit_msg>Parse it as a single address.<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: pfuncache.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: obo $ $Date: 2004-06-04 11:37:48 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before><commit_msg>coverity#1226486 Dereference null return value<commit_after><|endoftext|>
<commit_before>#include "unittest/gtest.hpp" #include "clustering/immediate_consistency/branch/broadcaster.hpp" #include "clustering/immediate_consistency/branch/listener.hpp" #include "clustering/immediate_consistency/branch/replier.hpp" #include "unittest/dummy_metadata_controller.hpp" #include "unittest/dummy_protoc...
<commit_before>#include "glyphcellrenderer.h" #include "wxcontext.h" #include <wx/dcclient.h> #include <wx/graphics.h> #include <wx/settings.h> #include <memory> GlyphCellRenderer::GlyphCellRenderer(const std::map<wxString, SvgGlyph> &glyphs, int fontSize): glyphs(glyphs), fontSize(fontSize) { labelFont = wxSyst...
<commit_before>#include "Patch.hpp" #include <Utils/Util.hpp> using namespace AnvilCommon; using namespace AnvilEldorado::Patches; void ApplyAfterTagsLoaded() { // TODO: Perform any actions that need to be done after tags are loaded here. } __declspec(naked) void TagsLoadedHook() { __asm { call ApplyAfterTagsLo...
<commit_before>// This file is distributed under the MIT license. // See the LICENSE file for details. #include <cstring> #include <iostream> #include <ostream> #include <vector> #include <visionaray/gl/compositing.h> #include <visionaray/gl/handle.h> #include <visionaray/gl/program.h> #include <visionaray/gl/shader....
<commit_before>#include "LogsPopup.hpp" #include "IrcMessage" #include "common/Channel.hpp" #include "common/NetworkRequest.hpp" #include "providers/twitch/TwitchChannel.hpp" #include "providers/twitch/TwitchMessageBuilder.hpp" #include "widgets/helper/ChannelView.hpp" #include <QDateTime> #include <QJsonArray> #incl...
<commit_before>/* Copyright (C) 2011 Martin Klapetek <[email protected]> Copyright (C) 2013 David Edmundson <[email protected]> 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 ...
<commit_before>/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2017 Ben Vanik. All rights reserved. ...
<commit_before>#ifndef STAN_MATH_PRIM_FUN_TO_COMPLEX_HPP #define STAN_MATH_PRIM_FUN_TO_COMPLEX_HPP #include <stan/math/prim/meta.hpp> #include <complex> namespace stan { namespace math { /** * Return the real part of the complex argument. * * @return a complex type with real and imaginary set to 0 */ std::compl...
<commit_before>#ifndef STAN_MATH_REV_FUNCTOR_ODE_BDF_HPP #define STAN_MATH_REV_FUNCTOR_ODE_BDF_HPP #include <stan/math/rev/meta.hpp> #include <stan/math/rev/functor/cvodes_integrator.hpp> #include <ostream> #include <vector> namespace stan { namespace math { /** * Solve the ODE initial value problem y' = f(t, y), y...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2004 Benjamin S. Kirk, John W. Peterson // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // versio...
<commit_before>//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // ...
<commit_before>#include <algorithm> #include <iostream> #include <sstream> #include <string> #include "parsers/parse_error.hh" #include "parsers/tina.hh" namespace pnmc { namespace parsers { namespace { /*------------------------------------------------------------------------------------------------*/ unsigned in...
<commit_before>/* * Copyright 2015 WebAssembly Community Group participants * * 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 * * Unl...
<commit_before>// // Copyright (c) 2014 CNRS // Authors: Florent Lamiraux // // This file is part of hpp-core // hpp-core 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 // 3 of the Lic...
<commit_before>#include "queueloader.h" #include <cstdlib> #include <cstring> #include <fstream> #include <libgen.h> #include <unistd.h> #include "config.h" #include "configcontainer.h" #include "logger.h" #include "stflpp.h" #include "utils.h" using namespace newsboat; namespace podboat { queueloader::queueloader...
<commit_before>#include "queueloader.h" #include <cstdlib> #include <cstring> #include <fstream> #include <libgen.h> #include <unistd.h> #include "config.h" #include "configcontainer.h" #include "logger.h" #include "stflpp.h" #include "utils.h" using namespace newsboat; namespace podboat { queueloader::queueloader...
<commit_before>/* This is free and unencumbered software released into the public domain. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "writer.h" #include "writer/impl.h" #ifndef DISABLE_JSONLD #include "writer/jsonld.h" #endif #ifndef DISABLE_NQUADS #include "writer/nquads.h" #endif #ifndef DISABLE...
<commit_before>#include "scene_view.h" #include "core/crc32.h" #include "core/input_system.h" #include "core/path.h" #include "core/profiler.h" #include "core/resource_manager.h" #include "core/string.h" #include "editor/gizmo.h" #include "editor/imgui/imgui.h" #include "editor/log_ui.h" #include "editor/platform_inter...
<commit_before>/* Joystick_Plugin - for licensing and copyright see license.txt */ #include "StdAfx.h" #include "Nodes/G2FlowBaseNode.h" //#include <IScriptSystem.h> //#include <ScriptHelpers.h> #include <CPluginJoystick.h> namespace JoystickPlugin { HRESULT PollJoystick( DIJOYSTATE2* js, LPDIRECTINPUTDEVICE8 joy...
<commit_before>//----------------------------------------------------------------------------- // File: list.cpp // // Class: list // Functions: main //----------------------------------------------------------------------------- #include "list.h" using namespace std; namespace NP_ADT { //-------------------...
<commit_before><commit_msg>Remove temporary output files<commit_after><|endoftext|>
<commit_before><commit_msg>Changed the point off of the surface to be calculated to be further off because it ended up thinking it collided with itself.<commit_after><|endoftext|>
<commit_before>#include "Renderer.h" #include <fstream> Renderer::Renderer() : m_world(nullptr),m_pixels(std::vector<RGBColor>()) { } Renderer::Renderer(World* world, const uint16_t image_width, const uint16_t image_height) : m_world(world), m_image_width(image_width), m_image_height(image_height), m_pixel...
<commit_before>/* * Copyright (C) 2013 Aggregate * * 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...
<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>#include "gui/ng/spritewidget.hpp" namespace namelessgui { RectangularWidget::RectangularWidget(std::string id) : Widget(id), sf::RectangleShape(sf::Vector2f()) { setFillColor(sf::Color(255, 255, 0, 0)); setSize({100, 100}); } sf::Vector2f RectangularWidget::getSize() const { return sf::Rectang...
<commit_before>class Solution { public: struct Node; using NodePtr = shared_ptr<Node>; struct Node { int length; NodePtr parent; vector<NodePtr> children; Node(NodePtr p) : length(0), parent(p) {} Node(int len) : length(len), parent(nullptr) {} Node(int len,...
<commit_before><commit_msg>Localization: fix bug on lossless_map_creator tool (#9928)<commit_after><|endoftext|>
<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>#pragma once #include <phosphor-logging/lg2/concepts.hpp> #include <string_view> namespace lg2::details { /** A type to handle compile-time validation of header strings. */ struct header_str { // Hold the header string value. std::string_view value; /** Constructor which performs validati...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: stmenu.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2007-01-02 16:54:04 $ * * The Contents of this file are made av...
<commit_before>/* ** Copyright 2011 Merethis ** This file is part of Centreon Broker. ** ** Centreon Broker is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centreon Broker is distributed in t...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkPlotParallelCoordinates.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for det...
<commit_before>/* * Copyright (C) 2014 Pavel Kirienko <[email protected]> */ #ifndef UAVCAN_NODE_SCHEDULER_HPP_INCLUDED #define UAVCAN_NODE_SCHEDULER_HPP_INCLUDED #include <uavcan/error.hpp> #include <uavcan/util/linked_list.hpp> #include <uavcan/transport/dispatcher.hpp> namespace uavcan { class UAVCAN_EX...
<commit_before>/*========================================================================= Program: Monteverdi2 Language: C++ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See Copyright.txt for details. Monteverdi2 is distributed under the CeCILL licence version 2. See Licenc...
<commit_before>#include "transport_sweeper.hpp" #include <cmath> #include <iostream> using std::endl; using std::cout; namespace mocc { real_t TransportSweeper::total_fission( bool old ) const { real_t tfis = 0.0; const auto &flux = old ? flux_old_: flux_; for( auto &xsr: *xs_mesh_ ) { ...
<commit_before>#include "mitkOpenGLRenderer.h" #include "Mapper.h" #include "mitkImageMapper2D.h" #include "BaseVtkMapper2D.h" #include "BaseVtkMapper3D.h" #include "LevelWindow.h" #include "mitkVtkInteractorCameraController.h" #include "mitkVtkRenderWindow.h" #include "mitkRenderWindow.h" #include <vtkRenderer.h> #in...
<commit_before>// Copyright Microsoft Corporation // Copyright GHI Electronics, 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 //...
<commit_before>#include "mpga.h" #include <cstdio> #include <sys/types.h> #include <unistd.h> #include <sys/mman.h> #include <fcntl.h> #include <signal.h> #include <iostream> #include <argos3/core/simulator/simulator.h> #include "mpga_loop_functions.h" /****************************************/ /**********************...
<commit_before>/* * An istream which duplicates data. * * author: Max Kellermann <[email protected]> */ #include "istream_tee.hxx" #include "istream_oo.hxx" #include "istream_pointer.hxx" #include "pool.hxx" #include "util/Cast.hxx" #include <assert.h> struct TeeIstream { struct { struct istream istream;...
<commit_before>#include "sink_buffer.hxx" #include "istream_oo.hxx" #include "async.hxx" #include "pool.hxx" #include "util/Cast.hxx" #include <glib.h> #include <assert.h> #include <string.h> #include <unistd.h> #include <sys/socket.h> struct BufferSink { struct pool *pool; struct istream *input; unsign...
<commit_before>/** \file * * Copyright (c) 2012-2014 by Travis Gockel. All rights reserved. * * This program is free software: you can redistribute it and/or modify it under the terms of the Apache License * as published by the Apache Software Foundation, either version 2 of the License, or (at your option) a...
<commit_before>/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions */ /****************************************************************/ //This ker...
<commit_before>/* * GeislerLayer.cpp * * Created on: Apr 21, 2010 * Author: gkenyon */ #include "GeislerLayer.hpp" #include <assert.h> #include <float.h> namespace PV { GeislerLayer::GeislerLayer(const char* name, HyPerCol * hc) : V1(name, hc) { } GeislerLayer::GeislerLayer(const char* name, HyPerCol *...
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * This file is part of the libetonyek 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 a...
<commit_before>#include "logger.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <time.h> #ifndef LOG_DISABLED #ifdef __unix__ #include <unistd.h> #define MAX_PATH 255 #else #include <windows.h> #endif static FILE *logFile = NULL; static void timenow(char * buffer) { time_...
<commit_before>#include <pb_view.h> #include <pb_controller.h> #include <poddlthread.h> #include <download.h> #include <config.h> #include <logger.h> #include <dllist.h> #include <help.h> #include <utils.h> #include <sstream> #include <iostream> #include <cstring> using namespace newsbeuter; namespace podbeuter { ...
<commit_before>/* * Copyright (c) 2016 Jason White * * 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,...
<commit_before>/* * Copyright (c) 2016 Jason White * * 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,...
<commit_before>/*************************************************************************** * Copyright (C) 2006 by FThauer FHammer * * [email protected] * * * * This program is free software; you can redistribute it and/or modify * *...
<commit_before>/* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard <http://drobilla.net> * * Ingen 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 y...
<commit_before>#pragma once #include "types.hh" #include "hash.hh" #include "store-api.hh" #include <map> #include <variant> namespace nix { /* Abstract syntax of derivations. */ struct DerivationOutput { StorePath path; std::string hashAlgo; /* hash used for expected hash computation */ std::string ...
<commit_before>#pragma once #include "evaluation.hpp" #include "mapping.hpp" #include <string> namespace vakkenranking { class printer { void operator=(printer&) = delete; printer() = delete; static std::string round(double x, size_t digits) { double multiplier = std::pow(10, digits); std::strin...
<commit_before>/* * Copyright (c) 2012-2017 Daniele Bartolini and individual contributors. * License: https://github.com/taylor001/crown/blob/master/LICENSE */ #include "config.h" #include "device.h" #include "error.h" #include "log.h" #include "lua_environment.h" #include "lua_resource.h" #include "lua_stack.h" #i...
<commit_before>#include <iostream> #include <functional> #include <vector> struct State {}; class FrameReplay { public: using init_function_t = std::function<void(const std::vector<uint8_t*>&)>; using draw_function_t = std::function<void(const State&, const std::vector<uint8_t*>&)>; FrameReplay(uint32_t...
<commit_before>/************************************************************************************ ** * @copyright (c) 2013-2100, ChengDu Duyer Technology Co., LTD. All Right Reserved. * *************************************************************************************/ /** * @file g_dfs_server.cpp * @versio...
<commit_before>/* * Copyright (C) 2015 deipi.com LLC and contributors. 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 the Software without restriction, including without limit...
<commit_before><commit_msg>When pasting from other apps, fall back on Fragment span.<commit_after><|endoftext|>
<commit_before><commit_msg>refacotr InfoBar to use RenderContext<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: srchdlg.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: kz $ $Date: 2004-02-26 11:03:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>#include <string.h> #include <Arduino.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> #include "pitches.h" // Forward declarations. void jeopardySetup(); void jeopardyLoop(); void clearScreen(); // Supported game modes. enum { MODE_JEOPARDY, MODE_BRAINRING, // not implemented MODE_HAMSA, ...
<commit_before><commit_msg>Implement writeSync for buffers<commit_after><|endoftext|>
<commit_before><commit_msg>Add and move DisallowHeapAllocation scope.<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fuconuno.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-09 04:39:27 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: fudspord.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2004-01-20 11:01:33 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fusearch.cxx,v $ * * $Revision: 1.15 $ * * last change: $Author: kz $ $Date: 2007-05-10 15:31:23 $ * * The Contents of this file are made...
<commit_before><commit_msg>Fix ruler to not generate negative left indent<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: grviewsh.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: ka $ $Date: 2001-10-22 13:36:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/* Copyright 2015 CyberTech Labs Ltd. * * 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>/// \file /// \ingroup tutorial_hist /// \notebook /// Palette coloring for 2D histograms' stack is activated thanks to the option `PFC` /// (Palette Fill Color). /// When this option is given to `THStack::Draw` the histograms in the /// `THStack` get their color from the current color palette defined b...
<commit_before>#include <glib/gstdio.h> #include <fstream> #include <iostream> #include "settings.h" using namespace AhoViewer; using namespace AhoViewer::Booru; #include "config.h" SettingsManager AhoViewer::Settings; SettingsManager::SettingsManager() : ConfigPath(Glib::build_filename(Glib::get_user_config_dir...
<commit_before><commit_msg>Debug to account for uppercase<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2011-2013 Music Technology Group - Universitat Pompeu Fabra * * This file is part of SLVision * * SLVision 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...
<commit_before>/* This file is part of the kolab resource - the implementation of the Kolab storage format. See www.kolab.org for documentation on this. Copyright (c) 2004 Bo Thorsen <[email protected]> This library is free software; you can redistribute it and/or modify it under the terms of the GN...
<commit_before>#include "ksp_plugin/rendering_frame.hpp" #include "geometry/rotation.hpp" #include "ksp_plugin/celestial.hpp" #include "quantities/quantities.hpp" using principia::quantities::Angle; using principia::quantities::ArcTan; using principia::quantities::Time; using principia::geometry::Displacement; using ...
<commit_before> #include"symbols.hpp" #include<string> #include<map> Symbol* SymbolsTable::lookup(std::string x) { Symbol*& s = tb[x]; if(s) return s; s = new Symbol(x); return s; } SymbolsTable::~SymbolsTable() { /*go through the*/ } <commit_msg>src/symbols.cpp: expanded table lookup code<commit_after>#includ...
<commit_before>#include "testApp.h" #include <ar.h> //-------------------------------------------------------------- void testApp::setup() { ofBackground(0, 0, 0); ofEnableSmoothing(); ofSetCircleResolution(100); w = ofGetWidth(); h = ofGetHeight(); centerMarks.x = -1; threshold = 85; ...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2008, 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>/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
<commit_before>// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_DNN_VERSION_HPP #define OPENCV_DNN_VERSION_HPP /// Use with major OpenCV version only. #define...
<commit_before>#include "perf_precomp.hpp" using namespace std; using namespace cv; using namespace perf; using std::tr1::make_tuple; using std::tr1::get; CV_ENUM(MethodType, CV_TM_SQDIFF, CV_TM_SQDIFF_NORMED, CV_TM_CCORR, CV_TM_CCORR_NORMED, CV_TM_CCOEFF, CV_TM_CCOEFF_NORMED) typedef std::tr1::tuple<Size, Size, Met...
<commit_before>#include <cstdio> #include <algorithm> #include <string> #include <map> #include <cstdlib> #include <iostream> #include <cstring> using namespace std; map <string ,int> dict; bool end=false; //debug #ifdef LOCAL #define fp stdin #else FILE *fp; #endif char last=0; char ch; string getword(){ string ...
<commit_before>//===- unittests/AST/PostOrderASTVisitor.cpp - Declaration printer tests --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#pragma once #include <utility> #include <memory> #include <string> #include <uv.h> #include "event.hpp" #include "request.hpp" #include "util.hpp" #include "loop.hpp" namespace uvw { /** * @brief AddrInfoEvent event. * * It will be emitted by GetAddrInfoReq according with its functionalities. ...
<commit_before>/* SWARM Copyright (C) 2012-2019 Torbjorn Rognes and Frederic Mahe This program 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 (...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2014 Benoit Steiner <[email protected]> // // 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 th...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Manuel Yguel <[email protected]> // // 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, ...
<commit_before>#include "WebSocketConnector.h" #include "../stringtools.h" #include "../Interface/Server.h" #include "../cryptoplugin/ICryptoFactory.h" #include "../urbackupcommon/WebSocketPipe.h" #include <assert.h> extern ICryptoFactory* crypto_fak; void WebSocketConnector::Execute(str_map& GET, THREAD_ID ...
<commit_before>#include <stdio.h> #include <string.h> #include <math.h> #include <string.h> #include <iostream> #include <fstream> #include <vector> #include <string> #include "GL/glut.h" // - An interface and windows management library #include "visuals.h" // Header file for our OpenGL functions myModel md; stat...
<commit_before> #include "GameLogger.h" using namespace std; GameLogger::GameLogger() : lastCompleteFrameNumber(0), oldState(PlayerInfo::initial), firstRecording(true), lastAudioDataTimestamp(0), lastRecordedPlainImageID(CameraInfo::Bottom) { const std::string gameLogPath = params.logDirPath + "/game.l...
<commit_before>//===-- SBSourceManager.cpp -------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <list> #include "vmmethod.hpp" namespace rubinius { namespace jit { class CFGBlock { public: typedef std::list<CFGBlock*> List; private: int start_ip_; int end_ip_; List children_; bool loop_; bool detached_; CFGBlock* exception_handler_; int exception_typ...
<commit_before>#include "atlas/gl/ErrorCheck.hpp" #include "atlas/gl/GL.hpp" #include "atlas/core/Log.hpp" namespace atlas { namespace gl { class DebugCallbackSettings { DebugCallbackSettings() : errorSources(ATLAS_GL_ERROR_SOURCE_ALL), errorTypes(ATL...
<commit_before>// Copyright (c) 2014-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chainparams.h> #include <net.h> #include <signet.h> #include <validation.h> #include <test/util/set...
<commit_before>/** * @file persistence_dat.cpp * * @brief Purpose: Contains methods to save the game * * MIT License * Copyright (c) 2017 MindScape * * https://github.com/TecProg2017-2/mindscape/blob/master/LICENSE.md * */ #include "persistence_dat.hpp" #include "../engine/include/log.hpp" #include <unordered...