瀏覽代碼

add missing license headers (#437)

Margaret Nolan 6 年之前
父節點
當前提交
e1eea0c27b

+ 14
- 0
fuzz/fuzz_test.go 查看文件

1
+// Copyright 2017 Google Inc. All Rights Reserved.
2
+//
3
+// Licensed under the Apache License, Version 2.0 (the "License");
4
+// you may not use this file except in compliance with the License.
5
+// You may obtain a copy of the License at
6
+//
7
+//     http://www.apache.org/licenses/LICENSE-2.0
8
+//
9
+// Unless required by applicable law or agreed to in writing, software
10
+// distributed under the License is distributed on an "AS IS" BASIS,
11
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+// See the License for the specific language governing permissions and
13
+// limitations under the License.
14
+
1
 package pprof
15
 package pprof
2
 
16
 
3
 import (
17
 import (

+ 14
- 0
fuzz/main.go 查看文件

1
+// Copyright 2017 Google Inc. All Rights Reserved.
2
+//
3
+// Licensed under the Apache License, Version 2.0 (the "License");
4
+// you may not use this file except in compliance with the License.
5
+// You may obtain a copy of the License at
6
+//
7
+//     http://www.apache.org/licenses/LICENSE-2.0
8
+//
9
+// Unless required by applicable law or agreed to in writing, software
10
+// distributed under the License is distributed on an "AS IS" BASIS,
11
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+// See the License for the specific language governing permissions and
13
+// limitations under the License.
14
+
1
 // Package pprof is used in conjunction with github.com/dvyukov/go-fuzz/go-fuzz
15
 // Package pprof is used in conjunction with github.com/dvyukov/go-fuzz/go-fuzz
2
 // to fuzz ParseData function.
16
 // to fuzz ParseData function.
3
 package pprof
17
 package pprof

+ 14
- 0
internal/binutils/testdata/build_mac.sh 查看文件

1
+# Copyright 2018 Google Inc. All Rights Reserved.
2
+#
3
+# Licensed under the Apache License, Version 2.0 (the "License");
4
+# you may not use this file except in compliance with the License.
5
+# You may obtain a copy of the License at
6
+#
7
+#     http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+# Unless required by applicable law or agreed to in writing, software
10
+# distributed under the License is distributed on an "AS IS" BASIS,
11
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+# See the License for the specific language governing permissions and
13
+# limitations under the License.
14
+
1
 #!/bin/bash -x
15
 #!/bin/bash -x
2
 
16
 
3
 # This is a script that generates the test MacOS executables in this directory.
17
 # This is a script that generates the test MacOS executables in this directory.

+ 14
- 0
internal/driver/flags.go 查看文件

1
+//  Copyright 2018 Google Inc. All Rights Reserved.
2
+//
3
+//  Licensed under the Apache License, Version 2.0 (the "License");
4
+//  you may not use this file except in compliance with the License.
5
+//  You may obtain a copy of the License at
6
+//
7
+//      http://www.apache.org/licenses/LICENSE-2.0
8
+//
9
+//  Unless required by applicable law or agreed to in writing, software
10
+//  distributed under the License is distributed on an "AS IS" BASIS,
11
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+//  See the License for the specific language governing permissions and
13
+//  limitations under the License.
14
+
1
 package driver
15
 package driver
2
 
16
 
3
 import (
17
 import (

+ 14
- 0
internal/graph/graph_test.go 查看文件

1
+//  Copyright 2016 Google Inc. All Rights Reserved.
2
+//
3
+//  Licensed under the Apache License, Version 2.0 (the "License");
4
+//  you may not use this file except in compliance with the License.
5
+//  You may obtain a copy of the License at
6
+//
7
+//      http://www.apache.org/licenses/LICENSE-2.0
8
+//
9
+//  Unless required by applicable law or agreed to in writing, software
10
+//  distributed under the License is distributed on an "AS IS" BASIS,
11
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+//  See the License for the specific language governing permissions and
13
+//  limitations under the License.
14
+
1
 package graph
15
 package graph
2
 
16
 
3
 import (
17
 import (

+ 14
- 0
internal/report/source_test.go 查看文件

1
+//  Copyright 2017 Google Inc. All Rights Reserved.
2
+//
3
+//  Licensed under the Apache License, Version 2.0 (the "License");
4
+//  you may not use this file except in compliance with the License.
5
+//  You may obtain a copy of the License at
6
+//
7
+//      http://www.apache.org/licenses/LICENSE-2.0
8
+//
9
+//  Unless required by applicable law or agreed to in writing, software
10
+//  distributed under the License is distributed on an "AS IS" BASIS,
11
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+//  See the License for the specific language governing permissions and
13
+//  limitations under the License.
14
+
1
 package report
15
 package report
2
 
16
 
3
 import (
17
 import (

+ 14
- 0
internal/report/testdata/sample/sample.go 查看文件

1
+//  Copyright 2017 Google Inc. All Rights Reserved.
2
+//
3
+//  Licensed under the Apache License, Version 2.0 (the "License");
4
+//  you may not use this file except in compliance with the License.
5
+//  You may obtain a copy of the License at
6
+//
7
+//      http://www.apache.org/licenses/LICENSE-2.0
8
+//
9
+//  Unless required by applicable law or agreed to in writing, software
10
+//  distributed under the License is distributed on an "AS IS" BASIS,
11
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+//  See the License for the specific language governing permissions and
13
+//  limitations under the License.
14
+
1
 // sample program that is used to produce some of the files in
15
 // sample program that is used to produce some of the files in
2
 // pprof/internal/report/testdata.
16
 // pprof/internal/report/testdata.
3
 package main
17
 package main

+ 15
- 0
test.sh 查看文件

1
+#  Copyright 2017 Google Inc. All Rights Reserved.
2
+#
3
+#  Licensed under the Apache License, Version 2.0 (the "License");
4
+#  you may not use this file except in compliance with the License.
5
+#  You may obtain a copy of the License at
6
+#
7
+#      http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+#  Unless required by applicable law or agreed to in writing, software
10
+#  distributed under the License is distributed on an "AS IS" BASIS,
11
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+#  See the License for the specific language governing permissions and
13
+#  limitations under the License.
14
+
15
+
1
 #!/usr/bin/env bash
16
 #!/usr/bin/env bash
2
 
17
 
3
 set -e
18
 set -e

+ 14
- 0
third_party/update_d3flamegraph.sh 查看文件

1
+#  Copyright 2018 Google Inc. All Rights Reserved.
2
+#
3
+#  Licensed under the Apache License, Version 2.0 (the "License");
4
+#  you may not use this file except in compliance with the License.
5
+#  You may obtain a copy of the License at
6
+#
7
+#      http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+#  Unless required by applicable law or agreed to in writing, software
10
+#  distributed under the License is distributed on an "AS IS" BASIS,
11
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+#  See the License for the specific language governing permissions and
13
+#  limitations under the License.
14
+
1
 #!/usr/bin/env bash
15
 #!/usr/bin/env bash
2
 
16
 
3
 set -eu
17
 set -eu