|
| 1 | +# This file is part of GUFI, which is part of MarFS, which is released |
| 2 | +# under the BSD license. |
| 3 | +# |
| 4 | +# |
| 5 | +# Copyright (c) 2017, Los Alamos National Security (LANS), LLC |
| 6 | +# All rights reserved. |
| 7 | +# |
| 8 | +# Redistribution and use in source and binary forms, with or without modification, |
| 9 | +# are permitted provided that the following conditions are met: |
| 10 | +# |
| 11 | +# 1. Redistributions of source code must retain the above copyright notice, this |
| 12 | +# list of conditions and the following disclaimer. |
| 13 | +# |
| 14 | +# 2. Redistributions in binary form must reproduce the above copyright notice, |
| 15 | +# this list of conditions and the following disclaimer in the documentation and/or |
| 16 | +# other materials provided with the distribution. |
| 17 | +# |
| 18 | +# 3. Neither the name of the copyright holder nor the names of its contributors |
| 19 | +# may be used to endorse or promote products derived from this software without |
| 20 | +# specific prior written permission. |
| 21 | +# |
| 22 | +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 23 | +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 24 | +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 25 | +# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
| 26 | +# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
| 27 | +# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 28 | +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 29 | +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 30 | +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 31 | +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 | +# |
| 33 | +# |
| 34 | +# From Los Alamos National Security, LLC: |
| 35 | +# LA-CC-15-039 |
| 36 | +# |
| 37 | +# Copyright (c) 2017, Los Alamos National Security, LLC All rights reserved. |
| 38 | +# Copyright 2017. Los Alamos National Security, LLC. This software was produced |
| 39 | +# under U.S. Government contract DE-AC52-06NA25396 for Los Alamos National |
| 40 | +# Laboratory (LANL), which is operated by Los Alamos National Security, LLC for |
| 41 | +# the U.S. Department of Energy. The U.S. Government has rights to use, |
| 42 | +# reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR LOS |
| 43 | +# ALAMOS NATIONAL SECURITY, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR |
| 44 | +# ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is |
| 45 | +# modified to produce derivative works, such modified software should be |
| 46 | +# clearly marked, so as not to confuse it with the version available from |
| 47 | +# LANL. |
| 48 | + |
| 49 | +# THIS SOFTWARE IS PROVIDED BY LOS ALAMOS NATIONAL SECURITY, LLC AND CONTRIBUTORS |
| 50 | +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| 51 | +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 52 | +# ARE DISCLAIMED. IN NO EVENT SHALL LOS ALAMOS NATIONAL SECURITY, LLC OR |
| 53 | +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 54 | +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT |
| 55 | +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 56 | +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 57 | +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
| 58 | +# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY |
| 59 | +# OF SUCH DAMAGE. |
| 60 | + |
| 61 | + |
| 62 | + |
1 | 63 | #!/usr/bin/env python
|
2 | 64 |
|
3 | 65 | from base64 import urlsafe_b64encode, urlsafe_b64decode
|
|
0 commit comments