- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 30 for CreateFile (0.09 seconds)
-
cmd/storage-rest-server.go
fileSize, err := strconv.Atoi(fileSizeStr) if err != nil { s.writeErrorResponse(w, err) return } done, body := keepHTTPReqResponseAlive(w, r) done(s.getStorage().CreateFile(r.Context(), origvolume, volume, filePath, int64(fileSize), body)) } // DeleteVersionHandler delete updated metadata.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 45.7K bytes - Click Count (0) -
cmd/erasure-multipart.go
// prematurely closed and we do not find any xl.meta or // part.1's - in such a scenario we must return as if client // disconnected. This means that erasure.Encode() CreateFile() // did not do anything. return pi, IncompleteBody{Bucket: bucket, Object: object} } return pi, toObjectErr(err, minioMetaMultipartBucket, partPath) } // Return success.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
cmd/bitrot-streaming.go
if length != -1 { bitrotSumsTotalSize := ceilFrac(length, shardSize) * int64(h.Size()) // Size used for storing bitrot checksums. totalFileSize = bitrotSumsTotalSize + length } rb.CloseWithError(disk.CreateFile(context.TODO(), origvolume, volume, filePath, totalFileSize, rb)) }() return bw } // ReadAt() implementation which verifies the bitrot hash available as part of the stream. type streamingBitrotReader struct {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jan 17 19:19:30 GMT 2025 - 6.2K bytes - Click Count (0) -
cmd/mrf.go
} globalLocalDrivesMu.RLock() localDrives := cloneDrives(globalLocalDrivesMap) globalLocalDrivesMu.RUnlock() for _, localDrive := range localDrives { r := newReader() err := localDrive.CreateFile(context.Background(), "", minioMetaBucket, pathJoin(healMRFDir, "list.bin"), -1, r) r.Close() if err == nil { break } } } func (m *mrfState) startMRFPersistence() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
// Test simulating concurrent access scenario Path tempDir = Files.createTempDirectory("concurrent_test"); try { Path targetFile = tempDir.resolve("target.tmp"); Files.createFile(targetFile); // First delete succeeds assertTrue(Files.deleteIfExists(targetFile)); // Second delete returns false (file already gone)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
internal/lock/lock_windows.go
} shareflag := uint32(syscall.FILE_SHARE_READ | syscall.FILE_SHARE_WRITE | syscall.FILE_SHARE_DELETE) accessAttr := uint32(syscall.FILE_ATTRIBUTE_NORMAL | 0x80000000) fd, err := syscall.CreateFile(pathp, access, shareflag, nil, createflag, accessAttr, 0) if err != nil { return nil, err } return os.NewFile(uintptr(fd), path), nil } func lockFile(fd syscall.Handle, flags uint32) error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
final Path baseDir = tempFolder.getRoot().toPath(); final Path subDir = Files.createDirectory(baseDir.resolve("subdir")); final Path file = Files.createFile(subDir.resolve("test.txt")); assertTrue("Path inside base should be allowed", FileUtil.isPathSafe(file, baseDir)); } /** * Test isPathSafe with path outside base directory *
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
cmd/erasure-object.go
// prematurely closed and we do not find any xl.meta or // part.1's - in such a scenario we must return as if client // disconnected. This means that erasure.Encode() CreateFile() // did not do anything. return ObjectInfo{}, IncompleteBody{Bucket: bucket, Object: object} } return ObjectInfo{}, toObjectErr(err, bucket, object) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0) -
cmd/bucket-replication.go
} globalLocalDrivesMu.RLock() localDrives := cloneDrives(globalLocalDrivesMap) globalLocalDrivesMu.RUnlock() for _, localDrive := range localDrives { r := newReader() err := localDrive.CreateFile(ctx, "", minioMetaBucket, pathJoin(replicationMRFDir, globalLocalNodeNameHex+".bin"), -1, r) r.Close() if err == nil { break } } } // save mrf entries to nodenamehex.bin
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 118.2K bytes - Click Count (0) -
api/go1.txt
pkg syscall (windows-386), func CopySid(uint32, *SID, *SID) error pkg syscall (windows-386), func CreateDirectory(*uint16, *SecurityAttributes) error pkg syscall (windows-386), func CreateFile(*uint16, uint32, uint32, *SecurityAttributes, uint32, uint32, int32) (Handle, error) pkg syscall (windows-386), func CreateFileMapping(Handle, *SecurityAttributes, uint32, uint32, uint32, *uint16) (Handle, error)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)