1*4882a593SmuzhiyunCopyright (c) <YEAR> <COPYRIGHT HOLDERS> 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without modification, 4*4882a593Smuzhiyunare permitted provided that the following conditions are met: 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun1. Redistributions of source code must retain the above copyright notice, 7*4882a593Smuzhiyunthis list of conditions and the following disclaimer. 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun2. Redistributions in binary form must reproduce the above copyright notice, 10*4882a593Smuzhiyunthis list of conditions and the following disclaimer in the documentation 11*4882a593Smuzhiyunand/or other materials provided with the distribution. 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunSubject to the terms and conditions of this license, each copyright holder 14*4882a593Smuzhiyunand contributor hereby grants to those receiving rights under this license 15*4882a593Smuzhiyuna perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable 16*4882a593Smuzhiyun(except for failure to satisfy the conditions of this license) patent license 17*4882a593Smuzhiyunto make, have made, use, offer to sell, sell, import, and otherwise transfer 18*4882a593Smuzhiyunthis software, where such license applies only to those patent claims, already 19*4882a593Smuzhiyunacquired or hereafter acquired, licensable by such copyright holder or contributor 20*4882a593Smuzhiyunthat are necessarily infringed by: 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun(a) their Contribution(s) (the licensed copyrights of copyright holders and 23*4882a593Smuzhiyunnon-copyrightable additions of contributors, in source or binary form) alone; 24*4882a593Smuzhiyunor 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun(b) combination of their Contribution(s) with the work of authorship to which 27*4882a593Smuzhiyunsuch Contribution(s) was added by such copyright holder or contributor, if, 28*4882a593Smuzhiyunat the time the Contribution is added, such addition causes such combination 29*4882a593Smuzhiyunto be necessarily infringed. The patent license shall not apply to any other 30*4882a593Smuzhiyuncombinations which include the Contribution. 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunExcept as expressly stated above, no rights or licenses from any copyright 33*4882a593Smuzhiyunholder or contributor is granted under this license, whether expressly, by 34*4882a593Smuzhiyunimplication, estoppel or otherwise. 35*4882a593Smuzhiyun 36*4882a593SmuzhiyunDISCLAIMER 37*4882a593Smuzhiyun 38*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 39*4882a593SmuzhiyunAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 40*4882a593SmuzhiyunIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 41*4882a593SmuzhiyunARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 42*4882a593SmuzhiyunLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 43*4882a593SmuzhiyunDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 44*4882a593SmuzhiyunSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 45*4882a593SmuzhiyunCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 46*4882a593SmuzhiyunOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 47*4882a593SmuzhiyunUSE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 48