Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for reclen (0.14 sec)

  1. src/syscall/syscall_darwin.go

    		e := readdir_r(d, &entry, &entryp)
    		if e != 0 {
    			return n, errnoErr(e)
    		}
    		if entryp == nil {
    			break
    		}
    		if skip > 0 {
    			skip--
    			cnt++
    			continue
    		}
    		reclen := int(entry.Reclen)
    		if reclen > len(buf) {
    			// Not enough room. Return for now.
    			// The counter will let us know where we should start up again.
    			// Note: this strategy for suspending in the middle and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/syscall/syscall_aix.go

    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	reclen, ok := direntReclen(buf)
    	if !ok {
    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true
    }
    
    func Gettimeofday(tv *Timeval) (err error) {
    	err = gettimeofday(tv, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/syscall/syscall_solaris.go

    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	reclen, ok := direntReclen(buf)
    	if !ok {
    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true
    }
    
    func Pipe(p []int) (err error) {
    	return Pipe2(p, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    	return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
    }
    
    func Pipe(p []int) (err error) {
    	return Pipe2(p, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

    	Size    int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Blksize uint32
    	Pad4    uint32
    	Blocks  int64
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Pid    int32
    	_      [4]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

    	Size    int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Blksize int32
    	Pad4    int32
    	Blocks  int64
    	Pad5    [14]int32
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	_      [4]byte
    	Start  int64
    	Len    int64
    	Pid    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go

    	Blksize int64
    	Blocks  int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	_       uint64
    	_       uint64
    	_       uint64
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]uint8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Pid    int32
    	_      [4]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go

    	Size    int64
    	Blksize int32
    	_       int32
    	Blocks  int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	_       [2]int32
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Pid    int32
    	_      [4]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go

    	Size    int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Blksize int32
    	Pad4    int32
    	Blocks  int64
    	Pad5    [14]int32
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	_      [4]byte
    	Start  int64
    	Len    int64
    	Pid    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux.go

    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	reclen, ok := direntReclen(buf)
    	if !ok {
    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top