Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 82 for lseek (0.09 sec)

  1. cmd/xl-storage.go

    	// Verify it is a regular file, otherwise subsequent Seek is
    	// undefined.
    	if !st.Mode().IsRegular() {
    		file.Close()
    		return nil, errIsNotRegular
    	}
    
    	if st.Size() < offset+length {
    		// Expected size cannot be satisfied for
    		// requested offset and length
    		file.Close()
    		return nil, errFileCorrupt
    	}
    
    	if offset > 0 {
    		if _, err = file.Seek(offset, io.SeekStart); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  2. src/syscall/zerrors_solaris_amd64.go

    	23:  "file table overflow",
    	24:  "too many open files",
    	25:  "inappropriate ioctl for device",
    	26:  "text file busy",
    	27:  "file too large",
    	28:  "no space left on device",
    	29:  "illegal seek",
    	30:  "read-only file system",
    	31:  "too many links",
    	32:  "broken pipe",
    	33:  "argument out of domain",
    	34:  "result too large",
    	35:  "no message of desired type",
    	36:  "identifier removed",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  3. src/syscall/zerrors_darwin_amd64.go

    	23:  "too many open files in system",
    	24:  "too many open files",
    	25:  "inappropriate ioctl for device",
    	26:  "text file busy",
    	27:  "file too large",
    	28:  "no space left on device",
    	29:  "illegal seek",
    	30:  "read-only file system",
    	31:  "too many links",
    	32:  "broken pipe",
    	33:  "numerical argument out of domain",
    	34:  "result too large",
    	35:  "resource temporarily unavailable",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 55.3K bytes
    - Viewed (0)
  4. src/strings/strings_test.go

    	name string
    	f    func(*Reader)
    }{
    	{"Read", func(r *Reader) { r.Read([]byte{0}) }},
    	{"ReadByte", func(r *Reader) { r.ReadByte() }},
    	{"UnreadRune", func(r *Reader) { r.UnreadRune() }},
    	{"Seek", func(r *Reader) { r.Seek(0, io.SeekCurrent) }},
    	{"WriteTo", func(r *Reader) { r.WriteTo(&bytes.Buffer{}) }},
    }
    
    func TestUnreadRuneError(t *testing.T) {
    	for _, tt := range UnreadRuneErrorTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. src/syscall/zerrors_linux_386.go

    	23:  "too many open files in system",
    	24:  "too many open files",
    	25:  "inappropriate ioctl for device",
    	26:  "text file busy",
    	27:  "file too large",
    	28:  "no space left on device",
    	29:  "illegal seek",
    	30:  "read-only file system",
    	31:  "too many links",
    	32:  "broken pipe",
    	33:  "numerical argument out of domain",
    	34:  "numerical result out of range",
    	35:  "resource deadlock avoided",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 16:12:50 UTC 2022
    - 57.4K bytes
    - Viewed (0)
  6. src/syscall/zerrors_freebsd_arm.go

    	23: "too many open files in system",
    	24: "too many open files",
    	25: "inappropriate ioctl for device",
    	26: "text file busy",
    	27: "file too large",
    	28: "no space left on device",
    	29: "illegal seek",
    	30: "read-only file system",
    	31: "too many links",
    	32: "broken pipe",
    	33: "numerical argument out of domain",
    	34: "result too large",
    	35: "resource temporarily unavailable",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 67.3K bytes
    - Viewed (0)
  7. src/syscall/zerrors_freebsd_arm64.go

    	23: "too many open files in system",
    	24: "too many open files",
    	25: "inappropriate ioctl for device",
    	26: "text file busy",
    	27: "file too large",
    	28: "no space left on device",
    	29: "illegal seek",
    	30: "read-only file system",
    	31: "too many links",
    	32: "broken pipe",
    	33: "numerical argument out of domain",
    	34: "result too large",
    	35: "resource temporarily unavailable",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 67.4K bytes
    - Viewed (0)
  8. src/syscall/zerrors_freebsd_riscv64.go

    	23: "too many open files in system",
    	24: "too many open files",
    	25: "inappropriate ioctl for device",
    	26: "text file busy",
    	27: "file too large",
    	28: "no space left on device",
    	29: "illegal seek",
    	30: "read-only file system",
    	31: "too many links",
    	32: "broken pipe",
    	33: "numerical argument out of domain",
    	34: "result too large",
    	35: "resource temporarily unavailable",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 67.4K bytes
    - Viewed (0)
  9. src/syscall/zerrors_openbsd_arm64.go

    	23: "too many open files in system",
    	24: "too many open files",
    	25: "inappropriate ioctl for device",
    	26: "text file busy",
    	27: "file too large",
    	28: "no space left on device",
    	29: "illegal seek",
    	30: "read-only file system",
    	31: "too many links",
    	32: "broken pipe",
    	33: "numerical argument out of domain",
    	34: "result too large",
    	35: "resource temporarily unavailable",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 66.4K bytes
    - Viewed (0)
  10. src/syscall/zerrors_netbsd_arm64.go

    	23: "too many open files in system",
    	24: "too many open files",
    	25: "inappropriate ioctl for device",
    	26: "text file busy",
    	27: "file too large",
    	28: "no space left on device",
    	29: "illegal seek",
    	30: "read-only file system",
    	31: "too many links",
    	32: "broken pipe",
    	33: "numerical argument out of domain",
    	34: "result too large or too small",
    	35: "resource temporarily unavailable",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 67.1K bytes
    - Viewed (0)
Back to top