CombinedText stringlengths 4 3.42M |
|---|
// @(#)root/proof:$Name: $:$Id: TProof.cxx,v 1.189 2007/03/16 17:06:19 rdm Exp $
// Author: Fons Rademakers 13/02/97
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
#include "GeoCoordinate.hpp"
#include "builders/MeshContext.hpp"
#include "entities/Node.hpp"
#include "entities/Way.hpp"
#include "entities/Area.hpp"
#include "entities/Relation.hpp"
#include "builders/buildings/BuildingBuilder.hpp"
#include "builders/buildings/facades/CylinderFacadeBuilder.hpp"
#include "builders/bui... |
/**
* TEM.cpp
* main program for running DVM-DOS-TEM
*
* It runs at 3 run-mods:
* (1) site-specific
* (2) regional - time series
* (3) regional - spatially (not yet available)
*
* Authors:
* Shuhua Yi - the original codes
* Fengming Yuan - re-designing and re-coding for
* ... |
// @(#)root/proof:$Name: $:$Id: TProof.cxx,v 1.82 2005/03/17 15:00:47 rdm Exp $
// Author: Fons Rademakers 13/02/97
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
#include "callwindow.h"
#include "ui_callwindow.h"
#include "ui_about.h"
#include "statisticswindow.h"
#include "videoviewfactory.h"
#include "common.h"
#include "settingskeys.h"
#include <QCloseEvent>
#include <QTimer>
#include <QMetaType>
#include <QDebug>
#include <QDir>
CallWindow::CallWindow(QWidget *parent)... |
#include <Asynchrony.h>
#ifndef NULL
#define NULL 0
#endif
namespace Asynchrony {
void Asynchrony::loop() {
bool destructFlag = false;
ForwardList<ListenerItem>::Iterator itPrev = listeners.beforeBegin(),
itNext = itPrev;
++itNext;
while(true) {
if(itNext == NULL) {
break;
} else {
... |
/*
* Copyright (C) 2015 midnightBITS
*
* 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... |
/**
* TEM.cpp
* main program for running DVM-DOS-TEM
*
* It runs at 3 run-mods:
* (1) site-specific
* (2) regional - time series
* (3) regional - spatially (not yet available)
*
* Authors:
* Shuhua Yi - the original codes
* Fengming Yuan - re-designing and re-coding for
* ... |
#include "stdafx.h"
BDD representState(const Cudd& manager, const std::vector<bool>& values) {
BDD bdd = manager.bddOne();
int i = 0;
for (auto it = std::begin(values); it != std::end(values); ++it) {
BDD var = manager.bddVar(i);
if (!*it) {
var = !var;
}
bdd = v... |
#include <dynet/dynet.h>
#include <dynet/expr.h>
#include <dynet/grad-check.h>
#include <boost/test/unit_test.hpp>
#include <stdexcept>
using namespace dynet;
using namespace dynet::expr;
using namespace std;
struct NodeTest {
NodeTest() {
// initialize if necessary
if(default_device == nullptr) {
fo... |
/** \file
*
* Unit tests for the Features API, which lets us attach metadata to Alignments and MultipathAlignments.
*/
#include <iostream>
#include <sstream>
#include "../features.hpp"
#include "catch.hpp"
namespace vg {
namespace unittest {
using namespace std;
TEST_CASE("Tag features work", "[features][alignm... |
/****************************************************************************
*
* Copyright (c) 2015 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. Redistri... |
// Copyright 2014 BitPay Inc.
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <stdint.h>
#include <ctype.h>
#include <sstream>
#include "univalue.h"
using namespace std;
static const UniValue nullValue;
void UniV... |
#include "Resources.hpp"
#include <array>
#include <cassert>
#include <condition_variable>
#include <fstream>
#include <iostream>
#include <thread>
// libarchive
#include "archive.h"
#include "archive_entry.h"
// spdlog
#include "spdlog/details/os.h"
#include "spdlog/fmt/chrono.h"
#include "spdlog/spdlog.h"
// shar... |
#include "Resources.hpp"
#include <array>
#include <cassert>
#include <condition_variable>
#include <iostream>
#include <thread>
// libarchive
#include "archive.h"
#include "archive_entry.h"
// spdlog
#include "spdlog/fmt/chrono.h"
#include "spdlog/spdlog.h"
extern "C" {
#include "bspatch/bspatch.h"
}
// Resource ... |
/** \copyright
* Copyright (c) 2013, Stuart W Baker
* 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,
* thi... |
/// \file AddTaskPi0IMGammaCorrQA.C
/// \ingroup CaloTrackCorrMacrosQA
/// \brief Configuration of the analysis QA wagon for PWG-GA EMCal analysis
///
/// Configuration macro of EMCal related PWG-GA analysis, although it can be
/// also used for PHOS. It does:
/// * a simple photon cluster selection
/// * invariant ma... |
/*
* Copyright (c) 2012 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... |
/**
* @file sql_well.cpp
* @brief implementation of frac storage
* @author Oleg Borschuk
* @version
* @date 2011-07-29
*/
// d REAL NOT NULL REFERENCES dates(d) ON UPDATE CASCADE ON DELETE CASCADE,
//
// d REAL NOT NULL,
#include <iomanip>
#include <iostream>
#include <stdio.h>
#include <string>
#include <fstre... |
#include"all_defines.hpp"
#include"aio.hpp"
#include"heaps.hpp"
#include"types.hpp"
#include"objects.hpp"
#include"processes.hpp"
#include"workers.hpp"
#include"bytecodes.hpp"
#include"symbols.hpp"
/*Generic code for AIO*/
/*This contains code that is shared across AIO implementations*/
/*internal function for sendi... |
#include <vast/comm/broccoli.h>
#include <ze/event.h>
#include <vast/comm/connection.h>
#include <vast/comm/exception.h>
#include <vast/util/logger.h>
namespace vast {
namespace comm {
/// Converts a Broccoli type to the corresponding 0event type.
static ze::value_type to_ze_type(int broccoli_type)
{
switch (brocc... |
/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of libmeegotouch.
**
** If you have questions regarding the use of this ... |
#include <angles/angles.h>
#include <controller_manager_msgs/ListControllers.h>
#include <controller_manager_msgs/SwitchController.h>
#include <franka/duration.h>
#include <franka_example_controllers/pseudo_inversion.h>
#include <franka_gazebo/franka_hw_sim.h>
#include <franka_gazebo/model_kdl.h>
#include <franka_hw/fr... |
/*-
* Copyright (c) 2010 Benjamin Close <Benjamin.Close@clearchain.com>
* 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... |
/*************************************************************************
*
* $RCSfile: SharedConnection.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: oj $ $Date: 2002-08-12 09:21:58 $
*
* 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: databasedocument.cxx,v $
*
* $Revision: 1.23 $
*
* last change: $Author: obo $ $Date: 2005-12-21 13:34:54 $
*
* The Contents of this file are made avail... |
// Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "StdAfx.h"
#include "..\BatchEncoder.h"
#include "..\utilities\Utilities.h"
#include "..\utilities\UnicodeUtf8.h"
#include "..\utilities\Utf8String.h"
#i... |
// codegen
#include <nan.h>
using Nan::ObjectWrap;
using namespace v8;
#include <iostream>
#include <string>
#include <map>
#include <vector>
#include "types.h"
#include "function_builder.h"
#include "codegen.h"
// definitions from http://www.llvm.org/docs/doxygen/html/DerivedTypes_8h_source.html#l00046
#define MI... |
// Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "StdAfx.h"
#include "..\MainApp.h"
#include "..\Strings.h"
#include "..\utilities\TimeCount.h"
#include "..\utilities\Utilities.h"
#include "LuaProgess.h... |
#ifndef _app_hpp_INCLUDED
#define _app_hpp_INCLUDED
namespace CaDiCaL {
class Solver;
class File;
// A wrapper app which makes up the CaDiCaL stand alone solver. It in
// essence only consists of the 'App::main' function. So this class
// contains code, which is not required if only the library interface in
// 'So... |
// Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "StdAfx.h"
#include "..\BatchEncoder.h"
#include "..\utilities\TimeCount.h"
#include "..\utilities\UnicodeUtf8.h"
#include "..\utilities\Utf8String.h"
#i... |
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: basicmigration.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-08 17:40:29 $
*
* The Contents of this file are made available... |
// Copyright 2011 the V8 project authors. 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 ... |
/*
SWARM
Copyright (C) 2012-2019 Torbjorn Rognes and Frederic Mahe
This program 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)... |
/*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
softwar... |
/* Copyright (c) 2010-2012, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See l... |
//--------------------------------------------------------------------------------------------------
// Implementation of the papers "Exact Acceleration of Linear Object Detectors", 12th European
// Conference on Computer Vision, 2012 and "Deformable Part Models with Individual Part Scaling",
// 24th British Machine Vi... |
#include <ros/ros.h>
#include <servo_controller/servo_control.h>
#include <servo_controller/servo_status.h>
#include <servo_controller/servo_array_status.h>
#include <stdio.h> // standard input / output functions
#include <string.h> // string function definitions
#include <unistd.h> // UNIX standard function definition... |
/**
* \file SD1OverdriveFilter.cpp
*/
#include "SD1OverdriveFilter.h"
#include <boost/math/special_functions/sign.hpp>
#include "../Tools/exp.h"
#include "../Tools/ScalarNewtonRaphson.h"
namespace ATK
{
template<typename DataType_>
class SD1OverdriveFunction
{
public:
typedef DataType_ DataType;
pro... |
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: querycontroller.hxx,v $
*
* $Revision: 1.32 $
*
* last change: $Author: rt $ $Date: 2005-09-08 16:00:38 $
*
* The Contents of this file are made availab... |
//---------------------------- vectors.cc ---------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 1998, 1999, 2000, 2001 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
// to the file d... |
/**
* Daniel Sebastian Iliescu, http://dansil.net
* MIT License (MIT), http://opensource.org/licenses/MIT
*
* Tester for the various sorting algorithms.
*/
#include "sorts/bubble_sort.hpp"
#include "sorts/selection_sort.hpp"
#include "sorts/insertion_sort.hpp"
#include "sorts/merge_sort.hpp"
#include "sorts/quick... |
// Copyright (c) 2017 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/api/electron_api_browser_view.h"
#include <vector>
#include "shell/browser/api/electron_api_web_contents.h"
#include "shell/browser/browser.h"
#include "shell... |
// Copyright 2010 the V8 project authors. 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 ... |
/* Copyright (C) 2003 MySQL 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 version.
This program is distributed in t... |
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2004-2006 Sage Weil <sage@newdream.net>
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General ... |
#include <ctime>
#include <iostream>
#include <thread>
#include <functional>
#include <vector>
#include <cassert>
#include <map>
#include <string>
#include <sstream>
#include <mutex>
// nanomsg for tcp communication
#include <nanomsg/nn.h>
#include <nanomsg/reqrep.h>
// characters
#include "utf8.hh"
using Timestamp ... |
/*
* AbstractView_EventConsumption.cpp
*
* Copyright (C) 2020 by Universitaet Stuttgart (VIS).
* Alle Rechte vorbehalten.
*/
#include "mmcore/view/AbstractView_EventConsumption.h"
#include "Framebuffer_Events.h"
#include "KeyboardMouse_Events.h"
#include "Window_Events.h"
#include <chrono>
namespace megamol {
... |
#include "slash/include/slash_string.h"
#include "slash/include/env.h"
#include "zgw_store.h"
#include <iostream>
#include <chrono>
#include <thread>
#include <glog/logging.h>
namespace zgwstore {
ZgwStore::ZgwStore(const std::string& zp_table,const std::string& lock_name,
const int32_t lock_ttl, const std::str... |
// Copyright (c) 2016 Jon Taylor
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "cli.h"
#include <sstream>
#include <unistd.h> // open and close
#include <sys/stat.h> // temp because we removed util
#include <fcntl.... |
/*
* Copyright (C) 2015-2018 Nagisa Sekiguchi
*
* 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 ... |
/*=========================================================================
Program: Monteverdi2
Language: C++
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See Copyright.txt for details.
Monteverdi2 is distributed under the CeCILL licence version 2. See
Licence_CeCILL_V2-en.... |
/*
* Copyright (C) 2015-2018 Nagisa Sekiguchi
*
* 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 ... |
// 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.
// Portions of this code based on Mozilla:
// (netwerk/cookie/src/nsCookieService.cpp)
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/G... |
// Copyright (c) 2017-2018 Intel Corporation
//
// 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,... |
#include <algorithm>
#include <random>
#include <stack>
#include <vector>
#include "aim.hpp"
#include "maze.hpp"
struct Delta
{
int x, y;
Delta(int x, int y) : x(x), y(y) {}
};
struct UnvisitOnDelete
{
char** maze_;
Dimension dim_;
UnvisitOnDelete(char** maze, Dimension const& dim) : maze_(maze), dim_(dim)... |
/*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... |
#include "queue thread safe.hpp"
#include "gtest/gtest.h"
#include <thread>
#include <algorithm>
#include "aux_tests.hpp"
TEST(Push,HandleBasicOperation){
std::threadsafe::queue<int> queue;
int out;
for (int i = 1;i <= 10;i++){
queue.push(i);
queue.wait_back(out);
EXPECT_EQ(i,out);
queue.wait_top... |
#include "Controller.h"
namespace ADBLib
{
ctrlCfg::ctrlCfg()
{
id = 0;
type = JOYSTICK;
inverse = false;
btn.toggle = false;
btn.cooldown = 0.250; //Seconds
btn.cooldownTimer = new Timer;
jys.maxVal = 1.0;
jys.minVal = -1.0;
jys.deadzone = 0.1;
jys.equ.parse("x"); //Start off with no alterations... |
/*
* Copyright (c) 2007 Digital Bazaar, Inc. All rights reserved.
*/
#include "AbstractSocket.h"
#include "SocketDefinitions.h"
#include "InterruptedException.h"
#include "PeekInputStream.h"
#include "SocketInputStream.h"
#include "SocketOutputStream.h"
#include "Thread.h"
using namespace db::io;
using ... |
/*!
* \page bom_display_cpp C++ Utility Class Browsing and Dumping the StdAir BOM Tree
* \code
*/
// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// STL
#include <cassert>
#include <ostream>
// StdAi... |
/*===================================================================
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 warranty o... |
#include "gtest-1.7.0/include/gtest/gtest.h"
#include "xgldevice.h"
XglDevice::XglDevice(XGL_UINT id, XGL_PHYSICAL_GPU obj) :
m_flags(0),
XglGpu(id, obj)
{
init_device();
init_formats();
}
void XglDevice::init_device()
{
XGL_DEVICE_CREATE_INFO info = {};
XGL_RESULT err;
XGL_SIZE size;
... |
/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt or... |
#include "custom_pch.h"
#include "engine/core/math_types.h"
#include "engine/api/graphics_vm.h"
#include "engine/api/graphics_params.h"
#include "engine/impl/array.h"
#include "engine/impl/array_fixed.h"
#include "engine/impl/bytecode.h"
#if !defined(CUSTOM_PRECOMPILED_HEADER)
#include <glad/glad.h>
#include <new>
#... |
/*************************************************************************
Analyse - Classe de [...]
-------------------
dbut : 06/05/17
copyright : (C) 2017 par VOGEL
e-mail : hugues.vogel@insa-lyon.fr
*************************************************************************/
/... |
#include "graphics.h"
#include "../common/Base64.h"
#include <string>
#include <iostream>
#include <cmath>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
namespace NSGraphics
{
void CGraphics::init(NSNativeControl::CNativeControl* oNative, double width_px, double height_px, double width_mm, double height_mm... |
/*
* VHDL code generation for processes.
*
* Copyright (C) 2008 Nick Gasson (nick@nickg.me.uk)
*
* 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
... |
#include "MoonSchlyterModel.h"
#include "EarthSchlyterModel.h"
#include "Time/J2000.h"
/*
N = 125.1228 - 0.0529538083 * d
i = 5.1454
w = 318.0634 + 0.1643573223 * d
a = 60.2666 (Earth radii)
e = 0.054900
M = 115.3654 + 13.0649929509 * d
*/
const double kdEarthRadiiAU = 0.01;
const KeplerElements MoonSchlyterOrbi... |
#include "cpu.hpp"
#include "mmu.hpp"
#include "iostream"
#include "debug.hpp"
#include "disassembler.hpp"
CPU::CPU () {}
CPU::~CPU () {}
void CPU::Initialize (MMU* _mmu, bool doBootrom) {
/* Initialize Registers */
if (doBootrom) {
AF = 0;
BC = 0;
DE = 0;
HL = 0;
SP = 0x0;
PC = 0x0;
SetZ(0); SetN(0)... |
#include "broker.h"
#include "frame.h"
#include <sstream>
Broker::Broker() {
}
Broker::~Broker() {
}
MQTT_ERROR Broker::Start() {
return NO_ERROR;
}
std::string Broker::ApplyDummyClientID() {
std::stringstream ss;
ss << "DummyClientID" << clients.size() + 1;
return ss.str();
}
BrokerSideClient:... |
/*
* This file is part of DGD, https://github.com/dworkin/dgd
* Copyright (C) 1993-2010 Dworkin B.V.
* Copyright (C) 2010-2019 DGD Authors (see the commit log for details)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* p... |
// $Id: fe.C,v 1.40 2005-06-12 18:36:40 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 published by the... |
// The libMesh Finite Element Library.
// Copyright (C) 2002-2014 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// 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
// version ... |
#include "nixexpr.hh"
#include "parser.hh"
#include "hash.hh"
#include "util.hh"
#include "nixexpr-ast.hh"
#include <cstdlib>
using namespace nix;
struct Env;
struct Value;
typedef std::map<string, Value> Bindings;
struct Env
{
Env * up;
Bindings bindings;
};
typedef enum {
tInt = 1,
tAttrs,
... |
#include "download.hh"
#include "util.hh"
#include "globals.hh"
#include "hash.hh"
#include "store-api.hh"
#include "archive.hh"
#include "s3.hh"
#include "compression.hh"
#include "pathlocks.hh"
#include "finally.hh"
#ifdef ENABLE_S3
#include <aws/core/client/ClientConfiguration.h>
#endif
#include <unistd.h>
#includ... |
/*
This program shows how to process BLAS LEVEL2 syr2
for i = 0 .. N
for j = 0 .. N
C[i,j] = A[i,j] + alpha * X[i]*Y[j] + alpha * X[j]*Y[i]
*/
#include <tiramisu/tiramisu.h>
#define NN 100
#define alpha 3
using namespace tiramisu;
int main(int argc, char **argv)
{
tiramisu::init("sy... |
//===--- swift-ide-test.cpp - IDE functionality testing application -------===//
//
// 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... |
/*
* DiscoveryListener
* Aug 2014
* nathan lachenmyer
*/
#include <memory>
#include "DiscoveryListener.h"
#include "DeviceHeader.h"
using namespace ofxPixelPusher;
DiscoveryListener* DiscoveryListener::mDiscoveryService = NULL;
DiscoveryListener* DiscoveryListener::getInstance() {
if (mDiscoveryService == NULL... |
#include <rang.hpp>
#include <cstdlib>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <functional>
#include <date.h>
#include "Tools/Display/Terminal/Terminal.hpp"
#ifdef ENABLE_MPI
#include <mpi.h>
#endif
#include "Tools/general_utils.h"
#include "Tools/system_functions.h"
#include "Tools/Disp... |
// @(#)root/tree:$Name: $:$Id: TTreeCache.cxx,v 1.5 2006/08/11 20:17:26 brun Exp $
// Author: Rene Brun 04/06/2006
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
#pragma once
#include <sstream>
#include <mimosa/init.hh>
#include <mimosa/http/server.hh>
#include <mimosa/http/response-writer.hh>
#include <mimosa/http/request-reader.hh>
#include <silicon/symbols.hh>
#include <iod/json.hh>
namespace iod
{
namespace mh = mimosa::http;
using s::_Secure;
using s::_Path;
us... |
// serial.cxx -- Unix serial I/O support
//
// Written by Curtis Olson, started November 1998.
//
// Copyright (C) 1998 Curtis L. Olson - curt@flightgear.org
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public
// License as published by the... |
#include "renderwidget.h"
static const char vertex_shader[] = " \
attribute vec2 position; \
attribute vec2 tex_coord; \
\
varying vec2 texc; \
\
void main() ... |
/*
* Copyright (c) 2012 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... |
/*************************************************************************
* Copyright (C) 2011-2013 by Paul-Louis Ageneau *
* paul-louis (at) ageneau (dot) org *
* *
* This file is pa... |
// @(#)root/tree:$Id$
// Author: Rene Brun 12/01/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
#include <config.h>
// dune-multiscale
// Copyright Holders: Patrick Henning, Rene Milk
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#include "localoperator.hh"
#include <assert.h>
#include <boost/assert.hpp>
#include <dune/common/fmatrix.hh>
#include <dune/common/exceptions.hh>
#inc... |
// FIXME - Something hangs if PKTCTRL0==4 (fixed length packets) when
// variable-length packets are in use.
#include <stdio.h>
#include <stdexcept>
#include <boost/format.hpp>
#include <QMutexLocker>
#include <Utils.hpp>
#include "USBRadio.hpp"
#include "cc1101.h"
#include "radio_config.h"
using namespace std;
usi... |
// @(#)root/tree:$Id$
// Author: Rene Brun 12/01/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
/** @file
HTTP state machine
@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 you under the... |
#include <openssl/bio.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/x509v3.h>
#include "talk/base/common.h"
#include "talk/base/logging.h"
#include "talk/base/openssladapter.h"
#include "talk/base/stringutils.h"
#include "talk/base/Equifax_Secure_Global_eBusiness_CA-1.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 "content/browser/renderer_host/render_widget_host_view_android.h"
#include <android/bitmap.h>
#include "base/android/build_info.h"
#include... |
/**********************************************************************
// @@@ START COPYRIGHT @@@
//
// (C) Copyright 1994-2015 Hewlett-Packard Development Company, L.P.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You m... |
/*************************************************************************
*
* $RCSfile: urihelper.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-01-11 13:10:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... |
#include "xshcolumnviewer.h"
// Tnz6 includes
#include "xsheetviewer.h"
#include "tapp.h"
#include "menubarcommandids.h"
#include "columnselection.h"
#include "xsheetdragtool.h"
#include "tapp.h"
// TnzTools includes
#include "tools/toolhandle.h"
#include "tools/toolcommandids.h"
// TnzQt includes
#include "toonzq... |
/**
*
* @file IdealMolalSoln.cpp
*/
/*
* Copywrite (2006) Sandia Corporation. Under the terms of
* Contract DE-AC04-94AL85000 with Sandia Corporation, the
* U.S. Government retains certain rights in this software.
*/
/*
* $Author$
* $Date$
* $Revision$
*/
#include "IdealMolalSoln.h"
#include "importCTM... |
/*
Copyright 2015 Shoestring Research, LLC. 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 o... |
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2011-2013, Image Engine Design Inc. All rights reserved.
// Copyright (c) 2012, John Haddon. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted pro... |
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: stest.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: obo $ $Date: 2006-09-17 15:32:44 $
*
* The Contents of this file are made available subject... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.