- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for tempdir (0.12 sec)
-
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
import okio.fakefilesystem.FakeFileSystem import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assumptions import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.io.TempDir import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource class FileSystemParamProvider : SimpleProvider() { override fun arguments() = listOf(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
pkg/volume/testing/testing.go
return &used, err } tmpDir, err := utiltesting.MkTmpdir("metrics_du_test") if err != nil { return nil, err } defer os.RemoveAll(tmpDir) out, err := exec.New().Command("nice", "-n", "19", "du", "-x", "-s", "-B", "1", tmpDir).CombinedOutput() if err != nil { return nil, fmt.Errorf("failed command 'du' on %s with error %v", tmpDir, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
src/cmd/dist/build.go
xremove(pathf("%s/go_bootstrap"+exe, tooldir)) if goos == "android" { // Make sure the exec wrapper will sync a fresh $GOROOT to the device. xremove(pathf("%s/go_android_exec-adb-sync-status", os.TempDir())) } if wrapperPath := wrapperPathFor(goos, goarch); wrapperPath != "" { oldcc := os.Getenv("CC") os.Setenv("GOOS", gohostos) os.Setenv("GOARCH", gohostarch)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
return obj } // BenchmarkListObjects - Run ListObject Repeatedly and benchmark. func BenchmarkListObjects(b *testing.B) { // Make a temporary directory to use as the obj. directory := b.TempDir() // Create the obj. obj := initFSObjectsB(directory, b) bucket := "ls-benchmark-bucket" // Create a bucket. err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0) -
cmd/test-utils_test.go
// chance the file doesn't exist yet. var ( randN uint32 randmu sync.Mutex ) // Temp files created in default Tmp dir var globalTestTmpDir = os.TempDir() // reseed - returns a new seed every time the function is called. func reseed() uint32 { return uint32(time.Now().UnixNano() + int64(os.Getpid())) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 76.9K bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
resolvConf.err = os.ErrNotExist } if !conf.forceUpdateConf(&resolvConf, time.Now().Add(time.Hour)) { t.Fatal("failed to update resolv config") } tmpFile := filepath.Join(t.TempDir(), "hosts") if err := os.WriteFile(tmpFile, []byte{}, 0660); err != nil { t.Fatal(err) } hostsFilePath = tmpFile const testName = "test.invalid"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { t.Logf("test case: %s", tc.name) fakeClient := fakeclient.NewSimpleClientset() plug, tmpDir := newTestPluginWithAttachDetachVolumeHost(t, fakeClient) defer os.RemoveAll(tmpDir) attacher, err := plug.NewAttacher() if err != nil { t.Fatalf("failed to create new attacher: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
hack/local-up-cluster.sh
EOF EGRESS_SELECTOR_CONFIG_FILE="${TMP_DIR}/kube_egress_selector_configuration.yaml" fi if [[ -z "${AUDIT_POLICY_FILE}" ]]; then cat <<EOF > "${TMP_DIR}"/kube-audit-policy-file # Log all requests at the Metadata level. apiVersion: audit.k8s.io/v1 kind: Policy rules: - level: Metadata EOF AUDIT_POLICY_FILE="${TMP_DIR}/kube-audit-policy-file" fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 25 02:33:52 UTC 2024 - 53.3K bytes - Viewed (0) -
cluster/gce/windows/k8s-node-setup.psm1
MustDownload-File -URLs $sha_url -OutFile $tmp_dir\sha256sum $sha = $(Get-Content $tmp_dir\sha256sum).Split(" ")[0].ToUpper() MustDownload-File ` -URLs $tar_url ` -OutFile $tmp_dir\containerd.tar.gz ` -Hash $sha ` -Algorithm SHA256 tar xzvf $tmp_dir\containerd.tar.gz -C $tmp_dir Move-Item -Force $tmp_dir\cni\bin\*.exe "${env:CNI_DIR}\"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 21:13:22 UTC 2024 - 88.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java
if (tmpDir == null) { tmpDir = getDefaultTmpDir(); } String tmpDirPath = tmpDir.createDir().getAbsolutePath(); if (!tmpDirPath.contains(" ") || (getDistribution().isSupportsSpacesInGradleAndJavaOpts() && supportsWhiteSpaceInEnvVars())) { properties.put("java.io.tmpdir", tmpDirPath); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 55.1K bytes - Viewed (0)