- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 77 for mkstemp (0.23 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) -
src/text/template/parse/lex_test.go
tLeft, mkItem(itemNumber, "1"), tSpace, mkItem(itemNumber, "02"), tSpace, mkItem(itemNumber, "0x14"), tSpace, mkItem(itemNumber, "0X14"), tSpace, mkItem(itemNumber, "-7.2i"), tSpace, mkItem(itemNumber, "1e3"), tSpace, mkItem(itemNumber, "1E3"), tSpace, mkItem(itemNumber, "+1.2e-4"), tSpace, mkItem(itemNumber, "4.2i"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 15:03:43 UTC 2022 - 13.9K bytes - Viewed (0) -
hack/run-prometheus-on-etcd-scrapes.sh
scrapes_file="$1" if ! [[ -r "$scrapes_file" ]]; then echo "$0: $scrapes_file is not a readable file" >&2 exit 2 fi SCRIPT_ROOT=$(dirname "${BASH_SOURCE[0]}") CONFIG="/tmp/$(cd /tmp && mktemp config.XXXXXX)" UNPACKDIR="/tmp/$(cd /tmp && mktemp -d unpack.XXXXXX)" SERVER_PID="" cleanup_prom() { rm -f "$CONFIG" rm -rf "$UNPACKDIR" if [[ -n "$SERVER_PID" ]]; then kill "$SERVER_PID" fi }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 08 20:28:05 UTC 2021 - 2.9K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases.py
import pytest from ...utils import needs_pydanticv1 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover test_db.unlink()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 788 bytes - Viewed (0) -
cluster/gce/gci/mounter/stage-upload.sh
MOUNTER_ACI_IMAGE=gci-mounter-${MOUNTER_VERSION}.aci MOUNTER_GCS_DIR=gs://kubernetes-release/gci-mounter/ TMPDIR=/tmp # Setup a working directory DOWNLOAD_DIR=$(mktemp --tmpdir=${TMPDIR} -d gci-mounter-build.XXXXXXXXXX) # Setup a staging directory STAGING_DIR=$(mktemp --tmpdir=${TMPDIR} -d gci-mounter-staging.XXXXXXXXXX) ACI_DIR=${STAGING_DIR}/gci-mounter CWD=${PWD} # Cleanup the temporary directories cleanup() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 23 18:27:20 UTC 2020 - 2.4K 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) -
src/cmd/go/testdata/script/test_compile_tempfile.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 271 bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py
from ...utils import needs_py39, needs_pydanticv1 @needs_py39 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover test_db.unlink()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 822 bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py
@needs_py310 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover test_db.unlink()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 825 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)