From 58e03bcf23e2fb9ebef3177a8e5b9f9b5444ea2a Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Fri, 9 Aug 2024 14:16:57 -0400 Subject: [PATCH] #32: fix licenses and add license scripts from vt --- scripts/add-license-perl.pl | 81 +++++++++++++++++++ scripts/check_license.sh | 17 ++++ scripts/license-template | 40 +++++++++ src/vt-tv/api/info.h | 4 +- src/vt-tv/api/object_communicator.h | 42 ++++++++++ src/vt-tv/api/object_info.h | 4 +- src/vt-tv/api/object_work.h | 4 +- src/vt-tv/api/phase_work.h | 4 +- src/vt-tv/api/rank.h | 4 +- src/vt-tv/api/types.h | 4 +- src/vt-tv/render/render.cc | 4 +- src/vt-tv/render/render.h | 4 +- src/vt-tv/utility/compressor.cc | 2 +- src/vt-tv/utility/compressor.h | 2 +- src/vt-tv/utility/compressor.impl.h | 2 +- .../utility/decompression_input_container.cc | 2 +- .../utility/decompression_input_container.h | 2 +- .../decompression_input_container.impl.h | 2 +- src/vt-tv/utility/decompressor.h | 2 +- src/vt-tv/utility/decompressor.impl.h | 2 +- src/vt-tv/utility/decompressor_base.h | 2 +- src/vt-tv/utility/input_iterator.h | 2 +- src/vt-tv/utility/json_generator.cc | 4 +- src/vt-tv/utility/json_generator.h | 4 +- src/vt-tv/utility/json_reader.cc | 4 +- src/vt-tv/utility/json_reader.h | 4 +- src/vt-tv/utility/output_adaptor.h | 2 +- src/vt-tv/utility/parse_render.cc | 2 +- src/vt-tv/utility/parse_render.h | 4 +- src/vt-tv/utility/qoi_serializer.h | 4 +- tests/unit/api/basic_serializer.h | 4 +- tests/unit/api/test_info.cc | 4 +- tests/unit/api/test_object_communicator.cc | 4 +- tests/unit/api/test_object_info.cc | 4 +- tests/unit/api/test_object_work.cc | 4 +- tests/unit/api/test_phase_work.cc | 4 +- tests/unit/api/test_rank.cc | 4 +- tests/unit/deps/test_vtk.cc | 4 +- tests/unit/generator.h | 4 +- tests/unit/main.cc | 2 +- tests/unit/render/test_parse_render.cc | 4 +- tests/unit/render/test_render.cc | 4 +- tests/unit/render/test_standalone_app.cc | 4 +- tests/unit/util.h | 4 +- tests/unit/utility/test_json_reader.cc | 4 +- 45 files changed, 249 insertions(+), 69 deletions(-) create mode 100755 scripts/add-license-perl.pl create mode 100755 scripts/check_license.sh create mode 100644 scripts/license-template diff --git a/scripts/add-license-perl.pl b/scripts/add-license-perl.pl new file mode 100755 index 0000000000..a5ebeae753 --- /dev/null +++ b/scripts/add-license-perl.pl @@ -0,0 +1,81 @@ +#!/usr/bin/env perl + +use File::Find::Rule; + +use strict; +use warnings; + +my ($path, $template, $extension) = ($ARGV[0], "license-template", ["*.h", "*.cc"]); + +$template = $ARGV[1] if (@ARGV > 1); +$extension = $ARGV[2] if (@ARGV > 2); + +print "Running: $path $template $extension\n"; + +my @files = File::Find::Rule->file()->name($extension)->in($path); + +sub make_header { + my ($file, $out) = @_; + my @name2= split /\//, $file; + my $name = $name2[@name2-1]; + my $lenname = length($name); + my $lenright = int((80 - 2 - $lenname)/2); + open TEMP, "<$template" or die "Can't access template\n"; + for () { + if (/file-name/) { + print $out "//" . (" " x $lenright) . $name . "\n"; + } else { + print $out "$_"; + } + } + close TEMP; +} + +for my $file (@files) { + + my $temp = `mktemp`; + my $out; + open $out, ">$temp" or die "Can't access $temp\n"; + + print "processing file: $file, $temp\n"; + + open DESC, "<$file" or die "Can't access $file\n"; + my $in_header = 0; + my $output_header = 0; + for () { + if (/\/\/\@HEADER/) { + $in_header = !$in_header; + next; + } + if (!$in_header) { + print $out "$_"; + } else { + if (!$output_header) { + &make_header($file, $out); + $output_header = 1; + } + } + } + close DESC; + + + if (!$output_header) { + close $out; + $temp = `mktemp`; + open $out, ">$temp" or die "Can't access $temp\n"; + open DESC, "<$file" or die "Can't access $file\n"; + print $out "/*\n"; + &make_header($file, $out); + print $out "*/\n"; + for () { + print $out "$_"; + } + close DESC; + } + + close $out; + chomp $temp; + + print `mv $temp $file`; + #print "EXECUTE: mv $temp $file\n"; +} diff --git a/scripts/check_license.sh b/scripts/check_license.sh new file mode 100755 index 0000000000..07d0fd8aec --- /dev/null +++ b/scripts/check_license.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +path_to_vttv=${1} +cd "$path_to_vttv" || exit 1 + +for sub_dir in "src" "tests/unit" "examples" +do + "$path_to_vttv/scripts/add-license-perl.pl" "$path_to_vttv/$sub_dir" "$path_to_vttv/scripts/license-template" +done + +result=$(git diff --name-only) + +if [ -n "$result" ]; then + echo -e "Following files have incorrect license!\n" + echo "$result" + exit 1 +fi diff --git a/scripts/license-template b/scripts/license-template new file mode 100644 index 0000000000..bbffaa2f40 --- /dev/null +++ b/scripts/license-template @@ -0,0 +1,40 @@ +//@HEADER +// ***************************************************************************** +// +// +// DARMA/vt-tv => Virtual Transport -- Task Visualizer +// +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC +// (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +// Government retains certain rights in this software. +// +// 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, +// this list of conditions and the following disclaimer. +// +// * Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// * Neither the name of the copyright holder nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact darma@sandia.gov +// +// ***************************************************************************** +//@HEADER diff --git a/src/vt-tv/api/info.h b/src/vt-tv/api/info.h index 1a45662559..09da279542 100644 --- a/src/vt-tv/api/info.h +++ b/src/vt-tv/api/info.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// info.h +// info.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/api/object_communicator.h b/src/vt-tv/api/object_communicator.h index 0b99e7e7fe..93974237d9 100644 --- a/src/vt-tv/api/object_communicator.h +++ b/src/vt-tv/api/object_communicator.h @@ -1,3 +1,45 @@ +/* +//@HEADER +// ***************************************************************************** +// +// object_communicator.h +// DARMA/vt-tv => Virtual Transport -- Task Visualizer +// +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC +// (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. +// Government retains certain rights in this software. +// +// 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, +// this list of conditions and the following disclaimer. +// +// * Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// * Neither the name of the copyright holder nor the names of its +// contributors may be used to endorse or promote products derived from this +// software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// +// Questions? Contact darma@sandia.gov +// +// ***************************************************************************** +//@HEADER +*/ #if !defined INCLUDED_VT_TV_API_OBJECT_COMMUNICATOR_H #define INCLUDED_VT_TV_API_OBJECT_COMMUNICATOR_H diff --git a/src/vt-tv/api/object_info.h b/src/vt-tv/api/object_info.h index c9729e4f77..6298b91faa 100644 --- a/src/vt-tv/api/object_info.h +++ b/src/vt-tv/api/object_info.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// object_info.h +// object_info.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/api/object_work.h b/src/vt-tv/api/object_work.h index 158fa320e2..17136e1569 100644 --- a/src/vt-tv/api/object_work.h +++ b/src/vt-tv/api/object_work.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// object_work.h +// object_work.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/api/phase_work.h b/src/vt-tv/api/phase_work.h index cee4a5e128..54b8230397 100644 --- a/src/vt-tv/api/phase_work.h +++ b/src/vt-tv/api/phase_work.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// phase_work.h +// phase_work.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/api/rank.h b/src/vt-tv/api/rank.h index ccc8f240ee..4a5adfc1b5 100644 --- a/src/vt-tv/api/rank.h +++ b/src/vt-tv/api/rank.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// rank.h +// rank.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/api/types.h b/src/vt-tv/api/types.h index 339a9f2ffb..1c1241a734 100644 --- a/src/vt-tv/api/types.h +++ b/src/vt-tv/api/types.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// types.h +// types.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/render/render.cc b/src/vt-tv/render/render.cc index cf72eccebf..3e8f0dadd1 100644 --- a/src/vt-tv/render/render.cc +++ b/src/vt-tv/render/render.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// render.cc +// render.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/render/render.h b/src/vt-tv/render/render.h index 0c5e834f25..66e229f26e 100644 --- a/src/vt-tv/render/render.h +++ b/src/vt-tv/render/render.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// render.h +// render.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/compressor.cc b/src/vt-tv/utility/compressor.cc index 52b7803821..35eb7e96e2 100644 --- a/src/vt-tv/utility/compressor.cc +++ b/src/vt-tv/utility/compressor.cc @@ -5,7 +5,7 @@ // compressor.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/compressor.h b/src/vt-tv/utility/compressor.h index d952d8a865..e4b4ea95ce 100644 --- a/src/vt-tv/utility/compressor.h +++ b/src/vt-tv/utility/compressor.h @@ -5,7 +5,7 @@ // compressor.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/compressor.impl.h b/src/vt-tv/utility/compressor.impl.h index b53de9029f..4a949f430c 100644 --- a/src/vt-tv/utility/compressor.impl.h +++ b/src/vt-tv/utility/compressor.impl.h @@ -5,7 +5,7 @@ // compressor.impl.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/decompression_input_container.cc b/src/vt-tv/utility/decompression_input_container.cc index ffb2f37401..fd26d11c7f 100644 --- a/src/vt-tv/utility/decompression_input_container.cc +++ b/src/vt-tv/utility/decompression_input_container.cc @@ -5,7 +5,7 @@ // decompression_input_container.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/decompression_input_container.h b/src/vt-tv/utility/decompression_input_container.h index e35770b4d4..c592735345 100644 --- a/src/vt-tv/utility/decompression_input_container.h +++ b/src/vt-tv/utility/decompression_input_container.h @@ -5,7 +5,7 @@ // decompression_input_container.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/decompression_input_container.impl.h b/src/vt-tv/utility/decompression_input_container.impl.h index a7795ea556..7533e45fc1 100644 --- a/src/vt-tv/utility/decompression_input_container.impl.h +++ b/src/vt-tv/utility/decompression_input_container.impl.h @@ -5,7 +5,7 @@ // decompression_input_container.impl.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/decompressor.h b/src/vt-tv/utility/decompressor.h index 8feb75276d..b17555b1ad 100644 --- a/src/vt-tv/utility/decompressor.h +++ b/src/vt-tv/utility/decompressor.h @@ -5,7 +5,7 @@ // decompressor.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/decompressor.impl.h b/src/vt-tv/utility/decompressor.impl.h index 49f3acd158..713d3bd63a 100644 --- a/src/vt-tv/utility/decompressor.impl.h +++ b/src/vt-tv/utility/decompressor.impl.h @@ -5,7 +5,7 @@ // decompressor.impl.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/decompressor_base.h b/src/vt-tv/utility/decompressor_base.h index e5df0f2c61..16a348071e 100644 --- a/src/vt-tv/utility/decompressor_base.h +++ b/src/vt-tv/utility/decompressor_base.h @@ -5,7 +5,7 @@ // decompressor_base.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/input_iterator.h b/src/vt-tv/utility/input_iterator.h index b53ab12fac..91b642ccc1 100644 --- a/src/vt-tv/utility/input_iterator.h +++ b/src/vt-tv/utility/input_iterator.h @@ -5,7 +5,7 @@ // input_iterator.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/json_generator.cc b/src/vt-tv/utility/json_generator.cc index 8d30357434..4b367b41cc 100644 --- a/src/vt-tv/utility/json_generator.cc +++ b/src/vt-tv/utility/json_generator.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// json_generator.cc +// json_generator.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/json_generator.h b/src/vt-tv/utility/json_generator.h index 81bc80634f..d260eb13a7 100644 --- a/src/vt-tv/utility/json_generator.h +++ b/src/vt-tv/utility/json_generator.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// json_generator.h +// json_generator.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/json_reader.cc b/src/vt-tv/utility/json_reader.cc index 39c78fb8bb..5f46ec489a 100644 --- a/src/vt-tv/utility/json_reader.cc +++ b/src/vt-tv/utility/json_reader.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// json_reader.cc +// json_reader.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/json_reader.h b/src/vt-tv/utility/json_reader.h index b2baa26634..6bcac6c8dd 100644 --- a/src/vt-tv/utility/json_reader.h +++ b/src/vt-tv/utility/json_reader.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// json_reader.h +// json_reader.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/output_adaptor.h b/src/vt-tv/utility/output_adaptor.h index d8e75bc59a..a20a7da35e 100644 --- a/src/vt-tv/utility/output_adaptor.h +++ b/src/vt-tv/utility/output_adaptor.h @@ -5,7 +5,7 @@ // output_adaptor.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019-2021 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/parse_render.cc b/src/vt-tv/utility/parse_render.cc index c9d8aafd88..7ff2ec0ca7 100644 --- a/src/vt-tv/utility/parse_render.cc +++ b/src/vt-tv/utility/parse_render.cc @@ -5,7 +5,7 @@ // parse_render.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/parse_render.h b/src/vt-tv/utility/parse_render.h index e25ae66814..9011f1e1c4 100644 --- a/src/vt-tv/utility/parse_render.h +++ b/src/vt-tv/utility/parse_render.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// parse_render.h +// parse_render.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/src/vt-tv/utility/qoi_serializer.h b/src/vt-tv/utility/qoi_serializer.h index 4ecd118d15..27228c8265 100644 --- a/src/vt-tv/utility/qoi_serializer.h +++ b/src/vt-tv/utility/qoi_serializer.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// qoi_serializer.h +// qoi_serializer.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/api/basic_serializer.h b/tests/unit/api/basic_serializer.h index 27729d8486..aac06e8068 100644 --- a/tests/unit/api/basic_serializer.h +++ b/tests/unit/api/basic_serializer.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// basic_serializer.h +// basic_serializer.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/api/test_info.cc b/tests/unit/api/test_info.cc index c9967da8d6..4c9a15baed 100644 --- a/tests/unit/api/test_info.cc +++ b/tests/unit/api/test_info.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_info.cc +// test_info.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/api/test_object_communicator.cc b/tests/unit/api/test_object_communicator.cc index 6f7d65957c..4685402717 100644 --- a/tests/unit/api/test_object_communicator.cc +++ b/tests/unit/api/test_object_communicator.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_object_communicator.cc +// test_object_communicator.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/api/test_object_info.cc b/tests/unit/api/test_object_info.cc index 2d3e8c63aa..927dd24b3a 100644 --- a/tests/unit/api/test_object_info.cc +++ b/tests/unit/api/test_object_info.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_json_reader.cc +// test_object_info.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/api/test_object_work.cc b/tests/unit/api/test_object_work.cc index 2b94aa9d8c..a796be52de 100644 --- a/tests/unit/api/test_object_work.cc +++ b/tests/unit/api/test_object_work.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_json_reader.cc +// test_object_work.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/api/test_phase_work.cc b/tests/unit/api/test_phase_work.cc index e0b6ea0bcf..f4336b3482 100644 --- a/tests/unit/api/test_phase_work.cc +++ b/tests/unit/api/test_phase_work.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_json_reader.cc +// test_phase_work.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/api/test_rank.cc b/tests/unit/api/test_rank.cc index 55e60e0aea..80d4611f97 100644 --- a/tests/unit/api/test_rank.cc +++ b/tests/unit/api/test_rank.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_json_reader.cc +// test_rank.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/deps/test_vtk.cc b/tests/unit/deps/test_vtk.cc index 04b1f591bf..18bde19f22 100644 --- a/tests/unit/deps/test_vtk.cc +++ b/tests/unit/deps/test_vtk.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_vtk.cc +// test_vtk.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/generator.h b/tests/unit/generator.h index c70c49ad96..cfd8b3af5f 100644 --- a/tests/unit/generator.h +++ b/tests/unit/generator.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_json_reader.cc +// generator.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/main.cc b/tests/unit/main.cc index 2ecb3f113a..31ada23aec 100644 --- a/tests/unit/main.cc +++ b/tests/unit/main.cc @@ -5,7 +5,7 @@ // main.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/render/test_parse_render.cc b/tests/unit/render/test_parse_render.cc index bbdf20a0c5..f7810df19d 100644 --- a/tests/unit/render/test_parse_render.cc +++ b/tests/unit/render/test_parse_render.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_parse_render.cc +// test_parse_render.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/render/test_render.cc b/tests/unit/render/test_render.cc index 647912fe49..560d382231 100644 --- a/tests/unit/render/test_render.cc +++ b/tests/unit/render/test_render.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_render.cc +// test_render.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/render/test_standalone_app.cc b/tests/unit/render/test_standalone_app.cc index a26184f3b7..5a9fabbaac 100644 --- a/tests/unit/render/test_standalone_app.cc +++ b/tests/unit/render/test_standalone_app.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_standalone_app.cc +// test_standalone_app.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/util.h b/tests/unit/util.h index 1eb6445e61..7549091df1 100644 --- a/tests/unit/util.h +++ b/tests/unit/util.h @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_json_reader.cc +// util.h // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // diff --git a/tests/unit/utility/test_json_reader.cc b/tests/unit/utility/test_json_reader.cc index 3db912a662..01d26dd5c3 100644 --- a/tests/unit/utility/test_json_reader.cc +++ b/tests/unit/utility/test_json_reader.cc @@ -2,10 +2,10 @@ //@HEADER // ***************************************************************************** // -// test_json_reader.cc +// test_json_reader.cc // DARMA/vt-tv => Virtual Transport -- Task Visualizer // -// Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC +// Copyright 2019-2024 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. //