text
stringlengths
54
60.6k
<commit_before>#include <QtGui> #include <QtNetwork> #include "account-mgr.h" #include "seafile-applet.h" #include "api/requests.h" #include "login-dialog.h" namespace { const QString kDefaultServerAddr1 = "https://seacloud.cc"; const QString kDefaultServerAddr2 = "https://cloud.seafile.com"; } // namespace LoginD...
<commit_before>#include <QtGlobal> #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) #include <QtWidgets> #else #include <QtGui> #endif #include <QtNetwork> #include <QInputDialog> #include <QStringList> #include <QSettings> #include "settings-mgr.h" #include "account-mgr.h" #include "seafile-applet.h" #include "api/api-...
<commit_before>//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (C) 2008-2017 Ryo Suzuki // Copyright (C) 2016-2017 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/Platform.hpp> ...
<commit_before>/* * DeliverMissionObjectiveImplementation.cpp * * Created on: 20/08/2010 * Author: dannuic */ #include "DeliverMissionObjective.h" #include "server/zone/objects/area/MissionSpawnActiveArea.h" #include "server/zone/objects/waypoint/WaypointObject.h" #include "server/zone/objects/creature/AiA...
<commit_before>// // Created by marc on 15-11-16. // #include <iostream> #include "PartitionSafe.h" int main() { std::cout << "PartitionSafe :: Test script" << std::endl; try { // // Create vault // // Vault metadata const char *vaultPath = "/tmp/marc.vault"; ...
<commit_before><commit_msg>Working on bug fix<commit_after><|endoftext|>
<commit_before>/* * Copyright 2007-2017 Content Management AG * All rights reserved. * * author: Max Kellermann <[email protected]> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source...
<commit_before>// Copyright 2019 The MediaPipe Authors. // // 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) 2006, 2008, 2009, 2010 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 * ...
<commit_before>#include<iostream> #include<hc.hpp> #include<eap_resources.hpp> #include<lua_cmds.hpp> #include<boost/format.hpp> #include<boost/filesystem.hpp> namespace { const std::string c_iterations = "iterations"; const std::string c_convergence_factor = "convergence_factor"; } hc::hc(std::...
<commit_before>/** * Copyright (c) 2016-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. ...
<commit_before>#include "objmaterial.h" #include "objmaterial_ispc.h" #include "../../common/data.h" namespace ospray { namespace obj { //extern "C" void ispc_OBJMaterial_create(void *cppE); // extern "C" void ispc_OBJMaterial_set( //! \brief commit the material's parameters void OBJMaterial::co...
<commit_before>/************************************************************************* * * $RCSfile: ZipFile.cxx,v $ * * $Revision: 1.21 $ * * last change: $Author: mtg $ $Date: 2001-04-30 18:19:09 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>#include "gb-include.h" #include "ip.h" long atoip ( char *s , long slen ) { // point to it char *p = s; if ( s[slen] ) { // copy into buffer and NULL terminate char buf[1024]; if ( slen >= 1024 ) slen = 1023; memcpy ( buf , s , slen ); buf [ slen ] = '\0'; // point to that p = buf; }...
<commit_before>#include "itkImageFileReader.h" #include "itkImageFileWriter.h" #include "itkImage.h" int main( int argc, char ** argv ) { if( argc < 3 ) { std::cerr << "Usage: " << std::endl; std::cerr << argv[0] << " inputImageFile outputImageFile " << std::endl; return EXIT_FAILURE; } typ...
<commit_before>#include "net/http_client.h" #ifndef _WIN32 #include <arpa/inet.h> #include <sys/socket.h> #include <unistd.h> #define closesocket close #else #include <winsock2.h> #include <ws2tcpip.h> #include <io.h> #endif #include <stdio.h> #include <stdlib.h> #include "base/logging.h" #include "base/buffer.h" #i...
<commit_before>#include "core/wordwrap.h" namespace euphoria::core { std::vector<std::string> word_wrap ( const std::string& str, std::function<bool (const std::string&)> measure ) { using I = std::string::size_type; if(measure(str)) { return {str}; } auto ...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>/** * @file Simulation.cpp * @author <a href="mailto:[email protected]">Benjamin Schlotter</a> * Implementation of class Simulation */ #include "Simulation.h" using namespace naoth; using namespace std; Simulation::Simulation() { DEBUG_REQUEST_REGISTER("Simulation:draw_one_action_poin...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All right...
<commit_before>#include <binary_search_tree.hpp> #include <catch.hpp> SCENARIO("default constructor") { BinarySearchTree<int> bst; REQUIRE(bst.root() == nullptr); REQUIRE(bst.count() == 0); } SCENARIO("insertElement") { BinarySearchTree<int> bst; bst.insertElement(7); bool n=bst.isFound(7); REQUIRE(n=1); REQ...
<commit_before>#pragma once namespace snap { #include <scomplex/simplicial_complex.h> #include <Eigen/Sparse> #include <scomplex/graph_utils.hpp> #include <scomplex/nn_utils.hpp> #include <scomplex/types.hpp> typedef Eigen::SparseVector<double> vector_t; class path_snapper { private: struct impl; std::sh...
<commit_before>#include <cstdlib> #include <iostream> #include <boost/lambda/lambda.hpp> #include <boost/mem_fn.hpp> #include <libport/compiler.hh> // For ECHO #include <libport/containers.hh> #include <libport/foreach.hh> #include <scheduler/job.hh> namespace scheduler { extern unsigned int Job::alive_jobs_;...
<commit_before>/* Copyright (c) 2010-2019, Mathieu Labbe - IntRoLab - Universite de Sherbrooke 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 c...
<commit_before>/* Copyright (c) 2016, Dennis Wölfing * * 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. * * THE SOFTWARE IS PROVIDED "AS IS" AND TH...
<commit_before>#include <llvm/IR/IRBuilder.h> #include <llvm/IR/LLVMContext.h> #include <llvm/IR/Module.h> #include <llvm/IR/Verifier.h> #include <vector> #include <string> struct LLVMCodeGen { using IRBuilder = llvm::IRBuilder<>; llvm::LLVMContext &Context; llvm::Module &M; IRBuilder &Builder; LLVMCodeGen(...
<commit_before>/*************************************************************************** FilterPAB.cxx - description ------------------- begin : Fri Jun 30 2000 copyright : (C) 2000 by Hans Dijkema email : k...
<commit_before>/******************************************************************** * * Software License Agreement (BSD License) * * Copyright (c) 2012, Max-Planck-Gesellschaft * Copyright (c) 2012-2015, Inria * All rights reserved. * * Redistribution and use in source and binary forms, with or without * mod...
<commit_before>/* knrangefilter.cpp KNode, the KDE newsreader Copyright (c) 1999-2001 the KNode authors. See file AUTHORS for details 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 ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>// ------------------------------------------------------------------------ // eca-audio-time.cpp: Generic class for representing time in audio // environment. // Copyright (C) 2000 Kai Vehmanen ([email protected]) // // This program is free software; you can redistribute it and/or mo...
<commit_before>/****************************************************************************** * Copyright 2017 The Apollo 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 ...
<commit_before>#include "HeatExchangeCoefficientPartitioning.h" template<> InputParameters validParams<HeatExchangeCoefficientPartitioning>() { InputParameters params = validParams<GeneralUserObject>(); params.addParam<Real>("k", 5, "Steepness of the exponential function"); params.addParam<Real>("lower", 0.001, ...
<commit_before>/* This file is part of libkdepim. Copyright (c) 2004 Bram Schoenmakers <[email protected]> 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 Free Software Foundation; either version 2 ...
<commit_before>/* * Copyright (C) 2013 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, * mod...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/nvdimm...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // // This file is part of Swift2D. // // ...
<commit_before>#include <bts/chain/operations.hpp> namespace bts { namespace chain { /** * Valid symbols have between 3 and 17 upper case characters * with at most a single "." that is not the first or last character. */ bool is_valid_symbol( const string& symbol ) { if( symbol.size() > 17 ) return false; ...
<commit_before>#include <osg/Group> #include <osgDB/FileUtils> #include <osgDB/FileNameUtils> #include <osgDB/ReadFile> #include <osgDB/Registry> #include <sstream> #include "ZipArchive.h" class ReaderWriterZIP : public osgDB::ReaderWriter { public: ReaderWriterZIP() { supportsExtensi...
<commit_before>//===-- SocketSyncClient.cpp - Socket Syncing for GameModel -------- c++ --===// // // UWH Timer // // This file is distributed under the BSD 3-Clause License. // See LICENSE.TXT for details. // //===--------------------------------------------...
<commit_before>//===-- SocketSyncClient.cpp - Socket Syncing for GameModel -------- c++ --===// // // UWH Timer // // This file is distributed under the BSD 3-Clause License. // See LICENSE.TXT for details. // //===--------------------------------------------...
<commit_before>#include "pd_view.h" #include "pd_view.h" #include "pd_backend.h" #include <stdlib.h> #include <stdarg.h> #include <stdio.h> #include <ctype.h> #include <string.h> #include <vector> #if defined(_WIN32) #define strcasecmp _stricmp #define strncasecmp _strnicmp #endif #ifdef __clang__ #pragma clang diagn...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Qt Software Information ([email protected]) ** ** Commercial Usage ** ** Licensees holding valid Qt Com...
<commit_before>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009, 2010 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it ...
<commit_before>/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkFrontBufferedStream.h" #include "SkStream.h" #include "SkTemplates.h" class FrontBufferedStream : public SkStreamRewindable { public: // Called...
<commit_before>#pragma once #include <vector> #include <gtest/gtest.h> #include "../../../../include/cpp/gtest-array.hxx" #include "twosum.hxx" using std::vector; namespace { class AddTwoNumbersTest : public testing::Test { protected: AddTwoNumbersTest(void) {} virtual ~AddTwoNumbersTest(void) {} ...
<commit_before>//===- IndexBody.cpp - Indexing statements --------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright 2016 Peter Georg // // 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...
<commit_before>#include "providers/twitch/TwitchHelpers.hpp" #include "debug/Log.hpp" namespace chatterino { bool trimChannelName(const QString &channelName, QString &outChannelName) { if (channelName.length() < 3) { log("channel name length below 3"); return false; } outChannelName = cha...
<commit_before>#include "bitmapimage.h" BitmapImage::BitmapImage() { m_Image = NULL; qDebug() << "Image drawn!" << endl; } BitmapImage::BitmapImage(const BitmapImage &image) { m_pixmap = image.m_pixmap; boundaries = image.boundaries; m_Color = image.m_Color; } BitmapImage::BitmapImage(Object *par...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkIconGlyphFilter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>/* * Copyright (C) 2016 Airbus Defence and Space * * 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>//===--- ParseType.cpp - Swift Language Parser for Types ------------------===// // // 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...
<commit_before>#ifndef STAN_MATH_PRIM_FUNCTOR_FOR_EACH_HPP #define STAN_MATH_PRIM_FUNCTOR_FOR_EACH_HPP #include <stan/math/prim/meta.hpp> #include <functional> #include <tuple> #include <utility> namespace stan { namespace math { namespace internal { /** * Implementation of for_each. * @note The static cast to voi...
<commit_before>/* * 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 3 of the License, or * (at your option) any later version. * * Written (W) 2011 Sergey Lisitsyn * Copyrigh...
<commit_before> // Copyright (c) 2012, 2013 Pierre MOULON. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include "software/SfMViewer/document.h" #include "openMV...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: Language: C++ Date: Version: Copyright (c) 2000 National Library of Medicine All rights reserved. See COPYRIGHT.txt for copyright details. =====...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: itkSmartPointerTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2000 National Library of Medicine All rights reserv...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: thesdsp.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: obo $ $Date: 2006-09-17 03:56:17 $ * * The Contents of this file are made...
<commit_before>/** \file Microscope task. Acquire stacks for each marked tile in a plane. \author Nathan Clack <[email protected]> \copyright Copyright 2010 Howard Hughes Medical Institute. All rights reserved. Use is subject to Janelia Farm Research Campus Software Copyright 1.1 license terms ...
<commit_before>/* * Copyright 2016 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
<commit_before>#ifndef STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_BINOMIAL_COEFFICIENT_LOG_HPP #define STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_BINOMIAL_COEFFICIENT_LOG_HPP #ifdef STAN_OPENCL #include <stan/math/opencl/stringify.hpp> #include <string> namespace stan { namespace math { namespace opencl_kernels { // \...
<commit_before>/** * @file * @copyright defined in eos/LICENSE.txt */ #include <eos/chain_api_plugin/chain_api_plugin.hpp> #include <eos/chain/exceptions.hpp> #include <fc/io/json.hpp> namespace eos { using namespace eos; class chain_api_plugin_impl { public: chain_api_plugin_impl(chain_controller& db) ...
<commit_before>/* Copyright (c) 2016 Barrett Adair Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) HEADER GUARDS INTENTIONALLY OMITTED DO NOT INCLUDE THIS HEADER DIRECTLY BOOST_CLBL_TRTS_INCLUDE_QUALIFIERS - the function-level ...
<commit_before>/* @Copyright Barrett Adair 2015-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_CLBL_TRTS_REMOVE_MEMBER_VOLATILE_HPP #define BOOST_CLBL_TRTS_REMOVE_MEMBER_VOLATILE_HPP #include <boost/call...
<commit_before>// Python module for playing audio // part of MusicPlayer, https://github.com/albertz/music-player // Copyright (c) 2012, Albert Zeyer, www.az2000.de // All rights reserved. // This code is under the 2-clause BSD license, see License.txt in the root directory of this project. // compile: // gcc -c music...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <[email protected]> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in s...
<commit_before>/*************************************************************************** * Copyright (C) 2008 by Daniel Schwen * * [email protected] * * * * This program is free software; you can redistribute it and/or modify * * ...
<commit_before>/*************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Qt Software Information ([email protected]) ** ** ** Non-Open Source Usage ** ** Licensees may us...
<commit_before>#include <okui/applications/Native.h> #include <okui/applications/SDL.h> #include <okui/StateMachine.h> class Application : public okui::applications::Native<okui::applications::SDL> { public: virtual std::string name() const override { return "StateMachine Example"; } virtual std::string organi...
<commit_before>/* Generic Console Output Support Copyright (C) 1998-2001 by Jorrit Tyberghein Copyright (c) 2004-2005 by Frank Richter 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 Free Softw...
<commit_before>// // Copyright (c) 2017 Kimball Thurston // All rights reserved. // Copyrights licensed under the MIT License. // See the accompanying LICENSE.txt file for terms // #if defined(HAVE_PYTHON2) || defined(HAVE_PYTHON3) # define HAVE_PYTHON 1 #endif #ifdef HAVE_PYTHON #pragma GCC diagnostic ignored "-Wres...
<commit_before>#include "ui/socket_item.h" #include <QApplication> #include <QCursor> #include <QDebug> #include <QDrag> #include <QGraphicsSceneMouseEvent> #include <QGraphicsWidget> #include <QMimeData> #include <QWidget> #include "elements/package.h" #include "ui/colors.h" #include "ui/link_item.h" #include "ui/pa...
<commit_before>#ifdef NG_PYTHON #include <boost/python.hpp> #include <boost/python/slice.hpp> #include <mystdlib.h> #include "meshing.hpp" using namespace netgen; namespace bp = boost::python; ////////////////////////////////////////////////////////////////////// // Lambda to function pointer conversion template ...
<commit_before>/* * Copyright (c) 2011-2013 MLBA-Team. All rights reserved. * * @MLBA_OPEN_LICENSE_HEADER_START@ * * 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.ap...
<commit_before>// Copyright (c) 2003 Daniel Wallin and Arvid Norberg // 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...
<commit_before>#include "WatchdogProcessView.h" #include "ui_WatchdogProcessView.h" WatchdogProcessView::WatchdogProcessView(QWidget *parent) : QWidget(parent), m_ui(new Ui::WatchdogProcessView) { m_ui->setupUi(this); } WatchdogProcessView::~WatchdogProcessView() { delete m_ui; } void WatchdogProcess...
<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 "chrome/browser/extensions/browser_extension_window_controller.h" #include "chrome/browser/extensions/api/tabs/tabs_constants...
<commit_before>#ifdef NL_DATA_CONTAINER_H_ #include "NL_DataContainer.h" namespace NLE { namespace Core { template<typename T> DataContainer<T>::DataContainer() : _sysId(-1), _dataPool(), _data(_dataPool), _updateQueue(), _distributor(nullptr) { } template<typename T> DataContainer<T>::~...
<commit_before>#include "unit_tests/suite/lumix_unit_tests.h" #include "engine/log.h" #ifdef _WIN32 #include "engine/win/simple_win.h" #endif #include <cstdio> namespace Lumix { namespace UnitTest { void outputToVS(const char* system, const char* message) { char tmp[2048]; copyString(tmp, system); ca...
<commit_before>#include "NL_ImguiEditorUiManager.h" #include "NL_ThreadLocal.h" #include "NL_EngineServices.h" #include "NL_SharedData.h" #include "NL_SystemServices.h" #include "NL_InputEvents.h" #include "NL_ImguiInputMap.h" #include <assert.h> #include <string> #include <iostream> #include <algorithm> namespace NL...
<commit_before>/** * The MIT License (MIT) * * Copyright (c) 2013-2018 Igor Zinken - http://www.igorski.nl * * 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, includ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // Name: vimacros.cpp // Purpose: Implementation of class wxExViMacros // Author: Anton van Wezenbeek // Copyright: (c) 2012 Anton van Wezenbeek /////////////////////////////////////////////////////////////////////...
<commit_before>/** Copyright (C) 2016, 2017 European Spallation Source ERIC */ #include <common/Producer.h> #include <cstring> #include <dlfcn.h> #include <librdkafka/rdkafkacpp.h> #include <test/TestBase.h> #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" int fail = -1; // Dont fail // Creat...
<commit_before>/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2015-2017. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the ro...
<commit_before>// Copyright 2019 DeepMind Technologies Ltd. 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 // //...
<commit_before>/* * Copyright 2015 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng ([email protected]) * * This file is part of FlashMatrix. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
<commit_before>#pragma once #include <memory> #include <iostream> #include "error.hpp" #include <boost/serialization/access.hpp> #include <boost/serialization/vector.hpp> // clangでshared_ptrが定義されない問題への一時的な対処 #include <boost/serialization/singleton.hpp> #include <boost/serialization/extended_type_info.hpp> #undef BOOST...
<commit_before>#include "../stdafx.h" #include "list_view.h" namespace uih { void ListView::destroy_header() { if (m_wnd_header) { DestroyWindow(m_wnd_header); m_wnd_header = nullptr; m_header_font.reset(); } } void ListView::create_header() { // if (m_show_header) { i...
<commit_before>#ifndef TEST_HELPER_H_ #define TEST_HELPER_H_ #include <internal/iterbase.hpp> #include <sstream> #include <stdexcept> #include <type_traits> #include <utility> #include <vector> namespace itertest { // non-copyable. non-movable. non-default-constructible class SolidInt { private: const in...
<commit_before>/** * @copyright Copyright 2016 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required b...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-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. Redistr...
<commit_before>// // Exponent.cpp // Calculator // // Created by Gavin Scheele on 3/27/14. // Copyright (c) 2014 Gavin Scheele. All rights reserved. // #include "Exponential.h" Exponential::Exponential(Expression* base, Rational* exponent){ this->type = "exponential"; this->base = base; this->exponen...
<commit_before>/************************************************************************* * * $RCSfile: fprogressbar.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2003-05-21 08:02:21 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>#ifndef _LIBYAML_HPP_ #define _LIBYAML_HPP_ #include <yaml.h> #include <c4/yml/yml.hpp> #include <stdexcept> //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- //-------------------------------...
<commit_before>/* * mf_test.cpp * * Created on: Aug 7, 2011 * Author: gmueller */ #include "gadget/MagneticField.hpp" #include "gadget/SmoothParticle.hpp" #include <memory> #include <limits> #include <stdexcept> class AbstractTest { protected: std::vector<SmoothParticle> particles; std::auto_ptr<DirectM...
<commit_before>// Copyright 2015 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 "mandoline/tab/web_view_impl.h" #include "components/view_manager/public/cpp/view.h" #include "components/view_manager/public/cpp...
<commit_before>/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #include <boost/lexical_cast.hpp> #include <boost/algorithm/string.hpp> #include "core/posix.hh" #include "core/vla.hh" #include "core/reactor.hh" #include "core/future-util.hh" #include "core/stream.hh" #include "core/circular_buffer.hh" #include "cor...
<commit_before>/*-------------netlist_gen.cpp------------------------------------------------// * * netlist generator * * Purpose: The BIAS project intends to re-implement the TrueNorth architechture * in analog electronics. For this purpose, we will need to create a * simple script that...