mirror of
https://github.com/ii64/sonic.git
synced 2026-06-22 17:36:48 +08:00
fix: fix Copyright placements
This commit is contained in:
parent
fbe0828190
commit
203b83a8cf
5 changed files with 16 additions and 22 deletions
|
|
@ -7,4 +7,14 @@ header:
|
||||||
- '**/*.go'
|
- '**/*.go'
|
||||||
- '**/*.s'
|
- '**/*.s'
|
||||||
|
|
||||||
|
paths-ignore:
|
||||||
|
- 'ast/asm.s' # empty file
|
||||||
|
- 'encoder/asm.s' # empty file
|
||||||
|
- 'internal/caching/asm.s' # empty file
|
||||||
|
- 'internal/jit/asm.s' # empty file
|
||||||
|
- 'internal/native/native_amd64.s' # auto-generated by asm2asm
|
||||||
|
- 'internal/native/native_subr_amd64.go' # auto-generated by asm2asm
|
||||||
|
- 'internal/resolver/asm.s' # empty file
|
||||||
|
- 'internal/rt/asm.s' # empty file
|
||||||
|
|
||||||
comment: on-failure
|
comment: on-failure
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build go1.15,!go1.16
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2021 ByteDance Inc.
|
* Copyright 2021 ByteDance Inc.
|
||||||
*
|
*
|
||||||
|
|
@ -14,8 +16,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// +build go1.15,!go1.16
|
|
||||||
|
|
||||||
package loader
|
package loader
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build go1.16,!go1.17
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2021 ByteDance Inc.
|
* Copyright 2021 ByteDance Inc.
|
||||||
*
|
*
|
||||||
|
|
@ -14,8 +16,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// +build go1.16,!go1.17
|
|
||||||
|
|
||||||
package loader
|
package loader
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build !go1.15 go1.17
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2021 ByteDance Inc.
|
* Copyright 2021 ByteDance Inc.
|
||||||
*
|
*
|
||||||
|
|
@ -14,8 +16,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// +build !go1.15 go1.17
|
|
||||||
|
|
||||||
package loader
|
package loader
|
||||||
|
|
||||||
// triggers a compilation error
|
// triggers a compilation error
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,3 @@
|
||||||
/*
|
|
||||||
* Copyright 2021 ByteDance Inc.
|
|
||||||
*
|
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// +build !noasm !appengine
|
// +build !noasm !appengine
|
||||||
// Code generated by asm2asm, DO NOT EDIT.
|
// Code generated by asm2asm, DO NOT EDIT.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue