Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 77 for mkstemp (0.42 sec)

  1. ci/official/utilities/repack_libtensorflow.sh

    #
    # Arguments:
    #   src_jar - path to the original srcjar
    #   dest_jar - path to the destination
    # Returns:
    #   None
    function cp_normalized_srcjar() {
      src_jar="$1"
      dest_jar="$2"
      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
      # Extract any src/ files
      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 19:47:53 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. hack/update-vendor.sh

    if [[ "${GOPROXY:-}" == "off" ]]; then
      kube::log::error "Cannot run hack/update-vendor.sh with \$GOPROXY=off"
      exit 1
    fi
    
    kube::util::require-jq
    
    TMP_DIR="${TMP_DIR:-$(mktemp -d /tmp/update-vendor.XXXX)}"
    LOG_FILE="${LOG_FILE:-${TMP_DIR}/update-vendor.log}"
    kube::log::status "logfile at ${LOG_FILE}"
    
    # Set up some FDs for this script to use, while capturing everything else to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:08 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_asset_v1.py

    # CHECK-NEXT: "tf.InitializeTableFromTextFileV2"([[R0]], [[ARG0]])
    
    
    def write_vocabulary_file(vocabulary):
      """Write temporary vocab file for module construction."""
      tmpdir = tempfile.mkdtemp()
      vocabulary_file = os.path.join(tmpdir, 'tokens.txt')
      with tf.io.gfile.GFile(vocabulary_file, 'w') as f:
        for entry in vocabulary:
          f.write(entry + '\n')
      return vocabulary_file
    
    
    def test():
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. hack/lib/verify-generated.sh

        shift
    
        kube::util::ensure_clean_working_dir
    
        # This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
        kube::golang::setup_env
    
        _tmpdir="$(kube::realpath "$(mktemp -d -t "verify-generated-$(basename "$1").XXXXXX")")"
        git worktree add -f -q "${_tmpdir}" HEAD
        kube::util::trap_add "git worktree remove -f ${_tmpdir}" EXIT
        cd "${_tmpdir}"
    
        # Update generated files.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/repack_libtensorflow.sh

    #
    # Arguments:
    #   src_jar - path to the original srcjar
    #   dest_jar - path to the destination
    # Returns:
    #   None
    function cp_normalized_srcjar() {
      src_jar="$1"
      dest_jar="$2"
      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
      # Extract any src/ files
      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. prow/release-commit.sh

    TAG=$(git rev-parse HEAD)
    VERSION="${NEXT_VERSION}-alpha.${TAG}"
    
    # In CI we want to store the outputs to artifacts, which will preserve the build
    # If not specified, we can just create a temporary directory
    WORK_DIR="$(mktemp -d)/build"
    mkdir -p "${WORK_DIR}"
    
    MANIFEST=$(cat <<EOF
    version: ${VERSION}
    docker: ${DOCKER_HUB}
    directory: ${WORK_DIR}
    ignoreVulnerability: true
    dependencies:
    ${DEPENDENCIES:-$(cat <<EOD
      istio:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. ci/official/utilities/rename_and_verify_wheels.sh

      echo "Error: Generated wheel is too big! Limit is $TFCI_WHL_SIZE_LIMIT"
      echo '(search for TFCI_WHL_SIZE_LIMIT to change it)'
      ls -sh *.whl
      exit 2
    fi
    
    # Quick install checks
    venv=$(mktemp -d)
    "python${TFCI_PYTHON_VERSION}" -m venv "$venv"
    python="$venv/bin/python3"
    "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS
    if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 21:16:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    		// non-empty session tokens.
    		if !(cred.IsServiceAccount() || cred.IsTemp()) ||
    			cred.SessionToken == "" {
    			continue
    		}
    
    		var (
    			err    error
    			claims map[string]interface{} = cred.Claims
    		)
    
    		if cred.IsServiceAccount() {
    			claims, err = getClaimsFromTokenWithSecret(cred.SessionToken, cred.SecretKey)
    		} else if cred.IsTemp() {
    			var secretKey string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  9. prow/integ-suite-kind.sh

    if [[ -z "${SKIP_BUILD:-}" ]]; then
      HUB="${KIND_REGISTRY}"
      export HUB
    fi
    
    # Setup junit report and verbose logging
    export T="${T:-"-v -count=1"}"
    export CI="true"
    
    export ARTIFACTS="${ARTIFACTS:-$(mktemp -d)}"
    trace "init" make init
    
    if [[ -z "${SKIP_SETUP:-}" ]]; then
      export DEFAULT_CLUSTER_YAML="./prow/config/default.yaml"
      export METRICS_SERVER_CONFIG_DIR='./prow/config/metrics'
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. manifests/addons/gen.sh

    # This script sets up the plain text rendered deployments for addons
    # See samples/addons/README.md for more information
    
    ADDONS="${WD}/../../samples/addons"
    DASHBOARDS="${WD}/dashboards"
    mkdir -p "${ADDONS}"
    TMP=$(mktemp -d)
    LOKI_VERSION=${LOKI_VERSION:-"6.6.3"}
    GRAFANA_VERSION=${GRAFANA_VERSION:-"8.0.1"}
    
    # Set up kiali
    {
    helm3 template kiali-server \
      --namespace istio-system \
      --version 1.85.0 \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top