This is an automated email from the ASF dual-hosted git repository. dinglei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/rocketmq-ons-cpp.git
commit 7317256b6ee58e02fc595c385845879506d9973a Author: ShannonDing <[email protected]> AuthorDate: Wed Jul 24 21:33:41 2019 +0800 Add lisence header for rapidjson --- src/main/cpp/sdk/common/rapidjson/allocators.h | 17 +++++++++++++++ .../cpp/sdk/common/rapidjson/cursorstreamwrapper.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/document.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/encodedstream.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/encodings.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/error/en.h | 23 +++++++++++++++++--- src/main/cpp/sdk/common/rapidjson/error/error.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/filereadstream.h | 17 +++++++++++++++ .../cpp/sdk/common/rapidjson/filewritestream.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/fwd.h | 17 +++++++++++++++ .../cpp/sdk/common/rapidjson/internal/biginteger.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/internal/diyfp.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/internal/dtoa.h | 17 +++++++++++++++ .../cpp/sdk/common/rapidjson/internal/ieee754.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/internal/itoa.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/internal/meta.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/internal/pow10.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/internal/regex.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/internal/stack.h | 17 +++++++++++++++ .../cpp/sdk/common/rapidjson/internal/strfunc.h | 17 +++++++++++++++ .../cpp/sdk/common/rapidjson/internal/strtod.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/internal/swap.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/istreamwrapper.h | 25 ++++++++++++++++++---- src/main/cpp/sdk/common/rapidjson/memorybuffer.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/memorystream.h | 17 +++++++++++++++ .../cpp/sdk/common/rapidjson/msinttypes/inttypes.h | 17 +++++++++++++++ .../cpp/sdk/common/rapidjson/msinttypes/stdint.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/ostreamwrapper.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/pointer.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/prettywriter.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/rapidjson.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/reader.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/schema.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/stream.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/stringbuffer.h | 17 +++++++++++++++ src/main/cpp/sdk/common/rapidjson/writer.h | 17 +++++++++++++++ src/main/cpp/sdk/common/spdlog/version.h | 17 +++++++++++++++ 37 files changed, 636 insertions(+), 7 deletions(-) diff --git a/src/main/cpp/sdk/common/rapidjson/allocators.h b/src/main/cpp/sdk/common/rapidjson/allocators.h index cc67c89..b32042f 100644 --- a/src/main/cpp/sdk/common/rapidjson/allocators.h +++ b/src/main/cpp/sdk/common/rapidjson/allocators.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/cursorstreamwrapper.h b/src/main/cpp/sdk/common/rapidjson/cursorstreamwrapper.h index 52c11a7..2596352 100644 --- a/src/main/cpp/sdk/common/rapidjson/cursorstreamwrapper.h +++ b/src/main/cpp/sdk/common/rapidjson/cursorstreamwrapper.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/document.h b/src/main/cpp/sdk/common/rapidjson/document.h index d1b90eb..5f3549b 100644 --- a/src/main/cpp/sdk/common/rapidjson/document.h +++ b/src/main/cpp/sdk/common/rapidjson/document.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/encodedstream.h b/src/main/cpp/sdk/common/rapidjson/encodedstream.h index 223601c..2f23c11 100644 --- a/src/main/cpp/sdk/common/rapidjson/encodedstream.h +++ b/src/main/cpp/sdk/common/rapidjson/encodedstream.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/encodings.h b/src/main/cpp/sdk/common/rapidjson/encodings.h index 0b24467..579baa6 100644 --- a/src/main/cpp/sdk/common/rapidjson/encodings.h +++ b/src/main/cpp/sdk/common/rapidjson/encodings.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/error/en.h b/src/main/cpp/sdk/common/rapidjson/error/en.h index 2db838b..f0a54a1 100644 --- a/src/main/cpp/sdk/common/rapidjson/error/en.h +++ b/src/main/cpp/sdk/common/rapidjson/error/en.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. @@ -39,13 +56,13 @@ inline const RAPIDJSON_ERROR_CHARTYPE* GetParseError_En(ParseErrorCode parseErro case kParseErrorDocumentEmpty: return RAPIDJSON_ERROR_STRING("The document is empty."); case kParseErrorDocumentRootNotSingular: return RAPIDJSON_ERROR_STRING("The document root must not be followed by other values."); - + case kParseErrorValueInvalid: return RAPIDJSON_ERROR_STRING("Invalid value."); - + case kParseErrorObjectMissName: return RAPIDJSON_ERROR_STRING("Missing a name for object member."); case kParseErrorObjectMissColon: return RAPIDJSON_ERROR_STRING("Missing a colon after a name of object member."); case kParseErrorObjectMissCommaOrCurlyBracket: return RAPIDJSON_ERROR_STRING("Missing a comma or '}' after an object member."); - + case kParseErrorArrayMissCommaOrSquareBracket: return RAPIDJSON_ERROR_STRING("Missing a comma or ']' after an array element."); case kParseErrorStringUnicodeEscapeInvalidHex: return RAPIDJSON_ERROR_STRING("Incorrect hex digit after \\u escape in string."); diff --git a/src/main/cpp/sdk/common/rapidjson/error/error.h b/src/main/cpp/sdk/common/rapidjson/error/error.h index 9311d2f..208428e 100644 --- a/src/main/cpp/sdk/common/rapidjson/error/error.h +++ b/src/main/cpp/sdk/common/rapidjson/error/error.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/filereadstream.h b/src/main/cpp/sdk/common/rapidjson/filereadstream.h index 6b34370..dd45a8a 100644 --- a/src/main/cpp/sdk/common/rapidjson/filereadstream.h +++ b/src/main/cpp/sdk/common/rapidjson/filereadstream.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/filewritestream.h b/src/main/cpp/sdk/common/rapidjson/filewritestream.h index 8b48fee..a5036f2 100644 --- a/src/main/cpp/sdk/common/rapidjson/filewritestream.h +++ b/src/main/cpp/sdk/common/rapidjson/filewritestream.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/fwd.h b/src/main/cpp/sdk/common/rapidjson/fwd.h index e8104e8..dcf64eb 100644 --- a/src/main/cpp/sdk/common/rapidjson/fwd.h +++ b/src/main/cpp/sdk/common/rapidjson/fwd.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/biginteger.h b/src/main/cpp/sdk/common/rapidjson/internal/biginteger.h index a31c8a8..ee32cd1 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/biginteger.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/biginteger.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/diyfp.h b/src/main/cpp/sdk/common/rapidjson/internal/diyfp.h index b6c2cf5..cbdea74 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/diyfp.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/diyfp.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/dtoa.h b/src/main/cpp/sdk/common/rapidjson/internal/dtoa.h index bf2e9b2..dfa9cf6 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/dtoa.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/dtoa.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/ieee754.h b/src/main/cpp/sdk/common/rapidjson/internal/ieee754.h index c2684ba..b02e3ce 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/ieee754.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/ieee754.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/itoa.h b/src/main/cpp/sdk/common/rapidjson/internal/itoa.h index 9b1c45c..31fac5a 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/itoa.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/itoa.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/meta.h b/src/main/cpp/sdk/common/rapidjson/internal/meta.h index d401edf..351217d 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/meta.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/meta.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/pow10.h b/src/main/cpp/sdk/common/rapidjson/internal/pow10.h index 02f475d..602de97 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/pow10.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/pow10.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/regex.h b/src/main/cpp/sdk/common/rapidjson/internal/regex.h index 16e3559..0c02f71 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/regex.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/regex.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/stack.h b/src/main/cpp/sdk/common/rapidjson/internal/stack.h index 45dca6a..dd64999 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/stack.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/stack.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/strfunc.h b/src/main/cpp/sdk/common/rapidjson/internal/strfunc.h index 226439a..9b919ba 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/strfunc.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/strfunc.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/strtod.h b/src/main/cpp/sdk/common/rapidjson/internal/strtod.h index dfca22b..8689d55 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/strtod.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/strtod.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/internal/swap.h b/src/main/cpp/sdk/common/rapidjson/internal/swap.h index 666e49f..38072fc 100644 --- a/src/main/cpp/sdk/common/rapidjson/internal/swap.h +++ b/src/main/cpp/sdk/common/rapidjson/internal/swap.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/istreamwrapper.h b/src/main/cpp/sdk/common/rapidjson/istreamwrapper.h index c4950b9..18af736 100644 --- a/src/main/cpp/sdk/common/rapidjson/istreamwrapper.h +++ b/src/main/cpp/sdk/common/rapidjson/istreamwrapper.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. @@ -44,7 +61,7 @@ RAPIDJSON_NAMESPACE_BEGIN \tparam StreamType Class derived from \c std::basic_istream. */ - + template <typename StreamType> class BasicIStreamWrapper { public: @@ -54,7 +71,7 @@ public: /*! \param stream stream opened for read. */ - BasicIStreamWrapper(StreamType &stream) : stream_(stream), buffer_(peekBuffer_), bufferSize_(4), bufferLast_(0), current_(buffer_), readCount_(0), count_(0), eof_(false) { + BasicIStreamWrapper(StreamType &stream) : stream_(stream), buffer_(peekBuffer_), bufferSize_(4), bufferLast_(0), current_(buffer_), readCount_(0), count_(0), eof_(false) { Read(); } @@ -64,7 +81,7 @@ public: \param buffer user-supplied buffer. \param bufferSize size of buffer in bytes. Must >=4 bytes. */ - BasicIStreamWrapper(StreamType &stream, char* buffer, size_t bufferSize) : stream_(stream), buffer_(buffer), bufferSize_(bufferSize), bufferLast_(0), current_(buffer_), readCount_(0), count_(0), eof_(false) { + BasicIStreamWrapper(StreamType &stream, char* buffer, size_t bufferSize) : stream_(stream), buffer_(buffer), bufferSize_(bufferSize), bufferLast_(0), current_(buffer_), readCount_(0), count_(0), eof_(false) { RAPIDJSON_ASSERT(bufferSize >= 4); Read(); } @@ -75,7 +92,7 @@ public: // Not implemented void Put(Ch) { RAPIDJSON_ASSERT(false); } - void Flush() { RAPIDJSON_ASSERT(false); } + void Flush() { RAPIDJSON_ASSERT(false); } Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } diff --git a/src/main/cpp/sdk/common/rapidjson/memorybuffer.h b/src/main/cpp/sdk/common/rapidjson/memorybuffer.h index 39bee1d..d57530d 100644 --- a/src/main/cpp/sdk/common/rapidjson/memorybuffer.h +++ b/src/main/cpp/sdk/common/rapidjson/memorybuffer.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/memorystream.h b/src/main/cpp/sdk/common/rapidjson/memorystream.h index 1d71d8a..f6c6db0 100644 --- a/src/main/cpp/sdk/common/rapidjson/memorystream.h +++ b/src/main/cpp/sdk/common/rapidjson/memorystream.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/msinttypes/inttypes.h b/src/main/cpp/sdk/common/rapidjson/msinttypes/inttypes.h index 1811128..368a709 100644 --- a/src/main/cpp/sdk/common/rapidjson/msinttypes/inttypes.h +++ b/src/main/cpp/sdk/common/rapidjson/msinttypes/inttypes.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // ISO C9x compliant inttypes.h for Microsoft Visual Studio // Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 // diff --git a/src/main/cpp/sdk/common/rapidjson/msinttypes/stdint.h b/src/main/cpp/sdk/common/rapidjson/msinttypes/stdint.h index 3d4477b..4da5fad 100644 --- a/src/main/cpp/sdk/common/rapidjson/msinttypes/stdint.h +++ b/src/main/cpp/sdk/common/rapidjson/msinttypes/stdint.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // ISO C9x compliant stdint.h for Microsoft Visual Studio // Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 // diff --git a/src/main/cpp/sdk/common/rapidjson/ostreamwrapper.h b/src/main/cpp/sdk/common/rapidjson/ostreamwrapper.h index 6f4667c..bda8bc8 100644 --- a/src/main/cpp/sdk/common/rapidjson/ostreamwrapper.h +++ b/src/main/cpp/sdk/common/rapidjson/ostreamwrapper.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/pointer.h b/src/main/cpp/sdk/common/rapidjson/pointer.h index 063abab..3922827 100644 --- a/src/main/cpp/sdk/common/rapidjson/pointer.h +++ b/src/main/cpp/sdk/common/rapidjson/pointer.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/prettywriter.h b/src/main/cpp/sdk/common/rapidjson/prettywriter.h index 45afb69..e508949 100644 --- a/src/main/cpp/sdk/common/rapidjson/prettywriter.h +++ b/src/main/cpp/sdk/common/rapidjson/prettywriter.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/rapidjson.h b/src/main/cpp/sdk/common/rapidjson/rapidjson.h index 549936f..62c4463 100644 --- a/src/main/cpp/sdk/common/rapidjson/rapidjson.h +++ b/src/main/cpp/sdk/common/rapidjson/rapidjson.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/reader.h b/src/main/cpp/sdk/common/rapidjson/reader.h index 44a6bcd..fa93b41 100644 --- a/src/main/cpp/sdk/common/rapidjson/reader.h +++ b/src/main/cpp/sdk/common/rapidjson/reader.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/schema.h b/src/main/cpp/sdk/common/rapidjson/schema.h index 5b622f7..74e5c17 100644 --- a/src/main/cpp/sdk/common/rapidjson/schema.h +++ b/src/main/cpp/sdk/common/rapidjson/schema.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available-> // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip-> All rights reserved-> diff --git a/src/main/cpp/sdk/common/rapidjson/stream.h b/src/main/cpp/sdk/common/rapidjson/stream.h index 7f2643e..f650fcc 100644 --- a/src/main/cpp/sdk/common/rapidjson/stream.h +++ b/src/main/cpp/sdk/common/rapidjson/stream.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/stringbuffer.h b/src/main/cpp/sdk/common/rapidjson/stringbuffer.h index 4e38b82..cfcbce6 100644 --- a/src/main/cpp/sdk/common/rapidjson/stringbuffer.h +++ b/src/main/cpp/sdk/common/rapidjson/stringbuffer.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/rapidjson/writer.h b/src/main/cpp/sdk/common/rapidjson/writer.h index 6f5b690..bb7c454 100644 --- a/src/main/cpp/sdk/common/rapidjson/writer.h +++ b/src/main/cpp/sdk/common/rapidjson/writer.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + // Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. diff --git a/src/main/cpp/sdk/common/spdlog/version.h b/src/main/cpp/sdk/common/spdlog/version.h index 87a68bd..1e5967b 100755 --- a/src/main/cpp/sdk/common/spdlog/version.h +++ b/src/main/cpp/sdk/common/spdlog/version.h @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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(c) 2015 Gabi Melman. // Distributed under the MIT License (http://opensource.org/licenses/MIT)
