CombinedText stringlengths 4 3.42M |
|---|
// 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/webui/constrained_web_dialog_ui.h"
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/bind_helper... |
// 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/views/frame/opaque_non_client_view.h"
#include "chrome/app/theme/theme_resources.h"
#include "chrome/browser/views/fram... |
/* Copyright 2017 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 applicable law or a... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Morwenn
*
* 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... |
#include "journal.h"
#include "valexpr.h"
#include "binary.h"
#include <fstream>
#include <ctime>
#include <sys/stat.h>
#define TIMELOG_SUPPORT 1
namespace ledger {
static unsigned long binary_magic_number = 0xFFEED765;
#ifdef DEBUG_ENABLED
static unsigned long format_version = 0x0002050b;
#else
static unsig... |
/**
** \file runner/interpreter.cc
** \brief Implementation of runner::Interpreter.
*/
//#define ENABLE_DEBUG_TRACES
#include <libport/compiler.hh>
#include <algorithm>
#include <deque>
#include <boost/range/iterator_range.hpp>
#include <libport/finally.hh>
#include <libport/foreach.hh>
#include <libport/symbol.... |
Update Lab_01_Question_04.cpp
4. Write a C++ program to enter length and breadth of a rectangle and find its perimeter.
|
// 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/views/frame/opaque_non_client_view.h"
#include "chrome/app/theme/theme_resources.h"
#include "chrome/browser/tab_conten... |
/*
* Copyright 2006-2008 The FLWOR Foundation.
*
* 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... |
/*************************************************************************
*
* 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: translatechanges.cxx,v $
* $Revision: 1.12 $
*... |
// AudioEndPointLibrary.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "AudioEndPointLibrary.h"
#include "MMNotificationClient.h"
#include <DefSoundEndpointColl.h>
#include <algorithm>
namespace AudioEndPoint {
// This is the constructor of a class that has been exp... |
// 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 <string>
#include "base/command_line.h"
#include "base/logging.h"
#include "base/process_util.h"
#include "base/scoped_nsautorelease_pool.h"... |
// 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/process_singleton.h"
#include <shellapi.h>
#include "base/base_paths.h"
#include "base/bind.h"
#include "base/command_line.... |
#include "server_functions.h"
#include <string.h>
#include <iostream>
#include <sstream>
#include <netinet/in.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <vector>
#include <algorithm>
#include <list>
#include <map>
#include <netdb.h>
#include <stdlib.h>
#inc... |
#include "../include/base_realsense_node.h"
#include "../include/sr300_node.h"
using namespace realsense2_camera;
std::string BaseRealSenseNode::getNamespaceStr()
{
auto ns = ros::this_node::getNamespace();
ns.erase(std::remove(ns.begin(), ns.end(), '/'), ns.end());
return ns;
}
BaseRealSenseNode::BaseRe... |
/*************************************************************************
*
* $RCSfile: FValue.cxx,v $
*
* $Revision: 1.14 $
*
* last change: $Author: oj $ $Date: 2001-10-01 11:24:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... |
/*************************************************************************
*
* $RCSfile: Class.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: oj $ $Date: 2001-08-14 07:21:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... |
/*************************************************************************
*
* $RCSfile: tools.cxx,v $
*
* $Revision: 1.16 $
*
* last change: $Author: obo $ $Date: 2004-03-15 12:48:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... |
/*************************************************************************
*
* $RCSfile: DCatalog.hxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:14:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... |
// 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 "remoting/host/plugin/daemon_controller.h"
#include <objbase.h>
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/bind_hel... |
#define _CRT_SECURE_NO_WARNINGS
#define _SCL_SECURE_NO_WARNINGS
#define _SCL_SECURE_NO_DEPRECATE
#define _CRT_NONSTDC_NO_DEPRECATE 0
#include <string.h> // because Borland's STL is braindead, we have to include <string.h> _before_ <string> in order to get memcpy
#include "test.hpp"
#include "writer_string.hpp"
#inc... |
#include <iostream>
#include <cstdio>
#include <vector>
#define SEQAN_TEST
#include <seqan/sequence.h>
#include <seqan/file.h>
#include <seqan/align.h>
using namespace std;
using namespace seqan;
//////////////////////////////////////////////////////////////////////////////
template <typename TSou... |
/* Copyright 2013-present Barefoot Networks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
#ifndef __SHUTDOWNICON_HXX__
#define __SHUTDOWNICON_HXX__
#ifndef _COM_SUN_STAR_FRAME_XTERMINATELISTENER_HPP_
#include <com/sun/star/frame/XTerminateListener.hpp>
#endif
#ifndef _COM_SUN_STAR_FRAME_XDESKTOP_HPP_
#include <com/sun/star/frame/XDesktop.hpp>
#endif
#ifndef _COM_SUN_STAR_LANG_XSINGLESERVICEFACTORY_HPP_
#i... |
#ifndef SILICIUM_MEMORY_SOURCE_HPP
#define SILICIUM_MEMORY_SOURCE_HPP
#include <silicium/source/source.hpp>
#include <vector>
#include <string>
#include <array>
namespace Si
{
template <class Element>
struct memory_source SILICIUM_FINAL : source<Element>
{
memory_source()
{
}
explicit memory_source(iterat... |
/*=========================================================================
Program: KWSys - Kitware System Library
Module: Registry.cxx
Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is dis... |
#include "project.h"
/**
* @brief Project::Project
* @param id
* @param name
*/
Project::Project(ID id, std::string name)
{
this->files = new ProjFiles();
this->m_name = name;
this->m_id = id;
this->m_videos.clear();
this->saved = false;
}
/**
* @brief Project::Project
*/
Project::Project(){
... |
#include <librealsense/rs2.hpp>
#include "example.hpp"
#define GLFW_INCLUDE_GLU
#include <GLFW/glfw3.h>
#include <imgui.h>
#include "imgui_impl_glfw.h"
#include <cstdarg>
#include <thread>
#include <iostream>
#include <algorithm>
#include <iomanip>
#include <map>
#include <sstream>
#include <array>
#include <mutex>
... |
#include "TensorData.h"
#include <iostream>
#include <sstream>
#include <iomanip>
#include <SmurffCpp/ConstVMatrixExprIterator.hpp>
using namespace Eigen;
using namespace smurff;
//convert array of coordinates to [nnz x nmodes] matrix
MatrixXui32 toMatrixNew(const std::vector<std::uint32_t>& columns, std::uint64_t ... |
#include <KrisLibrary/Logger.h>
#include "PointCloud.h"
#include <iostream>
#include <KrisLibrary/math3d/AABB3D.h>
#include <KrisLibrary/math3d/rotation.h>
#include <KrisLibrary/utils/SimpleParser.h>
#include <KrisLibrary/utils/stringutils.h>
#include <KrisLibrary/utils/ioutils.h>
#include <KrisLibrary/Timer.h>
#includ... |
/* Copyright (c) 2010 - 2021 Advanced Micro Devices, Inc.
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, mer... |
#include <sys/time.h>
#include <string>
#include <ctype.h>
#include <stdlib.h>
#include <malloc.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include <vector>
#include "../txn.h"
#include "../macros.h"
#include "../scopedperf.hh"
#include "../spinlock.h"
#include "bench.h"
#include "tpce.h"
using ... |
/***********************************************************************
created: Tue Feb 17 2009
author: Paul D Turner
*************************************************************************/
/***************************************************************************
* Copyright (C) 2004 - 2013 Pa... |
/***********************************************************************
created: Tue Feb 17 2009
author: Paul D Turner
*************************************************************************/
/***************************************************************************
* Copyright (C) 2004 - 2013 Pa... |
// 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 "build/build_config.h"
#include "app/keyboard_codes.h"
#include "base/basictypes.h"
#include "base/logging.h"
#include "base/message_loop.h"... |
#include <iostream>
/**
* Exercise that (I) changes the value of a pointer and (II) changes the value
* to which the pointer points.
*/
int main ()
{
int i1 = 1;
int i2 = 1;
int *p = &i1;
std::cout << "p = " << p << " *p = " << *p << std::endl;
std::cout << "Let's change p by pointing somewhere e... |
// 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/chromeos/cros/network_library.h"
#include <algorithm>
#include <map>
#include "base/i18n/time_formatting.h"
#include "base/... |
// 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/chromeos/cros/network_library.h"
#include <algorithm>
#include <map>
#include "base/i18n/time_formatting.h"
#include "base/... |
#include "Environment.hpp"
#include "Entity.hpp"
#include "Ball.hpp"
#include "Field.hpp"
#include "Robot.hpp"
#include <Constants.hpp>
#include <Network.hpp>
#include <Geometry2d/Util.hpp>
#include <protobuf/messages_robocup_ssl_detection.pb.h>
#include <protobuf/messages_robocup_ssl_geometry.pb.h>
#include <protobuf... |
//
// Copyright (C) 2006 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2004-2006 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement.
//
/... |
/**
* @file sparse_autoencoder_test.cpp
* @author Siddharth Agrawal
*
* Test the SparseAutoencoder class.
*/
#include <mlpack/methods/sparse_autoencoder/sparse_autoencoder_function.hpp>
#include <mlpack/methods/ann/activation_functions/logistic_function.hpp>
#include <mlpack/core.hpp>
#include <mlpack/methods/ann... |
/****************************************************************************
*
* Copyright (c) 2013, 2014 PX4 Development Team. 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. Re... |
//
// kern_model.cpp
// WhateverGreen
//
// Copyright © 2017 vit9696. All rights reserved.
//
#include <Headers/kern_iokit.hpp>
#include "kern_weg.hpp"
/**
* General rules for AMD GPU names (first table):
*
* 1. Only use device identifiers present in Apple kexts starting with 5xxx series
* 2. Follow Apple nam... |
// 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 "base/file_path.h"
#include "base/file_util.h"
#include "base/memory/ref_counted.h"
#include "base/path_service.h"
#include "base/scoped_temp... |
#pragma once
#include <eosio/chain/action.hpp>
#include <numeric>
namespace eosio { namespace chain {
struct deferred_transaction_generation_context : fc::reflect_init {
static constexpr uint16_t extension_id() { return 0; }
static constexpr bool enforce_unique() { return true; }
deferred_t... |
Fix a browser crash when an extension with multiple active pages crashes.
BUG=63038
TEST=Install an extension with a bg page and a popup. Right-click the browser action and inspect the popup. In the task manager, kill the extension process. The browser should not crash.
Review URL: http://codereview.chromium.org/503... |
Fix a race bug where content scripts would not apply to the first page load.
BUG=11547
Review URL: http://codereview.chromium.org/302011
git-svn-id: http://src.chromium.org/svn/trunk/src@29555 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Former-commit-id: ba9088f66416e228884ddd20a73a77db7912e40f
|
// 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/simple_message_box.h"
#include "base/message_loop.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/ui/gt... |
// Filename: INSStaggeredVelocityBcCoef.C
// Last modified: <06.Oct.2008 17:51:26 griffith@box230.cims.nyu.edu>
// Created on 22 Jul 2008 by Boyce Griffith (griffith@box230.cims.nyu.edu)
#include "INSStaggeredVelocityBcCoef.h"
/////////////////////////////// INCLUDES /////////////////////////////////////
#ifndef inc... |
Adding missing line ending which breaks the trybots..
TBR=tommi
git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@46107 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
|
//Copyright (c) 2013 Robert Markwick
//See the file license.txt for copying permission
#include "XPINSParser.h"
#include <math.h>
using namespace std;
const kMajor=0;
const kMinor=2;
//Read Variable Index for Function Parameters
int readFuncParameter(char* scriptText,int *startIndex,char varType,char expectedEnd){... |
/*
* Copyright 2010 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 or agreed to... |
#include <pd_view.h>
#include <pd_backend.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
struct DissassemblyData
{
char* code;
uint64_t location;
uint8_t locationSize;
};
... |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... |
//
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2009 Andrew Manson <g.real.ate@gmail.com>
// Copyright 2013 Thibaut Gridel <t... |
//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2008 Torsten Rahn <tackat@kde.org>
//
#include "OverviewMap.h"
#include <QtCore/QRect>... |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial licenses may u... |
#pragma once
#include "singleton.hpp"
#include "restag.hpp"
#include "optional.hpp"
namespace spi {
//! 名前付きリソースマネージャ
/*!
中身の保持はすべてスマートポインタで行う
シングルスレッド動作
*/
template <class T, class K=std::string>
class ResMgrName {
public:
using value_t = T;
using shared_t = std::shared_ptr<value_t>;
using key_t =... |
/*
* Copyright (c) 2013-2019 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#include <QString>
#include <QTextCodec... |
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <google/dense_hash_set>
#include <locale>
#include <list>
#include <iostream>
#include <string>
#include <re2/re2.h>
#include "smart_git.h"
#include "timer.h"
using google::dense_hash_set;
using re2::RE2;
using re2::StringPiece;
using namespace st... |
/*
* Startup Self Tests
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/selftest.h>
#include <botan/filters.h>
#include <botan/def_eng.h>
#include <botan/stl_util.h>
namespace Botan {
namespace {
/*
* Perform a Known Answer Test
*/
bool test_filter_kat(Filter* filt... |
// 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 "base/macros.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/extensions/extension_toolbar_model.h"
#... |
#include "Halide.h"
#include <stdio.h>
#include "test/common/gpu_object_lifetime_tracker.h"
using namespace Halide;
Internal::GpuObjectLifetimeTracker tracker;
void halide_print(void *user_context, const char *str) {
printf("%s", str);
tracker.record_gpu_debug(str);
}
int main(int argc, char **argv) {
... |
#include <Halide.h>
#include <stdio.h>
#include <math.h>
using namespace Halide;
// A version of pow that tracks usage so we can check how many times it was called.
#ifdef _MSC_VER
#define DLLEXPORT __declspec(dllexport)
#else
#define DLLEXPORT
#endif
int call_count;
extern "C" DLLEXPORT float my_powf(float x, float... |
#include "stdafx.h"
#include "ThreadManager.h"
#include "Ini.h"
#include "SceneThread.h"
#include "SceneManager.h"
#include "Config.h"
ThreadManager* g_pThreadManager = NULL ;
ThreadManager::ThreadManager()
{
__ENTER_FUNCTION
m_pThreadPool = new ThreadPool ;
Assert( m_pThreadPool ) ;
... |
#ifndef COFFEE_MILL_REWEIGHT_WHAM_HPP
#define COFFEE_MILL_REWEIGHT_WHAM_HPP
#include "Histogram.hpp"
#include "ProbabilityDensity.hpp"
#include "PotentialFunction.hpp"
#include "ReactionCoordinate.hpp"
#include <mill/util/logger.hpp>
#include <vector>
#include <cmath>
namespace mill
{
class WHAMSolver
{
public:
... |
/*
Resembla: Word-based Japanese similar sentence search library
https://github.com/tuem/resembla
Copyright 2017 Takashi Uemura
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.apach... |
/*
* Copyright (c) 2015-2019 Dubalu LLC
*
* 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... |
#include "sdlwrap.hpp"
namespace rs {
void Window::SetStdGLAttributes(int major, int minor, int depth) {
SetGLAttributes(SDL_GL_CONTEXT_MAJOR_VERSION, major,
SDL_GL_CONTEXT_MINOR_VERSION, minor,
SDL_GL_DOUBLEBUFFER, 1,
SDL_GL_DEPTH_SIZE, depth);
}
SPWindow Window::Create(const std::string& title... |
/*
* Copyright (c) 2015-2019 Dubalu LLC
*
* 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... |
#include "Optimiser.h"
#include "Hildreth.h"
#include "StaticData.h"
using namespace Moses;
using namespace std;
namespace Mira {
size_t MiraOptimiser::updateWeights(
ScoreComponentCollection& currWeights,
ScoreComponentCollection& weightUpdate,
const vector<vector<ScoreComponentCollection> >& featureValues,... |
/*
* Copyright (c) 2008, 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) 2008, 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) 2011 Regents of the University of California. 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. Redistributions of source code must retain the above copyright
// ... |
#pragma once
#include "boost_defs.hpp"
#include "gcd_utility.hpp"
#include "human_interface_device.hpp"
#include "logger.hpp"
#include "types.hpp"
#include <IOKit/hid/IOHIDManager.h>
#include <boost/signals2.hpp>
#include <unordered_map>
namespace krbn {
class hid_manager final {
public:
boost::signals2::signal<vo... |
#pragma once
#include "boost_utility.hpp"
#include "cf_utility.hpp"
#include "device_detail.hpp"
#include "human_interface_device.hpp"
#include "logger.hpp"
#include "types.hpp"
#include <IOKit/hid/IOHIDManager.h>
#include <unordered_map>
namespace krbn {
class hid_manager final {
public:
// Return false to ignore ... |
#pragma once
// `krbn::hid_manager` can be used safely in a multi-threaded environment.
#include "boost_utility.hpp"
#include "cf_utility.hpp"
#include "device_detail.hpp"
#include "dispatcher.hpp"
#include "human_interface_device.hpp"
#include "logger.hpp"
#include "thread_utility.hpp"
#include "types.hpp"
#include ... |
#include <atomic>
#include <memory>
#include <string>
#include <thread>
#include <boost/program_options/cmdline.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/variables_map.hpp>
#include "jml/arch/exception.h"
#include "soa/ty... |
// @(#)root/sessionviewer:$Name: $:$Id: TSessionViewer.cxx,v 1.12 2007/03/17 18:02:24 rdm Exp $
// Author: Marek Biskup, Jakub Madejczyk, Bertrand Bellenot 10/08/2005
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
... |
//
// pipeline-control-state-machine.cpp
//
// Created by Peter Gusev on 10 June 2016.
// Copyright 2013-2016 Regents of the University of California
//
#include "pipeline-control-state-machine.hpp"
#include <boost/make_shared.hpp>
#include <boost/assign.hpp>
#include "clock.hpp"
#include "latency-control.hpp"
#inc... |
#include "gmock/gmock.h"
#include "tcframe/experimental/runner.hpp"
using ::testing::A;
using ::testing::AllOf;
using ::testing::ElementsAre;
using ::testing::Eq;
using ::testing::Property;
using ::testing::SizeIs;
using ::testing::Test;
namespace tcframe {
class BaseTestSpecTests : public Test {
protected:
cla... |
#include "utest_helper.hpp"
static void compiler_movforphi_undef(void)
{
const size_t w = 16;
const size_t h = 16;
cl_sampler sampler;
cl_image_format format;
cl_image_desc desc;
// Setup kernel and images
OCL_CREATE_KERNEL("test_movforphi_undef");
buf_data[0] = (uint32_t*) malloc(sizeof(uint32_t) * w... |
#include <cassert>
#include "Preset.hpp"
#include "AppConfig.hpp"
#include "BitmapCache.hpp"
#include "I18N.hpp"
#include "wxExtensions.hpp"
#ifdef _MSC_VER
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <Windows.h>
#endif /* _MSC_VER */
#include <algorithm>
#include <fstream>
#include <stdexcept>... |
//===- AsmWriterEmitter.cpp - Generate an assembly writer -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------... |
/*************************************************************************
*
* 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... |
//===- SubtargetEmitter.cpp - Generate subtarget enumerations -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by James M. Laskey and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===------------------... |
/*************************************************************************
*
* $RCSfile: filedlghelper.cxx,v $
*
* $Revision: 1.62 $
*
* last change: $Author: fs $ $Date: 2001-10-12 13:53:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
*... |
/*************************************************************************
*
* 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... |
/*************************************************************************
*
* $RCSfile: eventsupplier.cxx,v $
*
* $Revision: 1.23 $
*
* last change: $Author: hr $ $Date: 2004-03-09 10:08:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
*... |
/* Cycript - Inlining/Optimizing JavaScript Compiler
* Copyright (C) 2009 Jay Freeman (saurik)
*/
/* Modified BSD License {{{ */
/*
* Redistribution and use in source and binary
* forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* 1. Redistributions o... |
/*
* Copyright (C) 2021-present ScyllaDB
*/
/*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
// A vector-like container that uses discontiguous storage. Provides fast random access,
// the ability to append at the end, and limited contiguous allocations.
//
// std::deque would be a good fit, excep... |
// 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/search_engines/template_url_prepopulate_data.h"
#include "base/command_line.h"
#include "base/string_util.h"
#include "... |
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/pref_service.h"
#include "chrome/browser/profile.h"
#inclu... |
/*************************************************************************
*
* $RCSfile: rscdbl.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2005-01-03 17:24:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2020-2021 ArangoDB GmbH, Cologne, Germany
///
/// 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 co... |
/*************************************************************************
*
* $RCSfile: salframe.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: ganaya $ $Date: 2000-11-13 21:12:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... |
/*******************************************************************************
* Copyright (c) 2009-2016, MAV'RIC Development Team
* 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. R... |
/* -*- 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... |
/*
* 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.
*
* Written (W) 1999-2007 Soeren Sonnenburg
* Written (W) 199... |
/**
* Appcelerator Kroll - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved.
*/
#include <signal.h>
#include "php_module.h"
#include <Poco/Path.h>
#ifdef ZTS
void ***tsrm_ls;
#endif
namespace kroll
{... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.