Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 404 for lseek (0.05 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go

    	if err != nil {
    		return err
    	}
    	_, _, e := Syscall(SYS_STATFS64, uintptr(unsafe.Pointer(p)), unsafe.Sizeof(*buf), uintptr(unsafe.Pointer(buf)))
    	if e != 0 {
    		err = errnoErr(e)
    	}
    	return
    }
    
    func Seek(fd int, offset int64, whence int) (off int64, err error) {
    	_, _, e := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offset>>32), uintptr(offset), uintptr(unsafe.Pointer(&off)), uintptr(whence), 0)
    	if e != 0 {
    		err = errnoErr(e)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go

    	"ReadRune":      {[]string{}, []string{"rune", "int", "error"}},                    // io.RuneReader
    	"Scan":          {[]string{"=fmt.ScanState", "rune"}, []string{"error"}},           // fmt.Scanner
    	"Seek":          {[]string{"=int64", "int"}, []string{"int64", "error"}},           // io.Seeker
    	"UnmarshalJSON": {[]string{"[]byte"}, []string{"error"}},                           // json.Unmarshaler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go

    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
    
    func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
    	var ts *Timespec
    	if timeout != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/internal/pkgbits/decoder.go

    	pr.elemEnds = make([]uint32, pr.elemEndsEnds[len(pr.elemEndsEnds)-1])
    	assert(binary.Read(r, binary.LittleEndian, pr.elemEnds[:]) == nil)
    
    	pos, err := r.Seek(0, io.SeekCurrent)
    	assert(err == nil)
    
    	pr.elemData = input[pos:]
    	assert(len(pr.elemData)-8 == int(pr.elemEnds[len(pr.elemEnds)-1]))
    
    	return pr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go

    	i.next = i.rb.f.nextMain
    	i.asciiF = nextASCIIString
    	i.info = i.rb.f.info(i.rb.src, i.p)
    	i.rb.ss.first(i.info)
    }
    
    // Seek sets the segment to be returned by the next call to Next to start
    // at position p.  It is the responsibility of the caller to set p to the
    // start of a segment.
    func (i *Iter) Seek(offset int64, whence int) (int64, error) {
    	var abs int64
    	switch whence {
    	case 0:
    		abs = offset
    	case 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. pkg/config/analysis/local/analyze_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = tmpfile.WriteString(content)
    	if err != nil {
    		t.Fatal(err)
    	}
    	err = tmpfile.Sync()
    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = tmpfile.Seek(0, 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return tmpfile
    }
    
    func TestIsIstioConfigMap(t *testing.T) {
    	tests := []struct {
    		name   string
    		obj    controllers.Object
    		expect bool
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 07:43:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux_riscv64.go

    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error)
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
    //sys	sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
    //sys	Setfsgid(gid int) (err error)
    //sys	Setfsuid(uid int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. src/go/internal/gccgoimporter/importer.go

    // returns them as a string.
    func readMagic(reader io.ReadSeeker) (string, error) {
    	var magic [4]byte
    	if _, err := reader.Read(magic[:]); err != nil {
    		return "", err
    	}
    	if _, err := reader.Seek(0, io.SeekStart); err != nil {
    		return "", err
    	}
    	return string(magic[:]), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  9. src/syscall/zerrors_windows.go

    	ESHUTDOWN - APPLICATION_ERROR:       "cannot send after transport endpoint shutdown",
    	ESOCKTNOSUPPORT - APPLICATION_ERROR: "socket type not supported",
    	ESPIPE - APPLICATION_ERROR:          "illegal seek",
    	ESRCH - APPLICATION_ERROR:           "no such process",
    	ESRMNT - APPLICATION_ERROR:          "srmount error",
    	ESTALE - APPLICATION_ERROR:          "stale NFS file handle",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

    //sysnb	Getuid() (uid int)
    //sys	Listen(s int, n int) (err error)
    //sys	pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
    
    func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
    	var ts *Timespec
    	if timeout != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top