CombinedText stringlengths 4 3.42M |
|---|
#include <iostream>
#include <gtest/gtest.h>
#include <thread>
#include <chrono>
#include <msgrpc/thrift_struct/thrift_codec.h>
#include <msgrpc/frp/cell.h>
#include <type_traits>
#include <future>
#include <atomic>
using namespace std;
using namespace std::chrono;
#include "demo/demo_api_declare.h"
////////////////... |
namespace iox
{
template <uint64_t Capacity, typename ValueType>
IndexQueue<Capacity, ValueType>::IndexQueue(ConstructEmpty_t)
: m_readPosition(Index(Capacity))
, m_writePosition(Index(Capacity))
{
}
template <uint64_t Capacity, typename ValueType>
IndexQueue<Capacity, ValueType>::IndexQueue(ConstructFull_t)
... |
// @(#)root/cont:$Id$
// Author: Rene Brun 11/02/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
#include "win32/AcceleratorTableGenerator.h"
using namespace Framework::Win32;
CAcceleratorTableGenerator::CAcceleratorTableGenerator()
{
}
CAcceleratorTableGenerator::~CAcceleratorTableGenerator()
{
}
void CAcceleratorTableGenerator::Insert(unsigned int cmd, unsigned int key, unsigned int virt)
{
... |
// 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 "ui/aura/desktop/desktop_activation_client.h"
#include "base/auto_reset.h"
#include "base/compiler_specific.h"
#include "ui/aura/client/acti... |
/*
* Copyright (C) 2017 ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... |
#include "ServiceDiscovery.h"
#include "ServerPeer.h"
#include <iostream>
#include <stdio.h> /* printf, NULL */
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
#include "DatabaseLinker.h"
using namespace std;
ServiceDiscovery::ServiceDiscovery(char* _listen_hostname, int _listen_port... |
/*************************************************************************/
/* packed_data_container.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
/**********************************************************************
// @@@ 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 "ExecutableLauncherUnix.h"
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/wait.h>
#include <cstdlib>
using namespace clt::filesystem::operations;
void ExecutableLauncherUnix::execute(const entities::Path & path)
{
pid_t cpid;
cpid = fork();
switch (cpid... |
// @(#)root/thread:$Id$
// Author: Fons Rademakers 02/07/97 (Revised: G Ganis, Nov 2015)
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
//
// reference.c
// WhateverGreen
// Explanation of how RadeonFramebuffer connectors are created
//
// Copyright © 2017 vit9696. All rights reserved.
//
// Reverse-engineered from AMDSupport.kext
// Copyright © 2017 Apple Inc. All rights reserved.
//
/**
* Connectors from AMDSupport since 10.12
*/
struct Mod... |
// Generated by the gRPC protobuf plugin.
// If you make any local change, they will be lost.
// source: helloworld.proto
#include "helloworld.grpc_cb.pb.h"
#include <google/protobuf/descriptor.h>
#include <google/protobuf/stubs/once.h>
#include <grpc_cb/impl/client/client_async_call_cqtag.h> // for ClientAsyncCall... |
//
// 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
//
... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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 witho... |
#include <algorithm>
#include <iterator>
template <class Iterator>
bool is_sorted (Iterator first, Iterator last)
{
if (first == last) return true;
Iterator next = first;
while (++next != last) {
if (*next < *first)
return false;
++first;
}
return true;
}
template<class... |
/*
* Copyright (c) 2012 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. All contributin... |
/*
* qiaffine.cpp
*
* Copyright (c) 2015 Tobias Wood.
*
* 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/.
*
*/
#include <iostream>
#include "itkMetaDataObj... |
/*
* Copyright (c) 2019, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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... |
#include <stdio.h>
#include <stdexcept>
#include <QMutexLocker>
#include <Utils.hpp>
#include "../firmware/common2015/drivers/cc1201/ti/defines.hpp"
#include "USBRadio.hpp"
// Include this file for base station usb vendor/product ids
#include "../firmware/base2015/usb-interface.hpp"
using namespace std;
using names... |
#include "clockUtils/sockets/TcpSocket.h"
#if CLOCKUTILS_PLATFORM == CLOCKUTILS_PLATFORM_WIN32
#include <WinSock2.h>
typedef int32_t socklen_t;
#elif CLOCKUTILS_PLATFORM == CLOCKUTILS_PLATFORM_LINUX
#include <arpa/inet.h>
#include <cstring>
#include <fcntl.h>
#include <netdb.h>
#include <netinet/in.h>
#includ... |
// The MIT License (MIT)
// Copyright (c) 2013-2016 Rapptz and contributors
// 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 ri... |
// 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/crash_handler_host_linux.h"
#include <stdint.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/syscall.h>
#includ... |
// 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/command_line.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_list.h"
#include "chrome/browser/browser_process.h... |
// Copyright (c) 2006-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/extensions/extensions_ui.h"
#include "app/gfx/codec/png_codec.h"
#include "app/gfx/color_utils.h"
#include "app/gfx/skb... |
// 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/gtk/gtk_custom_menu_item.h"
#include "base/i18n/rtl.h"
#include "base/logging.h"
#include "chrome/browser/gtk/gtk_custom_men... |
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <limits>
#include <string>
#include <sstream>
#include <cmath>
#include "filtrations/Data.hh"
#include "geometry/RipsExpander.hh"
#include "persistentHomology/ConnectedComponents.hh"
#include "topology/CliqueGraph.hh"
#include ... |
// 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/sessions/session_service.h"
#include <algorithm>
#include <limits>
#include <set>
#include <vector>
#include "base/file_uti... |
// 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/views/frame/browser_view.h"
#if defined(OS_LINUX)
#include <gtk/gtk.h>
#endif
#include "app/l10n_util.h"
#include "app/reso... |
#include "npc.h"
#include "room.h"
#include <iostream>
Npc::Npc(const char* npcName, const char* npcDescription, Room* loc) : Creature(npcName, npcDescription, loc)
{
name = npcName;
description = npcDescription;
entityType = npc;
location = loc;
alive = true;
aware = false;
}
Npc::~Npc()
{
}
void Npc::checkSh... |
#include "StdAfx.h"
#include "ArwDecoder.h"
#include <arpa/inet.h>
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009-2014 Klaus Post
Copyright (C) 2014 Pedro Côrte-Real
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
#include "StdAfx.h"
#include "Rw2Decoder.h"
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009 Klaus Post
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 Foundation; either... |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkDebuggerGUI.h"
#include "SkPictureData.h"
#include "SkPicturePlayback.h"
#include "SkPictureRecord.h"
#include <QListWidgetItem>
#include <QtGui>
#include "sk_tool... |
/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... |
#include "convertpopup.h"
// Tnz6 includes
#include "menubarcommandids.h"
#include "tapp.h"
#include "formatsettingspopups.h"
#include "filebrowser.h"
// TnzQt includes
#include "toonzqt/gutil.h"
#include "toonzqt/imageutils.h"
#include "toonzqt/menubarcommand.h"
#include "toonzqt/filefield.h"
#include "toonzqt/int... |
/* test_minimizer.cpp - Test Adept minimizer with N-dimensional Rosenbrock function
Copyright (C) 2020 ECMWF
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is... |
/******************************************************************************
* 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
... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors are ... |
// Copyright 2016-2017 Open Source Robotics Foundation, 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 ... |
// Copyright 2016-2017 Open Source Robotics Foundation, 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 ... |
/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 *
* (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS *
* *
... |
/* -*- Mode:C++; c-file-style:"gnu" -*- */
/*
* Copyright 2014 Waseda University, Sato Laboratory
* Author: Jairo Eduardo Lopez <jairo@ruri.waseda.jp>
*
* nnnsim-do.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 Soft... |
/*************************************************************************
*
* $RCSfile: plugcon.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2001-10-26 07:40:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... |
// ftpd is a server implementation based on the following:
// - RFC 959 (https://tools.ietf.org/html/rfc959)
// - RFC 3659 (https://tools.ietf.org/html/rfc3659)
// - suggested implementation details from https://cr.yp.to/ftp/filesystem.html
//
// Copyright (C) 2020 Michael Theall
//
// This program is free software: y... |
// ------------------------------------------------------------------------------------------------
#include "Base/ScriptSrc.hpp"
// ------------------------------------------------------------------------------------------------
#include <cstdio>
#include <algorithm>
#include <stdexcept>
// -------------------------... |
// $Id: logStream.C,v 1.13 2000/01/10 15:51:09 oliver Exp $
#include <BALL/COMMON/logStream.h>
#include <BALL/CONCEPT/notification.h>
#include <sys/time.h>
#include <stdio.h>
#define BUFFER_LENGTH 32768
using std::endl;
using std::ostream;
using std::streambuf;
using std::cout;
using std::cerr;
#ifdef BALL_HAS_ANS... |
#include "CachePkgStatic.h"
#include "CP_Texture.h"
#include "TextureRaw.h"
#include "HardRes.h"
#include "DTEX_Package.h"
#include "DTEX_TextureFormat.h"
#include "ResourceAPI.h"
#include "RenderAPI.h"
#include "DebugDraw.h"
#include "CacheAPI.h"
#include "AsyncTask.h"
#include <logger.h>
#include <gimg_pvr.h>
#inclu... |
//===-- IOHandler.cpp -------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "ManualBindings.h"
#include "tolua++.h"
#include "Root.h"
#include "World.h"
#include "Plugin.h"
#include "Plugin_NewLua.h"
#include "PluginManager.h"
#include "Player.h"
#include "WebAdmin.h"
#include "StringMap.... |
/*****************************************************************************
* mkv.cpp : matroska demuxer
*****************************************************************************
* Copyright (C) 2003-2005, 2008, 2010 VLC authors and VideoLAN
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* ... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
// This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_GDT_OPERATORS_BASE_HH
#define DUNE_GDT_OPERATORS_BASE_HH
#include <dune/stuff/la/solver.h... |
/*************************************************************************
*
* $RCSfile: editbrowsebox.cxx,v $
*
* $Revision: 1.15 $
*
* last change: $Author: fs $ $Date: 2002-09-10 14:32:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
*... |
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: restrictedpaths.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-11-14 14:07:30 $
*
* The Contents of this file are made availabl... |
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fontworkgallery.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: rt $ $Date: 2005-09-09 00:47:44 $
*
* The Contents of this file are made availabl... |
/*************************************************************************
*
* $RCSfile: unoparagraph.cxx,v $
*
* $Revision: 1.30 $
*
* last change: $Author: obo $ $Date: 2005-04-18 11:30:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
*... |
#include "qhexcursor.h"
#include "qhexdocument.h"
#include <QWidget>
#include <QPoint>
#define currentDocument static_cast<QHexDocument*>(this->parent())
//#define currentContainer static_cast<QWidget*>(currentDocument->parent())
const int QHexCursor::CURSOR_BLINK_INTERVAL = 500; // 5ms
QHexCursor::QHexCursor(QObjec... |
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenO... |
#pragma once
#include "cql3/result_set.hh"
#include "transport/event.hh"
#include "core/shared_ptr.hh"
#include "core/sstring.hh"
namespace transport {
namespace messages {
class result_message {
public:
class visitor;
virtual ~result_message() {}
virtual void accept(visitor&) = 0;
//
// Me... |
#include "CharacterPropertiesMapping.h"
namespace DocFileFormat
{
CharacterPropertiesMapping::CharacterPropertiesMapping( XmlUtils::CXmlWriter* writer, WordDocument* doc, RevisionData* rev, ParagraphPropertyExceptions* currentPapx, bool styleChpx, bool isRunStyleNeeded)
: PropertiesMapping( writer ), _isRunS... |
// @(#)root/treeplayer:$Id$
// Author: Rene Brun 19/01/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
/*************************************************************************/
/* editor_settings.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
// @(#)root/treeplayer:$Id$
// Author: Rene Brun 19/01/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
/*************************************************************************/
/* editor_settings.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "SGDP4.h"
#include "Vector.h"
#include "SatelliteException.h"
#include <cmath>
#include <iomanip>
#define AE (1.0)
#define Q0 (120.0)
#define S0 (78.0)
#define XKMPER (6378.135)
#define XJ2 (1.082616e-3)
#define XJ3 (-2.53881e-6)
#define XJ4 (-1.65597e-6)
#d... |
/*************************************************************************/
/* filesystem_dock.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "SGDP4.h"
#include "Vector.h"
#include "SatelliteException.h"
#include <cmath>
#include <iomanip>
SGDP4::SGDP4(void) {
first_run_ = true;
SetConstants(CONSTANTS_WGS72);
}
SGDP4::~SGDP4(void) {
}
void SGDP4::SetConstants(EnumConstants constants) {
constants_.AE = 1.0;
cons... |
// $Id: exodusII_io.C,v 1.7 2005-02-22 22:17:39 jwpeterson 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 as publishe... |
/*************************************************************************/
/* project_manager.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
/*
The MIT License (MIT)
Copyright (c) 2013 winlin
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... |
//
// Copyright (c) 2008-2014 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, copy, mod... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
#include <string.h>
#include <cstdlib>
#include <cctype>
#include <algorithm>
#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <iostream>
#include <fstream>
#include "couch-kvs... |
/**
******************************************************************************
* @file main.cpp
* @author Michal Prevratil
* @version V1.0
* @date 01-December-2013
* @brief Default main function.
******************************************************************************
*/
#inc... |
//* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#in... |
/*****************************************************************************
* Project: RooFit *
* Package: RooFitCore *
* @(#)root/roofitcore:$Id$
* Authors: ... |
#pragma once
#include "spinner/misc.hpp"
#include "spinner/resmgr.hpp"
#include "spinner/dir.hpp"
#ifdef WIN32
#include <intrin.h>
#include <windows.h>
#endif
#include <SDL.h>
#include <SDL_atomic.h>
#include <SDL_thread.h>
#include <SDL_events.h>
#include <SDL_image.h>
#include <exception>
#include <stdexcept>
#incl... |
//******************************************************************************
///
/// @file base/image/hdr.cpp
///
/// Implementation of Radiance RGBE High Dynamic Range (HDR) image file
/// handling.
///
/// @author Christopher Cason
/// @author Christoph Lipka
/// @author Based on MegaPOV HDR code written by Mael ... |
#ifndef _UNTOOLS_UCBLOCKBYTES_HXX
#define _UNTOOLS_UCBLOCKBYTES_HXX
#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
#include <com/sun/star/uno/Reference.hxx>
#endif
#ifndef _COM_SUN_STAR_IO_XINPUTSTREAM_HPP_
#include <com/sun/star/io/XInputStream.hpp>
#endif
#ifndef _COM_SUN_STAR_IO_XOUTPUTSTREAM_HPP_
#include <com/sun/star/... |
/*
* SessionBreakpoints.cpp
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public Li... |
#include <iostream>
#include "vtrc-client-base/vtrc-client.h"
#include "vtrc-common/vtrc-pool-pair.h"
#include "vtrc-common/vtrc-exception.h"
#include "protocol/calculator.pb.h"
#include "calculator-iface.h"
#include "vtrc-condition-variable.h"
#include "vtrc-bind.h"
#include "vtrc-ref.h"
#include "vtrc-thread.h"
#i... |
// Copyright NVIDIA Corporation 2007 -- Ignacio Castano <icastano@nvidia.com>
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation ... |
/* -*- 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 at http://mozil... |
/*************************************************************************/
/* scene_tree_dock.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2013-2020 Winlin
*
* 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,... |
//------------------------------------------------------------------------------
// Copyright (c) 2016 John D. Haughton
//
// 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 restricti... |
/*
* Created by Rolando Abarca 2012.
* Copyright (c) 2012 Rolando Abarca. All rights reserved.
* Copyright (c) 2013 Zynga Inc. All rights reserved.
* Copyright (c) 2013-2014 Chukong Technologies Inc.
*
* Heavy based on: https://github.com/funkaster/FakeWebGL/blob/master/FakeWebGL/WebGL/XMLHTTPRequest.cpp
*
* Pe... |
/*****************************************************************************
* Project: RooFit *
* Package: RooFitCore *
* File: $Id: RooProdGenContext.cc,v 1.7 2002/09/30 00:57:29 verkerke Exp $
* A... |
#include "ride/wx.h"
#include "ride/filepropertiesdlg.h"
#include "ride/fileedit.h"
#include <map>
#include <vector>
class StringIntConverter {
private:
typedef std::vector<int> Ints;
typedef std::map<int, wxString> IntsToStrings;
public:
StringIntConverter& operator()(int i, const wxString& str) {
strings_... |
/** \brief MARC grep the Next Generation.
* \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de)
*
* \copyright 2019 Universitätsbibliothek Tübingen. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero Genera... |
#include <maya/MFnMesh.h>
#include <maya/MFnMeshData.h>
#include <maya/MArrayDataBuilder.h>
#include <maya/MGlobal.h>
#include <maya/MEulerRotation.h>
#include <maya/MQuaternion.h>
#include <maya/MMatrix.h>
#include <maya/MTime.h>
#include <maya/MFnArrayAttrsData.h>
#include <maya/MFnDoubleArrayData.h>
#include <maya/M... |
#include "Console.h"
#include <iostream>
#include <map>
#include <vector>
#include <sstream>
#include <llvm/ADT/OwningPtr.h>
#include <llvm/Support/MemoryBuffer.h>
#include <llvm/Linker.h>
#include <llvm/Module.h>
#include <llvm/ModuleProvider.h>
#include <llvm/DerivedTypes.h>
#include <llvm/ExecutionEngine/Execution... |
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: uicommanddescription.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: rt $ $Date: 2005-09-09 01:59:35 $
*
* The Contents of this file are made ava... |
namespace treap {
mt19937 rnd = []() {
random_device rd;
return mt19937(rd());
}();
template <typename T>
struct Node {
Node* l;
Node* r;
uint32_t y;
size_t sz;
T data;
Node(): l(nullptr), r(nullptr), y(rnd()), sz(1), data() {}
N... |
/**
** \file object/float-class.cc
** \brief Creation of the URBI object float.
*/
#include <cmath>
#include "sdk/config.h"
#ifndef HAVE_ROUND
# include "libport/ufloat.h"
#endif
#include "object/float-class.hh"
#include "object/object.hh"
#include "object/atom.hh"
#include "object/urbi-exception.hh"
namespace ... |
/*++
Module Name:
BaseAligner.cpp
Abstract:
Single-end aligner
Authors:
Bill Bolosky, August, 2011
Environment:
User mode service.
This class is NOT thread safe. It's the caller's responsibility to ensure that
at most one thread uses an instance at any time.
Revision History:
Adap... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.