- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for readBody (0.06 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
internal/ioutil/read_file.go
// Because ReadFile reads the whole file, it does not treat an EOF from Read // as an error to be reported. func ReadFileWithFileInfo(name string) ([]byte, fs.FileInfo, error) { f, err := OsOpenFile(name, readMode, 0o666) if err != nil { return nil, nil, err } defer f.Close() st, err := f.Stat() if err != nil { return nil, nil, err } dst := make([]byte, st.Size()) _, err = io.ReadFull(f, dst)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 09 18:17:51 UTC 2023 - 2.3K bytes - Viewed (0) -
cmd/xl-storage_noatime_notsupported.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 16:36:24 UTC 2024 - 1001 bytes - Viewed (0) -
cmd/xl-storage_noatime_supported.go
package cmd import ( "os" "syscall" ) var ( // Disallow updating access times // Add non-block to avoid syscall to attempt to set epoll on files. readMode = os.O_RDONLY | 0x40000 | syscall.O_NONBLOCK // O_NOATIME // Write with data sync only used only for `xl.meta` writes writeMode = 0x1000 | syscall.O_NONBLOCK // O_DSYNC
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 16:36:24 UTC 2024 - 1.1K bytes - Viewed (0) -
cmd/os_unix.go
// the directory itself, if the dirPath doesn't exist this function doesn't return // an error. func readDirFn(dirPath string, fn func(name string, typ os.FileMode) error) error { fd, err := openFileWithFD(dirPath, readMode, 0o666) if err != nil { if osErrToFileErr(err) == errFileNotFound { return nil } if !osIsPermission(err) { return osErrToFileErr(err) } // There may be permission error when dirPath
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/xl-storage.go
if contextCanceled(ctx) { return nil, time.Time{}, ctx.Err() } if err := checkPathLength(itemPath); err != nil { return nil, time.Time{}, err } f, err := OpenFile(itemPath, readMode, 0o666) if err != nil { return nil, time.Time{}, err } defer f.Close() stat, err := f.Stat() if err != nil { return nil, time.Time{}, err } if stat.IsDir() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0)