CombinedText
stringlengths
4
3.42M
#include "xchainer/routines/connection.h" #include <algorithm> #include <cstdint> #include <string> #include <gtest/gtest.h> #include <nonstd/optional.hpp> #include "xchainer/array.h" #include "xchainer/constant.h" #include "xchainer/device_id.h" #include "xchainer/shape.h" #include "xchainer/stack_vector.h" #includ...
// Copyright (c) 2014 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "shell/browser/native_window_views.h" #if BUILDFLAG(IS_WIN) #include <wrl/client.h> #endif #include <memory> #include <utility> #include <vector> #include "base/cxx17_backp...
// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "shell/common/application_info.h" #include <windows.h> // windows.h must be included first #include <VersionHelpers.h> #include <appmodel.h> #include <shlobj.h> #include <...
/************************************************************************* * * $RCSfile: shellexec.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2004-06-17 11:35:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses * * ...
/************************************************************************* * * $RCSfile: PropertyMaps.cxx,v $ * * $Revision: 1.13 $ * * last change: $Author: bm $ $Date: 2000-12-14 12:47:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses * * ...
/* 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) any later versi...
// // 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_NUMBER # define AMD_...
/* Copyright (c) 2000, 2016, Oracle and/or its affiliates. Copyright (c) 2010, 2016, MariaDB 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; version 2 of the License. This program ...
// // 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_NUMBER # define AMD_...
// 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 // "License"); you may...
// Begin CVS Header // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/elementaryFluxModes/CBitPatternTreeMethod.cpp,v $ // $Revision: 1.8 $ // $Name: $ // $Author: shoops $ // $Date: 2009/09/24 18:13:13 $ // End CVS Header // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual // Prope...
#include "ClientRepo.hpp" #include "../inanity/data/sqlite.hpp" #include "../inanity/StreamReader.hpp" #include "../inanity/StreamWriter.hpp" #include "../inanity/MemoryFile.hpp" #include "../inanity/PartFile.hpp" #include "../inanity/Exception.hpp" #include <sstream> BEGIN_INANITY_OIL /// Statuses of table items. /*...
/* 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) any later versi...
// // 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_NUMBER # define AMD_...
// // 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_NUMBER #define AMD_P...
// // 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_NUMBER #define AMD_P...
// // 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_NUMBER #define AMD_P...
// Copyright 2017-2020 The Verible 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 applicable law o...
// 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 "views/controls/single_split_view.h" #if defined(OS_LINUX) #include <gdk/gdk.h> #endif #include "app/gfx/canvas.h" #include "skia/ext/...
/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
#include <openll/layout/algorithm.h> #include <random> #include <algorithm> #include <limits> #include <openll/GlyphSequence.h> #include <openll/FontFace.h> #include <openll/layout/layoutbase.h> #include <openll/layout/LabelArea.h> #include <openll/Typesetter.h> namespace gloperate_text { namespace layout { names...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm 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/li...
/* * Copyright (c) 2015 Oleg Morozenkov * * 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, pub...
/* * This file is part of Poedit (https://poedit.net) * * Copyright (C) 2014-2017 Vaclav Slavik * * 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 wi...
/* * Copyright (C) 2017 The Android Open Source Project * * 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...
/************************************************************************/ /* */ /* Copyright 2009 by Ullrich Koethe */ /* */ /* This file is p...
// Copyright 2016-2020 Jean-Francois Poilpret // // 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...
#include "tgbot/Api.h" namespace TgBot { Api::Api(std::string token, const HttpClient& httpClient, const std::string& url) : _token(std::move(token)), _httpClient(httpClient), _tgTypeParser(), _url(url) { } std::vector<Update::Ptr> Api::getUpdates(std::int32_t offset, std...
/* -*-c++-*- * * Copyright (C) 2012 Stuart Buchanan * * 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) any later version. * * This ...
#include <stdio.h> #include <rtl/process.h> #include <rtl/bootstrap.hxx> #include <rtl/string.hxx> #include <rtl/byteseq.hxx> #include <osl/process.h> using namespace ::rtl; void main( int argc, char *argv[] ) { sal_Int32 nCount = rtl_getAppCommandArgCount(); fprintf( stdout, "rtl-commandargs (%d)" , nCoun...
// 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/views/status_icons/status_tray_win.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "ch...
#include "Arduino.h" #include "ODriveArduino.h" static const int kMotorOffsetFloat = 2; static const int kMotorStrideFloat = 28; static const int kMotorOffsetInt32 = 0; static const int kMotorStrideInt32 = 4; static const int kMotorOffsetBool = 0; static const int kMotorStrideBool = 4; static const int kMotorOffsetUin...
#include "tagsouppullparser.h" #include <algorithm> #include <cinttypes> #include <cstdlib> #include <cstring> #include <cwchar> #include <iostream> #include <istream> #include <sstream> #include <stdexcept> #include "config.h" #include "logger.h" #include "utils.h" namespace newsboat { /* * This method implements...
#include <iostream> #include <cstdlib> #include <cstring> #include <string> #include "boost/program_options.hpp" #include "boost/shared_ptr.hpp" #include "Model.h" #include "BookKeeper.h" #include "Timer.h" #include "InputXML.h" #include "CycException.h" #include "Env.h" #include "Logger.h" #include "IsoVector.h" usi...
#include "FlareSpacecraftNavigationSystem.h" #include "../../Flare.h" #include "../FlareSpacecraft.h" #include "../FlareEngine.h" #include "../../Game/FlareGame.h" #include "../../Player/FlarePlayerController.h" #include "../FlareOrbitalEngine.h" #include "../FlarePilotHelper.h" #include "PhysicsEngine/PhysicsConstr...
#ifndef _SDD_HOM_SATURATION_SUM_HH_ #define _SDD_HOM_SATURATION_SUM_HH_ #include <algorithm> // all_of, copy #include <iosfwd> #include <stdexcept> //invalid_argument #include <vector> #include <boost/container/flat_set.hpp> #include <boost/optional.hpp> #include "sdd/dd/definition.hh" #include "sdd/hom/context_fw...
// Copyright (c) 2016-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <amount.h> #include <policy/feerate.h> #include <test/test_chaincoin.h> #include <boost/test/unit_test.hpp> BOOST_...
/* * Copyright (c) 2011, Willow Garage, 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: * * * Redistributions of source code must retain the above copyright * notice, this l...
// Copyright (c) 2014-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <crypto/aes.h> #include <crypto/chacha20.h> #include <crypto/chacha_poly_aead.h> #include <crypto/poly1305.h> #inclu...
#include "server.hpp" namespace po = boost::program_options; using std::cout; using std::cerr; using std::endl; using std::string; sf::UdpSocket socket; unsigned short client_port; Game* game; // callback for interrupt signal void shutdown(int s) { (void)s; // intentionally unused cout << "\nServer shutting down...
// ========================================================================== // // This file is part of Sara, a basic set of libraries in C++ for computer // vision. // // Copyright (C) 2017 David Ok <david.ok8@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public // License v. 2.0. If a...
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2018 Ben Vanik. All rights reserved. ...
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Libmemcached library * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * Copyright (C) 2006-2009 Brian Aker All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
#include "ServerConfig.hpp" #include "ConnectionManager.hpp" #include <tellstore.hpp> #include <util/Epoch.hpp> #include <util/Logging.hpp> #include <util/StorageConfig.hpp> #include <crossbow/infinio/EventDispatcher.hpp> #include <crossbow/program_options.hpp> #include <iostream> #include <thread> #include <vector>...
#ifndef __CALLBACK_PARAMETER_HPP_INCLUDED #define __CALLBACK_PARAMETER_HPP_INCLUDED #include "cpp/ylikuutio/common/any_value.hpp" #include "callback_object.hpp" #include "cpp/ylikuutio/hierarchy/hierarchy_templates.hpp" // Include standard headers #include <string> // std::string namespace ontology { clas...
#pragma once #include "search/v2/house_to_street_table.hpp" #include "indexer/features_vector.hpp" #include "indexer/index.hpp" #include "indexer/scale_index.hpp" #include "base/macros.hpp" #include "std/unique_ptr.hpp" class MwmValue; namespace search { namespace v2 { void CoverRect(m2::RectD const & rect, int ...
/** * Copyright (c) Jonathan Cardoso Machado. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Easy.h" #include "Curl.h" #include "CurlHttpPost.h" #include "Share.h" #include "make_unique.h" #include <c...
/* * Copyright (c) 2011 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. All contribut...
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Libmemcached library * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * Copyright (C) 2006-2009 Brian Aker All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
// Ewmh.cc for fluxbox // Copyright (c) 2002-2004 Henrik Kinnunen (fluxgen at user.sourceforge.net) // // 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 withou...
//===-- ClangASTContext.cpp -------------------------------------*- C++ -*-===// // // 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 // //===---------------------------...
// --------------------------------------------------------------------- // // Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
// Ewmh.cc for fluxbox // Copyright (c) 2002 - 2006 Henrik Kinnunen (fluxgen at fluxbox dot org) // // 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 l...
//===-- ClangASTContext.cpp -------------------------------------*- C++ -*-===// // // 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 // //===---------------------------...
/* * Copyright 2015 - 2021 gary@drinkingtea.net * * 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/. */ #pragma once #include "strops.hpp" #include "vector.hpp" na...
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization // ...
//===- Target.cpp ---------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
#include <string.h> #include <stdlib.h> #include <v8.h> #include <node.h> #include <node_buffer.h> #include <node_object_wrap.h> #include <unistd.h> #include <errno.h> #include <ldap.h> #ifdef __FreeBSD__ #include <uuid.h> #define uuid_to_string(uu, uuid) { \ uint32_t status; ...
#define _USE_MATH_DEFINES #include <algorithm> #include <cstddef> #include <cstdint> #include <cstdlib> #include <iostream> #include <fstream> #include <sstream> #include <cmath> #include <gtest/gtest.h> #include "sixtracklib/testlib.h" #include "sixtracklib/_impl/definitions.h" #include "sixtracklib/_impl/path.h" ...
//===-- ClangASTContext.cpp -------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- Writer.cpp ---------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
#include <string.h> #include <stdlib.h> #include <v8.h> #include <node.h> #include <node_object_wrap.h> #include <unistd.h> #include <errno.h> #include <ldap.h> #ifdef __FreeBSD__ #include <uuid.h> #define uuid_to_string(uu, uuid) { \ uint32_t status; \ uuid_to_string(uu, &uuid, &status); \ } #endif #ifde...
/* * Copyright (c) 2011, Intel Corporation * 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 of c...
//===-- SwiftASTContext.cpp -------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
// 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-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
//===- Writer.cpp ---------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
///////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2019, The Regents of the University of California // All rights reserved. // // BSD 3-Clause License // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the...
//===- Writer.cpp ---------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
//===-- SwiftASTContext.cpp -------------------------------------*- C++ -*-===// // // 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://swift.org/LI...
// //################################################################### //# EPOS 1.67 K. WERNER, T. PIEROG, S. PORTEBOEUF. # //# Contact: werner@subatech.in2p3.fr # //################################################################### // // TEpos.cxx // // Wraper class f...
/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: Currency.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: obo $ $Date: 2007-03-09 13:22:37 $ * * The Contents of this file are made available subj...
#include "common/protobuf/utility.h" #include <numeric> #include "envoy/protobuf/message_validator.h" #include "common/common/assert.h" #include "common/common/fmt.h" #include "common/json/json_loader.h" #include "common/protobuf/message_validator_impl.h" #include "common/protobuf/protobuf.h" #include "absl/strings...
#ifndef _DERANDOM_HPP #define _DERANDOM_HPP /*------------------------------------------------------------------------- * drawElements C++ Base Library * ----------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may ...
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: t; tab-width: 4 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Licen...
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. */ #include <numeric> #include <thread> #include <adios2.h> #include <adios2/common/ADIOSMacros.h> #include <adios2/helper/adiosFunctions.h> #include <gtest/gtest.h> using namespace adios2; si...
/* * Copyright (c) 2007-2012 SlimDX Group * * 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, publis...
/************************************************************************* * * $RCSfile: addonmenu.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2003-03-25 18:19:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses * * ...
// --------------------------------------------------------------------- // // Copyright (C) 1998 - 2016 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
#include "StableHeaders.h" #include "Foundation.h" #include "CommunicationSettings.h" #include "CommunicationManager.h" namespace Communication { // static CommunicationManager* CommunicationManager::instance_ = NULL; /** * Split given text with given separator and return substring of given index ...
// --------------------------------------------------------------------- // // Copyright (C) 1998 - 2016 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
/*=================================================================== 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 implied warr...
/** @file Implements Collapsed connection @section license License 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 ...
// 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 "content/browser/gpu/gpu_process_host_ui_shim.h" #include <algorithm> #include "base/id_map.h" #include "base/process_util.h" #include "bas...
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** follo...
//===-- Driver.cpp ----------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- driver.cpp - Clang GCC-Compatible Driver --------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <iostream> using namespace cv; using namespace std; int main(int argc, char** argv) { const char* filename = argc >= 2 ? argv[1] : "pic1.png"; Mat src = imread(filename, 0); if(src.empty()) { cout << "...
/** * This file is part of EasyLogging++ samples * Demonstration of multithreaded application in C++ (Qt) * * Compile this program using Qt * qmake qt-sample.pro && make * * Revision: 1.0 * @author mkhan3189 */ #include "../../easylogging++.h" #include "mythread.h" _INITIALIZE_EASYLOGGINGPP FUNC(int, m...
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
#include <algorithm> #include <cstddef> #include <cstdint> #include <cstdlib> #include <cstdio> #include <cstring> #include <cmath> #include <fstream> #include <iterator> #include <limits> #include <map> #include <random> #include <vector> #include <utility> #include <gtest/gtest.h> #include "sixtracklib/common/defin...
#include <stdint.h> #include <PPU.h> #include <Console.h> #include <Graphics.h> PPU::PPU(Console *console) { this->console = console; } void PPU::boot() { // 0x2000: CTRL nameTableAddr = 0; // 0=0x2000, 1=0x2400, 2=0x2800, 3=0x2C00 vRAMAddrIncr = false; // 0=1 (across name tabl...
#include <ros/console.h> #include <string> #include <tr_hub_parser/RangeArray.h> #include <tr_hub_parser/tr_evo_hub_parser.h> namespace tr_hub_parser { Tr_hub_parser::Tr_hub_parser() { // Get parameters ros::NodeHandle private_node_handle_("~"); private_node_handle_.param("portname", portname_, ...
/****************************************************************************** * * Project: integrating laszip into liblas - http://liblas.org - * Purpose: * Author: Martin Isenburg * isenburg at cs.unc.edu * ****************************************************************************** * ...
#include "QtViewerMapping.h" #include <gloperate/painter/Camera.h> #include <gloperate/painter/AbstractCameraCapability.h> #include <gloperate/painter/AbstractProjectionCapability.h> #include <gloperate/painter/AbstractViewportCapability.h> #include <gloperate/painter/AbstractTypedRenderTargetCapability.h> #include <g...
/* -*- Mode:C++; c-file-style:"gnu" -*- */ /* * Copyright 2014 Waseda University, Sato Laboratory * Author: Jairo Eduardo Lopez <jairo@ruri.waseda.jp> * * nnn-nnst-test.cc is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero Public License as published by * the Free ...
#include <stdio.h> //#include "jsoncpp/json/json.h" #include <map> #include <string> #include "DmaBuffer.h" #include "mp.h" #include "portal.h" #include "dmaManager.h" #include "NvmeIndication.h" #include "NvmeRequest.h" #include "NvmeTrace.h" #include "MemServerPortalRequest.h" #include "MemServerPortalIndication.h" ...
/******************************************************************************* Module: FGAircraft.cpp Author: Jon S. Berndt Date started: 12/12/98 Purpose: Encapsulates an aircraft Called by: FGFDMExec ------------- Copyright (C) 1999 Jon S. Berndt (js...
// @(#)root/proof:$Name: $:$Id: TProof.cxx,v 1.87 2005/05/03 13:13:02 rdm Exp $ // Author: Fons Rademakers 13/02/97 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
#include <maya/MArgDatabase.h> #include <maya/MArgList.h> #include <maya/MSelectionList.h> #include <maya/MStatus.h> #include "Asset.h" #include "AssetNode.h" #include "AssetCommand.h" #include "AssetSubCommand.h" #include "AssetSubCommandLoadAsset.h" #include "AssetSubCommandSync.h" #include "util.h" #define kListAs...
/* -*- 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 multi-platform ...