text stringlengths 54 60.6k |
|---|
<commit_before>#include "AirwaySegmentation.hpp"
#include "FAST/Algorithms/GaussianSmoothingFilter/GaussianSmoothingFilter.hpp"
#include "FAST/Data/Segmentation.hpp"
#include <unordered_set>
#include <stack>
namespace fast {
AirwaySegmentation::AirwaySegmentation() {
createInputPort<Image>(0);
createOutputPort<Segm... |
<commit_before>//******************************************************************
//
// Copyright 2017 Intel Corporation All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: propertysetbase.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: obo $ $Date: 2006-09-17 00:05:13 $
*
* The Contents of this file a... |
<commit_before>/* -*- 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 ... |
<commit_before>// Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/application/browser/application.h"
#include <string>
#include "base/files/file_enumerator.h"
#include "base/json/json_re... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: menuconfiguration.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-09 00:53:09 $
*
* The Contents of this file ... |
<commit_before>// SciTE - Scintilla based Text Editor
// LexBullant.cxx - lexer for Bullant
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
#include "Platform.h"
#include "PropSet.h"
#include "Accessor.h"
#include "KeyWords.h"
#include "Scintilla.h"
#include "SciLexe... |
<commit_before>/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by app... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkGDCMImageIOTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See I... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkGDCMImageIOTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See I... |
<commit_before>/*=========================================================================
Program: Visualization Library
Module: Points.cc
Language: C++
Date: $Date$
Version: $Revision$
This file is part of the Visualization Library. No part of this file or its
contents may be copied, reprodu... |
<commit_before>/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file m... |
<commit_before>#include "AbstractCameraQueue.hpp"
#include <ros/console.h>
void AbstractCameraQueue::enqueue(std::vector<CameraData> data)
{
for (std::vector<CameraData>::iterator it = data.begin(); it != data.end(); it++) {
enqueue(*it);
}
}
void AbstractCameraQueue::enqueue(CameraData data)
{
enqueueInternal(... |
<commit_before>#include <gtest/gtest.h>
#include "Addition.h"
class AdditionTest : public ::testing::Test
{
virtual void SetUp() {}
virtual void TearDown() {}
};
TEST_F(AdditionTest, twoValues)
{
const int x = 2;
const int y = 3;
Addition addition;
EXPECT_EQ(5, addition.twoValues(x, y));
... |
<commit_before>#include "code_generator.h"
#include <unordered_map>
using namespace std;
struct code_generation_context
{
code_generation_context();
~code_generation_context();
unordered_map<string, instruction_sequence> functions;
unordered_map<string, label_instruction*> function_labels;
unorder... |
<commit_before>// Screen.hh for fluxbox
// Copyright (c) 2001 Henrik Kinnunen (fluxgen@linuxmail.org)
//
// Screen.hh for Blackbox - an X11 Window manager
// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net)
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software ... |
<commit_before>// Copyright 2019 Netherlands eScience Center and Netherlands Institute for Radio Astronomy (ASTRON)
//
// 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... |
<commit_before>#include <QFileInfo>
#include <coreplugin/editormanager/editormanager.h>
#include <projectexplorer/runconfiguration.h>
#include <projectexplorer/target.h>
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/project.h>
#include "OutputPane.h"
#include "OutputParser.h"
#include "Pan... |
<commit_before>/*************************************************************************
*
* $RCSfile: ignoreZiZu_ja_JP.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: hr $ $Date: 2003-04-28 16:53:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the followi... |
<commit_before>#include <iostream>
extern "C"
{
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
}
bool dostring(lua_State* L, const char* str)
{
if (luaL_loadbuffer(L, str, std::strlen(str), str) || lua_pcall(L, 0, 0, 0))
{
const char* a = lua_tostring(L, -1);
std::cout << a << "\n";
lua_pop(L, 1... |
<commit_before>/*ckwg +5
* Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to
* KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,
* Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.
*/
#include "combine_masks_process.h"
#include <processes/helpers/image/format.h... |
<commit_before>/*******************************************************************************
* CGoGN: Combinatorial and Geometric modeling with Generic N-dimensional Maps *
* Copyright (C) 2015, IGG Group, ICube, University of Strasbourg, France *
* ... |
<commit_before>/*!
@file
@author Albert Semenov
@date 09/2008
@module
*//*
This file is part of MyGUI.
MyGUI 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 3 of the License, or
... |
<commit_before>/**
* @file sparse_coding_impl.hpp
* @author Nishant Mehta
*
* Implementation of Sparse Coding with Dictionary Learning using l1 (LASSO) or
* l1+l2 (Elastic Net) regularization.
*/
#ifndef __MLPACK_METHODS_SPARSE_CODING_SPARSE_CODING_IMPL_HPP
#define __MLPACK_METHODS_SPARSE_CODING_SPARSE_CODING_IMP... |
<commit_before>#pragma once
#include "generator/feature_merger.hpp"
#include "generator/generate_info.hpp"
#include "indexer/scales.hpp"
#include "base/logging.hpp"
#include "defines.hpp"
/// Process FeatureBuilder1 for world map. Main functions:
/// - check for visibility in world map
/// - merge linear features... |
<commit_before>/**
* @file
* @brief Implementation of ROOT data file reader module
* @copyright Copyright (c) 2017 CERN and the Allpix Squared authors.
* This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md".
* In applying this license, CERN does not waive the pr... |
<commit_before>// Copyright (c) 2019 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/pivx/settings/settingsbackupwallet.h"
#include "qt/pivx/settings/forms/ui_settingsbackupwallet.h"
#include <QF... |
<commit_before>#ifndef TYPES_H
#define TYPES_H
/*
Defines a set of types for use on the hl-side.
*/
#include<cstring>
#include"objects.hpp"
class GenericTraverser {
public:
virtual void traverse(Object::ref&) =0;
virtual ~GenericTraverser();
};
/*--------------------------------------------------------------------... |
<commit_before>#include "generated_nrm2.o.h"
#include <Halide.h>
#include <tiramisu/tiramisu.h>
#include <tiramisu/utils.h>
#include <iostream>
#include "benchmarks.h"
#include <math.h>
#define M_DIM M
#define N_DIM N
int nrm2_ref(int n, double * X, double *nrm)
{
double sum = 0;
for (int i = 0; i < n;... |
<commit_before>#include "PrimeTower.h"
#include <limits>
#include "ExtruderTrain.h"
#include "sliceDataStorage.h"
#include "gcodeExport.h"
#include "LayerPlan.h"
#include "infill.h"
#include "PrintFeature.h"
namespace cura
{
PrimeTower::PrimeTower(const SliceDataStorage& storage)
: is_hollow(false)
, wipe_from_mid... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkImageViewer2.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See ... |
<commit_before>#include "opengl_properties.h"
int
main (void)
{
print_opengl_properties();
}
<commit_msg>Fixed Illegal instruction bug<commit_after>#include "opengl_properties.h"
#include <GL/glew.h>
#include <SDL/SDL.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <stdlib.h>
#include <unistd.h>
#include ... |
<commit_before>/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* ... |
<commit_before>
#include <osgParticle/ParticleSystemUpdater>
#include <osg/ref_ptr>
#include <osgDB/Registry>
#include <osgDB/Input>
#include <osgDB/Output>
bool PSU_readLocalData(osg::Object &obj, osgDB::Input &fr);
bool PSU_writeLocalData(const osg::Object &obj, osgDB::Output &fr);
osgDB::RegisterDotOsgWrapperPr... |
<commit_before>// Copyright 2014 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 "net/http/disk_cache_based_quic_server_info.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/compiler_spec... |
<commit_before>#include <string>
#include <vector>
#include <iostream>
#include <iomanip>
#include "CharCounter.h"
#include "Dictionary.h"
static Dictionary dict;
void output(const std::string& result, const std::vector<std::string>& prefixes = {}) {
static unsigned long count = 0;
std::cout << std::setw(10) <<... |
<commit_before>//=============================================================================
// ■ tiled_map.cpp
//-----------------------------------------------------------------------------
// Tile地图
//=============================================================================
#include "tiled_map.hpp"
namespa... |
<commit_before>// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "Lic... |
<commit_before>// Tools.cpp
// Copyright (c) 2009, Dan Heeks
// This program is released under the BSD license. See the file COPYING for details.
#include "stdafx.h"
#include "Tools.h"
#include "Program.h"
#include "interface/Tool.h"
#include "interface/PropertyChoice.h"
#include "CTool.h"
#include "CNCConfi... |
<commit_before>/* This file is part of the KDE libraries
Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This lib... |
<commit_before>/*
Copyright (C) 2010 Collabora Multimedia.
@author Mauricio Piacentini <mauricio.piacentini@collabora.co.uk>
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 Foundati... |
<commit_before>AliAnalysisTaskSE *AddTaskLambdac(TString finname,Bool_t storeNtuple,Bool_t readMC,Bool_t MCPid,Bool_t realPid,Bool_t resPid,Bool_t useKF,
Bool_t fillVarHists=kFALSE, Bool_t priorsHists=kFALSE, Bool_t multiplicityHists=kFALSE)
{
//==================================================================... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use t... |
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/registry.h"
#include "base/string_util.h"
#include "chrome/common/win_util.h"
#include "testing/gtest/include/gtest... |
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt
#include "StableHeaders.h"
#include "DebugOperatorNew.h"
#include "MemoryLeakCheck.h"
#include "PhononPlayerModule.h"
#include "Service.h"
//#include "Service.h"
namespace PlayerService
{
std::string PhononPlayerModule... |
<commit_before>#define _XOPEN_SOURCE 600
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <time.h>
#ifdef _WIN32
#include <windows.h>
#define snprintf _snprintf
//#define strdup _strdup
#define strerror_r(errno, buf, buflen) strerror_s(buf, buflen, errno)
typede... |
<commit_before>#include "Visit.h"
#include "Command.h"
#include "WebPage.h"
Visit::Visit(WebPage *page, QObject *parent) : Command(page, parent) {
connect(page, SIGNAL(pageFinished(bool)), this, SLOT(loadFinished(bool)));
}
void Visit::start(QStringList &arguments) {
QUrl requestedUrl = QUrl(arguments[0]);
page... |
<commit_before>// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2015 Intel Corporation. All Rights Reserved.
#include <librealsense/rs.hpp>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/CameraInfo.h>
#include <sensor_msgs/distortion_models.h>
#include ... |
<commit_before>#include "TextureAtlas.h"
TextureAtlas::TextureAtlas(const std::string& textureFileName)
{
sf::Image i;
if (!i.loadFromFile("Res/Textures/" + textureFileName + ".png"))
{
throw std::runtime_error("Unable to open image: " + textureFileName);
}
loadFromImage(i);
m_imageSiz... |
<commit_before>#include "tocman.h"
#include <poppler-qt4.h>
TocManager::TocManager(const QString &path, QObject *parent)
: QObject(parent),
_path(path),
_coordinator(path, this) { }
TocManager::~TocManager() { }
void TocManager::refresh() {
Poppler::Document *doc = Poppler::Document::load(_path);
... |
<commit_before>//Copyright (c) 2017 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "infill.h"
#include "LayerPlan.h"
#include "TopSurface.h"
namespace cura
{
TopSurface::TopSurface()
{
//Do nothing. Areas stays empty.
}
TopSurface::TopSurface(SliceMeshStorage& mesh, si... |
<commit_before>/*!
* @file Liepa.cpp
* @brief Implementation of Liepa's subdivision scheme
*/
#include <cmath>
#include "Liepa.h"
namespace psalm
{
/*!
* Sets default values for Liepa subdivision.
*/
Liepa::Liepa()
{
alpha = sqrt(2);
}
/*!
* Sets current value of density parameter for the algorithm.
*
* @param al... |
<commit_before>#include "Crown.h"
#include "Terrain.h"
#include "FPSSystem.h"
#include "Game.h"
using namespace crown;
class WndCtrl: public KeyboardListener
{
public:
WndCtrl()
{
device()->input_manager()->register_keyboard_listener(this);
}
void key_released(const KeyboardEvent& event)
{
if (event.key ==... |
<commit_before>#include <boost/python.hpp>
#include <boost/cstdint.hpp>
#include <Magick++/Blob.h>
using namespace boost::python;
namespace {
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(Magick_Blob_updateNoCopy_overloads_2_3, updateNoCopy, 2, 3)
}
static void update_wrapper(Magick::Blob& blob, const std::string& data) ... |
<commit_before>#include "WebProfile.h"
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QUrl>
#include <QTimer>
#include <QDesktopServices>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include "Hearthstone.h"
#include "Settings.h"
#define DEFAULT_WEBSERVICE_URL "https://track... |
<commit_before>/*
* BackwardChainer.cc
*
* Copyright (C) 2014-2017 OpenCog Foundation
*
* Authors: Misgana Bayetta <misgana.bayetta@gmail.com> October 2014
* William Ma <https://github.com/williampma>
* Nil Geisweiller 2016-2017
*
* This program is free software; you can redistribute it and/... |
<commit_before>#include "XmlElement.hpp"
#ifdef APP_DEBUG
#include <algorithm>
#endif
namespace Xml
{
Element::Element(std::string const & name, Node * parent):
Node(parent),
mParent(parent),
mchildren(),
mComments(),
mPI()
{
}
Element::~Element()
{
}... |
<commit_before>#include <iostream>
#include <stdint.h>
#include <QtConcurrent>
#include <QException>
#include <QFileDialog>
#include <QFuture>
#include <QGraphicsRectItem>
#include "viewer.h"
#include "ui_viewer.h"
Viewer::Viewer(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Viewer),
enabled(false),... |
<commit_before><commit_msg>Pass Chrome's UA with chromeframe appended at the end in the user agent passed in ChromeFrame requests initiated in IE.<commit_after><|endoftext|> |
<commit_before>// RUN: cat %s | %cling 2>&1 | FileCheck %s
// Test Interpreter::lookupFunctionProto()
#include "cling/Interpreter/Interpreter.h"
#include "clang/AST/Decl.h"
#include <cstdio>
using namespace std;
//
// We need to fetch the global scope declaration,
// otherwise known as the translation unit decl.
/... |
<commit_before>// Created by filipecn on 3/3/18.
#include <circe/circe.h>
#define WIDTH 800
#define HEIGHT 800
const char *fs = "#version 440 core\n"
"out vec4 outColor;"
"in vec2 texCoord;"
"uniform sampler2D tex;"
"void main() {"
"... |
<commit_before>//===-- sdbcoreC.cpp ----------------------------------------------------------------*- C++ -*-===//
//
// S E R I A L B O X
//
// This file is distributed under terms of BSD license.
// See LICENSE.txt for more information
//
//===-------------------------------... |
<commit_before>#include "net/RawSocket.h"
#include "common/RhodesApp.h"
#include <algorithm>
#if !defined(OS_WINDOWS) && !defined(OS_WINCE)
#include <arpa/inet.h>
#endif
#if !defined(OS_WINCE)
#include <common/stat.h>
#ifdef EAGAIN
#undef EAGAIN
#endif
#define EAGAIN EWOULDBLOCK
#else
#include "CompatWince.h"
#i... |
<commit_before>// This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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.or... |
<commit_before>#ifndef ITERTOOLS_HPP
#define ITERTOOLS_HPP
#include "chain.hpp"
#include "combinations.hpp"
#include "combinations_with_replacement.hpp"
#include "compress.hpp"
#include "count.hpp"
#include "cycle.hpp"
#include "dropwhile.hpp"
#include "enumerate.hpp"
#include "filter.hpp"
#include "filterfalse.hpp"
#... |
<commit_before>/*
* D-Bus AT-SPI, Qt Adaptor
*
* Copyright 2009-2011 Nokia Corporation and/or its subsidiary(-ies).
*
* 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
* vers... |
<commit_before>#include "..\header\Game.h"
#include "..\header\Border.h"
Border::Border(game_state* GameState){
LogManager& log = LogManager::getInstance();
log.writeLog("[Border] Initializing Border.");
GraphicsManager& g = GraphicsManager::getInstance();
WorldManager& world = WorldManager::getInstance();
Resour... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2012, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: functiondescription.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: obo $ $Date: 2006-09-16 17:32:18 $
*
* The Contents of this fi... |
<commit_before>/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
* Copyright (c) 2011-2015 Regents of the University of California.
*
* This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and
* contributors.
*
* ndnSIM is free software: you can redistribute it and/or ... |
<commit_before>#include <stdio.h>
#include <stdexcept>
#include <QMutexLocker>
#include <Utils.hpp>
#include "USBRadio.hpp"
#include "Geometry2d/Util.hpp"
// Include this file for base station usb vendor/product ids
#include "firmware-common/base2015/usb-interface.hpp"
// included for kicer status enum
#include "fir... |
<commit_before>#ifdef WIN32
/////////////////////////////////////////////////////////////////////////////
// Disable unavoidable warning messages:
// 4103: used #pragma pack to change alignment
// 4114: same type qualifier used more than once
// 4201: nonstandard extension used : nameless struct/union
// 4237: "ke... |
<commit_before>#include "stdafx.h"
#include "Pkd.h"
#include <iostream>
#include <stdint.h>
#include <thread>
#define POS(idx, dim) pos(idx, dim)
using namespace megamol;
ospray::PkdBuilder::PkdBuilder()
: megamol::stdplugin::datatools::AbstractParticleManipulator("outData", "inData")
, inDataHash(0)
,... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "app/clipboard/clipboard.h"
#include <gtk/gtk.h>
#include <map>
#include <set>
#include <string>
#include <utility>
#include... |
<commit_before>// 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/ui/webui/options/password_manager_handler.h"
#include "base/callback.h"
#include "base/string_number_conversi... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/file_path.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "c... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>/*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
ctx_solver_simplify_tactic.cpp
Abstract:
Context simplifier for propagating solver assignments.
Author:
Nikolaj (nbjorner) 2012-3-6
Notes:
--*/
#include"ctx_solver_simplify_tactic.h"
#include"arith_decl_plugin.h"
#include"smt... |
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* http://lxqt.org/
*
* Copyright: 2015 LXQt team
* Authors:
* Paulo Lieuthier <paulolieuthier@gmail.com>
*
* This program or library is free software; you can redistribute it
* and/or modify it u... |
<commit_before>#include <bitcoin/storage/postgresql_storage.hpp>
#include <bitcoin/block.hpp>
#include <bitcoin/transaction.hpp>
#include <bitcoin/util/assert.hpp>
#include <bitcoin/util/logger.hpp>
#include "postgresql_blockchain.hpp"
namespace libbitcoin {
hash_digest hash_from_bytea(std::string byte_stream);
dat... |
<commit_before>// Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/ui/win/notify_icon.h"
#include "atom/browser/ui/win/notify_icon_host.h"
#include "base/strings/string_number_conversions.h"
#include "base/string... |
<commit_before>// Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/ui/win/notify_icon.h"
#include "atom/browser/ui/win/notify_icon_host.h"
#include "base/strings/string_number_conversions.h"
#include "base/string... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2013-2016 Estimation and Control Library (ECL). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... |
<commit_before>//===-- StraightLineStrengthReduce.cpp - ------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// SPDX-License-Identifier: Apache-2.0
// ----------------------------------------------------------------------------
// Copyright 2020-2021 Arm Limited
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtai... |
<commit_before>#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <functional>
#include <random>
#include <vector>
#include <string>
#include <gauss_multi.h>
#include <gp.h>
using namespace std;
typedef unsigned int uint;
// Random engine to use throughout
default_random_engine gen;
// How many funct... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: AccessiblePresentationShape.cxx,v $
*
* $Revision: 1.16 $
*
* last change: $Author: rt $ $Date: 2005-09-09 03:27:39 $
*
* The Contents of... |
<commit_before>
#include <iostream>
//#include <boost/bind.hpp>
//
//#include <boost/test/included/unit_test.hpp>
#include <FFLLAPI.h>
#include <DefuzzVarObj.h>
#include <FFLLBase.h>
#include <FuzzyModelBase.h>
#include <FuzzyVariableBase.h>
#include <FuzzyOutVariable.h>
#include <RuleArray.h>
#include ... |
<commit_before>//
// ByteOrder.cpp
//
// Copyright (c) 2001 Virtual Terrain Project.
// Free for all uses, see license.txt for details.
//
#include <stdio.h>
#include <stdlib.h> /* For abort() */
#include "ByteOrder.h"
static int GetDataTypeSize( DataType type )
{
int tsize;
switch ( type )
{
case DT_SHORT :... |
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/searchcore/proton/matching/fakesearchcontext.h>
#include <vespa/searchcorespi/index/warmupindexcollection.h>
#include <vespa/vespalib/gtest/gtest.h>
#include <vespa/vespalib/util/size... |
<commit_before>/*
* DbgTracePort.cpp
*
* Created on: 16.03.2015
* Author: niklausd
*/
#include "DbgTraceContext.h"
#include "DbgTraceOut.h"
#include "DbgTracePort.h"
#include "DbgCliCommand.h"
#ifdef ARDUINO
#include <Arduino.h>
#else
#include <time.h>
#endif
#include <stdio.h>
#include <string.h>
//-----... |
<commit_before>/*!
\copyright (c) RDO-Team, 2003-2012
\file WordListUtil.cpp
\author (robot.xet@gmail.com)
\date 29.09.2012
\brief
\indent 4T
*/
#include <vector>
#include <map>
#include <boost\algorithm\string.hpp>
#include "utils\rdotypes.h"
#include "WordListUtil.... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "attributenode.h"
#include <vespa/searchlib/attribute/singleenumattribute.h>
namespace search::expression {
using namespace vespalib;
using search::attribute::IAttributeConte... |
<commit_before>/// \file ROOT/TText.hxx
/// \ingroup Graf ROOT7
/// \author Olivier Couet <Olivier.Couet@cern.ch>
/// \date 2017-10-16
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
/// is welcome!
/**********************************************... |
<commit_before>#pragma once
#include <stdint.h>
#include <type_traits>
namespace faze
{
// lets just use 64bits for this
// we can reduce the size later if needed
struct ResourceHandle
{
union
{
struct
{
uint64_t id : 20; // million is too much for id's
uint64_t generation... |
<commit_before>#pragma once
#include <stdint.h>
#include <type_traits>
namespace faze
{
// lets just use 64bits for this
// we can reduce the size later if needed
struct ResourceHandle
{
union
{
struct
{
uint64_t id : 20; // million is too much for id's
uint64_t generation... |
<commit_before>#include <stdint.h>
#ifndef __clockid_t_defined
#define __clockid_t_defined 1
typedef int32_t clockid_t;
#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 1
#define CLOCK_PROCESS_CPUTIME_ID 2
#define CLOCK_THREAD_CPUTIME_ID 3
#define CLOCK_MONOTONIC_RAW 4
#d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.