Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for mkstemp (0.35 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py

        if len(argv) > 1:
          raise app.UsageError('Too many command-line arguments.')
        if FLAGS.save_model_path:
          save_model_path = FLAGS.save_model_path
        else:
          save_model_path = tempfile.mkdtemp(suffix='.saved_model')
        save_options = tf.saved_model.SaveOptions(save_debug_info=show_debug_info)
        tf.saved_model.save(
            create_module_fn(), save_model_path, options=save_options
        )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 23:49:27 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. bin/update_crds.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -e
    
    fail() {
      echo "$@" 1>&2
      exit 1
    }
    
    API_TMP="$(mktemp -d -u)"
    
    trap 'rm -rf "${API_TMP}"' EXIT
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    REPO="github.com/istio/api"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 14:28:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. hack/verify-vendor.sh

    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    
    # create a nice clean place to put our new vendor tree
    _tmpdir="$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")"
    
    if [[ -z ${KEEP_TMP:-} ]]; then
        KEEP_TMP=false
    fi
    
    function cleanup {
      # make go module dirs writeable
      chmod -R +w "${_tmpdir}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. hack/make-rules/test-cmd.sh

      make -C "${KUBE_ROOT}" WHAT="cmd/kube-controller-manager"
    
      # Start controller manager
      kube::log::status 'Generate kubeconfig for controller-manager'
      local config
      config="$(mktemp controller-manager.kubeconfig.XXXXX)"
      cat <<EOF > "$config"
    kind: Config
    users:
    - name: controller-manager
      user:
        token: admin-token
    clusters:
    - cluster:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 09:10:14 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py

        if len(argv) > 1:
          raise app.UsageError('Too many command-line arguments.')
        if FLAGS.save_model_path:
          save_model_path = FLAGS.save_model_path
        else:
          save_model_path = tempfile.mktemp(suffix='.saved_model')
    
        signature_def_map, init_op, assets_collection = create_signature()
    
        sess = tf.Session()
        sess.run(tf.initializers.global_variables())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. release/downloadIstioCtl.sh

        ;;
    esac
    
    download_failed () {
      printf "Download failed, please make sure your ISTIO_VERSION is correct and verify the download URL exists!"
      exit 1
    }
    
    # Downloads the istioctl binary archive.
    tmp=$(mktemp -d /tmp/istioctl.XXXXXX)
    NAME="istioctl-${ISTIO_VERSION}"
    
    URL="https://github.com/istio/istio/releases/download/${ISTIO_VERSION}/istioctl-${ISTIO_VERSION}-${OSEXT}.tar.gz"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 14:11:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. ci/official/utilities/setup.sh

      echo 'already sourced a TFCI env file with "set -a; source <path>; set +a".'
      echo 'If you have not, you will see a lot of undefined variable errors.'
    else
      FROM_ENV=$(mktemp)
      # "export -p" prints a list of environment values in a safe-to-source format,
      # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash.
      export -p | grep TFCI > "$FROM_ENV"
    
      # Source the default ci values
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 26 00:33:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. hack/update-openapi-spec.sh

        fi
        unset APISERVER_PID
    
        kube::etcd::cleanup
    
        kube::log::status "Clean up complete"
    }
    
    trap cleanup EXIT SIGINT
    
    TMP_DIR=${TMP_DIR:-$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")}
    ETCD_HOST=${ETCD_HOST:-127.0.0.1}
    ETCD_PORT=${ETCD_PORT:-2379}
    API_PORT=${API_PORT:-8050}
    API_HOST=${API_HOST:-127.0.0.1}
    API_LOGFILE=${API_LOGFILE:-${TMP_DIR}/openapi-api-server.log}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:29:14 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. cmd/auth-handler.go

    	}
    
    	if token == "" && cred.IsTemp() && !cred.IsServiceAccount() {
    		// Temporary credentials should always have x-amz-security-token
    		return nil, ErrInvalidToken
    	}
    
    	if token != "" && !cred.IsTemp() {
    		// x-amz-security-token should not present for static credentials.
    		return nil, ErrInvalidToken
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py

    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39, needs_pydanticv1
    
    
    @pytest.fixture(scope="module")
    def client(tmp_path_factory: pytest.TempPathFactory):
        tmp_path = tmp_path_factory.mktemp("data")
        cwd = os.getcwd()
        os.chdir(tmp_path)
        test_db = Path("./sql_app.db")
        if test_db.is_file():  # pragma: nocover
            test_db.unlink()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top