From 499ca6c4ad9f3e3741455aaae34bfd9c4ac46115 Mon Sep 17 00:00:00 2001 From: Sylvain Chapeland Date: Fri, 23 Jul 2021 12:14:15 +0200 Subject: [PATCH] updated o2 copyright --- include/Common/BasicThread.h | 12 ++++++++++++ include/Common/Configuration.h | 12 ++++++++++++ include/Common/Daemon.h | 12 ++++++++++++ include/Common/Exception.h | 12 ++++++++++++ include/Common/Exceptions.h | 12 ++++++++++++ include/Common/Fifo.h | 12 ++++++++++++ include/Common/GuardFunction.h | 13 ++++++++++++- include/Common/Iommu.h | 12 ++++++++++++ include/Common/LineBuffer.h | 12 ++++++++++++ include/Common/MemPool.h | 12 ++++++++++++ include/Common/Program.h | 12 ++++++++++++ include/Common/SimpleLog.h | 12 ++++++++++++ include/Common/SuffixNumber.h | 12 ++++++++++++ include/Common/SuffixOption.h | 12 ++++++++++++ include/Common/System.h | 12 ++++++++++++ include/Common/Thread.h | 12 ++++++++++++ include/Common/Timer.h | 12 ++++++++++++ include/Common/signalUtilities.h | 12 ++++++++++++ src/Configuration.cxx | 12 ++++++++++++ src/Daemon.cxx | 12 ++++++++++++ src/Exception.cxx | 12 ++++++++++++ src/Iommu.cxx | 12 ++++++++++++ src/LineBuffer.cxx | 12 ++++++++++++ src/MemPool.cxx | 12 ++++++++++++ src/Program.cxx | 12 ++++++++++++ src/SimpleLog.cxx | 12 ++++++++++++ src/SuffixNumber.cxx | 12 ++++++++++++ src/System.cxx | 12 ++++++++++++ src/Thread.cxx | 12 ++++++++++++ src/Timer.cxx | 12 ++++++++++++ test/TestBasicThread.cxx | 12 ++++++++++++ test/TestIommu.cxx | 12 ++++++++++++ test/TestSuffixNumber.cxx | 12 ++++++++++++ test/TestSuffixOption.cxx | 12 ++++++++++++ test/TestSystem.cxx | 12 ++++++++++++ test/testDaemon.cxx | 12 ++++++++++++ test/testFifo.cxx | 12 ++++++++++++ test/testSimpleLog.cxx | 12 ++++++++++++ test/testTimer.cxx | 12 ++++++++++++ 39 files changed, 468 insertions(+), 1 deletion(-) diff --git a/include/Common/BasicThread.h b/include/Common/BasicThread.h index 4e75971..9bcda4c 100644 --- a/include/Common/BasicThread.h +++ b/include/Common/BasicThread.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file BasicThread.h /// \brief Definition of BasicThread class /// @@ -69,3 +80,4 @@ class BasicThread } // namespace AliceO2 #endif // ALICEO2_FLPPROTOTYPE_COMMON_BASICTHREAD_H_ + diff --git a/include/Common/Configuration.h b/include/Common/Configuration.h index 82e57a3..961a7a2 100644 --- a/include/Common/Configuration.h +++ b/include/Common/Configuration.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Configuration.h /// \brief C++ interface to retrieve configuration parameters. /// @@ -174,3 +185,4 @@ class ConfigFileBrowser::Iterator }; #endif /* SRC_CONFIGURATION_H_ */ + diff --git a/include/Common/Daemon.h b/include/Common/Daemon.h index 1b8592a..b458624 100644 --- a/include/Common/Daemon.h +++ b/include/Common/Daemon.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Daemon.h /// \brief Helper class to create/run a daemon /// @@ -95,3 +106,4 @@ possibly load config from given name or from config object (all keys like daemon.userName, daemon.isInteractive, etc) */ + diff --git a/include/Common/Exception.h b/include/Common/Exception.h index d3450a8..81355ef 100644 --- a/include/Common/Exception.h +++ b/include/Common/Exception.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Exception.h /// \author Pascal Boeschoten /// @@ -36,3 +47,4 @@ struct ProgramOptionException : virtual Exception { } // namespace AliceO2 #endif //COMMON_EXCEPTION_H + diff --git a/include/Common/Exceptions.h b/include/Common/Exceptions.h index e1a70e7..fdeca69 100644 --- a/include/Common/Exceptions.h +++ b/include/Common/Exceptions.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Exceptions.h /// \author Barthelemy von Haller /// @@ -55,3 +66,4 @@ struct FatalDatabaseException : virtual FatalException { } // namespace AliceO2 #endif //COMMON_EXCEPTIONS_H + diff --git a/include/Common/Fifo.h b/include/Common/Fifo.h index 38d7722..f97e3a0 100644 --- a/include/Common/Fifo.h +++ b/include/Common/Fifo.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// /// \file Fifo.h /// \brief Class to implement a lock-free 1-to-1 FIFO @@ -236,3 +247,4 @@ unsigned long long Fifo::getNumberOut() } // namespace AliceO2 #endif // COMMON_FIFO_H + diff --git a/include/Common/GuardFunction.h b/include/Common/GuardFunction.h index 2e1d155..67f8f79 100644 --- a/include/Common/GuardFunction.h +++ b/include/Common/GuardFunction.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file GuardFunction.h /// \brief Definition of various useful utilities that don't really belong anywhere in particular /// @@ -35,4 +46,4 @@ class GuardFunction } // namespace Common } // namespace AliceO2 -#endif // ALICEO2_FLPPROTOTYPE_COMMON_GUARDFUNCTION_H_ \ No newline at end of file +#endif // ALICEO2_FLPPROTOTYPE_COMMON_GUARDFUNCTION_H_ diff --git a/include/Common/Iommu.h b/include/Common/Iommu.h index 9fec6b7..3777448 100644 --- a/include/Common/Iommu.h +++ b/include/Common/Iommu.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Iommu.h /// \brief Definition of functions related to the IOMMU /// @@ -21,3 +32,4 @@ bool isEnabled(); } // namespace AliceO2 #endif // ALICEO2_FLPPROTOTYPE_COMMON_IOMMU_H_ + diff --git a/include/Common/LineBuffer.h b/include/Common/LineBuffer.h index 599198d..2b057ec 100644 --- a/include/Common/LineBuffer.h +++ b/include/Common/LineBuffer.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// /// \file LineBuffer.h /// \brief Class to implement a buffer to read from file descriptor and get out data in lines. @@ -33,3 +44,4 @@ class LineBuffer std::queue completeLines; std::string pendingLine; }; + diff --git a/include/Common/MemPool.h b/include/Common/MemPool.h index 1b65ee7..0565e1b 100644 --- a/include/Common/MemPool.h +++ b/include/Common/MemPool.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #ifndef DATAFORMAT_MEMPOOL #define DATAFORMAT_MEMPOOL @@ -31,3 +42,4 @@ class MemPool }; #endif + diff --git a/include/Common/Program.h b/include/Common/Program.h index 113a436..32d7e7d 100644 --- a/include/Common/Program.h +++ b/include/Common/Program.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Program.h /// \brief Definition of the Program class. /// @@ -78,3 +89,4 @@ class Program } // namespace AliceO2 #endif // PROGRAM + diff --git a/include/Common/SimpleLog.h b/include/Common/SimpleLog.h index 7b7572d..0178f1c 100644 --- a/include/Common/SimpleLog.h +++ b/include/Common/SimpleLog.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file SimpleLog.h /// \brief C++ interface implementing a simple logging format to a file /// @@ -69,3 +80,4 @@ class SimpleLog }; #endif /* SRC_SIMPLE_LOG_H */ + diff --git a/include/Common/SuffixNumber.h b/include/Common/SuffixNumber.h index 31bb0ab..75d8b6f 100644 --- a/include/Common/SuffixNumber.h +++ b/include/Common/SuffixNumber.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file SuffixNumber.h /// \brief Definition of the SuffixOption class. /// @@ -120,3 +131,4 @@ std::ostream& operator<<(std::ostream& stream, const SuffixNumber& suffixNumb } // namespace AliceO2 #endif // ALICEO2_FLPPROTOTYPE_COMMON_SUFFIXNUMBER_H_ + diff --git a/include/Common/SuffixOption.h b/include/Common/SuffixOption.h index 92fbf1c..3c42d0f 100644 --- a/include/Common/SuffixOption.h +++ b/include/Common/SuffixOption.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file SuffixOption.h /// \brief Definition of the SuffixOption class. /// @@ -138,3 +149,4 @@ class SuffixOption final : public boost::program_options::value_semantic } // namespace AliceO2 #endif // ALICEO2_FLPPROTOTYPE_COMMON_SUFFIXOPTION_H_ + diff --git a/include/Common/System.h b/include/Common/System.h index 167383c..c2d34de 100644 --- a/include/Common/System.h +++ b/include/Common/System.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file System.h /// \brief Definition of various useful utilities that don't really belong anywhere in particular /// @@ -49,3 +60,4 @@ void assertFileSystemType(const std::string&, const std::set& valid } // namespace AliceO2 #endif // ALICEO2_FLPPROTOTYPE_COMMON_SYSTEM_H_ + diff --git a/include/Common/Thread.h b/include/Common/Thread.h index 67543d4..0a33e87 100644 --- a/include/Common/Thread.h +++ b/include/Common/Thread.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// /// \file Thread.h /// \author Sylvain Chapeland @@ -70,3 +81,4 @@ class Thread } // namespace AliceO2 #endif // COMMON_THREAD_H + diff --git a/include/Common/Timer.h b/include/Common/Timer.h index 098ebcc..8fe0a96 100644 --- a/include/Common/Timer.h +++ b/include/Common/Timer.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// /// \file Timer.h /// \brief Class to implement a high resolution timer function @@ -55,3 +66,4 @@ class Timer } // namespace AliceO2 #endif // COMMON_TIMER_H + diff --git a/include/Common/signalUtilities.h b/include/Common/signalUtilities.h index f4ed19f..e109991 100644 --- a/include/Common/signalUtilities.h +++ b/include/Common/signalUtilities.h @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// /// \file signalUtilities.h /// \author Barthelemy von Haller @@ -65,3 +76,4 @@ void handler_interruption(int sig) } #endif //COMMON_SIGNALUTILITIES_H + diff --git a/src/Configuration.cxx b/src/Configuration.cxx index befb8f6..c4a7440 100644 --- a/src/Configuration.cxx +++ b/src/Configuration.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Configuration.h /// \brief C++ interface to retrieve configuration parameters. /// @@ -212,3 +223,4 @@ ConfigFileBrowser::Iterator ConfigFileBrowser::end() { return Iterator(this, ptPtr->end(), ptPtr->end()); } + diff --git a/src/Daemon.cxx b/src/Daemon.cxx index 2d7f1d5..9e7e442 100644 --- a/src/Daemon.cxx +++ b/src/Daemon.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include #include @@ -267,3 +278,4 @@ Daemon::LoopStatus Daemon::doLoop() // todo // boost exceptions? + diff --git a/src/Exception.cxx b/src/Exception.cxx index e58f77c..a795bb7 100644 --- a/src/Exception.cxx +++ b/src/Exception.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Exception.cxx /// \brief Implementation of the RORC exceptions and related functions. /// @@ -27,3 +38,4 @@ const char* Exception::what() const noexcept } // namespace Common } // namespace AliceO2 + diff --git a/src/Iommu.cxx b/src/Iommu.cxx index 457160c..1d26926 100644 --- a/src/Iommu.cxx +++ b/src/Iommu.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Iommu.cxx /// \brief Implementation of functions related to the IOMMU /// @@ -22,3 +33,4 @@ bool isEnabled() } // namespace Iommu } // namespace Common } // namespace AliceO2 + diff --git a/src/LineBuffer.cxx b/src/LineBuffer.cxx index c372354..5cb17f3 100644 --- a/src/LineBuffer.cxx +++ b/src/LineBuffer.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// /// \file LineBuffer.cxx /// \brief Implementation of LineBuffer class. See LineBuffer.h. @@ -102,3 +113,4 @@ int LineBuffer::getNextLine(std::string& nextLine) } //void LineBuffer::appendString(const char *s) {} + diff --git a/src/MemPool.cxx b/src/MemPool.cxx index 268f046..1d9b4b8 100644 --- a/src/MemPool.cxx +++ b/src/MemPool.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include #include #include @@ -109,3 +120,4 @@ int MemPool::getPageSize() { return pageSize; } + diff --git a/src/Program.cxx b/src/Program.cxx index 559064f..c55bc89 100644 --- a/src/Program.cxx +++ b/src/Program.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file Program.cxx /// \brief Implementation of the Program class. /// @@ -130,3 +141,4 @@ int Program::execute(int argc, char** argv) } // namespace Common } // namespace AliceO2 + diff --git a/src/SimpleLog.cxx b/src/SimpleLog.cxx index 422f791..1ed1507 100644 --- a/src/SimpleLog.cxx +++ b/src/SimpleLog.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include #include @@ -390,3 +401,4 @@ void SimpleLog::Impl::rotate() } /// \todo: thread to flush output every 1 second + diff --git a/src/SuffixNumber.cxx b/src/SuffixNumber.cxx index ace2523..2140245 100644 --- a/src/SuffixNumber.cxx +++ b/src/SuffixNumber.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file SuffixNumber.cxx /// \brief Implementation of the SuffixNumber class. /// @@ -39,3 +50,4 @@ const std::vector>& get() } // namespace _SuffixNumberTable } // namespace Common } // namespace AliceO2 + diff --git a/src/System.cxx b/src/System.cxx index 6bd7115..94fd71c 100644 --- a/src/System.cxx +++ b/src/System.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// \file System.cxx /// \brief Implementation of various useful utilities that don't really belong anywhere in particular /// @@ -132,3 +143,4 @@ void assertFileSystemType(const std::string& path, const std::set& } // namespace System } // namespace Common } // namespace AliceO2 + diff --git a/src/Thread.cxx b/src/Thread.cxx index 34c811b..f1e1e54 100644 --- a/src/Thread.cxx +++ b/src/Thread.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include #include #include @@ -93,3 +104,4 @@ std::string Thread::getName() { return name; } + diff --git a/src/Timer.cxx b/src/Timer.cxx index 92ba90c..a75ee9b 100644 --- a/src/Timer.cxx +++ b/src/Timer.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + /// /// @file Timer.cxx /// @author Sylvain Chapeland @@ -53,3 +64,4 @@ double Timer::getRemainingTime() } // namespace Common } // namespace AliceO2 + diff --git a/test/TestBasicThread.cxx b/test/TestBasicThread.cxx index 25886ab..1e71e98 100644 --- a/test/TestBasicThread.cxx +++ b/test/TestBasicThread.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include "Common/BasicThread.h" #include #include @@ -21,3 +32,4 @@ BOOST_AUTO_TEST_CASE(TestBasicThread) thread.join(); BOOST_CHECK(number > 0); } + diff --git a/test/TestIommu.cxx b/test/TestIommu.cxx index b8eb709..653e7f6 100644 --- a/test/TestIommu.cxx +++ b/test/TestIommu.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include "Common/Iommu.h" #define BOOST_TEST_MODULE Iommu @@ -8,3 +19,4 @@ BOOST_AUTO_TEST_CASE(TestIsEnabled) { BOOST_CHECK_NO_THROW(AliceO2::Common::Iommu::isEnabled()); } + diff --git a/test/TestSuffixNumber.cxx b/test/TestSuffixNumber.cxx index dbfb487..c6a0345 100644 --- a/test/TestSuffixNumber.cxx +++ b/test/TestSuffixNumber.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include "Common/SuffixNumber.h" #define BOOST_TEST_MODULE SuffixNumber @@ -35,3 +46,4 @@ BOOST_AUTO_TEST_CASE(TestFloatingPoint) sn.setNumber("-123"); BOOST_CHECK_EQUAL(sn.getNumber(), -123); } + diff --git a/test/TestSuffixOption.cxx b/test/TestSuffixOption.cxx index 36d2f94..30a5197 100644 --- a/test/TestSuffixOption.cxx +++ b/test/TestSuffixOption.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include "Common/SuffixOption.h" #include @@ -34,3 +45,4 @@ BOOST_AUTO_TEST_CASE(TestSuffixOption) BOOST_CHECK(numberB.getNumber() == 123); BOOST_CHECK(numberC == -1000.0); } + diff --git a/test/TestSystem.cxx b/test/TestSystem.cxx index 9774bff..34b1762 100644 --- a/test/TestSystem.cxx +++ b/test/TestSystem.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include "Common/System.h" #include #include @@ -76,3 +87,4 @@ BOOST_AUTO_TEST_CASE(TestIsFileSystemTypeAnyOf) BOOST_CHECK(System::isFileSystemTypeAnyOf("/sys", { "blahfs", "ext42" }).first == false); #endif } + diff --git a/test/testDaemon.cxx b/test/testDaemon.cxx index c22b90c..8536e61 100644 --- a/test/testDaemon.cxx +++ b/test/testDaemon.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // most simple daemon example // uses dummy default doLoop() function from the class // helps to test e.g. command line parameters settings @@ -9,3 +20,4 @@ int main(int argc, char* argv[]) Daemon d(argc, argv); return d.run(); } + diff --git a/test/testFifo.cxx b/test/testFifo.cxx index a1589fc..50081a9 100644 --- a/test/testFifo.cxx +++ b/test/testFifo.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include "../include/Common/Fifo.h" #define BOOST_TEST_MODULE Fifo test @@ -46,3 +57,4 @@ BOOST_AUTO_TEST_CASE(fifo_test) printf("fifoSz=%d sum=%d\n", fifoSz, sum2); } + diff --git a/test/testSimpleLog.cxx b/test/testSimpleLog.cxx index c6cb510..b6a0044 100644 --- a/test/testSimpleLog.cxx +++ b/test/testSimpleLog.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + // most simple daemon example // uses dummy default doLoop() function from the class // helps to test e.g. command line parameters settings @@ -13,3 +24,4 @@ int main() return 0; } + diff --git a/test/testTimer.cxx b/test/testTimer.cxx index a9dc340..436358d 100644 --- a/test/testTimer.cxx +++ b/test/testTimer.cxx @@ -1,3 +1,14 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + #include "../include/Common/Timer.h" #define BOOST_TEST_MODULE Timer test @@ -31,3 +42,4 @@ BOOST_AUTO_TEST_CASE(timer_test) BOOST_CHECK_EQUAL(success, 1); } +