- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for mkstemp (0.3 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py
path_map = {} expected_input_key_map = {} for signature_key, signature_def in signature_def_map.items(): # Filepath is the second return value of mkstemp. _, path_map[signature_key] = tempfile.mkstemp( suffix='.tfrecord', prefix=signature_key ) expected_input_key_map[signature_key] = signature_def.inputs.keys() return repr_dataset.TfRecordRepresentativeDatasetSaver(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 34.2K bytes - Viewed (0) -
pkg/istio-agent/agent_test.go
t.Errorf("%#v.ServiceNode() => Got %s, want %s", node.in, out, node.out) } } } func TestAgent(t *testing.T) { test.SetForTest(t, &version.Info.Version, "version") wd := t.TempDir() mktemp := t.TempDir // Normally we call leak checker first. Here we call it after TempDir to avoid the (extremely // rare) race condition of a certificate being written at the same time the cleanup occurs, which
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 33.4K bytes - Viewed (0) -
cluster/images/etcd/Makefile
export DOCKER_CLI_EXPERIMENTAL := enabled # golang version should match the golang version of the official build from https://github.com/etcd-io/etcd/releases. GOLANG_VERSION := 1.21.10 GOARM?=7 TEMP_DIR:=$(shell mktemp -d) DOCKERFILE.linux = Dockerfile DOCKERFILE.windows = Dockerfile.windows DOCKERFILE := ${DOCKERFILE.${OS}} ifeq ($(ARCH),amd64) BASEIMAGE?=registry.k8s.io/build-image/debian-base:bookworm-v1.0.3 endif
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 11.1K bytes - Viewed (0) -
hack/lib/etcd.sh
printf '%s\n' "${@}" | awk -F . '{ printf("%d%03d%03d\n", $1, $2, $3) }' } kube::etcd::start() { # validate before running kube::etcd::validate # Start etcd ETCD_DIR=${ETCD_DIR:-$(mktemp -d 2>/dev/null || mktemp -d -t test-etcd.XXXXXX)} if [[ -d "${ARTIFACTS:-}" ]]; then ETCD_LOGFILE="${ARTIFACTS}/etcd.$(uname -n).$(id -un).log.DEBUG.$(date +%Y%m%d-%H%M%S).$$" else ETCD_LOGFILE=${ETCD_LOGFILE:-"/dev/null"}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 03:36:35 UTC 2024 - 6.8K bytes - Viewed (0) -
cni/test/install_cni.go
) { wd := env.IstioSrc + "/cni/test" testWorkRootDir := getEnv("TEST_WORK_ROOTDIR", "/tmp") tempCNIConfDir := mktemp(testWorkRootDir, "cni-conf-", t) defer rmDir(tempCNIConfDir, t) tempCNIBinDir := mktemp(testWorkRootDir, "cni-bin-", t) defer rmDir(tempCNIBinDir, t) tempK8sSvcAcctDir := mktemp(testWorkRootDir, "kube-svcacct-", t) defer rmDir(tempK8sSvcAcctDir, t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 11.4K bytes - Viewed (0) -
.github/workflows/maven_build_itself.yml
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 03 17:58:28 UTC 2024 - 2.8K bytes - Viewed (0) -
samples/bookinfo/platform/kube/cleanup.sh
kubectl delete -n "${NAMESPACE}" "$resource"; done done kubectl delete -n "${NAMESPACE}" -f "$SCRIPTDIR/bookinfo-versions.yaml" >/dev/null 2>&1 fi OUTPUT=$(mktemp) export OUTPUT echo "Application cleanup may take up to one minute" kubectl delete -n "${NAMESPACE}" -f "$SCRIPTDIR/bookinfo.yaml" > "${OUTPUT}" 2>&1 ret=$? function cleanup() { rm -f "${OUTPUT}" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 16:07:18 UTC 2024 - 2.5K bytes - Viewed (0) -
ci/official/utilities/setup_docker.sh
# The container is not cleaned up automatically! Remove it with: # docker rm tf if ! docker container inspect tf >/dev/null 2>&1 ; then # Pass all existing TFCI_ variables into the Docker container env_file=$(mktemp) env | grep ^TFCI_ > "$env_file" docker run $TFCI_DOCKER_ARGS --name tf -w "$TFCI_GIT_DIR" -itd --rm \ -v "$TFCI_GIT_DIR:$TFCI_GIT_DIR" \ --env-file "$env_file" \ "$TFCI_DOCKER_IMAGE" \ bash
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 18:22:06 UTC 2024 - 1.9K bytes - Viewed (0) -
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) -
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)