text stringlengths 54 60.6k |
|---|
<commit_before>// Qt includes
#include <QUrl>
#include <xbmcvideochecker/XBMCVideoChecker.h>
XBMCVideoChecker::XBMCVideoChecker(const std::string & address, uint16_t port, uint64_t interval_ms, bool grabVideo, bool grabPhoto, bool grabAudio, bool grabMenu) :
QObject(),
_address(QString::fromStdString(address)),
_p... |
<commit_before>/***********************************************
* Author: Jun Jiang - jiangjun4@sina.com
* Create: 2017-08-19 21:06
* Last modified : 2017-08-19 21:06
* Filename : dnn.cpp
* Description :
**********************************************/
#include <vector>
#include "dnn/DNN.h"
#include "dnn/C... |
<commit_before>#pragma once
#include "timing_graph_fwd.hpp"
#include "timing_constraints_fwd.hpp"
#include <chrono>
#include <map>
namespace tatum {
/**
* The abstract base class for all TimingGraphWalkers.
*
* TimingGraphWalker encapsulates the process of traversing the timing graph, exposing
* only the do_*_tra... |
<commit_before>#include <ros/ros.h>
#include <ros/package.h>
#include <string>
#include <sstream>
#include <iostream>
//used for registering Ctrl-C events
#include <signal.h>
//ROS messages
#include <sensor_msgs/JointState.h>
#include <geometry_msgs/PoseStamped.h>
#include <geometry_msgs/TwistStamped.h>
//ROS action... |
<commit_before><commit_msg>SvxShape destructor un-register at broadcaster with SolarMutex locked<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: unoviwou.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: thb $ $Date: 2002-07-31 09:39:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>/*************************************************************************
*
* $RCSfile: docbasic.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: obo $ $Date: 2004-08-12 12:15:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>/*************************************************************************
*
* $RCSfile: swblocks.hxx,v $
*
* $Revision: 1.12 $
*
* last change: $Author: rt $ $Date: 2005-01-11 12:19:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>/*
* Copyright (c) 2015, 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.
*
... |
<commit_before>/***********************************************************************
filename: CEGUIRenderedStringTextComponent.cpp
created: 25/05/2009
author: Paul Turner
*************************************************************************/
/***********************************************... |
<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 applica... |
<commit_before>/*************************************************************************
*
* $RCSfile: TickmarkProperties.hxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: iha $ $Date: 2004-01-22 19:20:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the foll... |
<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/chromeos/login/new_user_view.h"
#include <signal.h>
#include <sys/types.h>
#include <algorithm>
#include <ve... |
<commit_before>/* Copyright 2016 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>// 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 <string>
#include "chrome/browser/net/url_fixer_upper.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/autom... |
<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>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: textidx.cxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: rt $ $Date: 2007-04-26 09:17:42 $
*
* The Contents of this file are made ... |
<commit_before>/// @file wlog_tools.cpp
/// @brief Well Logs manipulation algorithms
/// @author uentity
/// @version 1.0
/// @date 27.02.2014
/// @copyright This source code is released under the terms of
/// the BSD License. See LICENSE for more details.
#ifndef WLOG_TOOLS_TMEEHO84
#define WLOG_TOOLS_TMEE... |
<commit_before>/*
This is an example file shipped by 'Aleph - A Library for Exporing
Persistent Homology'.
This example demonstrates how to load a VTK structured grid from
a file, convert it into a simplicial complex, and calculate its
persistent homology.
Demonstrated classes:
- aleph::PersistenceD... |
<commit_before>/*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
*
* 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 no... |
<commit_before>#include "ConfigServerApp.h"
#include "Application/Common/ContextTransport.h"
#include "Application/Common/ClientRequestCache.h"
#include "Framework/Storage/StoragePageCache.h"
#include "System/Config.h"
void ConfigServerApp::Init()
{
int sdbpPort;
Endpoint httpEndpoint;
ReadBuffe... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2012 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, ... |
<commit_before>#include "quickgridstar.h"
QuickRowDefinition::QuickRowDefinition(QQuickItem *parent) :
QQuickItem(parent),
_weight(1.0f)
{
}
QuickColumnDefinition::QuickColumnDefinition(QQuickItem *parent) :
QQuickItem(parent),
_weight(1.0f)
{
}
QuickGridStarAttached::QuickGridStarAttac... |
<commit_before>#include "StdAfx.h"
#include "ByteStream.h"
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009 Klaus Post
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Found... |
<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 "chrome/browser/gtk/standard_menus.h"
#include "base/basictypes.h"
#include "chrome/app/chrome_dll_resource.h"
#include ... |
<commit_before><commit_msg>GTK: add f11 for fullscreen menu item to wrench menu.<commit_after><|endoftext|> |
<commit_before>#include "StdAfx.h"
#include "MosDecoder.h"
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009-2014 Klaus Post
Copyright (C) 2014 Pedro Côrte-Real
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as ... |
<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 "base/command_line.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/sc... |
<commit_before>// Functions for the symmetric group approach
#include<iostream>
#include<vector>
#include"weyl.h"
class perm_a
{
public:
std::vector<int> perm;
double coeff=0;
int n=0;
// TODO: overload the multiply operator
};
void
print_perm(perm_a P)
{
std::cout << P.coeff << " * ";
for(auto p : P.per... |
<commit_before>#include "authnegotiator.h"
#include "iconnection.h"
#include "stringtools.h"
#include <cassert>
#include <iostream>
#include <sstream>
#include <sys/types.h>
#include <unistd.h>
using namespace std;
AuthNegotiator::AuthNegotiator(IConnection *connection)
: m_state(InitialState)
{
connection->... |
<commit_before>/* Copyright 2007-2015 QReal Research Group
*
* 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 ap... |
<commit_before>/*
* Main application window
*
* This file is part of softrig, a simple software defined radio transceiver.
*
* Copyright 2017-2019 Alexandru Csete OZ9AEC.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions a... |
<commit_before>/* The MIT License (MIT)
*
* Copyright (c) 2016 Ștefan-Gabriel Mirea, Adrian Dobrică
*
* 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 with... |
<commit_before>/*
* ReferenceAnalyzer.cpp
*
* This file is part of the XShaderCompiler project (Copyright (c) 2014-2017 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "ReferenceAnalyzer.h"
#include "Exception.h"
#include "ReportHandler.h"
#include "AST.h"
#include <algorithm>
names... |
<commit_before>#include <iostream>
#include <cstdlib>
#include <cstring>
#include <cerrno>
#include <fcntl.h>
using std::cout;
using std::endl;
int main(const int argc, const char * argv []) {
if (argc != 2) {
cout << "Usage: " << argv[0] << " FILE" << endl;
exit(EXIT_FAILURE);
} // if
const char * fi... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public License. See
// LICENSE.TX... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2008 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documenta... |
<commit_before>/**
* @file HttpServerClientTest.cpp
* @brief HttpServer and HttpClient class tester.
* @author zer0
* @date 2020-03-10
*/
#include <gtest/gtest.h>
#include <libtbag/http/HttpServer.hpp>
#include <libtbag/http/HttpClient.hpp>
#include <libtbag/string/StringUtils.hpp>
#include <sstream>
using... |
<commit_before>#include "search_engine.hpp"
#include "category_info.hpp"
#include "result.hpp"
#include "search_query.hpp"
#include "../storage/country_info.hpp"
#include "../indexer/categories_holder.hpp"
#include "../indexer/search_delimiters.hpp"
#include "../indexer/search_string_utils.hpp"
#include "../indexer/m... |
<commit_before>/*
* Android File Transfer for Linux: MTP client for android devices
* Copyright (C) 2015 Vladimir Menshakov
* 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 ... |
<commit_before>#include <iostream>
#include <string>
#include <vector>
bool buscaAuxiliar(std::string palavra, std::vector<std::string> matriz, int pos_x, int pos_y, int i, int j){
int count = 0;
int q = 0;
while(pos_x >= 0 and pos_x < matriz.size() and pos_y >= 0 and pos_y < matriz[0].size()){
i... |
<commit_before>/*
* Author: Pierre Chifflier <chifflier@edenwall.com>
*/
#include <cstdio>
#include <cstring>
#include <iostream>
#include <stdlib.h>
#include <apt-pkg/init.h>
#include <apt-pkg/error.h>
#include <apt-pkg/mmap.h>
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/pkgrecords.h>
#include "dpkginfo-helpe... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2000 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>//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include <aclCommon/ArmComputeTensorUtils.hpp>
#include <aclCommon/ArmComputeUtils.hpp>
#include "armnn/Exceptions.hpp"
#include <armnn/Descriptors.hpp>
namespace armnn
{
namespace armcomputetensorutils
{
arm_comp... |
<commit_before>
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gl/GrGLInterface.h"
#include "../GrGLUtil.h"
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
#include <mach-o/dyld.h>
// This uses deprecated f... |
<commit_before>#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "catch.hpp"
#include "enTPCommon.h"
#include <iostream>
#include <future>
#include <math.h>
#include <utility>
#include <type_traits>
#include <vector>
#include <chrono>
#include <thread>
using n... |
<commit_before>#include <gtest/gtest.h>
#include <entt/core/hashed_string.hpp>
#include <entt/meta/context.hpp>
#include <entt/meta/factory.hpp>
struct base {};
struct clazz: base {
int value{};
};
struct local_only {};
struct argument {
argument(int val)
: value{val} {}
int get() const {
... |
<commit_before>// Copyright 2016, Dawid Kurek, <dawikur@gmail.com>
#include "firmware.hpp"
#include <vector>
#include "gtest.h"
#include "mock.hpp"
namespace Functions {
Crow::Mock::Hardware *_hardware;
Crow::Mock::USBHid *_usbHid;
Crow::Row getRow(Crow::Index const i) {
return _hardware->getRow(i);
}
void se... |
<commit_before>//! @file
//! @copyright See <a href="LICENSE.txt">LICENSE.txt</a>.
//! @brief Convenience functions for generating various random values.
#pragma once
#include "utility.hpp"
#include "world/coordinates.hpp"
#include <random>
#include <type_traits>
namespace ql {
//! A pseudorandom number generator... |
<commit_before>/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
... |
<commit_before>/* hydrogenBond.C
*
* Copyright (C) 2011 Marcel Schumann
*
* This program 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 3 of the License, or (at
* your option) any later ver... |
<commit_before>#include "module/default/simple_storage.h"
#include "gtest/gtest.h"
#include "core/app.h"
#include <iostream>
#include <boost/asio/io_service.hpp>
#include <boost/asio/strand.hpp>
#include <functional>
#include <map>
#include <string>
#include "../test/sdk/async_test.h"
using namespace dsa;
namesp... |
<commit_before>#include "hierarchybuilder.h"
#include "config.h"
#include "mjolnir/graphtilebuilder.h"
#include <ostream>
#include <set>
using namespace valhalla::midgard;
using namespace valhalla::baldr;
namespace valhalla {
namespace mjolnir {
HierarchyBuilder::HierarchyBuilder(const boost::property_tree::ptree... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2014, 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 m... |
<commit_before>/**
* @file himan.cpp
*
* @brief himan main program
*
* @author partio
*
*/
#include <iostream>
#include "himan_common.h"
#include "plugin_factory.h"
#include "json_parser.h"
#include "himan_plugin.h"
#include "compiled_plugin.h"
#include "auxiliary_plugin.h"
#include "logger_factory.h"
#include ... |
<commit_before>// Copyright (c) 2011, Cornell University
// 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,
// ... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses... |
<commit_before><commit_msg>coverity: idx == 0x1F cannot be true<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: astscope.cxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: jsc $ $Date: 2001-03-15 12:30:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>/* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved.
This file is part of Navitia,
the software to build cool stuff with public transport.
Hope you'll enjoy and contribute to this project,
powered by Canal TP (www.canaltp.fr).
Help us simplify mobility and open public ... |
<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.
#include <visionaray/bvh.h>
#include <gtest/gtest.h>
using namespace visionaray;
//-------------------------------------------------------------------------------------------------
// Build some BVHs
//
//------... |
<commit_before><commit_msg>default to yaspgrid, since spgrid was broken for smp<commit_after><|endoftext|> |
<commit_before>// $Id: NMRSpectrum.C,v 1.13 2001/02/06 18:13:39 anhi Exp $
#include<BALL/NMR/NMRSpectrum.h>
#include<BALL/NMR/randomCoilShiftProcessor.h>
#include<BALL/NMR/johnsonBoveyShiftProcessor.h>
#include<BALL/NMR/haighMallionShiftProcessor.h>
#include<BALL/NMR/EFShiftProcessor.h>
#include<BALL/NMR/anisotropyShi... |
<commit_before>#ifndef SMARTPOINTERS_HPP_
#define SMARTPOINTERS_HPP_
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include "Exception.hpp"
#define FAST_OBJECT(className) \
public: \
typedef SharedPointer<... |
<commit_before>#include <ctime>
#include <cstring>
#include <algorithm>
#include <locale>
#include <sstream>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <cmath>
#include <float.h> // DBL_MIN, DBL_MAX
#include <unistd.h> // link, unlink
#include <realm/util/file.hpp>
#include "timer.hpp"
#inclu... |
<commit_before><commit_msg>refactoring jitcompiler<commit_after><|endoftext|> |
<commit_before><commit_msg>Remove unused exception classes<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2019 ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your op... |
<commit_before>/*
* DrawingFunctions.hpp
*
* Created on: Apr 5, 2013
* Author: link
*/
#ifndef DRAWINGFUNCTIONS_HPP_
#define DRAWINGFUNCTIONS_HPP_
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <list>
#include <vector>
void drawDeadZoneHorizon(cv::Mat image, const int &h... |
<commit_before>/*
* Copyright 2012 The LibYuv 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... |
<commit_before>//=======================================================================
// Copyright (c) 2014 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//========================================================... |
<commit_before>#pragma once
#include <memory>
#include <mutex>
#include <tuple>
#include "balancer.hpp"
#include "connection.hpp"
#include "log.hpp"
#include "pool.hpp"
#include "result.hpp"
#include "request/info.hpp"
#include "settings.hpp"
namespace elasticsearch {
class http_transport_t {
public:
typedef bl... |
<commit_before>
#include <algorithm>
#include <cassert>
#include "C3_TypeTraits.hh"
// Assign source to destination, optimized on argument types.
template< class Destination, class Source >
inline Destination& C3::assign( Destination& dest, const Source& src )
{
static_assert( C3::IsAssignable< Destination, Sour... |
<commit_before>#include "grammar.hpp"
#include <CppUnitTest.h>
#include <algorithm>
#include <utility>
#include <string>
#include <vector>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
using namespace std;
namespace Microsoft { namespace VisualStudio { namespace CppUnitTestFramework
{
using names... |
<commit_before>#pragma once
#include <string>
#include <functional>
#include <memory>
#include <mutex>
#include <set>
#include <tuple>
#include "balancer.hpp"
#include "connection.hpp"
#include "log.hpp"
#include "pool.hpp"
#include "resolver.hpp"
#include "result.hpp"
#include "request/info.hpp"
#include "settings.... |
<commit_before><commit_msg>Compiles fixes for VS.6.0<commit_after><|endoftext|> |
<commit_before>#ifndef APOLLO_CLASS_HPP_INCLUDED
#define APOLLO_CLASS_HPP_INCLUDED APOLLO_CLASS_HPP_INCLUDED
#include "converters.hpp"
#include "smart_ptr.hpp"
#include "detail/instance_holder.hpp"
#include "detail/class_info.hpp"
#include "detail/light_key.hpp"
#include <apollo/gc.hpp> // For push_bare_udata().
#incl... |
<commit_before>// Copyright 2013 Mirus Project
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed... |
<commit_before>// Copyright 2020 Global Phasing Ltd.
//
// Generating biological assemblies by applying operations
// from struct Assembly to a Model.
// Includes chain (re)naming utilities.
#ifndef GEMMI_ASSEMBLY_HPP_
#define GEMMI_ASSEMBLY_HPP_
#include <ostream> // std::ostream
#include "model.hpp"
#include "... |
<commit_before>//=======================================================================
// Copyright Baptiste Wicht 2015.
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
... |
<commit_before>#ifndef UUID_E2494444_AF31_11E6_9A65_0800274CD854
#define UUID_E2494444_AF31_11E6_9A65_0800274CD854
#include <array>
namespace dicek
{
namespace math
{
template<unsigned long _DIM, typename _real>
class vector {
public:
static const unsigned long DIM = _DIM;
... |
<commit_before>#include "ruby.h"
#include "grammar.hpp"
#include "symbols.hpp"
#ifdef __cplusplus
extern "C" {
#endif
VALUE melbourne_string_to_ast(VALUE self, VALUE source, VALUE name, VALUE line) {
StringValue(source);
StringValue(name);
bstring b_str = blk2bstr(RSTRING_PTR(source), RSTRING_LEN(source));
VA... |
<commit_before>/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <guido.tack@monash.edu>
*/
/* 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) 2014-2015 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before>// Copyright 2022 Global Phasing Ltd.
//
// Binning - resolution shells for reflections.
#ifndef GEMMI_BINNER_HPP_
#define GEMMI_BINNER_HPP_
#include <vector>
#include <limits> // for numeric_limits
#include "unitcell.hpp" // for UnitCell
namespace gemmi {
struct Binner {
enum class Method ... |
<commit_before>///
/// @file mpi_reduce_sum.hpp
/// @brief MPI utility functions and classes.
///
/// Copyright (C) 2016 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level directory.
///
#ifndef MPI_REDUCE_SUM_HPP
#define MPI_REDUCE... |
<commit_before>#ifndef __JCONER_VALUE_HPP__
#define __JCONER_VALUE_HPP__
#include <string>
#include <map>
#include <vector>
#include "jconer/logging.hpp"
#define NULL_VALUE 0
namespace JCONER {
typedef int NULL_TYPE;
enum ValueType {
VT_OBJECT = 0,
VT_ARRAY,
VT_INTEGER,
VT_STRING,
VT_REAL,
... |
<commit_before>#ifndef TMXPP_IMPL_XML_HPP
#define TMXPP_IMPL_XML_HPP
#include <optional>
#include <ostream>
#include <string>
#include <string_view>
#include <utility>
#include <gsl/gsl>
#include <gsl/gsl_assert>
#include <gsl/string_span>
#include <range/v3/view/filter.hpp>
#include <range/v3/view/indirect.hpp>
#incl... |
<commit_before>#pragma once
/**
@file
@brief operator class
@author MITSUNARI Shigeo(@herumi)
@license modified new BSD license
http://opensource.org/licenses/BSD-3-Clause
*/
#include <mcl/op.hpp>
#include <mcl/util.hpp>
#include <mcl/array_iterator.hpp>
#ifdef _MSC_VER
#ifndef MCL_FORCE_INLINE
#define MCL_FORC... |
<commit_before>/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <guido.tack@monash.edu>
*/
/* 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>/***************************************************************************
* benchmark_disks.cpp
*
* Sat Aug 24 23:52:15 2002
* Copyright 2002 Roman Dementiev
* dementiev@mpi-sb.mpg.de
****************************************************************************/
#include "stxxl/... |
<commit_before>#ifndef ROOT_TFPBlock
#include "TFPBlock.h"
#endif
#include <cstdlib>
#include <malloc.h>
ClassImp(TFPBlock)
//__________________________________________________________________
//constructor
TFPBlock::TFPBlock(Long64_t* offset, Int_t* length, Int_t nb)
{
Int_t aux = 0;
fNblock = nb;
fPos =... |
<commit_before>/******************************************************************************
nomlib - C++11 cross-platform game engine
Copyright (c) 2013, Jeffrey Carpenter <jeffrey.carp@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted... |
<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) 2011, Michael P. Gerlek (mpg@flaxen.com)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions a... |
<commit_before>/*
* superviseddescent: A C++11 implementation of the supervised descent
* optimisation method
* File: rcr/landmark.hpp
*
* Copyright 2015 Patrik Huber
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
<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>/*=========================================================================
Program: Visualization Toolkit
Module: vtkMaskPoints.hh
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-1995 Ken Martin, Will Schroeder, Bill Lorensen.
This software is copyrighted by ... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2012-2015 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>/*
Copyright 2015 Adam Grandquist
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.