|
@@ -423,6 +423,240 @@ src/butil/third_party/valgrind/valgrind.h: licensed under the following terms:
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
+src/butil/crc32c.h, src/butil/crc32c.cc: licensed under the following terms:
|
|
|
+
|
|
|
+ Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
|
|
|
+ This source code is licensed under the BSD-style license found in the
|
|
|
+ LICENSE file in the root directory of this source tree. An additional grant
|
|
|
+ of patent rights can be found in the PATENTS file in the same directory.
|
|
|
+
|
|
|
+ Copyright (c) 2011 The LevelDB Authors. All rights reserved.
|
|
|
+ Use of this source code is governed by a BSD-style license that can be
|
|
|
+ found in the LICENSE file. See the AUTHORS file for names of contributors.
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/butil/unique_ptr.h: licensed under the following terms:
|
|
|
+
|
|
|
+ Copyright 2009 Howard Hinnant, Ion Gaztañaga.
|
|
|
+ Distributed under the Boost Software License, Version 1.0. (See
|
|
|
+ accompanying file LICENSE_1_0.txt or copy at
|
|
|
+ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/butil/intrusive_ptr.hpp: licensed under the following terms:
|
|
|
+
|
|
|
+ Copyright (c) 2001, 2002 Peter Dimov
|
|
|
+
|
|
|
+ Distributed under the Boost Software License, Version 1.0. (See
|
|
|
+ accompanying file LICENSE_1_0.txt or copy at
|
|
|
+ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/butil/string_printf.cpp: licensed under the following terms:
|
|
|
+
|
|
|
+ Copyright 2012 Facebook, 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.
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/butil/memory/scoped_array.h: 3-clause BSD
|
|
|
+
|
|
|
+ Copyright (c) 2017, Tencent Inc.
|
|
|
+ All rights reserved.
|
|
|
+
|
|
|
+ Redistribution and use in source and binary forms, with or without
|
|
|
+ modification, are permitted provided that the following conditions are met:
|
|
|
+
|
|
|
+ * Redistributions of source code must retain the above copyright notice, this
|
|
|
+ list of conditions and the following disclaimer.
|
|
|
+
|
|
|
+ * Redistributions in binary form must reproduce the above copyright notice,
|
|
|
+ this list of conditions and the following disclaimer in the documentation
|
|
|
+ and/or other materials provided with the distribution.
|
|
|
+
|
|
|
+ * Neither the name of the copyright holder nor the names of its
|
|
|
+ contributors may be used to endorse or promote products derived from
|
|
|
+ this software without specific prior written permission.
|
|
|
+
|
|
|
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/bthread/context.h, src/bthread/context.cpp: licensed under the following terms:
|
|
|
+
|
|
|
+ libcontext - a slightly more portable version of boost::context
|
|
|
+ Copyright Martin Husemann 2013.
|
|
|
+ Copyright Oliver Kowalke 2009.
|
|
|
+ Copyright Sergue E. Leontiev 2013.
|
|
|
+ Copyright Thomas Sailer 2013.
|
|
|
+ Minor modifications by Tomasz Wlostowski 2016.
|
|
|
+ Distributed under the Boost Software License, Version 1.0.
|
|
|
+ (See accompanying file LICENSE_1_0.txt or copy at
|
|
|
+ http://www.boost.org/LICENSE_1_0.txt)
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/brpc/details/tcmalloc_extension.h: 3-clause BSD
|
|
|
+
|
|
|
+ Copyright (c) 2005, Google Inc.
|
|
|
+ All rights reserved.
|
|
|
+
|
|
|
+ Redistribution and use in source and binary forms, with or without
|
|
|
+ modification, are permitted provided that the following conditions are
|
|
|
+ met:
|
|
|
+
|
|
|
+ * Redistributions of source code must retain the above copyright
|
|
|
+ notice, this list of conditions and the following disclaimer.
|
|
|
+ * Redistributions in binary form must reproduce the above
|
|
|
+ copyright notice, this list of conditions and the following disclaimer
|
|
|
+ in the documentation and/or other materials provided with the
|
|
|
+ distribution.
|
|
|
+ * Neither the name of Google Inc. nor the names of its
|
|
|
+ contributors may be used to endorse or promote products derived from
|
|
|
+ this software without specific prior written permission.
|
|
|
+
|
|
|
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/brpc/details/http_parser.h, src/brpc/details/http_parser.cpp:
|
|
|
+licensed under the following terms:
|
|
|
+
|
|
|
+ Based on src/http/ngx_http_parse.c from NGINX copyright Igor Sysoev
|
|
|
+
|
|
|
+ Additional changes are licensed under the same terms as NGINX and
|
|
|
+ copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
|
+
|
|
|
+ Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
+ of this software and associated documentation files (the "Software"), to
|
|
|
+ deal in the Software without restriction, including without limitation the
|
|
|
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
+ sell copies of the Software, and to permit persons to whom the Software is
|
|
|
+ furnished to do so, subject to the following conditions:
|
|
|
+
|
|
|
+ The above copyright notice and this permission notice shall be included in
|
|
|
+ all copies or substantial portions of the Software.
|
|
|
+
|
|
|
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
+ IN THE SOFTWARE.
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/brpc/ts.h, src/brpc/ts.cpp, src/brpc/policy/dh.h, src/brpc/policy/dh.cpp: MIT license
|
|
|
+
|
|
|
+ Copyright (c) 2013-2015 SRS(ossrs)
|
|
|
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
+ this software and associated documentation files (the "Software"), to deal in
|
|
|
+ the Software without restriction, including without limitation the rights to
|
|
|
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
|
+ the Software, and to permit persons to whom the Software is furnished to do so,
|
|
|
+ subject to the following conditions:
|
|
|
+ The above copyright notice and this permission notice shall be included in all
|
|
|
+ copies or substantial portions of the Software.
|
|
|
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
|
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
|
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
|
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/brpc/builtin/pprof_perl.cpp: 3-clause BSD
|
|
|
+
|
|
|
+ Copyright (c) 1998-2007, Google Inc.
|
|
|
+ All rights reserved.
|
|
|
+
|
|
|
+ Redistribution and use in source and binary forms, with or without
|
|
|
+ modification, are permitted provided that the following conditions are
|
|
|
+ met:
|
|
|
+
|
|
|
+ * Redistributions of source code must retain the above copyright
|
|
|
+ notice, this list of conditions and the following disclaimer.
|
|
|
+ * Redistributions in binary form must reproduce the above
|
|
|
+ copyright notice, this list of conditions and the following disclaimer
|
|
|
+ in the documentation and/or other materials provided with the
|
|
|
+ distribution.
|
|
|
+ * Neither the name of Google Inc. nor the names of its
|
|
|
+ contributors may be used to endorse or promote products derived from
|
|
|
+ this software without specific prior written permission.
|
|
|
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
+src/brpc/builtin/flamegraph_perl.cpp: licensed under the following terms:
|
|
|
+
|
|
|
+ Copyright 2016 Netflix, Inc.
|
|
|
+ Copyright 2011 Joyent, Inc. All rights reserved.
|
|
|
+ Copyright 2011 Brendan Gregg. All rights reserved.
|
|
|
+
|
|
|
+ CDDL HEADER START
|
|
|
+
|
|
|
+ The contents of this file are subject to the terms of the
|
|
|
+ Common Development and Distribution License (the "License").
|
|
|
+ You may not use this file except in compliance with the License.
|
|
|
+
|
|
|
+ You can obtain a copy of the license at docs/cddl1.txt or
|
|
|
+ http://opensource.org/licenses/CDDL-1.0.
|
|
|
+ See the License for the specific language governing permissions
|
|
|
+ and limitations under the License.
|
|
|
+
|
|
|
+ When distributing Covered Code, include this CDDL HEADER in each
|
|
|
+ file and include the License file at docs/cddl1.txt.
|
|
|
+ If applicable, add the following below this CDDL HEADER, with the
|
|
|
+ fields enclosed by brackets "[]" replaced with your own identifying
|
|
|
+ information: Portions Copyright [yyyy] [name of copyright owner]
|
|
|
+
|
|
|
+ CDDL HEADER END
|
|
|
+
|
|
|
+--------------------------------------------------------------------------------
|
|
|
+
|
|
|
src/butil (some portions): 3-clause BSD
|
|
|
|
|
|
Some portions of this module are derived from code in the Chromium project,
|