From b1f664d04fc6b51ade00e276e195133b91d6d51a Mon Sep 17 00:00:00 2001 From: "zhenshan.cao" Date: Mon, 19 Apr 2021 15:15:33 +0800 Subject: [PATCH] Add copyright Signed-off-by: zhenshan.cao --- internal/allocator/allocator.go | 11 +++++++++++ internal/allocator/global_id.go | 11 +++++++++++ internal/allocator/global_id_test.go | 11 +++++++++++ internal/allocator/id.go | 11 +++++++++++ internal/allocator/timestamp.go | 11 +++++++++++ internal/tso/global_allocator.go | 11 +++++++++++ internal/tso/global_allocator_test.go | 11 +++++++++++ internal/tso/tso.go | 11 +++++++++++ internal/types/types.go | 11 +++++++++++ 9 files changed, 99 insertions(+) diff --git a/internal/allocator/allocator.go b/internal/allocator/allocator.go index 889e96ad44..f039b22c8a 100644 --- a/internal/allocator/allocator.go +++ b/internal/allocator/allocator.go @@ -1,3 +1,14 @@ +// Copyright (C) 2019-2020 Zilliz. 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 +// +// 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 allocator import ( diff --git a/internal/allocator/global_id.go b/internal/allocator/global_id.go index 24710ebbae..2e9e8ee66b 100644 --- a/internal/allocator/global_id.go +++ b/internal/allocator/global_id.go @@ -1,3 +1,14 @@ +// Copyright (C) 2019-2020 Zilliz. 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 +// +// 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 allocator import ( diff --git a/internal/allocator/global_id_test.go b/internal/allocator/global_id_test.go index ed9df4246c..49ef6974a9 100644 --- a/internal/allocator/global_id_test.go +++ b/internal/allocator/global_id_test.go @@ -1,3 +1,14 @@ +// Copyright (C) 2019-2020 Zilliz. 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 +// +// 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 allocator import ( diff --git a/internal/allocator/id.go b/internal/allocator/id.go index 3740fc0fef..7c414849e5 100644 --- a/internal/allocator/id.go +++ b/internal/allocator/id.go @@ -1,3 +1,14 @@ +// Copyright (C) 2019-2020 Zilliz. 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 +// +// 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 allocator import ( diff --git a/internal/allocator/timestamp.go b/internal/allocator/timestamp.go index 6ddfd57898..8b2252b032 100644 --- a/internal/allocator/timestamp.go +++ b/internal/allocator/timestamp.go @@ -1,3 +1,14 @@ +// Copyright (C) 2019-2020 Zilliz. 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 +// +// 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 allocator import ( diff --git a/internal/tso/global_allocator.go b/internal/tso/global_allocator.go index 2546d82acb..39e6b5d714 100644 --- a/internal/tso/global_allocator.go +++ b/internal/tso/global_allocator.go @@ -1,3 +1,14 @@ +// Copyright (C) 2019-2020 Zilliz. 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 +// +// 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. + // Copyright 2016 TiKV Project Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/tso/global_allocator_test.go b/internal/tso/global_allocator_test.go index 0b4f83e8ea..2a43fb0cd3 100644 --- a/internal/tso/global_allocator_test.go +++ b/internal/tso/global_allocator_test.go @@ -1,3 +1,14 @@ +// Copyright (C) 2019-2020 Zilliz. 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 +// +// 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 tso import ( diff --git a/internal/tso/tso.go b/internal/tso/tso.go index aa76278390..c5e80fe123 100644 --- a/internal/tso/tso.go +++ b/internal/tso/tso.go @@ -1,3 +1,14 @@ +// Copyright (C) 2019-2020 Zilliz. 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 +// +// 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. + // Copyright 2016 TiKV Project Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/internal/types/types.go b/internal/types/types.go index a0484208b1..2c0a2067da 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -1,3 +1,14 @@ +// Copyright (C) 2019-2020 Zilliz. 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 +// +// 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 types import (