diff options
Diffstat (limited to 'xdelta3/testing/cmp.h')
-rw-r--r-- | xdelta3/testing/cmp.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/xdelta3/testing/cmp.h b/xdelta3/testing/cmp.h index 53ae671..60748cb 100644 --- a/xdelta3/testing/cmp.h +++ b/xdelta3/testing/cmp.h | |||
@@ -1,4 +1,18 @@ | |||
1 | /* -*- Mode: C++ -*- */ | 1 | /* xdelta3 - delta compression tools and library -*- Mode: C++ -*- |
2 | Copyright 2016 Joshua MacDonald | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
2 | static size_t CmpDifferentBlockBytes(const Block &a, const Block &b) { | 16 | static size_t CmpDifferentBlockBytes(const Block &a, const Block &b) { |
3 | size_t total = 0; | 17 | size_t total = 0; |
4 | size_t i = 0; | 18 | size_t i = 0; |