• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1===============================================================================
2
3matching.go
4https://creativecommons.org/licenses/by/3.0/legalcode
5
6Creative Commons Legal Code
7
8Attribution 3.0 Unported
9
10    CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
11    LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
12    ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
13    INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
14    REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
15    DAMAGES RESULTING FROM ITS USE.
16
17License
18
19THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
20COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
21COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
22AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
23
24BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
25TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
26BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
27CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
28CONDITIONS.
29
301. Definitions
31
32 a. "Adaptation" means a work based upon the Work, or upon the Work and
33    other pre-existing works, such as a translation, adaptation,
34    derivative work, arrangement of music or other alterations of a
35    literary or artistic work, or phonogram or performance and includes
36    cinematographic adaptations or any other form in which the Work may be
37    recast, transformed, or adapted including in any form recognizably
38    derived from the original, except that a work that constitutes a
39    Collection will not be considered an Adaptation for the purpose of
40    this License. For the avoidance of doubt, where the Work is a musical
41    work, performance or phonogram, the synchronization of the Work in
42    timed-relation with a moving image ("synching") will be considered an
43    Adaptation for the purpose of this License.
44 b. "Collection" means a collection of literary or artistic works, such as
45    encyclopedias and anthologies, or performances, phonograms or
46    broadcasts, or other works or subject matter other than works listed
47    in Section 1(f) below, which, by reason of the selection and
48    arrangement of their contents, constitute intellectual creations, in
49    which the Work is included in its entirety in unmodified form along
50    with one or more other contributions, each constituting separate and
51    independent works in themselves, which together are assembled into a
52    collective whole. A work that constitutes a Collection will not be
53    considered an Adaptation (as defined above) for the purposes of this
54    License.
55 c. "Distribute" means to make available to the public the original and
56    copies of the Work or Adaptation, as appropriate, through sale or
57    other transfer of ownership.
58 d. "Licensor" means the individual, individuals, entity or entities that
59    offer(s) the Work under the terms of this License.
60 e. "Original Author" means, in the case of a literary or artistic work,
61    the individual, individuals, entity or entities who created the Work
62    or if no individual or entity can be identified, the publisher; and in
63    addition (i) in the case of a performance the actors, singers,
64    musicians, dancers, and other persons who act, sing, deliver, declaim,
65    play in, interpret or otherwise perform literary or artistic works or
66    expressions of folklore; (ii) in the case of a phonogram the producer
67    being the person or legal entity who first fixes the sounds of a
68    performance or other sounds; and, (iii) in the case of broadcasts, the
69    organization that transmits the broadcast.
70 f. "Work" means the literary and/or artistic work offered under the terms
71    of this License including without limitation any production in the
72    literary, scientific and artistic domain, whatever may be the mode or
73    form of its expression including digital form, such as a book,
74    pamphlet and other writing; a lecture, address, sermon or other work
75    of the same nature; a dramatic or dramatico-musical work; a
76    choreographic work or entertainment in dumb show; a musical
77    composition with or without words; a cinematographic work to which are
78    assimilated works expressed by a process analogous to cinematography;
79    a work of drawing, painting, architecture, sculpture, engraving or
80    lithography; a photographic work to which are assimilated works
81    expressed by a process analogous to photography; a work of applied
82    art; an illustration, map, plan, sketch or three-dimensional work
83    relative to geography, topography, architecture or science; a
84    performance; a broadcast; a phonogram; a compilation of data to the
85    extent it is protected as a copyrightable work; or a work performed by
86    a variety or circus performer to the extent it is not otherwise
87    considered a literary or artistic work.
88 g. "You" means an individual or entity exercising rights under this
89    License who has not previously violated the terms of this License with
90    respect to the Work, or who has received express permission from the
91    Licensor to exercise rights under this License despite a previous
92    violation.
93 h. "Publicly Perform" means to perform public recitations of the Work and
94    to communicate to the public those public recitations, by any means or
95    process, including by wire or wireless means or public digital
96    performances; to make available to the public Works in such a way that
97    members of the public may access these Works from a place and at a
98    place individually chosen by them; to perform the Work to the public
99    by any means or process and the communication to the public of the
100    performances of the Work, including by public digital performance; to
101    broadcast and rebroadcast the Work by any means including signs,
102    sounds or images.
103 i. "Reproduce" means to make copies of the Work by any means including
104    without limitation by sound or visual recordings and the right of
105    fixation and reproducing fixations of the Work, including storage of a
106    protected performance or phonogram in digital form or other electronic
107    medium.
108
1092. Fair Dealing Rights. Nothing in this License is intended to reduce,
110limit, or restrict any uses free from copyright or rights arising from
111limitations or exceptions that are provided for in connection with the
112copyright protection under copyright law or other applicable laws.
113
1143. License Grant. Subject to the terms and conditions of this License,
115Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
116perpetual (for the duration of the applicable copyright) license to
117exercise the rights in the Work as stated below:
118
119 a. to Reproduce the Work, to incorporate the Work into one or more
120    Collections, and to Reproduce the Work as incorporated in the
121    Collections;
122 b. to create and Reproduce Adaptations provided that any such Adaptation,
123    including any translation in any medium, takes reasonable steps to
124    clearly label, demarcate or otherwise identify that changes were made
125    to the original Work. For example, a translation could be marked "The
126    original work was translated from English to Spanish," or a
127    modification could indicate "The original work has been modified.";
128 c. to Distribute and Publicly Perform the Work including as incorporated
129    in Collections; and,
130 d. to Distribute and Publicly Perform Adaptations.
131 e. For the avoidance of doubt:
132
133     i. Non-waivable Compulsory License Schemes. In those jurisdictions in
134        which the right to collect royalties through any statutory or
135        compulsory licensing scheme cannot be waived, the Licensor
136        reserves the exclusive right to collect such royalties for any
137        exercise by You of the rights granted under this License;
138    ii. Waivable Compulsory License Schemes. In those jurisdictions in
139        which the right to collect royalties through any statutory or
140        compulsory licensing scheme can be waived, the Licensor waives the
141        exclusive right to collect such royalties for any exercise by You
142        of the rights granted under this License; and,
143   iii. Voluntary License Schemes. The Licensor waives the right to
144        collect royalties, whether individually or, in the event that the
145        Licensor is a member of a collecting society that administers
146        voluntary licensing schemes, via that society, from any exercise
147        by You of the rights granted under this License.
148
149The above rights may be exercised in all media and formats whether now
150known or hereafter devised. The above rights include the right to make
151such modifications as are technically necessary to exercise the rights in
152other media and formats. Subject to Section 8(f), all rights not expressly
153granted by Licensor are hereby reserved.
154
1554. Restrictions. The license granted in Section 3 above is expressly made
156subject to and limited by the following restrictions:
157
158 a. You may Distribute or Publicly Perform the Work only under the terms
159    of this License. You must include a copy of, or the Uniform Resource
160    Identifier (URI) for, this License with every copy of the Work You
161    Distribute or Publicly Perform. You may not offer or impose any terms
162    on the Work that restrict the terms of this License or the ability of
163    the recipient of the Work to exercise the rights granted to that
164    recipient under the terms of the License. You may not sublicense the
165    Work. You must keep intact all notices that refer to this License and
166    to the disclaimer of warranties with every copy of the Work You
167    Distribute or Publicly Perform. When You Distribute or Publicly
168    Perform the Work, You may not impose any effective technological
169    measures on the Work that restrict the ability of a recipient of the
170    Work from You to exercise the rights granted to that recipient under
171    the terms of the License. This Section 4(a) applies to the Work as
172    incorporated in a Collection, but this does not require the Collection
173    apart from the Work itself to be made subject to the terms of this
174    License. If You create a Collection, upon notice from any Licensor You
175    must, to the extent practicable, remove from the Collection any credit
176    as required by Section 4(b), as requested. If You create an
177    Adaptation, upon notice from any Licensor You must, to the extent
178    practicable, remove from the Adaptation any credit as required by
179    Section 4(b), as requested.
180 b. If You Distribute, or Publicly Perform the Work or any Adaptations or
181    Collections, You must, unless a request has been made pursuant to
182    Section 4(a), keep intact all copyright notices for the Work and
183    provide, reasonable to the medium or means You are utilizing: (i) the
184    name of the Original Author (or pseudonym, if applicable) if supplied,
185    and/or if the Original Author and/or Licensor designate another party
186    or parties (e.g., a sponsor institute, publishing entity, journal) for
187    attribution ("Attribution Parties") in Licensor's copyright notice,
188    terms of service or by other reasonable means, the name of such party
189    or parties; (ii) the title of the Work if supplied; (iii) to the
190    extent reasonably practicable, the URI, if any, that Licensor
191    specifies to be associated with the Work, unless such URI does not
192    refer to the copyright notice or licensing information for the Work;
193    and (iv) , consistent with Section 3(b), in the case of an Adaptation,
194    a credit identifying the use of the Work in the Adaptation (e.g.,
195    "French translation of the Work by Original Author," or "Screenplay
196    based on original Work by Original Author"). The credit required by
197    this Section 4 (b) may be implemented in any reasonable manner;
198    provided, however, that in the case of a Adaptation or Collection, at
199    a minimum such credit will appear, if a credit for all contributing
200    authors of the Adaptation or Collection appears, then as part of these
201    credits and in a manner at least as prominent as the credits for the
202    other contributing authors. For the avoidance of doubt, You may only
203    use the credit required by this Section for the purpose of attribution
204    in the manner set out above and, by exercising Your rights under this
205    License, You may not implicitly or explicitly assert or imply any
206    connection with, sponsorship or endorsement by the Original Author,
207    Licensor and/or Attribution Parties, as appropriate, of You or Your
208    use of the Work, without the separate, express prior written
209    permission of the Original Author, Licensor and/or Attribution
210    Parties.
211 c. Except as otherwise agreed in writing by the Licensor or as may be
212    otherwise permitted by applicable law, if You Reproduce, Distribute or
213    Publicly Perform the Work either by itself or as part of any
214    Adaptations or Collections, You must not distort, mutilate, modify or
215    take other derogatory action in relation to the Work which would be
216    prejudicial to the Original Author's honor or reputation. Licensor
217    agrees that in those jurisdictions (e.g. Japan), in which any exercise
218    of the right granted in Section 3(b) of this License (the right to
219    make Adaptations) would be deemed to be a distortion, mutilation,
220    modification or other derogatory action prejudicial to the Original
221    Author's honor and reputation, the Licensor will waive or not assert,
222    as appropriate, this Section, to the fullest extent permitted by the
223    applicable national law, to enable You to reasonably exercise Your
224    right under Section 3(b) of this License (right to make Adaptations)
225    but not otherwise.
226
2275. Representations, Warranties and Disclaimer
228
229UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
230OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
231KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
232INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
233FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
234LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
235WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
236OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
237
2386. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
239LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
240ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
241ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
242BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
243
2447. Termination
245
246 a. This License and the rights granted hereunder will terminate
247    automatically upon any breach by You of the terms of this License.
248    Individuals or entities who have received Adaptations or Collections
249    from You under this License, however, will not have their licenses
250    terminated provided such individuals or entities remain in full
251    compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
252    survive any termination of this License.
253 b. Subject to the above terms and conditions, the license granted here is
254    perpetual (for the duration of the applicable copyright in the Work).
255    Notwithstanding the above, Licensor reserves the right to release the
256    Work under different license terms or to stop distributing the Work at
257    any time; provided, however that any such election will not serve to
258    withdraw this License (or any other license that has been, or is
259    required to be, granted under the terms of this License), and this
260    License will continue in full force and effect unless terminated as
261    stated above.
262
2638. Miscellaneous
264
265 a. Each time You Distribute or Publicly Perform the Work or a Collection,
266    the Licensor offers to the recipient a license to the Work on the same
267    terms and conditions as the license granted to You under this License.
268 b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
269    offers to the recipient a license to the original Work on the same
270    terms and conditions as the license granted to You under this License.
271 c. If any provision of this License is invalid or unenforceable under
272    applicable law, it shall not affect the validity or enforceability of
273    the remainder of the terms of this License, and without further action
274    by the parties to this agreement, such provision shall be reformed to
275    the minimum extent necessary to make such provision valid and
276    enforceable.
277 d. No term or provision of this License shall be deemed waived and no
278    breach consented to unless such waiver or consent shall be in writing
279    and signed by the party to be charged with such waiver or consent.
280 e. This License constitutes the entire agreement between the parties with
281    respect to the Work licensed here. There are no understandings,
282    agreements or representations with respect to the Work not specified
283    here. Licensor shall not be bound by any additional provisions that
284    may appear in any communication from You. This License may not be
285    modified without the mutual written agreement of the Licensor and You.
286 f. The rights granted under, and the subject matter referenced, in this
287    License were drafted utilizing the terminology of the Berne Convention
288    for the Protection of Literary and Artistic Works (as amended on
289    September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
290    Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
291    and the Universal Copyright Convention (as revised on July 24, 1971).
292    These rights and subject matter take effect in the relevant
293    jurisdiction in which the License terms are sought to be enforced
294    according to the corresponding provisions of the implementation of
295    those treaty provisions in the applicable national law. If the
296    standard suite of rights granted under applicable copyright law
297    includes additional rights not granted under this License, such
298    additional rights are deemed to be included in the License; this
299    License is not intended to restrict the license of any rights under
300    applicable law.
301
302
303Creative Commons Notice
304
305    Creative Commons is not a party to this License, and makes no warranty
306    whatsoever in connection with the Work. Creative Commons will not be
307    liable to You or any party on any legal theory for any damages
308    whatsoever, including without limitation any general, special,
309    incidental or consequential damages arising in connection to this
310    license. Notwithstanding the foregoing two (2) sentences, if Creative
311    Commons has expressly identified itself as the Licensor hereunder, it
312    shall have all rights and obligations of Licensor.
313
314    Except for the limited purpose of indicating to the public that the
315    Work is licensed under the CCPL, Creative Commons does not authorize
316    the use by either party of the trademark "Creative Commons" or any
317    related trademark or logo of Creative Commons without the prior
318    written consent of Creative Commons. Any permitted use will be in
319    compliance with Creative Commons' then-current trademark usage
320    guidelines, as may be published on its website or otherwise made
321    available upon request from time to time. For the avoidance of doubt,
322    this trademark restriction does not form part of this License.
323
324    Creative Commons may be contacted at https://creativecommons.org/.
325
326===============================================================================
327
328The Go Programming Language
329https://golang.org/LICENSE
330
331Copyright (c) 2009 The Go Authors. All rights reserved.
332
333Redistribution and use in source and binary forms, with or without
334modification, are permitted provided that the following conditions are
335met:
336
337   * Redistributions of source code must retain the above copyright
338notice, this list of conditions and the following disclaimer.
339   * Redistributions in binary form must reproduce the above
340copyright notice, this list of conditions and the following disclaimer
341in the documentation and/or other materials provided with the
342distribution.
343   * Neither the name of Google Inc. nor the names of its
344contributors may be used to endorse or promote products derived from
345this software without specific prior written permission.
346
347THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
348"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
349LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
350A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
351OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
352SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
353LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
354DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
355THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
356(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
357OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
358
359===============================================================================
360
361The Rust Programming Language
362https://github.com/rust-lang/rust/blob/master/LICENSE-MIT
363
364Permission is hereby granted, free of charge, to any
365person obtaining a copy of this software and associated
366documentation files (the "Software"), to deal in the
367Software without restriction, including without
368limitation the rights to use, copy, modify, merge,
369publish, distribute, sublicense, and/or sell copies of
370the Software, and to permit persons to whom the Software
371is furnished to do so, subject to the following
372conditions:
373
374The above copyright notice and this permission notice
375shall be included in all copies or substantial portions
376of the Software.
377
378THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
379ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
380TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
381PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
382SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
383CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
384OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
385IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
386DEALINGS IN THE SOFTWARE.
387
388===============================================================================
389
390The Rust Programming Language
391https://github.com/rust-lang/rust/blob/master/LICENSE-APACHE
392
393                              Apache License
394                        Version 2.0, January 2004
395                     http://www.apache.org/licenses/
396
397TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
398
3991. Definitions.
400
401   "License" shall mean the terms and conditions for use, reproduction,
402   and distribution as defined by Sections 1 through 9 of this document.
403
404   "Licensor" shall mean the copyright owner or entity authorized by
405   the copyright owner that is granting the License.
406
407   "Legal Entity" shall mean the union of the acting entity and all
408   other entities that control, are controlled by, or are under common
409   control with that entity. For the purposes of this definition,
410   "control" means (i) the power, direct or indirect, to cause the
411   direction or management of such entity, whether by contract or
412   otherwise, or (ii) ownership of fifty percent (50%) or more of the
413   outstanding shares, or (iii) beneficial ownership of such entity.
414
415   "You" (or "Your") shall mean an individual or Legal Entity
416   exercising permissions granted by this License.
417
418   "Source" form shall mean the preferred form for making modifications,
419   including but not limited to software source code, documentation
420   source, and configuration files.
421
422   "Object" form shall mean any form resulting from mechanical
423   transformation or translation of a Source form, including but
424   not limited to compiled object code, generated documentation,
425   and conversions to other media types.
426
427   "Work" shall mean the work of authorship, whether in Source or
428   Object form, made available under the License, as indicated by a
429   copyright notice that is included in or attached to the work
430   (an example is provided in the Appendix below).
431
432   "Derivative Works" shall mean any work, whether in Source or Object
433   form, that is based on (or derived from) the Work and for which the
434   editorial revisions, annotations, elaborations, or other modifications
435   represent, as a whole, an original work of authorship. For the purposes
436   of this License, Derivative Works shall not include works that remain
437   separable from, or merely link (or bind by name) to the interfaces of,
438   the Work and Derivative Works thereof.
439
440   "Contribution" shall mean any work of authorship, including
441   the original version of the Work and any modifications or additions
442   to that Work or Derivative Works thereof, that is intentionally
443   submitted to Licensor for inclusion in the Work by the copyright owner
444   or by an individual or Legal Entity authorized to submit on behalf of
445   the copyright owner. For the purposes of this definition, "submitted"
446   means any form of electronic, verbal, or written communication sent
447   to the Licensor or its representatives, including but not limited to
448   communication on electronic mailing lists, source code control systems,
449   and issue tracking systems that are managed by, or on behalf of, the
450   Licensor for the purpose of discussing and improving the Work, but
451   excluding communication that is conspicuously marked or otherwise
452   designated in writing by the copyright owner as "Not a Contribution."
453
454   "Contributor" shall mean Licensor and any individual or Legal Entity
455   on behalf of whom a Contribution has been received by Licensor and
456   subsequently incorporated within the Work.
457
4582. Grant of Copyright License. Subject to the terms and conditions of
459   this License, each Contributor hereby grants to You a perpetual,
460   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
461   copyright license to reproduce, prepare Derivative Works of,
462   publicly display, publicly perform, sublicense, and distribute the
463   Work and such Derivative Works in Source or Object form.
464
4653. Grant of Patent License. Subject to the terms and conditions of
466   this License, each Contributor hereby grants to You a perpetual,
467   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
468   (except as stated in this section) patent license to make, have made,
469   use, offer to sell, sell, import, and otherwise transfer the Work,
470   where such license applies only to those patent claims licensable
471   by such Contributor that are necessarily infringed by their
472   Contribution(s) alone or by combination of their Contribution(s)
473   with the Work to which such Contribution(s) was submitted. If You
474   institute patent litigation against any entity (including a
475   cross-claim or counterclaim in a lawsuit) alleging that the Work
476   or a Contribution incorporated within the Work constitutes direct
477   or contributory patent infringement, then any patent licenses
478   granted to You under this License for that Work shall terminate
479   as of the date such litigation is filed.
480
4814. Redistribution. You may reproduce and distribute copies of the
482   Work or Derivative Works thereof in any medium, with or without
483   modifications, and in Source or Object form, provided that You
484   meet the following conditions:
485
486   (a) You must give any other recipients of the Work or
487       Derivative Works a copy of this License; and
488
489   (b) You must cause any modified files to carry prominent notices
490       stating that You changed the files; and
491
492   (c) You must retain, in the Source form of any Derivative Works
493       that You distribute, all copyright, patent, trademark, and
494       attribution notices from the Source form of the Work,
495       excluding those notices that do not pertain to any part of
496       the Derivative Works; and
497
498   (d) If the Work includes a "NOTICE" text file as part of its
499       distribution, then any Derivative Works that You distribute must
500       include a readable copy of the attribution notices contained
501       within such NOTICE file, excluding those notices that do not
502       pertain to any part of the Derivative Works, in at least one
503       of the following places: within a NOTICE text file distributed
504       as part of the Derivative Works; within the Source form or
505       documentation, if provided along with the Derivative Works; or,
506       within a display generated by the Derivative Works, if and
507       wherever such third-party notices normally appear. The contents
508       of the NOTICE file are for informational purposes only and
509       do not modify the License. You may add Your own attribution
510       notices within Derivative Works that You distribute, alongside
511       or as an addendum to the NOTICE text from the Work, provided
512       that such additional attribution notices cannot be construed
513       as modifying the License.
514
515   You may add Your own copyright statement to Your modifications and
516   may provide additional or different license terms and conditions
517   for use, reproduction, or distribution of Your modifications, or
518   for any such Derivative Works as a whole, provided Your use,
519   reproduction, and distribution of the Work otherwise complies with
520   the conditions stated in this License.
521
5225. Submission of Contributions. Unless You explicitly state otherwise,
523   any Contribution intentionally submitted for inclusion in the Work
524   by You to the Licensor shall be under the terms and conditions of
525   this License, without any additional terms or conditions.
526   Notwithstanding the above, nothing herein shall supersede or modify
527   the terms of any separate license agreement you may have executed
528   with Licensor regarding such Contributions.
529
5306. Trademarks. This License does not grant permission to use the trade
531   names, trademarks, service marks, or product names of the Licensor,
532   except as required for reasonable and customary use in describing the
533   origin of the Work and reproducing the content of the NOTICE file.
534
5357. Disclaimer of Warranty. Unless required by applicable law or
536   agreed to in writing, Licensor provides the Work (and each
537   Contributor provides its Contributions) on an "AS IS" BASIS,
538   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
539   implied, including, without limitation, any warranties or conditions
540   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
541   PARTICULAR PURPOSE. You are solely responsible for determining the
542   appropriateness of using or redistributing the Work and assume any
543   risks associated with Your exercise of permissions under this License.
544
5458. Limitation of Liability. In no event and under no legal theory,
546   whether in tort (including negligence), contract, or otherwise,
547   unless required by applicable law (such as deliberate and grossly
548   negligent acts) or agreed to in writing, shall any Contributor be
549   liable to You for damages, including any direct, indirect, special,
550   incidental, or consequential damages of any character arising as a
551   result of this License or out of the use or inability to use the
552   Work (including but not limited to damages for loss of goodwill,
553   work stoppage, computer failure or malfunction, or any and all
554   other commercial damages or losses), even if such Contributor
555   has been advised of the possibility of such damages.
556
5579. Accepting Warranty or Additional Liability. While redistributing
558   the Work or Derivative Works thereof, You may choose to offer,
559   and charge a fee for, acceptance of support, warranty, indemnity,
560   or other liability obligations and/or rights consistent with this
561   License. However, in accepting such obligations, You may act only
562   on Your own behalf and on Your sole responsibility, not on behalf
563   of any other Contributor, and only if You agree to indemnify,
564   defend, and hold each Contributor harmless for any liability
565   incurred by, or claims asserted against, such Contributor by reason
566   of your accepting any such warranty or additional liability.
567
568END OF TERMS AND CONDITIONS
569
570APPENDIX: How to apply the Apache License to your work.
571
572   To apply the Apache License to your work, attach the following
573   boilerplate notice, with the fields enclosed by brackets "[]"
574   replaced with your own identifying information. (Don't include
575   the brackets!)  The text should be enclosed in the appropriate
576   comment syntax for the file format. We also recommend that a
577   file or class name and description of purpose be included on the
578   same "printed page" as the copyright notice for easier
579   identification within third-party archives.
580
581Copyright [yyyy] [name of copyright owner]
582
583Licensed under the Apache License, Version 2.0 (the "License");
584you may not use this file except in compliance with the License.
585You may obtain a copy of the License at
586
587	http://www.apache.org/licenses/LICENSE-2.0
588
589Unless required by applicable law or agreed to in writing, software
590distributed under the License is distributed on an "AS IS" BASIS,
591WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
592See the License for the specific language governing permissions and
593limitations under the License.
594