diff --git a/tools/rw-benchmark/linkedmap.go b/tools/rw-benchmark/linkedmap.go index d101e24cd3d2..cba2e3cc3d2c 100644 --- a/tools/rw-benchmark/linkedmap.go +++ b/tools/rw-benchmark/linkedmap.go @@ -1,5 +1,16 @@ -// Copyright (c) 2019, Benjamin Wang (benjamin_wang@aliyun.com). All rights reserved. -// Licensed under the MIT license that can be found in the LICENSE file. +// Copyright 2022 The etcd 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 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. // Package linkedmap implements a linked hashmap, based on a map and a doubly linked list. The iteration ordering is normally // the order in which keys were inserted into the map, or the order in which the keys were accessed if the accessOrder flag is set. diff --git a/tools/rw-benchmark/linkedmap_test.go b/tools/rw-benchmark/linkedmap_test.go index 0dae405373f0..ae8c4271fa2f 100644 --- a/tools/rw-benchmark/linkedmap_test.go +++ b/tools/rw-benchmark/linkedmap_test.go @@ -1,5 +1,16 @@ -// Copyright (c) 2019, Benjamin Wang (benjamin_wang@aliyun.com). All rights reserved. -// Licensed under the MIT license that can be found in the LICENSE file. +// Copyright 2022 The etcd 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 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. package main