- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for tmpdir (0.13 sec)
-
cmd/xl-storage_test.go
tmpDir := t.TempDir() disk, err := newLocalXLStorage(tmpDir) if err != nil { t.Fatal(err) } disk.MakeVol(context.Background(), volume) if _, err := disk.readMetadata(context.Background(), pathJoin(tmpDir, volume, object)); err != errFileNameTooLong {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
cmd/batch-handlers.go
// try slice first tmpSlice := []string{} if err := value.Decode(&tmpSlice); err == nil { *b = tmpSlice return nil } // try string tmpStr := "" if err := value.Decode(&tmpStr); err == nil { *b = []string{tmpStr} return nil } return fmt.Errorf("unable to decode %s", value.Value) } // F - return prefix(es) as slice func (b *BatchJobPrefix) F() []string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0) -
src/archive/zip/reader_test.go
0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x39, 0x00, 0x00, 0x00, 0x59, 0x00, 0x00, 0x00, 0x00, 0x00, } // Read in the archive with the OpenReader interface name := filepath.Join(t.TempDir(), "test.zip") err := os.WriteFile(name, data, 0644) if err != nil { t.Fatalf("Unable to write out the bugos zip entry") } r, err := OpenReader(name) if r != nil { defer r.Close() }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0) -
tensorflow/BUILD
"//tensorflow/c:headers", "//tensorflow/c/eager:headers", "//tensorflow/cc:headers", "//tensorflow/core:headers", ], outs = ["include"], cmd = """ mkdir $@ for f in $(SRCS); do d="$${f%/*}" d="$${d#bazel-out/*/genfiles/}" d="$${d#bazel-out/*/bin/}" if [[ $${d} == *local_config_* ]]; then continue fi
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 16 05:28:35 UTC 2024 - 53.5K bytes - Viewed (0) -
cmd/xl-storage.go
uuid := mustGetUUID() filePath := pathJoin(s.drivePath, minioMetaTmpDeletedBucket, ".writable-check-"+uuid+".tmp") // Create top level directories if they don't exist. // with mode 0o777 mkdir honors system umask. mkdirAll(pathutil.Dir(filePath), 0o777, s.drivePath) // don't need to fail here w, err := s.openFileDirect(filePath, os.O_CREATE|os.O_WRONLY|os.O_EXCL) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
th.send(new Trans2QueryFSInformation(th.getConfig(), level), response); return response.getInfo(clazz); } @Override public void mkdir () throws SmbException { String path = this.fileLocator.getUNCPath(); if ( path.length() == 1 ) { throw new SmbException("Invalid operation for workgroups, servers, or shares"); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K 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 Nov 03 19:28:11 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)