From cd9b7d74b91f9615c23e9227ade1b43810c1e6eb Mon Sep 17 00:00:00 2001 From: Soheil Hassas Yeganeh Date: Sat, 9 Jul 2016 13:56:02 -0400 Subject: [PATCH] Add copyright notice headers on all Go files. As per http://www.apache.org/legal/src-headers.html#headers Fixes #28 --- bench_test.go | 14 ++++++++++++++ buffer.go | 14 ++++++++++++++ cmux.go | 14 ++++++++++++++ cmux_test.go | 14 ++++++++++++++ example_recursive_test.go | 14 ++++++++++++++ example_test.go | 14 ++++++++++++++ example_tls_test.go | 14 ++++++++++++++ matchers.go | 14 ++++++++++++++ patricia.go | 14 ++++++++++++++ patricia_test.go | 14 ++++++++++++++ 10 files changed, 140 insertions(+) diff --git a/bench_test.go b/bench_test.go index 875f6f2..b1013e3 100644 --- a/bench_test.go +++ b/bench_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux import ( diff --git a/buffer.go b/buffer.go index a487355..d05b199 100644 --- a/buffer.go +++ b/buffer.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux import ( diff --git a/cmux.go b/cmux.go index f92e203..69e83fb 100644 --- a/cmux.go +++ b/cmux.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux import ( diff --git a/cmux_test.go b/cmux_test.go index 728acce..676016a 100644 --- a/cmux_test.go +++ b/cmux_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux import ( diff --git a/example_recursive_test.go b/example_recursive_test.go index 87c02f9..1962cd0 100644 --- a/example_recursive_test.go +++ b/example_recursive_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux_test import ( diff --git a/example_test.go b/example_test.go index d3b91d5..25396fa 100644 --- a/example_test.go +++ b/example_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux_test import ( diff --git a/example_tls_test.go b/example_tls_test.go index d1f639b..d01f846 100644 --- a/example_tls_test.go +++ b/example_tls_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux_test import ( diff --git a/matchers.go b/matchers.go index b5471a1..2e7428f 100644 --- a/matchers.go +++ b/matchers.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux import ( diff --git a/patricia.go b/patricia.go index 7fc8a5b..0099e38 100644 --- a/patricia.go +++ b/patricia.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux import ( diff --git a/patricia_test.go b/patricia_test.go index 16b0f40..f30992b 100644 --- a/patricia_test.go +++ b/patricia_test.go @@ -1,3 +1,17 @@ +// Copyright 2016 The CMux Authors. 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 cmux import (