1*e1319447SKrzysztof KosińskiGoogle Allocation Instrumenter 2*e1319447SKrzysztof Kosiński 3*e1319447SKrzysztof Kosiński Apache License 4*e1319447SKrzysztof Kosiński Version 2.0, January 2004 5*e1319447SKrzysztof Kosiński http://www.apache.org/licenses/ 6*e1319447SKrzysztof Kosiński 7*e1319447SKrzysztof Kosiński TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 8*e1319447SKrzysztof Kosiński 9*e1319447SKrzysztof Kosiński 1. Definitions. 10*e1319447SKrzysztof Kosiński 11*e1319447SKrzysztof Kosiński "License" shall mean the terms and conditions for use, reproduction, 12*e1319447SKrzysztof Kosiński and distribution as defined by Sections 1 through 9 of this document. 13*e1319447SKrzysztof Kosiński 14*e1319447SKrzysztof Kosiński "Licensor" shall mean the copyright owner or entity authorized by 15*e1319447SKrzysztof Kosiński the copyright owner that is granting the License. 16*e1319447SKrzysztof Kosiński 17*e1319447SKrzysztof Kosiński "Legal Entity" shall mean the union of the acting entity and all 18*e1319447SKrzysztof Kosiński other entities that control, are controlled by, or are under common 19*e1319447SKrzysztof Kosiński control with that entity. For the purposes of this definition, 20*e1319447SKrzysztof Kosiński "control" means (i) the power, direct or indirect, to cause the 21*e1319447SKrzysztof Kosiński direction or management of such entity, whether by contract or 22*e1319447SKrzysztof Kosiński otherwise, or (ii) ownership of fifty percent (50%) or more of the 23*e1319447SKrzysztof Kosiński outstanding shares, or (iii) beneficial ownership of such entity. 24*e1319447SKrzysztof Kosiński 25*e1319447SKrzysztof Kosiński "You" (or "Your") shall mean an individual or Legal Entity 26*e1319447SKrzysztof Kosiński exercising permissions granted by this License. 27*e1319447SKrzysztof Kosiński 28*e1319447SKrzysztof Kosiński "Source" form shall mean the preferred form for making modifications, 29*e1319447SKrzysztof Kosiński including but not limited to software source code, documentation 30*e1319447SKrzysztof Kosiński source, and configuration files. 31*e1319447SKrzysztof Kosiński 32*e1319447SKrzysztof Kosiński "Object" form shall mean any form resulting from mechanical 33*e1319447SKrzysztof Kosiński transformation or translation of a Source form, including but 34*e1319447SKrzysztof Kosiński not limited to compiled object code, generated documentation, 35*e1319447SKrzysztof Kosiński and conversions to other media types. 36*e1319447SKrzysztof Kosiński 37*e1319447SKrzysztof Kosiński "Work" shall mean the work of authorship, whether in Source or 38*e1319447SKrzysztof Kosiński Object form, made available under the License, as indicated by a 39*e1319447SKrzysztof Kosiński copyright notice that is included in or attached to the work 40*e1319447SKrzysztof Kosiński (an example is provided in the Appendix below). 41*e1319447SKrzysztof Kosiński 42*e1319447SKrzysztof Kosiński "Derivative Works" shall mean any work, whether in Source or Object 43*e1319447SKrzysztof Kosiński form, that is based on (or derived from) the Work and for which the 44*e1319447SKrzysztof Kosiński editorial revisions, annotations, elaborations, or other modifications 45*e1319447SKrzysztof Kosiński represent, as a whole, an original work of authorship. For the purposes 46*e1319447SKrzysztof Kosiński of this License, Derivative Works shall not include works that remain 47*e1319447SKrzysztof Kosiński separable from, or merely link (or bind by name) to the interfaces of, 48*e1319447SKrzysztof Kosiński the Work and Derivative Works thereof. 49*e1319447SKrzysztof Kosiński 50*e1319447SKrzysztof Kosiński "Contribution" shall mean any work of authorship, including 51*e1319447SKrzysztof Kosiński the original version of the Work and any modifications or additions 52*e1319447SKrzysztof Kosiński to that Work or Derivative Works thereof, that is intentionally 53*e1319447SKrzysztof Kosiński submitted to Licensor for inclusion in the Work by the copyright owner 54*e1319447SKrzysztof Kosiński or by an individual or Legal Entity authorized to submit on behalf of 55*e1319447SKrzysztof Kosiński the copyright owner. For the purposes of this definition, "submitted" 56*e1319447SKrzysztof Kosiński means any form of electronic, verbal, or written communication sent 57*e1319447SKrzysztof Kosiński to the Licensor or its representatives, including but not limited to 58*e1319447SKrzysztof Kosiński communication on electronic mailing lists, source code control systems, 59*e1319447SKrzysztof Kosiński and issue tracking systems that are managed by, or on behalf of, the 60*e1319447SKrzysztof Kosiński Licensor for the purpose of discussing and improving the Work, but 61*e1319447SKrzysztof Kosiński excluding communication that is conspicuously marked or otherwise 62*e1319447SKrzysztof Kosiński designated in writing by the copyright owner as "Not a Contribution." 63*e1319447SKrzysztof Kosiński 64*e1319447SKrzysztof Kosiński "Contributor" shall mean Licensor and any individual or Legal Entity 65*e1319447SKrzysztof Kosiński on behalf of whom a Contribution has been received by Licensor and 66*e1319447SKrzysztof Kosiński subsequently incorporated within the Work. 67*e1319447SKrzysztof Kosiński 68*e1319447SKrzysztof Kosiński 2. Grant of Copyright License. Subject to the terms and conditions of 69*e1319447SKrzysztof Kosiński this License, each Contributor hereby grants to You a perpetual, 70*e1319447SKrzysztof Kosiński worldwide, non-exclusive, no-charge, royalty-free, irrevocable 71*e1319447SKrzysztof Kosiński copyright license to reproduce, prepare Derivative Works of, 72*e1319447SKrzysztof Kosiński publicly display, publicly perform, sublicense, and distribute the 73*e1319447SKrzysztof Kosiński Work and such Derivative Works in Source or Object form. 74*e1319447SKrzysztof Kosiński 75*e1319447SKrzysztof Kosiński 3. Grant of Patent License. Subject to the terms and conditions of 76*e1319447SKrzysztof Kosiński this License, each Contributor hereby grants to You a perpetual, 77*e1319447SKrzysztof Kosiński worldwide, non-exclusive, no-charge, royalty-free, irrevocable 78*e1319447SKrzysztof Kosiński (except as stated in this section) patent license to make, have made, 79*e1319447SKrzysztof Kosiński use, offer to sell, sell, import, and otherwise transfer the Work, 80*e1319447SKrzysztof Kosiński where such license applies only to those patent claims licensable 81*e1319447SKrzysztof Kosiński by such Contributor that are necessarily infringed by their 82*e1319447SKrzysztof Kosiński Contribution(s) alone or by combination of their Contribution(s) 83*e1319447SKrzysztof Kosiński with the Work to which such Contribution(s) was submitted. If You 84*e1319447SKrzysztof Kosiński institute patent litigation against any entity (including a 85*e1319447SKrzysztof Kosiński cross-claim or counterclaim in a lawsuit) alleging that the Work 86*e1319447SKrzysztof Kosiński or a Contribution incorporated within the Work constitutes direct 87*e1319447SKrzysztof Kosiński or contributory patent infringement, then any patent licenses 88*e1319447SKrzysztof Kosiński granted to You under this License for that Work shall terminate 89*e1319447SKrzysztof Kosiński as of the date such litigation is filed. 90*e1319447SKrzysztof Kosiński 91*e1319447SKrzysztof Kosiński 4. Redistribution. You may reproduce and distribute copies of the 92*e1319447SKrzysztof Kosiński Work or Derivative Works thereof in any medium, with or without 93*e1319447SKrzysztof Kosiński modifications, and in Source or Object form, provided that You 94*e1319447SKrzysztof Kosiński meet the following conditions: 95*e1319447SKrzysztof Kosiński 96*e1319447SKrzysztof Kosiński (a) You must give any other recipients of the Work or 97*e1319447SKrzysztof Kosiński Derivative Works a copy of this License; and 98*e1319447SKrzysztof Kosiński 99*e1319447SKrzysztof Kosiński (b) You must cause any modified files to carry prominent notices 100*e1319447SKrzysztof Kosiński stating that You changed the files; and 101*e1319447SKrzysztof Kosiński 102*e1319447SKrzysztof Kosiński (c) You must retain, in the Source form of any Derivative Works 103*e1319447SKrzysztof Kosiński that You distribute, all copyright, patent, trademark, and 104*e1319447SKrzysztof Kosiński attribution notices from the Source form of the Work, 105*e1319447SKrzysztof Kosiński excluding those notices that do not pertain to any part of 106*e1319447SKrzysztof Kosiński the Derivative Works; and 107*e1319447SKrzysztof Kosiński 108*e1319447SKrzysztof Kosiński (d) If the Work includes a "NOTICE" text file as part of its 109*e1319447SKrzysztof Kosiński distribution, then any Derivative Works that You distribute must 110*e1319447SKrzysztof Kosiński include a readable copy of the attribution notices contained 111*e1319447SKrzysztof Kosiński within such NOTICE file, excluding those notices that do not 112*e1319447SKrzysztof Kosiński pertain to any part of the Derivative Works, in at least one 113*e1319447SKrzysztof Kosiński of the following places: within a NOTICE text file distributed 114*e1319447SKrzysztof Kosiński as part of the Derivative Works; within the Source form or 115*e1319447SKrzysztof Kosiński documentation, if provided along with the Derivative Works; or, 116*e1319447SKrzysztof Kosiński within a display generated by the Derivative Works, if and 117*e1319447SKrzysztof Kosiński wherever such third-party notices normally appear. The contents 118*e1319447SKrzysztof Kosiński of the NOTICE file are for informational purposes only and 119*e1319447SKrzysztof Kosiński do not modify the License. You may add Your own attribution 120*e1319447SKrzysztof Kosiński notices within Derivative Works that You distribute, alongside 121*e1319447SKrzysztof Kosiński or as an addendum to the NOTICE text from the Work, provided 122*e1319447SKrzysztof Kosiński that such additional attribution notices cannot be construed 123*e1319447SKrzysztof Kosiński as modifying the License. 124*e1319447SKrzysztof Kosiński 125*e1319447SKrzysztof Kosiński You may add Your own copyright statement to Your modifications and 126*e1319447SKrzysztof Kosiński may provide additional or different license terms and conditions 127*e1319447SKrzysztof Kosiński for use, reproduction, or distribution of Your modifications, or 128*e1319447SKrzysztof Kosiński for any such Derivative Works as a whole, provided Your use, 129*e1319447SKrzysztof Kosiński reproduction, and distribution of the Work otherwise complies with 130*e1319447SKrzysztof Kosiński the conditions stated in this License. 131*e1319447SKrzysztof Kosiński 132*e1319447SKrzysztof Kosiński 5. Submission of Contributions. Unless You explicitly state otherwise, 133*e1319447SKrzysztof Kosiński any Contribution intentionally submitted for inclusion in the Work 134*e1319447SKrzysztof Kosiński by You to the Licensor shall be under the terms and conditions of 135*e1319447SKrzysztof Kosiński this License, without any additional terms or conditions. 136*e1319447SKrzysztof Kosiński Notwithstanding the above, nothing herein shall supersede or modify 137*e1319447SKrzysztof Kosiński the terms of any separate license agreement you may have executed 138*e1319447SKrzysztof Kosiński with Licensor regarding such Contributions. 139*e1319447SKrzysztof Kosiński 140*e1319447SKrzysztof Kosiński 6. Trademarks. This License does not grant permission to use the trade 141*e1319447SKrzysztof Kosiński names, trademarks, service marks, or product names of the Licensor, 142*e1319447SKrzysztof Kosiński except as required for reasonable and customary use in describing the 143*e1319447SKrzysztof Kosiński origin of the Work and reproducing the content of the NOTICE file. 144*e1319447SKrzysztof Kosiński 145*e1319447SKrzysztof Kosiński 7. Disclaimer of Warranty. Unless required by applicable law or 146*e1319447SKrzysztof Kosiński agreed to in writing, Licensor provides the Work (and each 147*e1319447SKrzysztof Kosiński Contributor provides its Contributions) on an "AS IS" BASIS, 148*e1319447SKrzysztof Kosiński WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 149*e1319447SKrzysztof Kosiński implied, including, without limitation, any warranties or conditions 150*e1319447SKrzysztof Kosiński of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 151*e1319447SKrzysztof Kosiński PARTICULAR PURPOSE. You are solely responsible for determining the 152*e1319447SKrzysztof Kosiński appropriateness of using or redistributing the Work and assume any 153*e1319447SKrzysztof Kosiński risks associated with Your exercise of permissions under this License. 154*e1319447SKrzysztof Kosiński 155*e1319447SKrzysztof Kosiński 8. Limitation of Liability. In no event and under no legal theory, 156*e1319447SKrzysztof Kosiński whether in tort (including negligence), contract, or otherwise, 157*e1319447SKrzysztof Kosiński unless required by applicable law (such as deliberate and grossly 158*e1319447SKrzysztof Kosiński negligent acts) or agreed to in writing, shall any Contributor be 159*e1319447SKrzysztof Kosiński liable to You for damages, including any direct, indirect, special, 160*e1319447SKrzysztof Kosiński incidental, or consequential damages of any character arising as a 161*e1319447SKrzysztof Kosiński result of this License or out of the use or inability to use the 162*e1319447SKrzysztof Kosiński Work (including but not limited to damages for loss of goodwill, 163*e1319447SKrzysztof Kosiński work stoppage, computer failure or malfunction, or any and all 164*e1319447SKrzysztof Kosiński other commercial damages or losses), even if such Contributor 165*e1319447SKrzysztof Kosiński has been advised of the possibility of such damages. 166*e1319447SKrzysztof Kosiński 167*e1319447SKrzysztof Kosiński 9. Accepting Warranty or Additional Liability. While redistributing 168*e1319447SKrzysztof Kosiński the Work or Derivative Works thereof, You may choose to offer, 169*e1319447SKrzysztof Kosiński and charge a fee for, acceptance of support, warranty, indemnity, 170*e1319447SKrzysztof Kosiński or other liability obligations and/or rights consistent with this 171*e1319447SKrzysztof Kosiński License. However, in accepting such obligations, You may act only 172*e1319447SKrzysztof Kosiński on Your own behalf and on Your sole responsibility, not on behalf 173*e1319447SKrzysztof Kosiński of any other Contributor, and only if You agree to indemnify, 174*e1319447SKrzysztof Kosiński defend, and hold each Contributor harmless for any liability 175*e1319447SKrzysztof Kosiński incurred by, or claims asserted against, such Contributor by reason 176*e1319447SKrzysztof Kosiński of your accepting any such warranty or additional liability. 177*e1319447SKrzysztof Kosiński 178*e1319447SKrzysztof Kosiński END OF TERMS AND CONDITIONS 179*e1319447SKrzysztof Kosiński 180*e1319447SKrzysztof Kosiński APPENDIX: How to apply the Apache License to your work. 181*e1319447SKrzysztof Kosiński 182*e1319447SKrzysztof Kosiński To apply the Apache License to your work, attach the following 183*e1319447SKrzysztof Kosiński boilerplate notice, with the fields enclosed by brackets "[]" 184*e1319447SKrzysztof Kosiński replaced with your own identifying information. (Don't include 185*e1319447SKrzysztof Kosiński the brackets!) The text should be enclosed in the appropriate 186*e1319447SKrzysztof Kosiński comment syntax for the file format. We also recommend that a 187*e1319447SKrzysztof Kosiński file or class name and description of purpose be included on the 188*e1319447SKrzysztof Kosiński same "printed page" as the copyright notice for easier 189*e1319447SKrzysztof Kosiński identification within third-party archives. 190*e1319447SKrzysztof Kosiński 191*e1319447SKrzysztof Kosiński Copyright 2008-2011 Google Inc. 192*e1319447SKrzysztof Kosiński 193*e1319447SKrzysztof Kosiński Licensed under the Apache License, Version 2.0 (the "License"); 194*e1319447SKrzysztof Kosiński you may not use this file except in compliance with the License. 195*e1319447SKrzysztof Kosiński You may obtain a copy of the License at 196*e1319447SKrzysztof Kosiński 197*e1319447SKrzysztof Kosiński http://www.apache.org/licenses/LICENSE-2.0 198*e1319447SKrzysztof Kosiński 199*e1319447SKrzysztof Kosiński Unless required by applicable law or agreed to in writing, software 200*e1319447SKrzysztof Kosiński distributed under the License is distributed on an "AS IS" BASIS, 201*e1319447SKrzysztof Kosiński WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 202*e1319447SKrzysztof Kosiński See the License for the specific language governing permissions and 203*e1319447SKrzysztof Kosiński limitations under the License. 204