text stringlengths 54 60.6k |
|---|
<commit_before>/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy... |
<commit_before>// Filename: test_physics.cxx
// Created by: charles (13Jun00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3... |
<commit_before>// Copyright (C) 2019 - 2020 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., Univers... |
<commit_before>/* Copyright 2020 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 appl... |
<commit_before>#include <phypp.hpp>
int phypp_main(int argc, char* argv[]) {
if (argc < 2) {
print("usage: cube2slit <cube.fits> [out=... slit_width=... verbose]");
return 0;
}
double slit_width = 0.7; // [arcsec]
bool verbose = false;
std::string out_file;
read_args(argc-1, a... |
<commit_before>#include "execute_request_message.h"
using namespace std;
// See interface (header file).
ExecuteSuccessMessage::ExecuteSuccessMessage(string name, int *argTypes,
void **args)
: Message(), name(name), argTypes(argTypes), args(args) {} // Constructor
// See interface (header file).
ExecuteSuccessM... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. 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... |
<commit_before>#include <QCoreApplication>
#include <QtWidgets/QAction>
#include "interpreter.h"
#include "details/autoconfigurer.h"
#include "details/robotImplementations/unrealRobotModelImplementation.h"
#include "details/robotCommunication/bluetoothRobotCommunicationThread.h"
#include "details/robotCommunication/u... |
<commit_before>
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <fc/io/json.hpp>
#include <fc/io/stdio.hpp>
#include <fc/network/http/websocket.hpp>
#include <fc/rpc/cli.hpp>
#include <fc/rpc/websocket_api.hpp>
#include <bts/app/api.hpp>
#include <bts/chain/address.hpp>
#inclu... |
<commit_before><commit_msg>Use reference when looping over real data in TProtoClass #7426<commit_after><|endoftext|> |
<commit_before>#include "stdafx.h"
#include "asdf_defs.h"
#include "texture_bank.h"
#include <glm/gtc/matrix_transform.hpp>
#include "main/asdf_multiplat.h"
#include "data/content_manager.h"
#include "data/gl_state.h"
#include "utilities/utilities.h"
#include "utilities/cjson_utils.hpp"
using namespace std;
using na... |
<commit_before>/* This file is part of the KDE project
Copyright (C) 2010 Thomas Fjellstrom <thomas@fjellstrom.ca>
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.
Th... |
<commit_before>/// \file dtsc_analyser.cpp
/// Reads an DTSC file and prints all readable data about it
#include <string>
#include <iostream>
#include <sstream>
#include <mist/dtsc.h>
#include <mist/json.h>
#include <mist/config.h>
#include <mist/defines.h>
///\brief Holds everything unique to the analysers.
names... |
<commit_before>//===-- CommandObjectDisassemble.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>/*
* ssl-server.cpp
*
* Created on: Dec 10, 2015
* Author: zmij
*/
#include <iostream>
#include <string>
#include <functional>
#include <boost/asio.hpp>
#include <boost/asio/ssl.hpp>
#include <boost/asio/ip/address.hpp>
#include <boost/program_options.hpp>
namespace boost {
namespace asio ... |
<commit_before>/* This file is part of the KDE project
Copyright (C) 2008 Dominik Haumann <dhaumann 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>#include "gl/TextureShader.h"
namespace chr
{
namespace gl
{
TextureShader textureShader;
const char *TextureShader::vertexShaderSource = R"(
attribute vec2 a_position;
attribute vec2 a_coord;
attribute vec4 a_color;
uniform mat4 u_mvp_matrix;
varying vec2 v_coord;
... |
<commit_before>#include "text/fontContext.h"
#include "log.h"
#include "platform.h"
#define SDF_IMPLEMENTATION
#include "sdf.h"
#include <memory>
#include <regex>
#define SDF_WIDTH 6
#define MIN_LINE_WIDTH 4
namespace Tangram {
const std::vector<float> FontContext::s_fontRasterSizes = { 16, 28, 40 };
FontContex... |
<commit_before>/*
kwatchgnupgmainwin.cpp
This file is part of Kleopatra, the KDE keymanager
Copyright (c) 2001,2002,2004 Klar�vdalens Datakonsult AB
Kleopatra 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 S... |
<commit_before>/*
This file is part of Kontact.
Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
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, o... |
<commit_before>// Copyright 2019-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#include <gtest/gtest.h>
#include "embree3/rtcore.h"
#include "openvkl/openvkl.h"
#include "ospray/OSPEnums.h"
TEST(Enums, VKLLogLevel)
{
ASSERT_LE(sizeof(OSPLogLevel), sizeof(VKLLogLevel));
ASSERT_EQ(OSP_LOG_DEBUG, VKL... |
<commit_before>#include <TestCases/IO/Socket/InetAddrTest.h>
namespace vprTest
{
CPPUNIT_TEST_SUITE_REGISTRATION( InetAddrTest );
void InetAddrTest::testEqual()
{
vpr::InetAddr addr1; addr1.setPort(80);
vpr::InetAddr addr2; addr2.setPort(21);
vpr::InetAddr addr3; addr3.setPort(80);
CPPUNIT_ASSERT(add... |
<commit_before>// Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/api/atom_api_cookies.h"
#include "atom/common/native_mate_converters/callback.h"
#include "atom/common/native_mate_converters/gurl_converter.h"
#... |
<commit_before>inline
cov_mat_kth::cov_mat_kth( const std::string in_path,
const std::string in_actionNames,
const int in_scale_factor,
const int in_shift,
const int in_scene, //only for kth
const int in_segment_length
)
:path(in_path), actionNames(in_actionNames), scale_factor(in_scale_fact... |
<commit_before>inline
cov_mat_kth::cov_mat_kth( const std::string in_path,
const std::string in_actionNames,
const int in_scale_factor,
const int in_shift,
const int in_scene, //only for kth
const int in_segment_length
)
:path(in_path), actionNames(in_actionNames), scale_factor(in_scale_fact... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: retstrm.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-07 19:25:12 $
*
* The Contents of this file are made a... |
<commit_before>//
// Audio.cpp
// Audio Test
//
// Created by Matthew Bucci on 2/6/14.
// Copyright (c) 2014 Matthew Bucci. All rights reserved.
//
#include "Audio.h"
AudioPlayer::AudioPlayer(Uint8 volume) {
}
void AudioPlayer::SetVolume(Uint8 effectvolume,Uint8 backgroundvolume) {
// MusicPlayer.SetVolume()... |
<commit_before>/** \brief Importer for full text documents.
* \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de)
*
* \copyright 2018 Universitätsbibliothek Tübingen. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the... |
<commit_before>/* $Id$ */
# ifndef CPPAD_CPPAD_EIGEN_INCLUDED
# define CPPAD_CPPAD_EIGEN_INCLUDED
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
CppAD is distributed under multiple licenses. This distribution i... |
<commit_before>#include "SettingsUI.h"
#include <iostream>
/* DLGTEMPLATEEX Structure */
#include <pshpack1.h>
typedef struct DLGTEMPLATEEX
{
WORD dlgVer;
WORD signature;
DWORD helpID;
DWORD exStyle;
DWORD style;
WORD cDlgItems;
short x;
short y;
short cx;
short cy;
} DLGTEMPLA... |
<commit_before>// Debugging Settings
#define DEBUG
#define DEBUG_V1
//#define DEBUG_V2
//#define DEBUG_V3
//#define DEBUG_V4
#include <iostream>
#include <iomanip>
#include <memory>
#include <random>
#include <iterator>
#include <functional>
#include <ctime>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// @brief V8 Traverser
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2014-2015 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version ... |
<commit_before>#include "ContainerController.h"
#include "Path.h"
#include <cryptopp/secblock.h>
#include <cryptopp/osrng.h>
#include <string>
#include <limits>
#include "CloudManager.h"
ContainerController::ContainerController(callback_t event_callback, const std::string& vhd_path) :
event_callback_(event_callback), ... |
<commit_before>#include "gs_main_menu.h"
#include "gs_playing.h"
using namespace Urho3D;
gs_main_menu::gs_main_menu() : game_state()
{
Node* node_camera=globals::instance()->camera->GetNode();
node_camera->SetPosition(Vector3(0,0,0));
node_camera->SetDirection(Vector3::FORWARD);
boxNode_=globals::ins... |
<commit_before>/*************************************************************************
> File Name: Cards.cpp
> Project Name: Hearthstone++
> Author: Chan-Ho Chris Ohk
> Purpose: Cards class that stores a list of cards.
> Created Time: 2017/10/10
> Copyright (c) 2017, Chan-Ho Chris Ohk
******************************... |
<commit_before>#include <Arduino.h>
#include <util/atomic.h>
#include "rf69_ook.h"
#define SPI_SS 10 // PB2, pin 16
#define SPI_MOSI 11 // PB3, pin 17
#define SPI_MISO 12 // PB4, pin 18
#define SPI_SCK 13 // PB5, pin 19
static uint8_t rf69ook_byte(uint8_t v)
{
SPDR = v;
whil... |
<commit_before>// 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 "ash/wm/compact_layout_manager.h"
#include <vector>
#include "ash/shell.h"
#include "ash/shell_delegate.h"
#include "ash/she... |
<commit_before>// Copyright (C) 2014, Richard Thomson. All rights reserved.
#include "date_time.h"
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/spirit/include/qi.hpp>
#include <stdexcept>
using namespace boost::spirit::qi;
BOOST_FUSION_ADAPT_STRUCT(date_time::moment,
(unsigned, day)
(date... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: b3dtex.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-09 02:13:41 $
*
* The Contents of this file are made av... |
<commit_before>/** table.cc ---
*
* Copyright (C) 2010 OpenCog Foundation
*
* Author: Nil Geisweiller <ngeiswei@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published by the Free Software Foundation and ... |
<commit_before>
#include "ksp_plugin/vessel.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "physics/mock_ephemeris.hpp"
namespace principia {
using physics::MockEphemeris;
using quantities::si::Kilogram;
using quantities::si::Metre;
using quantities::si::Second;
namespace ksp_plugin {
// TODO(egg... |
<commit_before>#include "googledataresource.h"
#include "settings.h"
#include "settingsadaptor.h"
#include <QtDBus/QDBusConnection>
#include <kabc/addressee.h>
#include <kabc/phonenumber.h>
#include <kabc/key.h>
#include <kabc/errorhandler.h>
#include <qstring.h>
#include <KWindowSystem>
#include <akonadi/changerecor... |
<commit_before>#include "googledataresource.h"
#include "settings.h"
#include "settingsadaptor.h"
#include <QtDBus/QDBusConnection>
#include <kabc/addressee.h>
#include <kabc/phonenumber.h>
#include <kabc/key.h>
extern "C" {
#include <gcalendar.h>
#include <gcontact.h>
#include <gcal_status.h>
}
using namespace Ako... |
<commit_before>#include "googledataresource.h"
#include "settings.h"
#include "settingsadaptor.h"
#include <QtDBus/QDBusConnection>
#include <kabc/addressee.h>
#include <kabc/phonenumber.h>
#include <kabc/key.h>
extern "C" {
#include <gcalendar.h>
#include <gcontact.h>
#include <gcal_status.h>
}
using namespace Ako... |
<commit_before>// Copyright (c) 2013 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/common/api/atom_bindings.h"
#include <algorithm>
#include <iostream>
#include <string>
#include "atom/common/atom_version.h"
#include "atom/common/chrom... |
<commit_before><commit_msg>Remove unused tab_contents variable.<commit_after><|endoftext|> |
<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 "chrome/browser/dom_ui/browser_options_handler.h"
#include "app/l10n_util.h"
#include "base/basictypes.h"
#include "base/scop... |
<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 "chrome/browser/extensions/convert_user_script.h"
#include <string>
#include <vector>
#include "base/base64.h"
#include "bas... |
<commit_before><commit_msg>Fix the problem that file URL is not converted to file path in drag-and-drop on Linux.<commit_after><|endoftext|> |
<commit_before><commit_msg>Coverity: Fix an invalidated iterator case and refactor to use the STLDeleteValues helper function.<commit_after><|endoftext|> |
<commit_before>//===- llvm/CodeGen/GlobalISel/InstructionSelect.cpp - InstructionSelect ---==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===- BlackfinISelDAGToDAG.cpp - A dag to dag inst selector for Blackfin -===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
This file is part of KDE Kontact.
Copyright (C) 2003 Cornelius Schumacher <schumacher@kde.org>
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 L... |
<commit_before>/*
This file is part of KDE Kontact.
Copyright (C) 2003 Cornelius Schumacher <schumacher@kde.org>
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 L... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/*************************************************************************
*
* $RCSfile: XMLTextPContext.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: sab $ $Date: 2001-10-18 08:52:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the followi... |
<commit_before>/*
* Copyright (C) 2012 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list ... |
<commit_before>
#include "rtkTestConfiguration.h"
#include "rtkThreeDCircularProjectionGeometryXMLFile.h"
#include "rtkRayBoxIntersectionImageFilter.h"
#include "rtkSheppLoganPhantomFilter.h"
#include "rtkDrawSheppLoganFilter.h"
#include "rtkConstantImageSource.h"
#ifdef USE_CUDA
# include "rtkCudaForwardProjectionIm... |
<commit_before>
#include "rtkTestConfiguration.h"
#include "rtkThreeDCircularProjectionGeometryXMLFile.h"
#include "rtkRayBoxIntersectionImageFilter.h"
#include "rtkSheppLoganPhantomFilter.h"
#include "rtkDrawSheppLoganFilter.h"
#include "rtkConstantImageSource.h"
#ifdef USE_CUDA
# include "rtkCudaForwardProjectionIm... |
<commit_before>#ifndef NETWORK_NETWORK_HPP
#define NETWORK_NETWORK_HPP
#include <vector>
#include <nanomsg/nn.h>
namespace MDL {
namespace net {
const size_t MAX_ELEMENT_NR = 100;
struct msg_header {
size_t msg_ele_nr;
size_t msg_ele_sze[0];
};
size_t header_size(const msg_header *hdr);
size_t make_header(msg... |
<commit_before>
#include <QtTest>
#include <QtDebug>
#include <Control.h>
#include <Parser.h>
#include <AST.h>
CPLUSPLUS_USE_NAMESPACE
class tst_AST: public QObject
{
Q_OBJECT
Control control;
public:
TranslationUnit *parse(const QByteArray &source,
TranslationUnit::ParseMode... |
<commit_before>// QtPromise
#include <QtPromise>
// Qt
#include <QtTest>
using namespace QtPromise;
using namespace QtPromisePrivate;
class tst_qpromise: public QObject
{
Q_OBJECT
private Q_SLOTS:
void finallyReturns();
void finallyThrows();
void finallyDelayedFulfilled();
void finallyDelayedRej... |
<commit_before>/*
* Copyright 2008, 2009 Google Inc.
* Copyright 2007 Nintendo Co., Ltd.
*
* 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... |
<commit_before>#include <iostream>
#include <string>
#include <fstream>
#include <cstdint>
using namespace std;
template <typename T>
struct Node {
Node *left;
Node *right;
T data;
};
template <typename T>
class BinaryTree;
template <typename T>
std::ostream& operator<<(std::ostream&, const BinaryTree<T>&)... |
<commit_before>#include <iostream>
#include <string>
#include <fstream>
#include <cstdint>
using namespace std;
template <class T>
struct Node
{
T data;
Node<T>* left;
Node<T>* right;
};
template <class T>
class BinaryTree
{
private:
Node<T> *root;
uint16_t CountElements = 0;
public:
BinaryTree();
~BinaryT... |
<commit_before>#include <iostream>
#include <string>
#include <fstream>
#include <cstdint>
using namespace std;
template <typename T>
struct Node
{
Node *left;
Node *right;
T data;
};
template <typename T>
class BinaryTree;
template <typename T>
std::ostream& operator<<(std::ostream&, const BinaryTree<T>&);
... |
<commit_before>#pragma once
//=====================================================================//
/*! @file
@brief GUI Widget ターミナル
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/glfw_app/blob/master/... |
<commit_before>
#include "cmdline/cmdline.h"
#include "mhap/overlap.h"
#include "mhap/parser.h"
#include "ra/include/ra/ra.hpp"
#include <algorithm>
#include <ctime>
#include <fstream>
#include <iostream>
#include <vector>
#include <sys/stat.h>
// trimming params
int READ_LEN_THRESHOLD = 100000;
// BFS params in bubb... |
<commit_before>// @(#)root/gui:$Id$
// Author: Fons Rademakers 05/01/98
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>/*
* Copyright © 2012 Intel Corporation
*
* 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 2.1 of the License, or (at your option) any later version.... |
<commit_before>//===----- CGOpenMPRuntime.cpp - Interface to OpenMP Runtimes -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Copyright (c) 2012 The Chromium OS 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 "update_engine/full_update_generator.h"
#include <inttypes.h>
#include <fcntl.h>
#include <tr1/memory>
#include <base/st... |
<commit_before>//===-- JIT.cpp - LLVM Just in Time Compiler ------------------------------===//
//
// 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.
//... |
<commit_before>// Copyright Steinwurf ApS 2011-2012.
// Distributed under the "STEINWURF RESEARCH LICENSE 1.0".
// See accompanying file LICENSE.rst or
// http://www.steinwurf.com/licensing
#include <ctime>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring> // for memset, memcmp
#include <vec... |
<commit_before>#include "simdjson/jsonparser.h"
#ifndef _MSC_VER
#include "linux-perf-events.h"
#include <unistd.h>
#ifdef __linux__
#include <libgen.h>
#endif //__linux__
#endif // _MSC_VER
#include <memory>
#include "benchmark.h"
// #define RAPIDJSON_SSE2 // bad for performance
// #define RAPIDJSON_SSE42 // bad fo... |
<commit_before>//=======================================================================
// Copyright (c) 2014-2016 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before>#include <celero/Celero.h>
#include <forward_list>
#include <annis/query.h>
#include <annis/annosearch/exactannokeysearch.h>
#include <annis/annosearch/exactannovaluesearch.h>
#include <annis/annosearch/regexannosearch.h>
#include <annis/operators/pointing.h>
#include <annis/operators/precedence.h>
... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkInterpolateDataSetAttributes.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-1998 Ken Martin, Will Schroeder, Bill Lorensen.
This software... |
<commit_before>//===-- TargetLowering.cpp - Implement the TargetLowering class -----------===//
//
// 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.
//
... |
<commit_before>//===- SerializedDiagnosticReader.cpp - Reads diagnostics -----------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------... |
<commit_before>#include <iostream>
#include <string>
#include "consoleui.h"
using namespace std;
const char TAB = '\t';
//efsta lagið
ConsoleUI::ConsoleUI()
{
}
void ConsoleUI::WelcomeMenu()
{
cout << endl;
cout << endl;
cout << TAB << "--------------------------------------------" << endl;
cout ... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QMessageBox>
#include <iostream>
#include <QCloseEvent>
#include <QColorDialog>
#include <chrono>
#include <thread>
#include "icononbuttonhandler.h"
#include "inputwindow.h"
#include "Video/shapes/shape.h"
using namespace std;
using namespace ... |
<commit_before>#include "Chunk.h"
Chunk::Chunk(int size, glm::vec3 pos)
{
this->size = size;
voxels = std::vector<std::vector<std::vector<Voxel>>>();
for (int x = 0; x < size; x++)
{
voxels.push_back(std::vector<std::vector<Voxel>>());
for (int y = 0; y < size; y++)
{
voxels[x].push_back(std::vector<Voxe... |
<commit_before><commit_msg>dirent.h doesn't exist on windows<commit_after><|endoftext|> |
<commit_before>#include <SmurffCpp/Utils/StepFile.h>
#include <iostream>
#include <SmurffCpp/Model.h>
#include <SmurffCpp/result.h>
#include <SmurffCpp/Priors/ILatentPrior.h>
#include <SmurffCpp/Utils/Error.h>
#include <SmurffCpp/Utils/StringUtils.h>
#include <SmurffCpp/IO/GenericIO.h>
#include <SmurffCpp/IO/MatrixI... |
<commit_before>/* This file is part of python_mapnik (c++/python mapping toolkit)
* Copyright (C) 2005 Artem Pavlenko, Jean-Francois Doyon
*
* Mapnik 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... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU ... |
<commit_before>// Module: LOG4CPLUS
// File: loggingserver.cxx
// Created: 5/2003
// Author: Tad E. Smith
//
//
// Copyright (C) Tad E. Smith All rights reserved.
//
// This software is published under the terms of the Apache Software
// License version 1.1, a copy of which has been included with this
// distribu... |
<commit_before>
#include <tclap/CmdLine.h>
#include <iostream>
#include <string>
using namespace TCLAP;
string _orTest;
string _testc;
string _testd;
void parseOptions(int argc, char** argv);
int main(int argc, char** argv)
{
parseOptions(argc,argv);
cout << "for A OR B we got : " << _orTest<< endl
<< "for... |
<commit_before>// this file defines the itkBasicFiltersTest for the test driver
// and all it expects is that you have a function called RegisterTests
#include "itkTestMain.h"
void RegisterTests()
{
REGISTER_TEST(itkAlgorithmsPrintTest );
REGISTER_TEST(itkAlgorithmsPrintTest2 );
REGISTER_TEST(itkAlgorithmsPrintTe... |
<commit_before>/*------------------------------------------------------------------------
* (The MIT License)
*
* Copyright (c) 2008-2011 Rhomobile, 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
* i... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkAffineTransformTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2001 Insight Consortium
All rights reserved.
Redistrib... |
<commit_before>#pragma once
#include <string>
#include <unordered_map>
#include <vector>
#include "depthai-shared/common/CameraBoardSocket.hpp"
#include "depthai-shared/common/CameraInfo.hpp"
#include "depthai-shared/common/Extrinsics.hpp"
#include "depthai-shared/common/Point3f.hpp"
#include "depthai-shared/common/St... |
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* https://lxqt.org
*
* Copyright: 2015 LXQt team
* Authors:
* Dmitriy Zhukov <zjesclean@gmail.com>
*
* This program or library is free software; you can redistribute it
* and/or modify it under t... |
<commit_before>/*
* replicated_object_gate.hpp
*
* Created on: Dec 25, 2017
* Author: zmij
*/
#ifndef WIRE_UTIL_REPLICATED_OBJECT_GATE_HPP_
#define WIRE_UTIL_REPLICATED_OBJECT_GATE_HPP_
#include <wire/core/connector.hpp>
#include <wire/core/connection.hpp>
#include <wire/core/locator.hpp>
#include <wire/co... |
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* Razor - a lightweight, Qt based, desktop toolset
* http://razor-qt.org
*
* Copyright: 2012 Razor team
* Authors:
* Johannes Zellner <webmaster@nebulon.de>
*
* This program or library is free software; you can redistribute it
* and/or modify it... |
<commit_before>#include <iostream>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include "envitools/EnviUtils.hpp"
namespace fs = boost::filesystem;
namespace po = boost::program_options;
namespace et = e... |
<commit_before>/*
*
* Copyright 2015, Google 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, thi... |
<commit_before>/**
@file ConnectionSTREAMing.cpp
@author Lime Microsystems
@brief Implementation of STREAM board connection (streaming API)
*/
#include "ConnectionSTREAM.h"
#include "LMS_StreamBoard.h"
#include "StreamerLTE.h"
#include "fifo.h" //from StreamerLTE
#include <LMS7002M.h>
#include <iostream>
#... |
<commit_before>/**
* For conditions of distribution and use, see copyright notice in license.txt
*
* @file CloneAssetDialog.cpp
* @brief Dialog for cloning asset.
*/
#include "StableHeaders.h"
#include "DebugOperatorNew.h"
#include "CloneAssetDialog.h"
#include "IAsset.h"
#include "AssetAPI.h"
#include "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.