1*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without 2*4882a593Smuzhiyunmodification, are permitted provided that the following conditions 3*4882a593Smuzhiyunare met: 4*4882a593Smuzhiyun1. Redistributions of source code must retain the above copyright 5*4882a593Smuzhiyun notice, this list of conditions, and the following disclaimer, 6*4882a593Smuzhiyun without modification. 7*4882a593Smuzhiyun2. Redistributions in binary form must reproduce the above copyright 8*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer in the 9*4882a593Smuzhiyun documentation and/or other materials provided with the distribution. 10*4882a593Smuzhiyun3. The names of the above-listed copyright holders may not be used 11*4882a593Smuzhiyun to endorse or promote products derived from this software without 12*4882a593Smuzhiyun specific prior written permission. 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 15*4882a593SmuzhiyunIS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 16*4882a593SmuzhiyunTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17*4882a593SmuzhiyunPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 18*4882a593SmuzhiyunCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 19*4882a593SmuzhiyunEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 20*4882a593SmuzhiyunPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 21*4882a593SmuzhiyunPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 22*4882a593SmuzhiyunLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 23*4882a593SmuzhiyunNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24*4882a593SmuzhiyunSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25