text
stringlengths
54
60.6k
<commit_before>// Copyright (c) 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 "chrome/test/ui/ui_test.h" #include "base/file_path.h" #include "chrome/app/chrome_dll_resource.h" #include "chrome/browser/c...
<commit_before>#include <iostream> int main(int argc, char*[] argv) { std::cout << "Hello World" << std::enl; return 0; } <commit_msg>Git push<commit_after>#include <iostream> int main(int argc, char* argv[]) { std::cout << "Hello World" << std::endl; return 0; } <|endoftext|>
<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. #include "chrome/browser/sessions/session_backend.h" #include <limits> #include "base/file_util.h" #include "base/histogram.h" #inclu...
<commit_before>// // Copyright (c) 2008-2017 the Urho3D project. // // 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, ...
<commit_before>//===--- Init.cpp - Runtime initialization ---------------------------------==// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>//===--- Init.cpp - Runtime initialization ---------------------------------==// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2011-2014 Paul Asmuth, Google Inc. * * 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 ...
<commit_before>// Copyright (c) 2006-2008 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 "webkit/tools/test_shell/webwidget_host.h" #include <cairo/cairo.h> #include <gtk/gtk.h> #include "base/basictypes.h" #...
<commit_before>#include <sofa/helper/system/FileSystem.h> #include <sofa/helper/Utils.h> #include <fstream> #include <iostream> #ifdef WIN32 # include <windows.h> # include <strsafe.h> # include "Shlwapi.h" // for PathFileExists() #elif defined(_XBOX) # include <xtl.h> #else # include <dirent.h> # include <...
<commit_before>/* * Copyright 2012 Yahoo! 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 applicable la...
<commit_before>/* Copyright (c) 2013-2014 Sam Hardeman 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...
<commit_before>// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #if !defined(CPPLINQ_LINQ_TAKE_HPP) #define CPPLINQ_LINQ_TAKE_HPP #pragma once namespace cpplinq { template <class InnerCursor> struct linq_take_cursor { ...
<commit_before>#include "common.h" #include "GL32Renderer.h" #include "ModelComponent.h" bool GL32Renderer::IsSupported() { GL32Renderer renderer(nullptr); try { auto e = std::runtime_error(BASEFILE); renderer.InitGL(); GLint major, minor; if(!GL(glGetIntegerv(GL_MAJOR_VERSION, &major))) { throw e; } if(!G...
<commit_before>/* * Copyright 2014 Kamil Michalak <kmichalak8@gmail.com> * * 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>#include <errno.h> #include <libintl.h> #include <node.h> #include <stdio.h> #include <stdlib.h> #include <string.h> using namespace v8; char * null_helper(char * str) { if(!std::strcmp(str, "null")) { return NULL; } return str; } char * v8StrToCharStar(v8::Local<v8::Value> value...
<commit_before>#include <node.h> #include <iostream> #include <stdio.h> #include <fstream> #include <string.h> #include <errno.h> #include <libintl.h> using namespace v8; char * v8StrToCharStar(v8::Local<v8::Value> value) { v8::String::Utf8Value string(value); char *str = (char *) malloc(string.length() + 1)...
<commit_before>#include "RayControl.h" #include "ObjectParticles.h" #include "Engine.h" #include "Game.h" #include "Object.h" #include "Player.h" #include "Common.h" #include "App.h" CRayControl::CRayControl(void) { m_pStarNormal = NULL; Init(); } CRayControl::~CRayControl(void) { g_Engine.pGame->RemoveNode(m_pSta...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkMapper.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redistribution...
<commit_before>// // TightDB C++ coding standard - by example // // Lines should never exceed 120 characters --------------------------------------------------------------------------- // Macro names use uppercase and have "TIGHTDB_" as prefix. Non-macro // names never use all uppercase. #define TIGHTDB_MY_MACRO 1...
<commit_before> // todo: // -Ir // -Iz // -zr // -zt // -f #include "i2_options.h" #include "posix_fe.h" #include <netdb.h> class i2_program { i2_options opts; bool _ok; pxfe_tcp_stream_socket * net_fd; uint64_t bytes_sent; uint64_t bytes_received; pxfe_timeval start_time; pxfe...
<commit_before>/* SbHalfPong, sort of like Pong but for one author: Ulrike Hager */ #include <iostream> #include <string> #include <sstream> #include <stdexcept> #include <climits> #include <cmath> #include <random> #include <algorithm> #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include <SDL2/SDL_image.h> #inc...
<commit_before>/** * @file * @copyright defined in eos/LICENSE.txt */ #include <tic_tac_toe/tic_tac_toe.hpp> using namespace eosio; namespace tic_tac_toe { struct impl { /** * @brief Check if cell is empty * @param cell - value of the cell (should be either 0, 1, or 2) * @return true if cell is emp...
<commit_before>#include "SvgCreator.h" #include "SvgItemInfo.h" #include "SvgTextInfo.h" #include "SvgLineInfo.h" #include "SvgCurveInfo.h" #include "MapData.h" #include "FilledPolygonItem.h" #include "LineItem.h" #include "PointItem.h" #include "ItemLook.h" #include "Point.h" #include "BezierInfo.h" #include "TextInfo...
<commit_before>// Copyright (c) 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 "chrome_frame/test/net/fake_external_tab.h" #include <exdisp.h> #include "app/app_paths.h" #include "app/resource_bundle.h" ...
<commit_before>/* Copyright (C) 2011 Lasath Fernando <kde@lasath.org> Copyright (C) 2016 Martin Klapetek <mklapetek@kde.org> 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 Foundatio...
<commit_before>// // inpalprime.cpp // InPal // // Created by Bryan Triana on 6/21/16. // Copyright © 2016 Inverse Palindrome. All rights reserved. // #include "inpalprime.hpp" #include <cmath> #include <vector> #include <string> unsigned long long inpalprime::pn_find(unsigned long long n) { //finds the hi...
<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>// Copyright (c) 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/i18n/break_iterator.h" #include "base/logging.h" #include "unicode/ubrk.h" #include "unicode/uchar.h" #include "unicode...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/optimization/CRandomSearch.cpp,v $ $Revision: 1.12 $ $Name: $ $Author: anuragr $ $Date: 2005/06/21 20:38:30 $ End CVS Header */ /*************************************************************************** ...
<commit_before> #ifndef AT_IPC_INTERFACE_H #define AT_IPC_INTERFACE_H // INCLUDES #include <sys/types.h> #include "atNotifier.h++" class atIPCInterface : public atNotifier { public: atIPCInterface(); virtual ~atIPCInterface(); virtual int read(u_char * buffer, u_long length) = 0; virtu...
<commit_before>/* -*- mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ // vim:sts=4:sw=4:ts=4:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s /* Copyright (c) FFLAS-FFPACK * Written by Philippe LEDENT <philippe.ledent@etu.univ-grenoble-alpes.fr> * ========LICENCE======== * This file is part of the l...
<commit_before>/************************************************************************* * * $RCSfile: sectctr.hxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-18 16:58:53 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: unoimap.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 14:13:25 $ * * The Contents of this file are made a...
<commit_before>//===--- LiveRangeEdit.cpp - Basic tools for editing a register live range --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------...
<commit_before>//===-- RegAllocBasic.cpp - basic register allocator ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svdedxv.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-04-11 16:19:47 $ * * The Contents of this file are made a...
<commit_before>/// /// @file test.cpp /// @brief primecount integration tests (option: --test). /// These tests are also used by the author for /// benchmarking code changes. /// /// Copyright (C) 2017 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See th...
<commit_before>#include <algorithm> #include <cassert> #include <cmath> #include "SDL.h" #include "CursorAlignment.h" #include "GameWorldPanel.h" #include "LoadSavePanel.h" #include "MainMenuPanel.h" #include "OptionsPanel.h" #include "PauseMenuPanel.h" #include "RichTextString.h" #include "TextAlignment.h" #include ...
<commit_before>#include "circuits/circuit.h" #include "matrix/matrix.h" #include "gtest/gtest.h" #include <iostream> #include <stdio.h> using namespace std; TEST(CircuitStampsTest, SimpleResistor) { // Arrange int numElements = 1; int numVariables = 2; double matrix[MAX_NOS+1][MAX_NOS+2]; init(n...
<commit_before>/* * Rect.cpp * * Created on: Feb 2, 2013 * Author: villekankainen */ #include <algorithm> #include "Rect.h" namespace Gain { static const char gVertexShader[] = "attribute vec2 coord2d;\n" "uniform mat4 anim;" "void main() {\n" " gl_Position = anim * vec4(coord2d.x, -coord2d...
<commit_before> #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE libstorage #include <boost/test/unit_test.hpp> #include "storage/Utils/Math.h" using namespace std; using namespace storage; BOOST_AUTO_TEST_CASE(test_is_power_of_two) { BOOST_CHECK(!is_power_of_two(0)); BOOST_CHECK(is_power_of_two(1));...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // Macro to setup AliPerformanceTask for // TPC performance QA to run on PWG1 QA train. // // Input: ESDs, ESDfriends (optional), Kinematics (optional), TrackRefs (optional) // ESD and MC input handlers must be attached to ...
<commit_before>/////////////////////////////////////////////////////////////////////////// // // // AliFemtoAnalysis - the most basic analysis there is. All other // // inherit from this one. Provides basic functionality for the analysis. // /...
<commit_before>enum anaModes {mLocal,mLocalPAR,mPROOF,mGrid,mGridPAR}; //mLocal: Analyze locally files in your computer using aliroot //mLocalPAR: Analyze locally files in your computer using root + PAR files //mPROOF: Analyze CAF files with PROOF //mGrid: Analyze files on Grid via AliEn plug-in and using precompiled F...
<commit_before>/*! * \file SU2_DEF.cpp * \brief Main file of Mesh Deformation Code (SU2_DEF). * \author F. Palacios, T. Economon * \version 4.0.0 "Cardinal" * * SU2 Lead Developers: Dr. Francisco Palacios (Francisco.D.Palacios@boeing.com). * Dr. Thomas D. Economon (economon@stanford.e...
<commit_before>/* Copyright 2017 The primitiv Authors. All Rights Reserved. */ #include <primitiv/config.h> #include <string> #include <vector> #include <primitiv/shape.h> #include <primitiv/c/internal.h> #include <primitiv/c/shape.h> using primitiv::Shape; using primitiv::c::internal::to_c_ptr; using primitiv::c::i...
<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 "base/threading/sequenced_worker_pool_task_runner.h" #include "base/callback.h" #include "base/location.h" #include "base/log...
<commit_before>/* * THE UNICODE TEST SUITE FOR CINDER: https://github.com/arielm/Unicode * COPYRIGHT (C) 2013, ARIEL MALKA ALL RIGHTS RESERVED. * * THE FOLLOWING SOURCE-CODE IS DISTRIBUTED UNDER THE MODIFIED BSD LICENSE: * https://github.com/arielm/Unicode/blob/master/LICENSE.md */ /* * TESTING LANGUAGE-SPECIFI...
<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>//===------ UnixToolChains.cpp - Job invocations (non-Darwin Unix) --------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkUnstructuredGridVolumeMapper.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm fo...
<commit_before>#include <stddef.h> #include <stdint.h> #include <chrono> #include <iostream> #include <iomanip> #include <sstream> #include <Windows.h> #include <Console\Console.hpp> #include "Thoth.hpp" int32_t __stdcall TopLevelExceptionHandler(uint32_t ErrorCode, const EXCEPTION_POINTERS* const ExceptionInfo); ...
<commit_before>#include "BoundaryConditions.h" // to avoid compiler confusion, python.hpp must be include before Halide headers #include <boost/python.hpp> #include "../../src/Lambda.h" // needed by BoundaryConditions.h #include "../../src/ImageParam.h" #include "../../src/BoundaryConditions.h" #include "../../src/Fu...
<commit_before><commit_msg>Mark nacl_ui_tests as flaky on Mac TEST=none BUG=none<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: utility.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2003-03-19 16:19:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>#ifndef BULL_RENDER_TARGET_RENDERTARGET_HPP #define BULL_RENDER_TARGET_RENDERTARGET_HPP #include <memory> #include <Bull/Core/Configuration/Integer.hpp> #include <Bull/Core/Pattern/NonCopyable.hpp> #include <Bull/Math/Vector/Vector2.hpp> #include <Bull/Render/Context/ContextResource.hpp> #include <Bu...
<commit_before>#ifndef WINDTUNNEL_ENGINE_ENTITY_ENTITY_HPP #define WINDTUNNEL_ENGINE_ENTITY_ENTITY_HPP #include <Windtunnel/Maths/Vector2/Vector2.hpp> namespace wind { class Entity { private: friend class Engine; unsigned int m_id; public: Vector2f position{0.f, 0.f}; Vector2f velocity{0.f, 0.f}; Vector...
<commit_before>// (C) Copyright Gennadiy Rozental 2005-2008. // 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) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ /...
<commit_before>/** * Copyright (C) 2013 CoDyCo Project * Author: Silvio Traversaro * website: http://www.codyco.eu */ #ifndef UNDIRECTED_TREE_SOLVER_H #define UNDIRECTED_TREE_SOLVER_H #include <kdl/tree.hpp> #include <kdl_codyco/undirectedtree.hpp> #include "kdl_codyco/treeserialization.hpp" namespace KDL { na...
<commit_before>// Copyright (C) 2010-2013 Joshua Boyce. // See the file COPYING for copying permission. #pragma once #include <type_traits> #include <utility> #include <hadesmem/config.hpp> // TODO: Implement same interface as std::optional<T> to make switching later // easier. // TODO: Add tests. ...
<commit_before>#include "protocolsupport.h" #include "protocolparser.h" ProtocolSupport::ProtocolSupport() : maxdatasize(0), int64(true), float64(true), specialFloat(true), bitfield(true), longbitfield(false), bitfieldtest(false), disableunrecognized(false), bigendian(true), pac...
<commit_before>/* Q Light Controller Plus e131controller.cpp Copyright (c) Massimo Callegari 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/LICENS...
<commit_before>#include <ctime> #include <iostream> #include <cassert> #include "policy/kasp.pb.h" // Interface of this cpp file is used by C code, we need to declare // extern "C" to prevent linking errors. extern "C" { #include "enforcer/setup_cmd.h" #include "policy/update_kasp_task.h" #include "keystate/update_...
<commit_before>#include <string> #include <stdio.h> #include <tag.h> #include <tstringlist.h> #include <tbytevectorlist.h> #include <tpropertymap.h> #include <apetag.h> #include <tdebug.h> #include <cppunit/extensions/HelperMacros.h> #include "utils.h" using namespace std; using namespace TagLib; class TestAPETag : p...
<commit_before>#include <bitbots_ros_control/core_hardware_interface.h> namespace bitbots_ros_control { CoreHardwareInterface::CoreHardwareInterface(std::shared_ptr<DynamixelDriver> &driver, int id, int read_rate) { driver_ = driver; id_ = id; read_rate_ = read_rate;...
<commit_before>// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #pragma once #if !defined(RXCPP_RX_SCHEDULER_VIRTUAL_TIME_HPP) #define RXCPP_RX_SCHEDULER_VIRTUAL_TIME_HPP #include "../rx-includes.hpp" namespace rxcpp { namespace sc...
<commit_before>/************************************************************************* * * $RCSfile: implrenderer.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: vg $ $Date: 2005-03-10 13:23:11 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>/* * Copyright (c) 2017 Darren Smith * * wampcc is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #include "wampcc/wampcc.h" #include <memory> #include <iostream> using namespace wampcc; using namespace std; int main(int ...
<commit_before>// Copyright (c) 2015 Felix Rieseberg <feriese@microsoft.com> and Jason Poon <jason.poon@microsoft.com>. All rights reserved. // Copyright (c) 2015 Ryan McShane <rmcshane@bandwidth.com> and Brandon Smith <bsmith@bandwidth.com> // Thanks to both of those folks mentioned above who first thought up a bunch ...
<commit_before> #include "../../Flare.h" #include "FlareCargoInfo.h" #include "../../Spacecrafts/FlareSimulatedSpacecraft.h" #include "../../Player/FlareMenuManager.h" #define LOCTEXT_NAMESPACE "FlareCargoInfo" /*---------------------------------------------------- Construct ----------------------------------------...
<commit_before>/*! * \file SickLMSBufferMonitor.cc * \brief Implements a class for monitoring the receive * buffer when interfacing w/ a Sick LMS LIDAR. * * Code by Jason C. Derenick and Thomas H. Miller. * Contact derenick(at)lehigh(dot)edu * * The Sick LIDAR Matlab/C++ Toolbox * Copyright (c) 2008, Ja...
<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. #include "base/command_line.h" #include "base/path_service.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #i...
<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. #include "base/command_line.h" #include "base/path_service.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #i...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "cling/Interpreter/CIFactory.h...
<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/history/in_memory_url_index_types.h" #include <algorithm> #include <functional> #include <iterator> #include...
<commit_before>//===-- jello.cpp - LLVM Just in Time Compiler ----------------------------===// // // This tool implements a just-in-time compiler for LLVM, allowing direct // execution of LLVM bytecode in an efficient manner. // // FIXME: This code will get more object oriented as we get the call back // intercept stu...
<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/ui/webui/bidi_checker_web_ui_test.h" #include "base/base_paths.h" #include "base/i18n/rtl.h" #include "base/p...
<commit_before>// selfdestructing.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "crash_on_copy.hpp" #include <iostream> #include <vector> #include <functional> #include <cassert> struct TestNumberCrash : public crashes::on<2>::copies {}; struct TestCopyNrCrash...
<commit_before>//===-- DataExtractor.cpp -------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: resultset.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-09-09 12:20:33 $ * * The Contents of this file are made...
<commit_before>//===- lib/MC/MCContext.cpp - Machine Code Context ------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// This code is based on Sabberstone project. // Copyright (c) 2017-2018 SabberStone Team, darkfriend77 & rnilva // Hearthstone++ is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon #include <hspp/Tasks/PlayerTasks/CombatTask.hp...
<commit_before>/************************************************************************* * * $RCSfile: XMLPropertyBackpatcher.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: dvo $ $Date: 2001-05-17 14:27:40 $ * * The Contents of this file are made available subject to the terms of * either of the ...
<commit_before>/************************************************************************* * * $RCSfile: docu_pe2.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2004-07-12 15:43:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/*! \file binlog.cpp \brief Binary logs reader definition \author Ivan Shynkarenka \date 16.09.2015 \copyright MIT License */ #include "logging/record.h" #include "logging/layouts/text_layout.h" #include "logging/version.h" #include "filesystem/file.h" #include "system/stream.h" #i...
<commit_before>/************************************************************************* * * $RCSfile: ActionMapTypesOOo.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: hr $ $Date: 2004-11-27 12:08:55 $ * * The Contents of this file are made available subject to the terms of * either of the follow...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2015-2017 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #inclu...
<commit_before>#include <iostream> #include "config.h" #ifndef HAVE_EIGEN int main() { std::cerr << "Please rebuild with --with-eigen PATH\n"; return 1; } #else #include <cmath> #include <set> #include <boost/program_options.hpp> #include <boost/program_options/variables_map.hpp> #include <Eigen/Dense> #include "...
<commit_before>#include "qmultimodeltree.h" #include <QtCore/QDebug> #include <QtCore/QDataStream> #include <QtCore/QMimeData> #include <QtCore/QMimeType> #if QT_VERSION < 0x050700 //Q_FOREACH is deprecated and Qt CoW containers are detached on C++11 for loops template<typename T> const T& qAsConst(const T& v) { ...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkBrains2MaskImageIOTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. ...
<commit_before>// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "splashs...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
<commit_before>/****************************************************************************** This source file is part of the Delaunay project. Copyright T.J. Corona This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software ...
<commit_before>#ifndef ___INANITY_INPUT_KEY_HPP___ #define ___INANITY_INPUT_KEY_HPP___ BEGIN_INANITY_INPUT /// Номера клавиш. /** Кроссплатформенные. */ struct Keys { enum _ { a = 'A', b = 'B', c = 'C', d = 'D', e = 'E', f = 'F', g = 'G', h = 'H', i = 'I', j = 'J', k = 'K', l = 'L', m = 'M...
<commit_before>#include "main.h" #include "User.h" #include "Nick.h" #include "Modules.h" #include "Chan.h" #include "Utils.h" #include <pwd.h> #ifndef HAVE_LIBSSL #error This plugin only works with OpenSSL #endif /* HAVE_LIBSSL */ #define CRYPT_VERIFICATION_TOKEN "::__:SAVEBUFF:__::" /* * Buffer Saving thing, inca...
<commit_before>#include "Halide.h" using namespace Halide; // Define a 1D Gaussian blur (a [1 4 6 4 1] filter) of 5 elements. Expr blur5(Expr x0, Expr x1, Expr x2, Expr x3, Expr x4) { // Widen to 16 bits, so we don't overflow while computing the stencil. x0 = cast<uint16_t>(x0); x1 = cast<uint16_t>(x1); ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: gcach_ftyp.hxx,v $ * * $Revision: 1.32 $ * * last change: $Author: kz $ $Date: 2005-11-02 13:30:35 $ * * The Contents of this file are ma...
<commit_before> /* /~` _ _ _|_. _ _ |_ | _ \_,(_)| | | || ||_|(_||_)|(/_ https://github.com/Naios/continuable v3.0.0 Copyright(c) 2015 - 2018 Denis Blank <denis.blank at outlook dot com> Permission is her...
<commit_before>// 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 writing, software // ...
<commit_before><commit_msg>windows opengl: Use the updated DrawMask to get nice text with OpenGL.<commit_after><|endoftext|>