Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for tempdir (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/go/internal/test/test.go

    		buildTest.Deps = append(buildTest.Deps, buildP)
    	}
    
    	testBinary := testBinaryName(p)
    
    	testDir := b.NewObjdir()
    	if err := b.BackgroundShell().Mkdir(testDir); err != nil {
    		return nil, nil, nil, err
    	}
    
    	pmain.Dir = testDir
    	pmain.Internal.OmitDebug = !testC && !testNeedBinary()
    	if pmain.ImportPath == "runtime.test" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. src/cmd/dist/test.go

    	// this list.
    	registerStdTestSpecially := map[string]bool{
    		// testdir can run normally as part of "go test std cmd", but because
    		// it's a very large test, we register is specially as several shards to
    		// enable better load balancing on sharded builders. Ideally the build
    		// system would know how to shard any large test package.
    		"cmd/internal/testdir": true,
    	}
    
    	// Fast path to avoid the ~1 second of `go list std cmd` when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	}
    	return nil
    }
    
    func Seekdir(dir uintptr, pos int) {
    	runtime.EnterSyscall()
    	CallLeFuncWithErr(GetZosLibVec()+SYS_SEEKDIR<<4, dir, uintptr(pos))
    	runtime.ExitSyscall()
    }
    
    func Telldir(dir uintptr) (int, error) {
    	p, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_TELLDIR<<4, dir)
    	pos := int(p)
    	if int64(p) == -1 {
    		return pos, errnoErr2(e1, e2)
    	}
    	return pos, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top