- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for mkstemp (0.13 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) -
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) -
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) -
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) -
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) -
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py
from ...utils import needs_py310, needs_pydanticv1 @pytest.fixture(scope="module", name="client") def get_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) -
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py
from ...utils import needs_py39, needs_pydanticv1 @pytest.fixture(scope="module", name="client") def get_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) -
tests/test_tutorial/test_sql_databases/test_sql_databases.py
from fastapi.testclient import TestClient from ...utils import 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.1K bytes - Viewed (0)