LICENSE 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  1. Apache License
  2. Version 2.0, January 2004
  3. http://www.apache.org/licenses/
  4. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  5. 1. Definitions.
  6. "License" shall mean the terms and conditions for use, reproduction,
  7. and distribution as defined by Sections 1 through 9 of this document.
  8. "Licensor" shall mean the copyright owner or entity authorized by
  9. the copyright owner that is granting the License.
  10. "Legal Entity" shall mean the union of the acting entity and all
  11. other entities that control, are controlled by, or are under common
  12. control with that entity. For the purposes of this definition,
  13. "control" means (i) the power, direct or indirect, to cause the
  14. direction or management of such entity, whether by contract or
  15. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  16. outstanding shares, or (iii) beneficial ownership of such entity.
  17. "You" (or "Your") shall mean an individual or Legal Entity
  18. exercising permissions granted by this License.
  19. "Source" form shall mean the preferred form for making modifications,
  20. including but not limited to software source code, documentation
  21. source, and configuration files.
  22. "Object" form shall mean any form resulting from mechanical
  23. transformation or translation of a Source form, including but
  24. not limited to compiled object code, generated documentation,
  25. and conversions to other media types.
  26. "Work" shall mean the work of authorship, whether in Source or
  27. Object form, made available under the License, as indicated by a
  28. copyright notice that is included in or attached to the work
  29. (an example is provided in the Appendix below).
  30. "Derivative Works" shall mean any work, whether in Source or Object
  31. form, that is based on (or derived from) the Work and for which the
  32. editorial revisions, annotations, elaborations, or other modifications
  33. represent, as a whole, an original work of authorship. For the purposes
  34. of this License, Derivative Works shall not include works that remain
  35. separable from, or merely link (or bind by name) to the interfaces of,
  36. the Work and Derivative Works thereof.
  37. "Contribution" shall mean any work of authorship, including
  38. the original version of the Work and any modifications or additions
  39. to that Work or Derivative Works thereof, that is intentionally
  40. submitted to Licensor for inclusion in the Work by the copyright owner
  41. or by an individual or Legal Entity authorized to submit on behalf of
  42. the copyright owner. For the purposes of this definition, "submitted"
  43. means any form of electronic, verbal, or written communication sent
  44. to the Licensor or its representatives, including but not limited to
  45. communication on electronic mailing lists, source code control systems,
  46. and issue tracking systems that are managed by, or on behalf of, the
  47. Licensor for the purpose of discussing and improving the Work, but
  48. excluding communication that is conspicuously marked or otherwise
  49. designated in writing by the copyright owner as "Not a Contribution."
  50. "Contributor" shall mean Licensor and any individual or Legal Entity
  51. on behalf of whom a Contribution has been received by Licensor and
  52. subsequently incorporated within the Work.
  53. 2. Grant of Copyright License. Subject to the terms and conditions of
  54. this License, each Contributor hereby grants to You a perpetual,
  55. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  56. copyright license to reproduce, prepare Derivative Works of,
  57. publicly display, publicly perform, sublicense, and distribute the
  58. Work and such Derivative Works in Source or Object form.
  59. 3. Grant of Patent License. Subject to the terms and conditions of
  60. this License, each Contributor hereby grants to You a perpetual,
  61. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  62. (except as stated in this section) patent license to make, have made,
  63. use, offer to sell, sell, import, and otherwise transfer the Work,
  64. where such license applies only to those patent claims licensable
  65. by such Contributor that are necessarily infringed by their
  66. Contribution(s) alone or by combination of their Contribution(s)
  67. with the Work to which such Contribution(s) was submitted. If You
  68. institute patent litigation against any entity (including a
  69. cross-claim or counterclaim in a lawsuit) alleging that the Work
  70. or a Contribution incorporated within the Work constitutes direct
  71. or contributory patent infringement, then any patent licenses
  72. granted to You under this License for that Work shall terminate
  73. as of the date such litigation is filed.
  74. 4. Redistribution. You may reproduce and distribute copies of the
  75. Work or Derivative Works thereof in any medium, with or without
  76. modifications, and in Source or Object form, provided that You
  77. meet the following conditions:
  78. (a) You must give any other recipients of the Work or
  79. Derivative Works a copy of this License; and
  80. (b) You must cause any modified files to carry prominent notices
  81. stating that You changed the files; and
  82. (c) You must retain, in the Source form of any Derivative Works
  83. that You distribute, all copyright, patent, trademark, and
  84. attribution notices from the Source form of the Work,
  85. excluding those notices that do not pertain to any part of
  86. the Derivative Works; and
  87. (d) If the Work includes a "NOTICE" text file as part of its
  88. distribution, then any Derivative Works that You distribute must
  89. include a readable copy of the attribution notices contained
  90. within such NOTICE file, excluding those notices that do not
  91. pertain to any part of the Derivative Works, in at least one
  92. of the following places: within a NOTICE text file distributed
  93. as part of the Derivative Works; within the Source form or
  94. documentation, if provided along with the Derivative Works; or,
  95. within a display generated by the Derivative Works, if and
  96. wherever such third-party notices normally appear. The contents
  97. of the NOTICE file are for informational purposes only and
  98. do not modify the License. You may add Your own attribution
  99. notices within Derivative Works that You distribute, alongside
  100. or as an addendum to the NOTICE text from the Work, provided
  101. that such additional attribution notices cannot be construed
  102. as modifying the License.
  103. You may add Your own copyright statement to Your modifications and
  104. may provide additional or different license terms and conditions
  105. for use, reproduction, or distribution of Your modifications, or
  106. for any such Derivative Works as a whole, provided Your use,
  107. reproduction, and distribution of the Work otherwise complies with
  108. the conditions stated in this License.
  109. 5. Submission of Contributions. Unless You explicitly state otherwise,
  110. any Contribution intentionally submitted for inclusion in the Work
  111. by You to the Licensor shall be under the terms and conditions of
  112. this License, without any additional terms or conditions.
  113. Notwithstanding the above, nothing herein shall supersede or modify
  114. the terms of any separate license agreement you may have executed
  115. with Licensor regarding such Contributions.
  116. 6. Trademarks. This License does not grant permission to use the trade
  117. names, trademarks, service marks, or product names of the Licensor,
  118. except as required for reasonable and customary use in describing the
  119. origin of the Work and reproducing the content of the NOTICE file.
  120. 7. Disclaimer of Warranty. Unless required by applicable law or
  121. agreed to in writing, Licensor provides the Work (and each
  122. Contributor provides its Contributions) on an "AS IS" BASIS,
  123. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  124. implied, including, without limitation, any warranties or conditions
  125. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  126. PARTICULAR PURPOSE. You are solely responsible for determining the
  127. appropriateness of using or redistributing the Work and assume any
  128. risks associated with Your exercise of permissions under this License.
  129. 8. Limitation of Liability. In no event and under no legal theory,
  130. whether in tort (including negligence), contract, or otherwise,
  131. unless required by applicable law (such as deliberate and grossly
  132. negligent acts) or agreed to in writing, shall any Contributor be
  133. liable to You for damages, including any direct, indirect, special,
  134. incidental, or consequential damages of any character arising as a
  135. result of this License or out of the use or inability to use the
  136. Work (including but not limited to damages for loss of goodwill,
  137. work stoppage, computer failure or malfunction, or any and all
  138. other commercial damages or losses), even if such Contributor
  139. has been advised of the possibility of such damages.
  140. 9. Accepting Warranty or Additional Liability. While redistributing
  141. the Work or Derivative Works thereof, You may choose to offer,
  142. and charge a fee for, acceptance of support, warranty, indemnity,
  143. or other liability obligations and/or rights consistent with this
  144. License. However, in accepting such obligations, You may act only
  145. on Your own behalf and on Your sole responsibility, not on behalf
  146. of any other Contributor, and only if You agree to indemnify,
  147. defend, and hold each Contributor harmless for any liability
  148. incurred by, or claims asserted against, such Contributor by reason
  149. of your accepting any such warranty or additional liability.
  150. END OF TERMS AND CONDITIONS
  151. APPENDIX: How to apply the Apache License to your work.
  152. To apply the Apache License to your work, attach the following
  153. boilerplate notice, with the fields enclosed by brackets "[]"
  154. replaced with your own identifying information. (Don't include
  155. the brackets!) The text should be enclosed in the appropriate
  156. comment syntax for the file format. We also recommend that a
  157. file or class name and description of purpose be included on the
  158. same "printed page" as the copyright notice for easier
  159. identification within third-party archives.
  160. Copyright [yyyy] [name of copyright owner]
  161. Licensed under the Apache License, Version 2.0 (the "License");
  162. you may not use this file except in compliance with the License.
  163. You may obtain a copy of the License at
  164. http://www.apache.org/licenses/LICENSE-2.0
  165. Unless required by applicable law or agreed to in writing, software
  166. distributed under the License is distributed on an "AS IS" BASIS,
  167. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  168. See the License for the specific language governing permissions and
  169. limitations under the License.
  170. --------------------------------------------------------------------------------
  171. src/butil/third_party/dmg_fp: licensed under the following terms:
  172. The author of this software is David M. Gay.
  173. Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
  174. Permission to use, copy, modify, and distribute this software for any
  175. purpose without fee is hereby granted, provided that this entire notice
  176. is included in all copies of any software which is or includes a copy
  177. or modification of this software and in all copies of the supporting
  178. documentation for such software.
  179. THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
  180. WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR LUCENT MAKES ANY
  181. REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
  182. OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
  183. --------------------------------------------------------------------------------
  184. src/butil/third_party/dynamic_annotations: licensed under the following terms:
  185. Copyright (c) 2008-2009, Google Inc.
  186. All rights reserved.
  187. Redistribution and use in source and binary forms, with or without
  188. modification, are permitted provided that the following conditions are
  189. met:
  190. * Redistributions of source code must retain the above copyright
  191. notice, this list of conditions and the following disclaimer.
  192. * Neither the name of Google Inc. nor the names of its
  193. contributors may be used to endorse or promote products derived from
  194. this software without specific prior written permission.
  195. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  196. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  197. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  198. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  199. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  200. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  201. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  202. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  203. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  204. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  205. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  206. --------------------------------------------------------------------------------
  207. src/butil/third_party/icu: licensed under the following terms:
  208. ICU License - ICU 1.8.1 and later
  209. COPYRIGHT AND PERMISSION NOTICE
  210. Copyright (c) 1995-2009 International Business Machines Corporation and others
  211. All rights reserved.
  212. Permission is hereby granted, free of charge, to any person obtaining
  213. a copy of this software and associated documentation files (the
  214. "Software"), to deal in the Software without restriction, including
  215. without limitation the rights to use, copy, modify, merge, publish,
  216. distribute, and/or sell copies of the Software, and to permit persons
  217. to whom the Software is furnished to do so, provided that the above
  218. copyright notice(s) and this permission notice appear in all copies of
  219. the Software and that both the above copyright notice(s) and this
  220. permission notice appear in supporting documentation.
  221. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  222. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  223. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
  224. OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
  225. HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY
  226. SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
  227. RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
  228. CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  229. CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  230. Except as contained in this notice, the name of a copyright holder
  231. shall not be used in advertising or otherwise to promote the sale, use
  232. or other dealings in this Software without prior written authorization
  233. of the copyright holder.
  234. --------------------------------------------------------------------------------
  235. src/butil/third_party/modp_b64: licensed under the following terms:
  236. MODP_B64 - High performance base64 encoder/decoder
  237. Version 1.3 -- 17-Mar-2006
  238. http://modp.com/release/base64
  239. Copyright (c) 2005, 2006 Nick Galbreath -- nickg [at] modp [dot] com
  240. All rights reserved.
  241. Redistribution and use in source and binary forms, with or without
  242. modification, are permitted provided that the following conditions are
  243. met:
  244. Redistributions of source code must retain the above copyright
  245. notice, this list of conditions and the following disclaimer.
  246. Redistributions in binary form must reproduce the above copyright
  247. notice, this list of conditions and the following disclaimer in the
  248. documentation and/or other materials provided with the distribution.
  249. Neither the name of the modp.com nor the names of its
  250. contributors may be used to endorse or promote products derived from
  251. this software without specific prior written permission.
  252. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  253. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  254. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  255. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  256. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  257. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  258. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  259. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  260. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  261. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  262. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  263. --------------------------------------------------------------------------------
  264. src/butil/third_party/murmurhash3: MIT license
  265. MurmurHash3 was written by Austin Appleby, and is placed in the public
  266. domain. The author hereby disclaims copyright to this source code.
  267. Permission is hereby granted, free of charge, to any person obtaining a copy of this
  268. software and associated documentation files (the "Software"), to deal in the Software
  269. without restriction, including without limitation the rights to use, copy, modify,
  270. merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
  271. permit persons to whom the Software is furnished to do so, subject to the following
  272. conditions:
  273. The above copyright notice and this permission notice shall be included in all copies or
  274. substantial portions of the Software.
  275. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
  276. INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  277. PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  278. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
  279. OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  280. OTHER DEALINGS IN THE SOFTWARE.
  281. --------------------------------------------------------------------------------
  282. src/butil/third_party/rapidjson: MIT license
  283. Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
  284. Permission is hereby granted, free of charge, to any person obtaining a copy of this
  285. software and associated documentation files (the "Software"), to deal in the Software
  286. without restriction, including without limitation the rights to use, copy, modify,
  287. merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
  288. permit persons to whom the Software is furnished to do so, subject to the following
  289. conditions:
  290. The above copyright notice and this permission notice shall be included in all copies or
  291. substantial portions of the Software.
  292. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
  293. INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  294. PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  295. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
  296. OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  297. OTHER DEALINGS IN THE SOFTWARE.
  298. --------------------------------------------------------------------------------
  299. src/butil/third_party/rapidjson/msinttypes: licensed under the following terms:
  300. Copyright (c) 2006-2013 Alexander Chemeris
  301. Redistribution and use in source and binary forms, with or without
  302. modification, are permitted provided that the following conditions are met:
  303. 1. Redistributions of source code must retain the above copyright notice,
  304. this list of conditions and the following disclaimer.
  305. 2. Redistributions in binary form must reproduce the above copyright
  306. notice, this list of conditions and the following disclaimer in the
  307. documentation and/or other materials provided with the distribution.
  308. 3. Neither the name of the product nor the names of its contributors may
  309. be used to endorse or promote products derived from this software
  310. without specific prior written permission.
  311. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
  312. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  313. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
  314. EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  315. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  316. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  317. OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  318. WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  319. OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  320. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  321. --------------------------------------------------------------------------------
  322. src/butil/third_party/superfasthash: licensed under the following terms:
  323. Paul Hsieh OLD BSD license
  324. Copyright (c) 2010, Paul Hsieh
  325. All rights reserved.
  326. Redistribution and use in source and binary forms, with or without modification,
  327. are permitted provided that the following conditions are met:
  328. * Redistributions of source code must retain the above copyright notice, this
  329. list of conditions and the following disclaimer.
  330. * Redistributions in binary form must reproduce the above copyright notice, this
  331. list of conditions and the following disclaimer in the documentation and/or
  332. other materials provided with the distribution.
  333. * Neither my name, Paul Hsieh, nor the names of any other contributors to the
  334. code use may not be used to endorse or promote products derived from this
  335. software without specific prior written permission.
  336. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  337. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  338. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  339. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
  340. ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  341. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  342. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  343. ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  344. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  345. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  346. --------------------------------------------------------------------------------
  347. src/butil/third_party/valgrind/valgrind.h: licensed under the following terms:
  348. This file is part of Valgrind, a dynamic binary instrumentation
  349. framework.
  350. Copyright (C) 2000-2008 Julian Seward. All rights reserved.
  351. Redistribution and use in source and binary forms, with or without
  352. modification, are permitted provided that the following conditions
  353. are met:
  354. 1. Redistributions of source code must retain the above copyright
  355. notice, this list of conditions and the following disclaimer.
  356. 2. The origin of this software must not be misrepresented; you must
  357. not claim that you wrote the original software. If you use this
  358. software in a product, an acknowledgment in the product
  359. documentation would be appreciated but is not required.
  360. 3. Altered source versions must be plainly marked as such, and must
  361. not be misrepresented as being the original software.
  362. 4. The name of the author may not be used to endorse or promote
  363. products derived from this software without specific prior written
  364. permission.
  365. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
  366. OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  367. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  368. ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  369. DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  370. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  371. GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  372. INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  373. WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  374. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  375. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  376. --------------------------------------------------------------------------------
  377. src/butil/crc32c.h, src/butil/crc32c.cc, test/crc32c_unittest.cc: licensed under the following terms:
  378. Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
  379. This source code is licensed under the BSD-style license found in the
  380. LICENSE file in the root directory of this source tree. An additional grant
  381. of patent rights can be found in the PATENTS file in the same directory.
  382. Copyright (c) 2011 The LevelDB Authors. All rights reserved.
  383. Use of this source code is governed by a BSD-style license that can be
  384. found in the LICENSE file. See the AUTHORS file for names of contributors.
  385. --------------------------------------------------------------------------------
  386. src/butil/unique_ptr.h: licensed under the following terms:
  387. Copyright 2009 Howard Hinnant, Ion Gaztañaga.
  388. Distributed under the Boost Software License, Version 1.0. (See
  389. accompanying file LICENSE_1_0.txt or copy at
  390. http://www.boost.org/LICENSE_1_0.txt)
  391. --------------------------------------------------------------------------------
  392. src/butil/intrusive_ptr.hpp: licensed under the following terms:
  393. Copyright (c) 2001, 2002 Peter Dimov
  394. Distributed under the Boost Software License, Version 1.0. (See
  395. accompanying file LICENSE_1_0.txt or copy at
  396. http://www.boost.org/LICENSE_1_0.txt)
  397. --------------------------------------------------------------------------------
  398. src/butil/string_printf.cpp: licensed under the following terms:
  399. Copyright 2012 Facebook, Inc.
  400. Licensed under the Apache License, Version 2.0 (the "License");
  401. you may not use this file except in compliance with the License.
  402. You may obtain a copy of the License at
  403. http://www.apache.org/licenses/LICENSE-2.0
  404. Unless required by applicable law or agreed to in writing, software
  405. distributed under the License is distributed on an "AS IS" BASIS,
  406. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  407. See the License for the specific language governing permissions and
  408. limitations under the License.
  409. --------------------------------------------------------------------------------
  410. src/bthread/context.h, src/bthread/context.cpp: licensed under the following terms:
  411. libcontext - a slightly more portable version of boost::context
  412. Copyright Martin Husemann 2013.
  413. Copyright Oliver Kowalke 2009.
  414. Copyright Sergue E. Leontiev 2013.
  415. Copyright Thomas Sailer 2013.
  416. Minor modifications by Tomasz Wlostowski 2016.
  417. Distributed under the Boost Software License, Version 1.0.
  418. (See accompanying file LICENSE_1_0.txt or copy at
  419. http://www.boost.org/LICENSE_1_0.txt)
  420. --------------------------------------------------------------------------------
  421. src/brpc/details/tcmalloc_extension.h: 3-clause BSD
  422. Copyright (c) 2005, Google Inc.
  423. All rights reserved.
  424. Redistribution and use in source and binary forms, with or without
  425. modification, are permitted provided that the following conditions are
  426. met:
  427. * Redistributions of source code must retain the above copyright
  428. notice, this list of conditions and the following disclaimer.
  429. * Redistributions in binary form must reproduce the above
  430. copyright notice, this list of conditions and the following disclaimer
  431. in the documentation and/or other materials provided with the
  432. distribution.
  433. * Neither the name of Google Inc. nor the names of its
  434. contributors may be used to endorse or promote products derived from
  435. this software without specific prior written permission.
  436. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  437. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  438. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  439. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  440. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  441. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  442. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  443. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  444. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  445. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  446. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  447. --------------------------------------------------------------------------------
  448. src/brpc/details/http_parser.h, src/brpc/details/http_parser.cpp:
  449. licensed under the following terms:
  450. Based on src/http/ngx_http_parse.c from NGINX copyright Igor Sysoev
  451. Additional changes are licensed under the same terms as NGINX and
  452. copyright Joyent, Inc. and other Node contributors. All rights reserved.
  453. Permission is hereby granted, free of charge, to any person obtaining a copy
  454. of this software and associated documentation files (the "Software"), to
  455. deal in the Software without restriction, including without limitation the
  456. rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  457. sell copies of the Software, and to permit persons to whom the Software is
  458. furnished to do so, subject to the following conditions:
  459. The above copyright notice and this permission notice shall be included in
  460. all copies or substantial portions of the Software.
  461. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  462. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  463. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  464. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  465. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  466. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  467. IN THE SOFTWARE.
  468. --------------------------------------------------------------------------------
  469. src/brpc/ts.h, src/brpc/policy/dh.h, src/brpc/policy/dh.cpp: MIT license
  470. Copyright (c) 2013-2015 SRS(ossrs)
  471. Permission is hereby granted, free of charge, to any person obtaining a copy of
  472. this software and associated documentation files (the "Software"), to deal in
  473. the Software without restriction, including without limitation the rights to
  474. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
  475. the Software, and to permit persons to whom the Software is furnished to do so,
  476. subject to the following conditions:
  477. The above copyright notice and this permission notice shall be included in all
  478. copies or substantial portions of the Software.
  479. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  480. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  481. FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  482. COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  483. IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  484. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  485. --------------------------------------------------------------------------------
  486. src/brpc/ts.cpp: licensed under the following terms:
  487. Copyright (c) 2013-2015 SRS(ossrs)
  488. Permission is hereby granted, free of charge, to any person obtaining a copy of
  489. this software and associated documentation files (the "Software"), to deal in
  490. the Software without restriction, including without limitation the rights to
  491. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
  492. the Software, and to permit persons to whom the Software is furnished to do so,
  493. subject to the following conditions:
  494. The above copyright notice and this permission notice shall be included in all
  495. copies or substantial portions of the Software.
  496. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  497. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  498. FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  499. COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  500. IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  501. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  502. Copyright (c) 2008 Joerg Sonnenberger
  503. Copyright (c) 2009-2012 Michihiro NAKAJIMA
  504. All rights reserved.
  505. Redistribution and use in source and binary forms, with or without
  506. modification, are permitted provided that the following conditions
  507. are met:
  508. 1. Redistributions of source code must retain the above copyright
  509. notice, this list of conditions and the following disclaimer.
  510. 2. Redistributions in binary form must reproduce the above copyright
  511. notice, this list of conditions and the following disclaimer in the
  512. documentation and/or other materials provided with the distribution.
  513. THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
  514. IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  515. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  516. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
  517. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  518. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  519. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  520. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  521. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  522. THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  523. --------------------------------------------------------------------------------
  524. src/brpc/builtin/pprof_perl.cpp, tools/pprof: licensed under the following terms:
  525. Copyright (c) 1998-2007, Google Inc.
  526. All rights reserved.
  527. Redistribution and use in source and binary forms, with or without
  528. modification, are permitted provided that the following conditions are
  529. met:
  530. * Redistributions of source code must retain the above copyright
  531. notice, this list of conditions and the following disclaimer.
  532. * Redistributions in binary form must reproduce the above
  533. copyright notice, this list of conditions and the following disclaimer
  534. in the documentation and/or other materials provided with the
  535. distribution.
  536. * Neither the name of Google Inc. nor the names of its
  537. contributors may be used to endorse or promote products derived from
  538. this software without specific prior written permission.
  539. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  540. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  541. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  542. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  543. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  544. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  545. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  546. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  547. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  548. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  549. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  550. SVGPan library 1.2
  551. ====================
  552. Copyright 2009-2010 Andrea Leofreddi <a.leofreddi@itcharm.com>. All rights reserved.
  553. Redistribution and use in source and binary forms, with or without modification, are
  554. permitted provided that the following conditions are met:
  555. 1. Redistributions of source code must retain the above copyright notice, this list of
  556. conditions and the following disclaimer.
  557. 2. Redistributions in binary form must reproduce the above copyright notice, this list
  558. of conditions and the following disclaimer in the documentation and/or other materials
  559. provided with the distribution.
  560. THIS SOFTWARE IS PROVIDED BY Andrea Leofreddi ``AS IS'' AND ANY EXPRESS OR IMPLIED
  561. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  562. FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Andrea Leofreddi OR
  563. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  564. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  565. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  566. ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  567. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  568. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  569. The views and conclusions contained in the software and documentation are those of the
  570. authors and should not be interpreted as representing official policies, either expressed
  571. or implied, of Andrea Leofreddi.
  572. --------------------------------------------------------------------------------
  573. src/brpc/callback.h: 3-clause BSD
  574. Protocol Buffers - Google's data interchange format
  575. Copyright 2008 Google Inc. All rights reserved.
  576. http://code.google.com/p/protobuf/
  577. Redistribution and use in source and binary forms, with or without
  578. modification, are permitted provided that the following conditions are
  579. met:
  580. * Redistributions of source code must retain the above copyright
  581. notice, this list of conditions and the following disclaimer.
  582. * Redistributions in binary form must reproduce the above
  583. copyright notice, this list of conditions and the following disclaimer
  584. in the documentation and/or other materials provided with the
  585. distribution.
  586. * Neither the name of Google Inc. nor the names of its
  587. contributors may be used to endorse or promote products derived from
  588. this software without specific prior written permission.
  589. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  590. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  591. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  592. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  593. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  594. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  595. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  596. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  597. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  598. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  599. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  600. --------------------------------------------------------------------------------
  601. src/butil/(some files), test/(some files): 3-clause BSD
  602. Some portions of these files are derived from code in the Chromium project,
  603. copyright (c) Google inc and (c) The Chromium Authors and licensed under the
  604. 3-clause BSD license:
  605. Copyright (c) 2000 - 2014 The Chromium Authors. All rights reserved.
  606. Redistribution and use in source and binary forms, with or without
  607. modification, are permitted provided that the following conditions are
  608. met:
  609. * Redistributions of source code must retain the above copyright
  610. notice, this list of conditions and the following disclaimer.
  611. * Redistributions in binary form must reproduce the above
  612. copyright notice, this list of conditions and the following disclaimer
  613. in the documentation and/or other materials provided with the
  614. distribution.
  615. * Neither the name of Google Inc. nor the names of its
  616. contributors may be used to endorse or promote products derived from
  617. this software without specific prior written permission.
  618. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  619. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  620. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  621. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  622. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  623. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  624. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  625. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  626. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  627. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  628. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.