text
stringlengths
54
60.6k
<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 "views/examples/radio_button_example.h" #include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "vie...
<commit_before>#include "Request_wrap.h" #include <boost/python/class.hpp> #include <boost/python/pure_virtual.hpp> #include <boost/python/return_internal_reference.hpp> using namespace opencog; using namespace boost::python; void init_Request_py() { class_<RequestWrap, boost::noncopyable>("Request", no_init) ...
<commit_before> /*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2017 Igor Mironchik 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, ...
<commit_before><commit_msg>some inling<commit_after><|endoftext|>
<commit_before><commit_msg>map 'relief' none/half/normal to flat/bevel/3dlook<commit_after><|endoftext|>
<commit_before><commit_msg>-Werror=deprecated-declarations (on Debian, reportedly)<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: soicon.cxx,v $ * * $Revision: 1.16 $ * * last change: $Author: kz $ $Date: 2005-03-03 19:58:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<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) 2011-2013 Stephen Williams (steve@icarus.com) * Copyright CERN 2015 * @author Maciej Suminski (maciej.suminski@cern.ch) * * 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 Lice...
<commit_before>/* Copyright (C) 2007 <SWGEmu> This File is part of Core3. This program 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 License, or (at your option) any later versio...
<commit_before><commit_msg>INTEGRATION: CWS rowlimit2 (1.28.4); FILE MERGED 2004/07/30 16:59:35 er 1.28.4.2: #i28834# reduce memory consumption of increased row limit; compressed arrays for flags and heights 2004/06/18 20:02:00 er 1.28.4.1: #i28834# increased row limit memory footprint reduction, compressed array; raw ...
<commit_before>// THIS FILE IS AUTO GENERATED, EDIT AT YOUR OWN RISK //%L #include "{{files['declaration']}}" #include "{{files['entities']}}" #include <tuple> //%L #define myoffsetof(st, m) static_cast<int>((size_t)(&((st *)0)->m)) //%L // /////////// // // Base entity // // /////////// // //%L // Base entity construc...
<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><commit_msg>The 'bInitialized' state needs to be global, and unset in lo_destroy()<commit_after><|endoftext|>
<commit_before><commit_msg>Remove unnecessary `#include` lines.<commit_after><|endoftext|>
<commit_before>#include <cstdint> #include <cstring> #include <iostream> #include "utest_helper.hpp" void compiler_vector_inc(void) { const int n = 64; char dst[n]; char src[n]; OCL_CREATE_KERNEL("compiler_vector_inc"); OCL_CREATE_BUFFER(buf[0], 0, n, NULL); OCL_CREATE_BUFFER(buf[1], 0, n, NULL); OCL_SE...
<commit_before>#include "PathTask.hpp" #include "Robosub/HighLevelControl.h" #include "std_msgs/String.h" /** * @brief The constructor. Subscribes to all needed topics and sets up callbacks */ PathTask::PathTask() : m_nodeHandle(), m_pathSubscriber(), m_taskStateSubscriber(), m_highLevelMotorPublisher(), ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/perv/p9_ram_putspr.H $ ...
<commit_before>/* LICENSE NOTICE Copyright (c) 2009, Frederick Emmott <mail@fredemmott.co.uk> 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 notice appear in all copies. THE SOFTW...
<commit_before>#include "sql_statement.hpp" #include "sqlite_dbconn.hpp" #include <sqlite3.h> #include <string> using std::string; namespace sqloxx { namespace detail { SQLStatement::SQLStatement ( SQLiteDBConn& p_sqlite_dbconn, string const& str ): m_statement(0), m_sqlite_dbconn(p_sqlite_dbconn), m_is_lock...
<commit_before><commit_msg>new loplugin: VCL widget reference checker<commit_after><|endoftext|>
<commit_before>/* * Copyright (c) 2007-2008 Digital Bazaar, Inc. All rights reserved. */ #include "db/rt/DynamicObjectIterator.h" #include "db/rt/Exception.h" using namespace db::rt; DynamicObjectIteratorImpl::DynamicObjectIteratorImpl(DynamicObject dyno) { mObject = dyno; mIndex = -1; if(mObject->ge...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>#include <iostream> #include <fstream> #include "itkFileListVideoIO.h" #include "itkImportImageFilter.h" #include "itkRGBPixel.h" #include "itkImageFileWriter.h" // ITK typedefs typedef itk::RGBPixel<char> PixelType; typedef itk::ImportImageFilter<PixelType, 2> ImportFilterType; typedef itk::Image<Pix...
<commit_before>/* * Websocket Broadcaster */ #include <iostream> #include <sstream> #include <memory> #include <map> #include "include/server_ws.hpp" using namespace std; typedef SimpleWeb::SocketServer<SimpleWeb::WS> WsServer; int main(int argc, char* argv[]) { if(argc!=2) { cout << "Usage : broadcaster <por...
<commit_before><commit_msg>param was using user length for strncpy, causing overflows<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: DllMain.cpp,v $ * * $Revision: 1.2 $ * * last change: $Author: hro $ $Date: 2002-08-26 13:43:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>// Bindings #include "PyROOT.h" #include "Adapters.h" #include "Utility.h" // ROOT #include "TInterpreter.h" #include "TBaseClass.h" #include "TClass.h" #include "TClassEdit.h" #include "TDataType.h" #include "TDataMember.h" #include "TMethod.h" #include "TFunction.h" #include "TMethodArg.h" #include "T...
<commit_before>#include <controller_manager/controller_manager.hpp> #include <bitbots_ros_control/wolfgang_hardware_interface.h> #include <signal.h> #include <thread> #include <rclcpp/rclcpp.hpp> sig_atomic_t volatile request_shutdown = 0; void sigintHandler(int sig) { // gives other nodes some time to perform shut...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: introwin.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: hr $ $Date: 2007-06-27 20:31:20 $ * * The Contents of this file are made ...
<commit_before><commit_msg>added exact distances for strafing and moving backwards.<commit_after><|endoftext|>
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 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. Redistri...
<commit_before><commit_msg>PoolingDelivery allocates mThreadGateIdxBuffer<commit_after><|endoftext|>
<commit_before><commit_msg>some more debug statements to see, if the ethernet ports answer when requesting sysex commands<commit_after><|endoftext|>
<commit_before>// Copyright 2014 Google 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 // // Unless required...
<commit_before>/* * MIT License * * Copyright (c) 2016 xiongziliang <771730766@qq.com> * * This file is part of ZLMediaKit(https://github.com/xiongziliang/ZLMediaKit). * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "So...
<commit_before>/*************************************************************************** * Copyright (c) 2010 Juergen Riegel <FreeCAD@juergen-riegel.net> * * * * This file is part of the FreeCAD CAx development system. ...
<commit_before>#include "MultisampleRenderbuffer.hpp" PyObject * MGLMultisampleRenderbuffer_tp_new(PyTypeObject * type, PyObject * args, PyObject * kwargs) { MGLMultisampleRenderbuffer * self = (MGLMultisampleRenderbuffer *)type->tp_alloc(type, 0); if (self) { } return (PyObject *)self; } void MGLMultisampleRen...
<commit_before><commit_msg>Change ismine to take a CWallet instead of CKeyStore<commit_after><|endoftext|>
<commit_before>/* # Software License Agreement (MIT License) # # Copyright (c) 2021, UFACTORY, Inc. # All rights reserved. # # Author: Vinman <vinman.wen@ufactory.cc> <vinman.cub@gmail.com> */ #include "xarm/wrapper/xarm_api.h" int XArmAPI::get_gripper_version(unsigned char versions[3]) { if (!is_connected()) return ...
<commit_before>/************************************************************************* * * $RCSfile: spritecanvas.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-03-30 07:39:09 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>// Copyright 2011 Gregory Szorc // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
<commit_before>#ifndef STAN_MATH_PRIM_SCAL_META_GET_HPP #define STAN_MATH_PRIM_SCAL_META_GET_HPP #include <cmath> #include <cstddef> #include <type_traits> namespace stan { template <typename T, typename = std::enable_if_t<std::is_fundamental<T>::value>> inline T get(const T& x, size_t n) { return x; } ...
<commit_before><commit_msg>Don't dereference the end iterator<commit_after><|endoftext|>
<commit_before>//===--- Errors.cpp - Error reporting utilities ---------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: ImageRegistration16.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: cuitbxform.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: hr $ $Date: 2007-06-27 16:59:30 $ * * The Contents of this file are mad...
<commit_before>/************************************************************************* * * $RCSfile: swatrset.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2004-02-03 14:34:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before><commit_msg>INTEGRATION: CWS swdrawpositioning (1.114.6); FILE MERGED 2004/05/04 06:25:06 od 1.114.6.3: RESYNC: (1.114-1.115); FILE MERGED 2004/04/21 15:25:10 mmaher 1.114.6.2: #i26790# First stab at using the new anchoring option for drawing objects 2004/04/07 10:43:15 od 1.114.6.1: #i26791# - adjustmen...
<commit_before><commit_msg>INTEGRATION: CWS os8 (1.3.138); FILE MERGED 2003/04/03 07:15:07 os 1.3.138.1: #108583# precompiled headers removed<commit_after><|endoftext|>
<commit_before>#include "dynet/nodes-conv.h" #include <sstream> #include <limits> #include <cmath> #include <stdexcept> #include <array> #include "dynet/functors.h" #include "dynet/nodes-macros.h" #include "third_party/eigen_pooling.h" #if HAVE_CUDA #include "dynet/cuda.h" #include "dynet/gpu-ops.h" #endif using na...
<commit_before>// (C) Copyright Gennadiy Rozental 2002-2003. // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears in all copies. // This software is provided "as is" without express or implied warranty, // and with no claim as to its suitability...
<commit_before>#include "SimplifySpecializations.h" #include "IROperator.h" #include "IRMutator.h" #include "Simplify.h" #include "Substitute.h" #include "Definition.h" #include "IREquality.h" #include <set> namespace Halide{ namespace Internal { using std::map; using std::set; using std::string; using std::vector; ...
<commit_before> #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "FireSimulator.h" #include "../World.h" #include "../BlockID.h" #include "../Defines.h" #include "../Chunk.h" #include "Root.h" #include "../Bindings/PluginManager.h" // Easy switch for turning ...
<commit_before>/* * Copyright 2019-present Facebook, Inc. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under...
<commit_before>#include "Script.hpp" #include <angelscript.h> #include <cstring> #include "../Manager/Managers.hpp" #include "../Manager/ScriptManager.hpp" #include "../Manager/ResourceManager.hpp" #include "../Entity/Entity.hpp" #include "../Script/ScriptFile.hpp" using namespace Component; Script::Script() { ...
<commit_before>// // Created by Sam on 2/11/2018. // #include <iostream> #include <fstream> #include <sstream> #include <utility> #include "../../../include/Game/Utilities/Database.h" #include "../../../include/Game/Python/Factory.h" void Database::setupUser(const std::string &steamID) { createUser(steamID); ...
<commit_before>#include <fstream> #include <gtest/gtest.h> #include "codec_def.h" #include "codec_app_def.h" #include "utils/BufferedData.h" #include "BaseDecoderTest.h" static void ReadFrame(std::ifstream* file, BufferedData* buf) { // start code of a frame is {0, 0, 0, 1} int zeroCount = 0; char b; buf->Cle...
<commit_before>/************************************************************************* * * $RCSfile: basicparser.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: vg $ $Date: 2003-04-15 17:19:31 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<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 "webkit/glue/plugins/pepper_char_set.h" #include <stdlib.h> #include "base/i18n/icu_string_conversions.h" #include "third_pa...
<commit_before>/* Copyright DaiMysha (c) 2015, All rights reserved. DaiMysha@gmail.com https://github.com/DaiMysha 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 copyrig...
<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 "webkit/glue/plugins/pepper_char_set.h" #include <stdlib.h> #include "base/i18n/icu_string_conversions.h" #include "third_pa...
<commit_before>// Author: Enrico Guiraud, Danilo Piparo CERN 03/2017 /************************************************************************* * Copyright (C) 1995-2016, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/** * @file regex.cpp * @brief Brief description of file. * */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <ctype.h> #include <errno.h> #include <regex.h> #include <angort/angort.h> #includ...
<commit_before>// Filename: test_proxy.cxx // Created by: drose (29Aug02) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved // // All use of this software is subject to the terms of the Panda 3d // Softwa...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: OPropertySet.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 00:44:32 $ * * The Contents of this file are m...
<commit_before>// $Id: fe_clough.C,v 1.5 2005-02-28 16:35:25 roystgnr Exp $ // The libMesh Finite Element Library. // Copyright (C) 2002-2005 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 ...
<commit_before>/* The MIT License (MIT) Copyright (c) 2013-2015 SRS(simple-rtmp-server) 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 right...
<commit_before>/* The MIT License (MIT) Copyright (c) 2013-2015 SRS(simple-rtmp-server) 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 right...
<commit_before>/* * Copyright (c) 2013 The WebM 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 (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-443271. // // This file is part of the GLVis visualization tool and library. For more // informatio...
<commit_before>/** * @file * Lists and hashes * */ #include "angort.h" #include "hash.h" #include "opcodes.h" using namespace angort; namespace angort { struct RevStdComparator : public ArrayListComparator<Value> { Angort *ang; RevStdComparator(Angort *a){ ang = a; } virtual int compare(...
<commit_before> #include <QGridLayout> #include <QBoxLayout> #include <QButtonGroup> #include <QGroupBox> #include <QSignalMapper> #include <QSplitter> #include "wd.h" #include "font.h" #include "cmd.h" #include "form.h" #include "pane.h" #include "child.h" #include "layout.h" #include "button.h" #include "checkbox.h...
<commit_before>#pragma once #include "xml_parser_ctxt.hpp" #include "pathname.hpp" #include "libxml2_error_handlers.hpp" #include "xml_string.hpp" #include "xml_element.hpp" #include <string> #include <iosfwd> #include <memory> #include <libxml/tree.h> struct FreeXmlDoc { public: auto operator( )( xmlDoc *xml )...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Lewis Baker // Licenced under MIT license. See LICENSE.txt for details. /////////////////////////////////////////////////////////////////////////////// #include <cppcoro/generator.hpp> #include <cppcoro/on_s...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2014 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public Lice...
<commit_before>/* * main.cpp * * Copyright (C) ST-Ericsson SA 2011 * Authors: Srimanta Panda <srimanta.panda@stericsson.com>, * Ola Borgelin <ola.borgelin@stericsson.com>, * Karin Hedlund <karin.hedlund@stericsson.com>, * Markus Andersson <markus.m.andersson@stericsson.com> for ST-Eric...
<commit_before>#include <fstream> #include <iostream> #include <regex> #include <string> #include <unordered_map> using namespace std; typedef unordered_map<string, char> umap; umap get_rna_code(string table){ //Let's agree that 'Z' represents Stop codon umap out; fstream rna_code; string line; r...
<commit_before>#include "IK.h" #include "Rotation.h" #include "Geometry.h" #include <math3d/basis.h> #include <math3d/rotationfit.h> #include <math3d/Plane3D.h> #include <math3d/Line3D.h> #include <math3d/misc.h> using namespace std; IKGoal::IKGoal() : link(0),destLink(-1),posConstraint(PosNone),localPosition(Zero),...
<commit_before>// Copyright 2016-2017 Francesco Biscani (bluescarni@gmail.com) // // This file is part of the mp++ library. // // 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/MP...
<commit_before>#include <iostream> #include "bots.h" #include <boost/asio.hpp> #include <boost/thread/thread.hpp> const int _LADO = 10; using boost::asio::ip::tcp; void send(tcp::socket &socket, const std::string & str) { boost::asio::write(socket, boost::asio::buffer(str + "\n"), boost::asio::transfer_all());...
<commit_before>#pragma once //=====================================================================// /*! @file @brief R8C グループ・A/D 制御 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2015, 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/R8C/blob/master...
<commit_before> TEST_CASE("Semaphores.", "[semaphore]") { SECTION("Local Semaphore.") { const auto initCount = 2u; const auto maxCount = 3u; auto semaphore = oqpi::semaphore("", oqpi::sync_object_creation_options::open_or_create, initCount, maxCount); REQUIRE(semaphore.isVali...
<commit_before>#pragma once //=====================================================================// /*! @file @brief R8C グループ・タイマー RB I/O 制御 @n Copyright 2015 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include "common/vect.h" ...
<commit_before>#include "testsettings.hpp" #ifdef TEST_UTIL_ERROR #include <realm/util/basic_system_errors.hpp> #include "test.hpp" using namespace realm; using namespace realm::util; // Test independence and thread-safety // ----------------------------------- // // All tests must be thread safe and independent of...
<commit_before>/* Copyright (c) 2013, Project OSRM, Dennis Luxen, others 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...
<commit_before><commit_msg>overclock: fix the reboot<commit_after><|endoftext|>
<commit_before>#include "KeyGrabber.h" #include <string> KeyGrabber *KeyGrabber::instance = NULL; KeyGrabber *KeyGrabber::Instance() { if (instance == NULL) { instance = new KeyGrabber(); } return instance; } bool KeyGrabber::Hook() { _mouseHook = SetWindowsHookEx(WH_MOUSE_LL, LowLe...
<commit_before><commit_msg>GTK: don't dereference stale ConstrainedWindow pointer.<commit_after><|endoftext|>
<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 "chrome/common/chrome_plugin_lib.h" #include "base/command_line.h" #include "base/hash_tables.h" #include "base/histogra...
<commit_before><commit_msg>fix win build<commit_after><|endoftext|>
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
<commit_before><commit_msg>Fixed a hang in ChromeFrame while tearing down pending url requests during shutdown. This would occur when we received a redirect notification on an aborted request. We would end up aborting the request twice which would cause the UrlmonUrlRequest object to be destroyed twice by IE, thus resu...
<commit_before>#include "Test.h" #include "SkBitmap.h" #include "SkRect.h" static const char* boolStr(bool value) { return value ? "true" : "false"; } // these are in the same order as the SkBitmap::Config enum static const char* gConfigName[] = { "None", "A1", "A8", "Index8", "565", "4444", "8888", "RLE_Inde...
<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. */ // This is a GPU-backend specific test. It relies on static intializers to work #include "SkTypes.h" #if SK_SUPPORT_GPU && SK_ALLOW_STATIC_GLOBAL_INITIALIZER...
<commit_before>/* * sodium_utils.cpp * * Created on: Mar 30, 2018 * Author: Daniel */ #include "sodium_utils.hpp" const std::string& SodiumUtils::SODIUM_PUBLIC_HEADER() { const static std::string value = "SODIUM PUBLIC KEY\n"; return value; } const std::string& SodiumUtils::SODIUM_PRIVATE_HEADER() { co...
<commit_before>#include "stdafx.h" #include "DWindow.h" #include "DDebugManager.h" #include "DWindowManager.h" DWindowManager::DWindowManager() : CurrentWindow(nullptr) { } DWindowManager::~DWindowManager() { delete DF; } DWindow* DWindowManager::NewWindow(int Width, int Height, std::string Title) { DWindow *W...
<commit_before><commit_msg>tdf#91426 - fix DX canvas - missed by VclPtr / Clang plugin.<commit_after><|endoftext|>
<commit_before>/*! \file urbi/usyncclient.hh **************************************************************************** * * Definition of the URBI interface class * * Copyright (C) 2004, 2006, 2007, 2008, 2009 Jean-Christophe Baillie. * All rights reserved. * * This program is free software; you can redistribu...