text
stringlengths
54
60.6k
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME #define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>//===----------------------------------------------------------------------===// // LLVM 'GCCAS' UTILITY // // This utility is designed to be used by the GCC frontend for creating bytecode // files from its intermediate LLVM assembly. The requirements for this utility // are thus slightly different tha...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME # define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME #define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME # define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME # define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME #define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>// // DummyRenderer.cpp // Glob3 Mobile // // Created by Agustín Trujillo Pino on 02/05/11. // Copyright 2011 Universidad de Las Palmas. All rights reserved. // #include "DummyRenderer.hpp" #include "Context.hpp" #include "GL.hpp" #include "Planet.hpp" #include "Vector3D.hpp" DummyRenderer::~Dummy...
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "MountingCoordinator.h" #ifdef RN_SHADOW_TREE_INTROSPECTION #include <glog/logging.h> #include <sstream> #...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge, ...
<commit_before>#include "FullScreen.h" #include "ShaderFactory.hpp" using namespace Device; using namespace Rendering::PostProcessing; using namespace Rendering::Shader; using namespace Rendering::Texture; using namespace Rendering::Manager; using namespace Rendering::RenderState; void FullScreen::Initialize(Device::...
<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 file. #include "content/browser/geolocation/geolocation_dispatcher_host.h" #include <map> #include <set> #include <utility> #include "base/...
<commit_before>/** * File : T.cpp * Author : Kazune Takahashi * Created : 2/4/2019, 11:51:23 AM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string>...
<commit_before>/*************************************************************************** * Copyright (c) Wolf Vollprecht, Johan Mabille and Sylvain Corlay * * Copyright (c) QuantStack * * ...
<commit_before>// // This file contains the class InputDialog. // An InputDialog object prompts for an input string using a simple // dialog box. The InputDialog class is also a good example of how // to use the ROOT GUI classes via the interpreter. Since interpreted // classes can not call virtual functions via base c...
<commit_before>// Copyright 2019 DeepMind Technologies Ltd. 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>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Javier López-Gómez <jalopezg@inf.uc3m.es> // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or th...
<commit_before>// RUN: cat %s | %cling -I%p | FileCheck %s // This file should be used as regression test for the meta processing subsystem // Reproducers of fixed bugs should be put here // PR #93092 // Don't remove the spaces and tabs .L cling/Interpreter/Interpreter.h .x ./DotXable.h(5) // CHECK: 5 // End ...
<commit_before>//===- fpcmp.cpp - A fuzzy "cmp" that permits floating point noise --------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>#include <cstddef> #include <cstdint> #include <cwchar> #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <shlobj.h> #include <Macros.hpp> #include <Config.hpp> #include <Globals.hpp> #include <ClassFactory.hpp> HMODULE ModuleInstance; std::int32_t __stdcall DllMain(HINSTANCE hDLL, std::uint3...
<commit_before>#include <ctrcommon/app.hpp> #include <ctrcommon/input.hpp> #include <ctrcommon/platform.hpp> #include <ctrcommon/ui.hpp> #include <stdio.h> #include <sstream> #include <iomanip> #include <sys/dirent.h> typedef enum { INSTALL_CIA, DELETE_CIA, DELETE_TITLE, LAUNCH_TITLE...
<commit_before>/** * @file linux_volume_catcher.cpp * @brief A Linux-specific, PulseAudio-specific hack to detect and volume-adjust new audio sources * * @cond * $LicenseInfo:firstyear=2010&license=viewergpl$ * * Copyright (c) 2010, Linden Research, Inc. * * Second Life Viewer Source Code * The source code ...
<commit_before>#include <math.h> #include "GameIncludes.h" #ifdef __APPLE__ #include <Glut/glut.h> #else #define FREEGLUT_STATIC #include <GL/glut.h> #endif #include "TweakAnt/AntTweakBar.h" // PI #define GL_PI 3.14159f // Current size of window. int width = 600; int height = 600; // old values for t...
<commit_before>/** * This file is part of Slideshow. * Copyright (C) 2008-2010 David Sveningsson <ext@sidvind.com> * * Slideshow 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...
<commit_before>#include <ctrcommon/app.hpp> #include <ctrcommon/input.hpp> #include <ctrcommon/platform.hpp> #include <ctrcommon/ui.hpp> #include <stdio.h> #include <sstream> #include <iomanip> #include <sys/dirent.h> typedef enum { INSTALL_CIA, DELETE_CIA, DELETE_TITLE, LAUNCH_TITLE...
<commit_before> #include "easylogging++.h" #include <sstream> _INITIALIZE_EASYLOGGINGPP class Vehicle { public: Vehicle(const std::string& make_, const std::string& model_, unsigned int year_ = 2013, const std::string& version_ = "") : make_(make_), model_(model_), year_(yea...
<commit_before>// ======================================================================== // // Copyright 2009-2017 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>#pragma once #ifdef __WIN32 #define EGL_HELPER_DISABLED #endif #include <iostream> #include <SDL.h> #include <fastuidraw/util/util.hpp> #include <fastuidraw/util/reference_counted.hpp> #include <fastuidraw/util/api_callback.hpp> #include "stream_holder.hpp" struct wl_egl_window; class egl_helper: ...
<commit_before>// ======================================================================== // // Copyright 2009-2017 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>// CLP includes #include "itkimage2segimageCLP.h" // DCMQI includes #undef HAVE_SSTREAM // Avoid redefinition warning #include "dcmqi/ImageSEGConverter.h" int main(int argc, char *argv[]) { PARSE_ARGS; if (segImageFiles.empty()){ cerr << "Error: No input image files specified!" << endl; r...
<commit_before>/* * #%L * %% * Copyright (C) 2011 - 2016 BMW Car IT GmbH * %% * 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) 2006-2016 Music Technology Group - Universitat Pompeu Fabra * * This file is part of Essentia * * Essentia 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 (FSF),...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2013-2016. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //==================================================...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2013-2016. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //==================================================...
<commit_before>#include "ShaderResourceBuffer.h" #include "Director.h" using namespace Device; using namespace Rendering::Buffer; ShaderResourceBuffer::ShaderResourceBuffer() : BaseBuffer(), _srv(nullptr) { } ShaderResourceBuffer::~ShaderResourceBuffer() { SAFE_RELEASE(_srv); SAFE_RELEASE(_buffer); } void Shader...
<commit_before>/* This file is part of libkdepim. Copyright (c) 2004-2005 David Faure <faure@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 version 2 of the Lice...
<commit_before>// Copyright 2015-2018 Elviss Strazdins. All rights reserved. #include "core/Setup.h" #if OUZEL_PLATFORM_LINUX && OUZEL_COMPILE_OPENGL #if OUZEL_SUPPORTS_X11 # include <X11/Xlib.h> # include <X11/extensions/xf86vmode.h> #endif #include "RenderDeviceOGLLinux.hpp" #include "core/linux/EngineLinux.hpp"...
<commit_before>// Copyright 2021 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 o...
<commit_before>// // StaticAnalyser.cpp // Clock Signal // // Created by Thomas Harte on 23/08/2016. // Copyright 2016 Thomas Harte. All rights reserved. // #include "StaticAnalyser.hpp" #include <algorithm> #include <cstdlib> #include <cstring> #include <iterator> // Analysers #include "Acorn/StaticAnalyser.hpp...
<commit_before><commit_msg>catch pathnotfound, which is basically the same as file not found<commit_after><|endoftext|>
<commit_before>/** * @file Euler.hpp * * All rotations and axis systems follow the right-hand rule * * An instance of this class defines a rotation from coordinate frame 1 to coordinate frame 2. * It follows the convention of an intrinsic tait-bryan 3-2-1 sequence. * In order to go from frame 1 to frame 2 we app...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "AssetEvents.h" #include "AssetManager.h" #include "AssetModule.h" #include "RexAsset.h" #include "RexTypes.h" #include "LocalAssetProvider.h" #include "AssetServiceInterface.h" #include "F...
<commit_before>#include "vga/rast/text_10x16.h" #include "vga/arena.h" #include "vga/timing.h" #include "vga/font_10x16.h" #include "vga/rast/unpack_text_10p_attributed.h" namespace vga { namespace rast { static constexpr unsigned glyph_cols = 10, glyph_rows = 16; static constexpr unsigned chars_in_font = 256; Text...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * Razor - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2012 Razor team * Authors: * Johannes Zellner <webmaster@nebulon.de> * * This program or library is free software; you can redistribute it * and/or modify it...
<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 file. #include <windows.h> //#include "chrome/browser/platform_util.h" #include "content/nw/src/browser/browser_dialogs.h" #include "content...
<commit_before>/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB 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) ...
<commit_before>//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2016/09/14 // Author: Mike Ovsiannikov // // Copyright 2016 Quantcast Corp. // // This file is part of Kosmos File System (KFS). // // Licensed under the Apache License, Version 2.0 // (the "License"); yo...
<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 ...
<commit_before>/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>/****************************************************************************** * Copyright 2018 The Apollo 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 ...
<commit_before>#ifndef MRR_CHILD_PROCESS_HXX_ #define MRR_CHILD_PROCESS_HXX_ #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> //m=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- namespace mrr { namespace posix { //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-...
<commit_before>/*************************************************************************** * Copyright (C) 2007 by Jeroen Broekhuizen * * jeroen@jengine.homedns.org * * ...
<commit_before>/* * * Copyright 2015-2016 gRPC authors. * * 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 app...
<commit_before>/* * OSPRayNHSphereGeometry.cpp * Copyright (C) 2009-2017 by MegaMol Team * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "OSPRayNHSphereGeometry.h" #include "vislib/forceinline.h" #include "mmcore/moldyn/MultiParticleDataCall.h" #include "mmcore/param/FloatParam.h" #include "mmcore/param/Int...
<commit_before>/** * \file CMaster.cpp * \date Apr 1, 2010 * \author samael */ #include <sys/time.h> #include <unistd.h> #include <cstdlib> #include "CMutex.h" #include "CUdpSocket.h" #include "CThread.h" #include "CSingletonAutoDestructor.h" #include "CTlvUint32.h" #include "CMaster.h" #include "CTlvCommand.h" #i...
<commit_before>{% extends 'scan.cpp' %} {% block initializer %}{{ super() }}, {{mapping_var_name}}{% endblock %} <commit_msg>oops again<commit_after>{% extends 'scan.cpp' %} {% block initializer %}{{ super() }}, {{mapping_var_name}}.second{% endblock %} <|endoftext|>
<commit_before>/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2018-2019 Hugo Beauzée-Luyssen, Videolabs, VideoLAN * * Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr> * * T...
<commit_before>// // Clutter.cpp // Clutter // // Created by PM Bult on 24-01-2016 // Copyright (c) P.M. Bult. All rights reserved. // // Version 1.0 // #include "Clutter.h" #include "Utils.h" namespace Clutter { // // Constructor // Clutter::Clutter( int argc, const char* argv[] ) { //...
<commit_before>#include <string.h> #include "base/logging.h" #include "gfx_es2/fbo.h" #include "gfx/gl_common.h" #include "gfx_es2/gl_state.h" #if defined(USING_GLES2) #define GL_READ_FRAMEBUFFER GL_FRAMEBUFFER #define GL_DRAW_FRAMEBUFFER GL_FRAMEBUFFER #define GL_RGBA8 GL_RGBA #ifndef GL_DEPTH_COMPONENT24 #define GL...
<commit_before>// Copyright (c) 2017 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #include <iostream> #include <string> #include <type_traits> #include <typeinfo> #include <vector> #include <tao/pegtl.hpp> using namespace tao::TAOCPP_PEGTL_NAMESPACE; n...
<commit_before>// Copyright (c) 2010 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. // Implements the Chrome Extensions Cookies API. #include "chrome/browser/extensions/extension_cookies_api.h" #include "base/json/jso...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/bind.h" #include "base/command_line.h" #include "base/memory/weak_ptr.h" #include "chrome/browser/extensions/extension_a...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/metrics/metrics_service.h" #include <string> #include "base/base64.h" #include "testing/gtest/include/gtest...
<commit_before>// #include <algorithm> #include <cassert> #include <cmath> #include <fstream> // #include <iostream> #include <sstream> // #include <string> // #include <vector> #include "Dungeon.h" /* Default constructor. * @param playerName, string with user-inputted name for player * @effects Cre...
<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 file. #include "chrome/browser/ui/toolbar/action_box_menu_model.h" #include "base/utf_string_conversions.h" #include "chrome/app/chrome_comm...
<commit_before>/* The MIT License (MIT) Copyright (c) [2016] [BTC.COM] 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, c...
<commit_before>#include "ns3/log.h" #include "ns3/address.h" #include "ns3/node.h" #include "ns3/nstime.h" #include "ns3/socket.h" #include "ns3/simulator.h" #include "ns3/socket-factory.h" #include "ns3/packet.h" #include "ns3/uinteger.h" #include "ns3/trace-source-accessor.h" #include "ns3/tcp-socket-factory.h" #incl...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No ...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2011-2012. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //=================================...
<commit_before>/* * Copyright 2010-2013 Esrille 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 applica...
<commit_before>// Plugins.cpp #include "stdafx.h" #include "Plugins.h" #include "wx/sizer.h" #include "wx/menuitem.h" #include "wx/checklst.h" #include <wx/config.h> #include <wx/confbase.h> #include <wx/fileconf.h> enum { ID_BUTTON_ADD, ID_BUTTON_EDIT, ID_BUTTON_REMOVE, ID_BUTTON_PLUGIN_BROWSE, ID_...
<commit_before>#include "includemodifier.h" #include "includetree.h" #include <coreplugin/editormanager/editormanager.h> #include <texteditor/texteditor.h> #include <texteditor/textdocument.h> #include <texteditor/textdocumentlayout.h> #include <texteditor/codeassist/textdocumentmanipulator.h> #include <utils/qtcas...
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGfdmSocket.cpp Author: Jon S. Berndt Date started: 11/08/99 Purpose: Encapsulates a socket Called by: FGOutput, et. al. ------------- Copyright (C) 1999 Jon S. Berndt (jsb@hal-pc.org) --...
<commit_before>#include "collector.hh" #include "registry.hh" #include "standard_exports.hh" #include "prometheus/proto/metrics.pb.h" #include <unistd.h> #include <fstream> #include <iostream> namespace prometheus { namespace impl { class ProcessCollector : public ICollector { private: // Convenience ...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 The Apache Software Foundation. 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. Redi...
<commit_before>/*========================================================================= * * Copyright 2011-2013 The University of North Carolina at Chapel Hill * All rights reserved. * * Licensed under the MADAI Software License. You may obtain a copy of * this license at * * https://madai-public...
<commit_before>/* Greesound Copyright (C) 2015 Grame 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/. Grame Centre national de création musicale 11, cours de Ve...
<commit_before>/*========================================================================= Program: Visualization Library Module: Threshld.cc Language: C++ Date: $Date$ Version: $Revision$ Description: --------------------------------------------------------------------------- This file is part...
<commit_before>#include "Tracker.hpp" #include <stdexcept> #include <iostream> #include <stdlib.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <cvblob.h> #include <ros/console.h> #include <cmath> #include "profiling.hpp" // Use this to use the register keyword in some pla...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>#include <echolib/opencv.h> #include <chrono> #include <memory> #include <experimental/filesystem> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/video/video.hpp> #ifdef MANUS_DEBUG #include <opencv2/highgui/highgui.hpp> ...
<commit_before>// vim:cindent:cino=\:0:et:fenc=utf-8:ff=unix:sw=4:ts=4: #include <QDebug> #include <string> #include <json/value.h> #include <jsonrpc.h> #include <conveyor/connection.h> #include <conveyor/connectionstatus.h> #include "connectionstream.h" #include "connectionthread.h" #include "conveyorprivate.h" #...
<commit_before>//includes #include <iostream> #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" #include "glad/glad.h" #include "shader.hpp" #include "camera.hpp" #include "tinyFileDialogs/tinyfiledialogs.h" #include "particle.hpp" #include "settingsIO.hpp" #de...
<commit_before>#include <cpr/cpr.h> #include <json/json.h> #include <iomanip> #include <locale> #include <sstream> #include <utils.h> #include "command.h" #include "../CommandHandler.h" #include "../OptionParser.h" /* full name of the command */ CMDNAME("age"); /* description of the command */ CMDDESCR("check length o...
<commit_before>/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2011-03-07 ...
<commit_before>/* * graph.cpp * * Created on: 14.01.2016 г. * Author: trifon */ #ifndef __GRAPH_CPP #define __GRAPH_CPP #include <iostream> using namespace std; #include "hashtable.hpp" #include "linked_list.cpp" template <typename T> class Graph { protected: LinkedHashTable<T, LinkedList<T> > g; public...
<commit_before>#include <cmath> #include <algorithm> #include "contest.hpp" #include "helper.hpp" #include "problem.hpp" #include "attempt.hpp" #include "user.hpp" using namespace std; static bool isjudge(int user, const JSON& contest) { JSON tmp = contest("judges"); if (!tmp.isarr()) return false; auto& a = ...
<commit_before>#include <node.h> #include <windows.h> #include <TlHelp32.h> #include <string> #include "process.h" namespace Memory { using v8::Exception; using v8::Function; using v8::FunctionCallbackInfo; using v8::Isolate; using v8::Local; using v8::Object; using v8::String; using v8::Number; using v8::Value; usin...
<commit_before>// Copyright 2013 the V8 project authors. 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...
<commit_before> #include "yacas/yacasprivate.h" #include "yacas/deffile.h" #include "yacas/lispuserfunc.h" #include "yacas/standard.h" #include "yacas/lispio.h" #include "yacas/platfileio.h" #include "yacas/lispenvironment.h" #include "yacas/tokenizer.h" #include "yacas/stringio.h" LispDefFile::LispDefFile(const std::...
<commit_before>// Copyright (c) 2012-2015 Dano Pernis // See LICENSE for details #include "CPU.h" #include <cassert> #include <fstream> #include <gtkmm.h> #include <iostream> #include <stdexcept> #include <vector> // sigc workaround namespace sigc { SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE } namespace { co...
<commit_before> /* This program sums all rows in an array using MPI parallelism. * The root process acts as a master and sends a portion of the * array to each child process. Master and child processes then * all calculate a partial sum of the portion of the array assigned * to them, and the chil...
<commit_before>#include "feUtils.h" <commit_msg>Implementations of algorithms<commit_after>#include "feUtils.h" #include <vector> #include <cmath> /** * Parameters: * character_stats: vector of ints containing * values of the necessary character/weapon stats needed * for calculating the actual attack of...
<commit_before>#include <iterator> #include <vector> #include <sstream> #include <iomanip> #include <algorithm> #include <map> #include <ut/throwf.hxx> #include "handler.hxx" #include "grammar.hxx" #include "parser_action.hxx" #include "parser_state.hxx" namespace cl { void handler::check_requir...
<commit_before>#include <Rcpp.h> #include <iostream> #include <fstream> #include <string> #include <regex> using namespace Rcpp; using namespace std; static CharacterVector clientIp; static CharacterVector clientPort; static CharacterVector acceptDate; static CharacterVector frontendName; static CharacterVector backe...
<commit_before>#include "../includes/declarations.h" void resetAll() { memset(arr,0,5000); z=0; next_level=false; if(play_game||lvlSelect) start_game=false; transx=0; transy=0; num_circles=0; red_black=0; mult=1; multflag=false; leftwall=true; rightwall=true; ...
<commit_before>/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2015 Alexandre Kalendarev ...
<commit_before>/* * Copyright (c) 2012-2014 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of ...
<commit_before>#include <iostream> #include <fstream> #include <string> #include <vector> #include <unordered_map> #include <tuple> #include <lemon/smart_graph.h> #include <lemon/lgf_writer.h> #include <lemon/capacity_scaling.h> using namespace lemon; int main(int argc, char* argv[]) { std::string path(argv[1]);...