text
stringlengths
54
60.6k
<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/chromeos/frame/browser_frame_chromeos.h" #include "chrome/browser/chromeos/frame/normal_browser_frame_view.h"...
<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/ref_counted.h" #include "chrome/browser/browser.h" #include "chrome/browser/renderer_host/render_view_host.h" #include "...
<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/browser/net/resolve_proxy_msg_helper.h" #include "base/waitable_event.h" #include "net/base/net_errors.h" #include "t...
<commit_before>/* Sirikata * SingleMaterialGeometryFilter.cpp * * Copyright (c) 2010, Ewen Cheslack-Postava * 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 o...
<commit_before>/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>// Copyright (c) 2020 ASMlover. 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 o...
<commit_before>#include <iostream> #include "3.cpp" using namespace std; int main() { DoubleLinkedChain<int> ch; DoubleLinkedList<int> L1, L2; int a1[] = {1, 3, 5, 7, 9, 6}; int a2[] = {3, 4, 8, 5, 7}; for (size_t i = 0; i < 5; i++) { L1.insertEnd(a1[i]); L2.insertEnd(a2[i]); ...
<commit_before>//============================================================================== // Single cell simulation graph panels widget //============================================================================== #include "singlecellsimulationgraphpanel.h" #include "singlecellsimulationgraphpanels.h" ...
<commit_before>/* * This file is part of openfx-arena <https://github.com/olear/openfx-arena>, * Copyright (C) 2015, 2016 FxArena DA * Copyright (C) 2016 INRIA * * openfx-arena is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as published * ...
<commit_before>// Copyright 2019 DeepMind Technologies Limited. // // 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>/*========================================================================= Library: CTK Copyright (c) Kitware 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 ...
<commit_before>/* Copyright 2017 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 the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicab...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: basicbox.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-07 19:54:48 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: bastype2.hxx,v $ * * $Revision: 1.11 $ * * last change: $Author: vg $ $Date: 2007-01-16 16:30:57 $ * * The Contents of this file are made...
<commit_before>/************************************************************************* * * $RCSfile: bastype4.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2000-12-07 16:15:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #pragma once #include <experimental/optional> #include <boost/any.hpp> #include <boost/functional/hash.hpp> #include <iostream> #include <sstream> #include "core/sstring.hh" #include "core/shared_ptr.hh" #include "utils/UUID.hh" #include "net/byteord...
<commit_before>#include <stan/io/random_var_context.hpp> #include <stan/io/empty_var_context.hpp> #include <gtest/gtest.h> #include <boost/random/additive_combine.hpp> // L'Ecuyer RNG #include <boost/random/uniform_real_distribution.hpp> #include <test/test-models/good/services/test_lp.hpp> class random_var_context :...
<commit_before>/* -*- mode:linux -*- */ /** * \file grid_world.cc * * * * \author Ethan Burns * \date 2008-10-08 */ #include <iostream> #include <fstream> #include <map> #include <string> #include <vector> #include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../util/eps...
<commit_before>#include <QTimer> #include "server-status-service.h" #include "seafile-applet.h" #include "account-mgr.h" #include "api/api-error.h" #include "api/requests.h" namespace { const int kRefreshInterval = 3 * 60 * 1000; // 3 min const int kRefreshIntervalForUnconnected = 30 * 1000; // 30 sec } SINGLETON_...
<commit_before>// (C) 2014 Arek Olek #include <functional> #include <unordered_map> #include <boost/functional/hash.hpp> #include <boost/graph/adjacency_matrix.hpp> #include "debug.hpp" #include "range.hpp" namespace detail { boost::adjacency_matrix<boost::undirectedS> typedef graph; } namespace std { template...
<commit_before>#include <iostream> #include <queue> #include <stdio.h> using namespace std; #include "Binary-tree.hpp" #include "pretty-print.hpp" // Функция создает сбалансированное дерево и возращает корневой узел дерева Node* createBalancedTree(Node** node, int *&val, int cnt, int depth) { if (cnt <= 0) return ...
<commit_before>#include <iostream> #include <queue> #include <stdio.h> using namespace std; #include "Binary-tree.hpp" #include "pretty-print.hpp" // Функция создает сбалансированное дерево и возращает корневой узел дерева Node* createBalancedBTree(Node** node, int *&value, int cnt) { if (cnt <= 0) return NULL; ...
<commit_before>/* * Copyright (c) 2015 Juniper Networks, Inc. All rights reserved. */ #include <sys/socket.h> #if defined(__linux__) #include <linux/netlink.h> #elif defined(__FreeBSD__) #include "vr_os.h" #endif #include <fcntl.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h...
<commit_before><commit_msg>bnc#887225: OOXML import: Correctly apply table style for lastRow.<commit_after><|endoftext|>
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include <QMessageBox> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) {} void MainWindow::setIP(QHostAddress myIP, QHostAddress partnerIP) { ui->setupUi(this); ui->ErrorLabel->setText("No error :)"); ...
<commit_before>/* Copyright (c) 2016 Barrett Adair Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) HEADER GUARDS INTENTIONALLY OMITTED DO NOT INCLUDE THIS HEADER DIRECTLY */ #define BOOST_CLBL_TRTS_NOEXCEPT_SPEC #define BOOST_C...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: StaticSet.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-08 10:04:12 $ * * The Contents of this file are made...
<commit_before>/************************************************************************* * * $RCSfile: RelationDlg.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: oj $ $Date: 2001-10-08 07:26:30 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/************************************************************************* * * $RCSfile: undosqledit.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: oj $ $Date: 2002-08-19 07:28:27 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before><commit_msg>unused parameter<commit_after><|endoftext|>
<commit_before>#include "doorman.h" #include <wiringPi.h> #include <string> #include <cstdio> #include <cmath> #include <fstream> #include <iostream> #include <cstdlib> using namespace std; string command_read("read"); string command_readHuman("read-human"); string command_write("write"); #define COUNT 500000 int ...
<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/translate/translate_infobar_delegate2.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include...
<commit_before>// 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 the Apache License, Version 2.0 (the // "Lic...
<commit_before>/*++ Copyright (c) 2006 Microsoft Corporation Module Name: smtlib_frontend.cpp Abstract: Frontend for reading Smtlib input files Author: Nikolaj Bjorner (nbjorner) 2006-11-3. Revision History: Leonardo de Moura: new SMT 2.0 front-end, removed support for .smtc files and smtcmd_sol...
<commit_before>/* The MIT License(MIT) Copyright(c) 2015 Armen Amirkhanian 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...
<commit_before>/* Copyright 2007-2015 QReal Research Group * * 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 ap...
<commit_before>#include "EnvMapMath.h" #include "TextureUtils.h" #include "CoordinateTransform.h" #include "Actions/Actions.h" #include "GaussianWeights.h" #include <stdio.h> void FastBlurCubemap::DoTask(const Texture& inputTex, Texture& outputTex) { if (!inputTex.m_cubemap) { printf("Error: For this task required...
<commit_before>/***************************************************************************** shuffleBed.cpp (c) 2009 - Aaron Quinlan Hall Laboratory Department of Biochemistry and Molecular Genetics University of Virginia aaronquinlan@gmail.com Licenced under the GNU General Public License 2.0 license....
<commit_before>/* * This file is a part of Xpiks - cross platform application for * keywording and uploading images for microstocks * Copyright (C) 2014-2016 Taras Kushnir <kushnirTV@gmail.com> * * Xpiks is distributed under the GNU General Public License, version 3.0 * * This program is free software: yo...
<commit_before>// // Copyright (c) 2015, Microsoft Corporation // // 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 SOFTWARE IS PROVIDED "AS ...
<commit_before>#include <Input/InputManager.hpp> #include <Input/KeyList.hpp> #include <Triggers/TriggerDatabase.hpp> #include <Utils/VectorUtils.hpp> namespace obe::Input { InputManager::InputManager() : Registrable("InputManager"), m_actionTriggers( Triggers::TriggerDatabase::GetI...
<commit_before>#include "TranslationOptionList.h" #include "Util.h" #include "TranslationOption.h" #include <boost/foreach.hpp> using namespace std; namespace Moses { TranslationOptionList:: TranslationOptionList(const TranslationOptionList &copy) { const_iterator iter; for (iter = copy.begin(); iter !...
<commit_before>#pragma once #include "event.hpp" #include "sdlwrap.hpp" #include "spinner/abstbuff.hpp" namespace rs { template <class T> using UPtr = std::unique_ptr<T>; namespace msg { struct DrawInit : MsgBase {}; struct MainInit : MsgBase {}; //! 描画リクエスト struct DrawReq : MsgBase {}; //! スレッド終了リクエスト ...
<commit_before>#include "AlignmentInfo.h" #include "PhrasePairFeature.h" #include "TargetPhrase.h" using namespace std; namespace Moses { PhrasePairFeature::PhrasePairFeature (FactorType sourceFactorId, FactorType targetFactorId) : StatelessFeatureFunction("pp", ScoreProducer::unlimited), m_sourceFactorId(so...
<commit_before>#include <string> #include "ccspec/core.h" #include "ccspec/expectation.h" #include "ccspec/matchers.h" using std::string; using ccspec::core::before; using ccspec::core::context; using ccspec::core::describe; using ccspec::core::it; using ccspec::expect; using ccspec::matchers::be_falsey; using ccspec...
<commit_before>/* * Copyright (C) [2004, 2005, 2006], Hyperic, Inc. * This file is part of SIGAR. * * SIGAR is free software; you can redistribute it and/or modify * it under the terms version 2 of the GNU General Public License as * published by the Free Software Foundation. This program is distributed * in th...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2016, 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 // met:...
<commit_before>#include <cstring> #include <iostream> #include <memory> #include <string> #include <utility> #include <Python.h> #include "string.hh" #include "py.hh" #include "text.hh" #include "base.hh" using namespace py; //------------------------------------------------------------------------------ namespace...
<commit_before>#include "ResourceView.hpp" #include <Engine/Geometry/Model.hpp> #include <Engine/Texture/TextureAsset.hpp> #include <Engine/Audio/SoundBuffer.hpp> #include <Engine/Script/ScriptFile.hpp> #include <Engine/Util/FileSystem.hpp> #include <Engine/Hymn.hpp> #include <DefaultAlbedo.png.hpp> #include <Engine/M...
<commit_before>/********************************************************************** Copyright (c) 2016 Advanced Micro Devices, Inc. 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 S...
<commit_before>#ifndef STAN_MATH_PRIM_FUN_UNIT_VECTOR_CONSTRAIN_HPP #define STAN_MATH_PRIM_FUN_UNIT_VECTOR_CONSTRAIN_HPP #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/Eigen.hpp> #include <stan/math/prim/fun/dot_self.hpp> #include <stan/math/prim/fun/sqrt.hpp> #include <cmath> namespace stan { namespa...
<commit_before>////////////////////////////////////////////////////////////////////////////// // oxygentransitionwidget.cpp // stores event filters and maps widgets to transitions for transitions // ------------------- // // Copyright (c) 2009 Hugo Pereira Da Costa <hugo.pereira@free.fr> // // Permission is hereby gran...
<commit_before>/* * This program source code file is part of KICAD, a free EDA CAD application. * * Copyright (C) 1992-2010 jean-pierre.charras * Copyright (C) 1992-2010 Kicad Developers, see change_log.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the ...
<commit_before>/************************************************************************* * * $RCSfile: partwnd.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: as $ $Date: 2001-11-28 11:22:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>// Copyright (c) 2019 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chain.h> #include <chainparams.h> #include <consensus/activation.h> #include <util/system.h> #include <test/u...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>#include <stdlib.h> #include <stdio.h> #include <boost/version.hpp> #include <fstream> #include <stdint.h> #include "task_manager_lib/TaskServerInterface.h" #include <ros/ros.h> #include <ros/package.h> using namespace boost::posix_time; using namespace std; using namespace task_manager_lib; std::st...
<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/browser/meta_table_helper.h" #include "base/logging.h" #include "base/string_util.h" #include "chrome/common/sql...
<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 "base/file_util.h" #include "base/path_service.h" #include "base/platform_thread.h" #include "base/string_util.h" #includ...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: lex.hxx,v $ * $Revision: 1.4 $ ...
<commit_before>// $Id$ // vim:tabstop=2 /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2006 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
<commit_before>//===-- MachineFunction.cpp -----------------------------------------------===// // // Collect native machine code information for a function. This allows // target-specific information about the generated code to be stored with each // function. // //===------------------------------------------------...
<commit_before>// // Copyright (C) 2011-2014 Jeff Bush // // 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 License, or (at your option) any later version. ...
<commit_before>// RUN: %clangxx_asan -O0 %s -o %t -mllvm -asan-detect-invalid-pointer-pair // RUN: %env_asan_opts=detect_invalid_pointer_pairs=1 %run %t k 2>&1 | FileCheck %s -check-prefix=OK -allow-empty // RUN: %env_asan_opts=detect_invalid_pointer_pairs=1 not %run %t g 2>&1 | FileCheck %s -check-prefix=CMP -check-p...
<commit_before>/** * Copyright 2017 Google 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 l...
<commit_before>/* * trend: display live data on a trend graph * Copyright(c) 2003-2004 by wave++ "Yuri D'Elia" <wavexx@users.sf.net> * Distributed under GNU LGPL WITHOUT ANY WARRANTY. */ /* * Headers */ // defaults #include "defaults.hh" // system headers #include <stdexcept> #include <deque> using std::deque;...
<commit_before>#include "nuclear_burn.hpp" extern "C" { void burn_step_(int* indexeos, double* density, double* energy, double* tburn, double* xn, double* atomw, double* atomn, double* dedtmp, int* matters, double* dt, double* qrec, int* nse, double* tmp_nse, int* ...
<commit_before>/* -*- mode:c++; tab-width:4; c-basic-offset:4; -*- */ /** * \file cryptoki_config.cpp * \brief Configuration for the certman library */ #include "cryptoki_config.h" #include <maemosec_common.h> #include "c_xmldoc.h" #include <string> #include <vector> typedef struct int_slot_info { CK_SLOT_ID nr;...
<commit_before>#include "imzb/reader.hpp" #include "blosc.h" #include <ios> #include <cassert> #include <algorithm> #include <stdexcept> #include <sstream> imzb::ImzbReader::ImzbReader(const std::string& filename) : fn_(filename), in_(filename, std::ios::binary), block_idx_(0), peaks_(imzb::ImzbWriter::BLOCK...
<commit_before>#ifndef MUTEXES_H #define MUTEXES_H /* This header file contains "App" versions of the os/thread.hpp objects. The "App" versions have the following characteristics: 1. If you -Dsingle_threaded, they are completely empty and will be removed by a sufficiently-smart compiler. We even lose the dependency...
<commit_before><commit_msg>Remove unused variable<commit_after><|endoftext|>
<commit_before><commit_msg>Increase delay between sysexes<commit_after><|endoftext|>
<commit_before>// // LevelManager.cpp // Created by Matt Kaufmann on 01/10/14. // #include "ExampleGame/Components/LevelManager/LevelManager.h" #include "ExampleGame/Components/ComponentTypes/ComponentTypeIds.h" #include "ExampleGame/Components/LevelManager/LevelFileTags.h" #include "ExampleGame/Components/ShadyCame...
<commit_before>#ifndef PLATEROBJECT_HPP #define PLATEROBJECT_HPP #include <wx/wxprec.h> #ifndef WX_PRECOMP #include <wx/wx.h> #endif #include "ExPolygonCollection.hpp" #include "Model.hpp" namespace Slic3r { namespace GUI { class PlaterObject { public: std::string name {""}; size_t identifier {0U}; s...
<commit_before><commit_msg>[FlashPy]: check matrix when getting types.<commit_after><|endoftext|>
<commit_before>// Copyright 2011 Google 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 law ...
<commit_before>/* --- This file is distributed under the MIT Open Source License, as detailed in "LICENSE.TXT" in the root of the programming_by_contract repository --- */ // needed to test programming_by_contract with NDEBUG! #ifndef NDEBUG # define NDEBUG 1 #endif #include "hurchalla/programming_by_contract/p...
<commit_before>/** * \file dcs/macro.hpp * * \brief Provide C-preprocessor (macro) support. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright 2009 Marco Guazzone (marco.guazzone@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this ...
<commit_before>#include <iostream> #include <vector> using namespace std; bool IsPrime(int x) { if (x == 1) return false; for (int i = 2; i * i <= x; ++i) { if (x % i == 0) { return false; } } return true; } bool ProcessCase() { int a, d, n; cin >> a >> d >> n; if (a == 0 && d == 0 && n =...
<commit_before>/*! * \file socket.cpp * \author Nathan Eloe * \brief Implementation of the quasi-singleton socket class */ #include "socket.h" #include "context.h" namespace zmqcpp { std::shared_ptr<zmq::context_t> Context::m_ctx = nullptr; thread_local std::map<std::string, std::shared_ptr<zmq::socket_t>> So...
<commit_before>#include "socket.h" #include <stdio.h> #include <string.h> #if defined(_WIN32) #pragma comment( lib, "wsock32.lib" ) #pragma comment( lib, "Ws2_32.lib" ) #else #include <errno.h> #endif #if defined(_WIN32) typedef int socklen_t; #endif #if defined(_WIN32) #define BNS_SOCKET_ERROR() printf("Socket err...
<commit_before>#include "Ephemeris.h" #include "Elements.h" #include "Properties.h" #include <lucid/math/Algorithm.h> #include <lucid/math/Constants.h> #include <lucid/core/FileReader.h> namespace core = ::lucid:: core; namespace math = ::lucid:: math; namespace orbit = ::lucid::orbit; /// /// /// namespace { /// ...
<commit_before>/* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #include <algorithm> #include <sstream> #include <boost/algorithm/string.hpp> #include <boost/range/algorithm/find_if.hpp> #include <qi/log.hpp> #include <qi/numeric.hpp> #include "messagesocket.hpp" #include "transportsoc...
<commit_before>/* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #include <sstream> #include <boost/algorithm/string.hpp> #include <qi/log.hpp> #include "transportsocket.hpp" #include "transportsocketcache.hpp" qiLogCategory("qimessaging.transportsocketcache"); namespace qi { Transpor...
<commit_before>/*========================================================================= Program: Visualization Library Module: BArray.hh Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reproduc...
<commit_before>//====================================================================== //----------------------------------------------------------------------- /** * @file iutest_ostream_formatter_tests.cpp * @brief QuietResultPrinter test * * @author t.shirayanagi * @par copyright * Copyright (C)...
<commit_before><commit_msg>added function collison<commit_after>mains aflkjsd askljdf skldfjk <|endoftext|>
<commit_before>// Test that out-of-scope local variables are ignored by LSan. // RUN: LSAN_BASE="detect_leaks=1:report_objects=1:use_registers=0:use_stacks=1" // RUN: %clangxx_lsan %s -o %t // RUN: LSAN_OPTIONS=$LSAN_BASE not %run %t 2>&1 | FileCheck %s // RUN: LSAN_OPTIONS=$LSAN_BASE":exitcode=0" %run %t 2>&1 | FileCh...
<commit_before>// This file is part of UDPipe <http://github.com/ufal/udpipe/>. // // Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of // Mathematics and Physics, Charles University in Prague, Czech Republic. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. ...
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGSwitch.cpp Author: Jon S. Berndt Date started: 4/2000 ------------- Copyright (C) 2000 ------------- This program is free software; you can redistribute it and/or modify it under the terms of t...
<commit_before>/*========================================================================= Program: Visualization Library Module: Object.hh Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reprodu...
<commit_before><commit_msg>imgproc: use target type for calculations<commit_after><|endoftext|>
<commit_before>#pragma once #include "../widget.hpp" #include "../container.hpp" #include "../base/oriented_widget.hpp" namespace morda{ /** * @brief Scrollable list widget. * This is a base class for vertical and horizontal lists. */ class list_widget : // NOTE: order of virtual public and private declaration...
<commit_before>#include <stdio.h> #include "gtest/gtest.h" #include "gmock/gmock.h" #include "os/os.h" #include "nmranet/GlobalEventHandler.hxx" #include "nmranet/NMRAnetEventRegistry.hxx" using testing::Eq; using testing::Field; using testing::InSequence; using testing::Invoke; using testing::InvokeWithoutArgs; using...
<commit_before>/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/ #ifndef __CTF_HPP__ #define __CTF_HPP__ #include "mpi.h" #include <stdio.h> #include <stdint.h> #include <vector> #include <map> #include <set> #include <deque> #include <complex> #include <assert.h> #define CTF_VERSION 131 #include "../src...
<commit_before><commit_msg>Start: [skip ci] replace QTextStream and its manipulators with stringstream to avoid deprecation warnings with Qt 5.15<commit_after><|endoftext|>
<commit_before>#pragma once #include <vector> #include <tuple> #include <utility> namespace helene { namespace soa_detail { template <class MemberPointerType> struct deduce_member_pointer; template <class MemberType, class ObjectType> struct deduce_member_pointer<MemberType ObjectType::*> { typedef MemberType ...
<commit_before>#include "tangram.h" #include "platform.h" #include "gl.h" #include <cmath> // Forward declaration void init_main_window(); // Input handling // ============== const double double_tap_time = 0.5; // seconds const double scroll_multiplier = 0.05; // scaling for zoom const double single_tap_time = 0.25;...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the i...
<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-2013 Torus Knot Software Ltd Permission is hereby granted, free of cha...