github.com/gabe-lee/unsafer@v0.1.1/LICENSE (about)

     1  *********************************************************************
     2  Many data types in this package are analogous with those found in the
     3  internal Go source code with minor changes to naming for better
     4  readability, and as such should be licensed in the same manner
     5  *********************************************************************
     6  
     7  Copyright (c) 2009 The Go Authors. All rights reserved.
     8  
     9  Redistribution and use in source and binary forms, with or without
    10  modification, are permitted provided that the following conditions are
    11  met:
    12  
    13     * Redistributions of source code must retain the above copyright
    14  notice, this list of conditions and the following disclaimer.
    15     * Redistributions in binary form must reproduce the above
    16  copyright notice, this list of conditions and the following disclaimer
    17  in the documentation and/or other materials provided with the
    18  distribution.
    19     * Neither the name of Google Inc. nor the names of its
    20  contributors may be used to endorse or promote products derived from
    21  this software without specific prior written permission.
    22  
    23  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    24  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    25  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    26  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    27  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    28  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    29  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    30  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    31  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    32  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    33  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    34  
    35  *********************************************************************
    36  Additional functions and typeswritten by the author that make use of
    37  these analogous types are licensed permisively under the BSD 2-Clause
    38  *********************************************************************
    39  
    40  BSD 2-Clause License
    41  
    42  Copyright (c) 2022, Gabriel Lee Anderson
    43  All rights reserved.
    44  
    45  Redistribution and use in source and binary forms, with or without
    46  modification, are permitted provided that the following conditions are met:
    47  
    48  1. Redistributions of source code must retain the above copyright notice, this
    49     list of conditions and the following disclaimer.
    50  
    51  2. Redistributions in binary form must reproduce the above copyright notice,
    52     this list of conditions and the following disclaimer in the documentation
    53     and/or other materials provided with the distribution.
    54  
    55  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    56  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    57  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    58  DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
    59  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    60  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    61  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
    62  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    63  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    64  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.