From 43ff7a0ec565616b6bbd26403666d9a078257d1f Mon Sep 17 00:00:00 2001 From: Patrice Jada Date: Tue, 6 Aug 2024 18:24:16 -0400 Subject: [PATCH] Adding copyright headers #12066 --- projects/retriever/Dockerfile | 16 ++++++++++++++++ projects/retriever/build.sh | 15 +++++++++++++++ projects/retriever/model_fuzzer.py | 16 ++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/projects/retriever/Dockerfile b/projects/retriever/Dockerfile index 4b828cc9aa26..1e50d76854a3 100644 --- a/projects/retriever/Dockerfile +++ b/projects/retriever/Dockerfile @@ -1,3 +1,19 @@ +# Copyright 2021 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + # Use the base image for OSS-Fuzz with Python FROM gcr.io/oss-fuzz-base/base-builder-python diff --git a/projects/retriever/build.sh b/projects/retriever/build.sh index 6b530bd6600d..04246a5b9da8 100644 --- a/projects/retriever/build.sh +++ b/projects/retriever/build.sh @@ -1,4 +1,19 @@ #!/bin/bash -eu +# Copyright 2021 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ # Activate the virtual environment source /retriever-env/bin/activate diff --git a/projects/retriever/model_fuzzer.py b/projects/retriever/model_fuzzer.py index 6a262441c94c..32e886ebc56a 100644 --- a/projects/retriever/model_fuzzer.py +++ b/projects/retriever/model_fuzzer.py @@ -1,3 +1,19 @@ +# Copyright 2021 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + import sys import atheris import random