1*4882a593SmuzhiyunThe author(s) grant permission for redistribution and use in source and 2*4882a593Smuzhiyunbinary forms, with or without modification, of the software and documentation 3*4882a593Smuzhiyunprovided that the following conditions are met: 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun0. If you receive a version of the software that is specifically labelled 6*4882a593Smuzhiyun as not being for redistribution (check the version message and/or README), 7*4882a593Smuzhiyun you are not permitted to redistribute that version of the software in any 8*4882a593Smuzhiyun way or form. 9*4882a593Smuzhiyun1. All terms of all other applicable copyrights and licenses must be 10*4882a593Smuzhiyun followed. 11*4882a593Smuzhiyun2. Redistributions of source code must retain the authors' copyright 12*4882a593Smuzhiyun notice(s), this list of conditions, and the following disclaimer. 13*4882a593Smuzhiyun3. Redistributions in binary form must reproduce the authors' copyright 14*4882a593Smuzhiyun notice(s), this list of conditions, and the following disclaimer in the 15*4882a593Smuzhiyun documentation and/or other materials provided with the distribution. 16*4882a593Smuzhiyun4. All advertising materials mentioning features or use of this software 17*4882a593Smuzhiyun must display the following acknowledgement with the name(s) of the 18*4882a593Smuzhiyun authors as specified in the copyright notice(s) substituted where 19*4882a593Smuzhiyun indicated: 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun This product includes software developed by the authors which are 22*4882a593Smuzhiyun mentioned at the start of the source files and other contributors. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun5. Neither the name(s) of the author(s) nor the names of its contributors 25*4882a593Smuzhiyun may be used to endorse or promote products derived from this software 26*4882a593Smuzhiyun without specific prior written permission. 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS ``AS IS'' AND ANY 29*4882a593SmuzhiyunEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 30*4882a593SmuzhiyunWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 31*4882a593SmuzhiyunDISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY 32*4882a593SmuzhiyunDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 33*4882a593Smuzhiyun(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 34*4882a593SmuzhiyunLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 35*4882a593SmuzhiyunANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 36*4882a593Smuzhiyun(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 37*4882a593SmuzhiyunSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 38