Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for PathMax (0.13 sec)

  1. src/syscall/syscall_js.go

    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	reclen, ok := direntReclen(buf)
    	if !ok {
    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true
    }
    
    const PathMax = 256
    
    // An Errno is an unsigned number describing an error condition.
    // It implements the error interface. The zero Errno is by convention
    // a non-error, so code to convert from Errno to error should use:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/syscall/types_aix.go

    const (
    	sizeofPtr      = C.sizeofPtr
    	sizeofShort    = C.sizeof_short
    	sizeofInt      = C.sizeof_int
    	sizeofLong     = C.sizeof_long
    	sizeofLongLong = C.sizeof_longlong
    	PathMax        = C.PATH_MAX
    )
    
    // Basic types
    
    type (
    	_C_short     C.short
    	_C_int       C.int
    	_C_long      C.long
    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  3. src/syscall/types_solaris.go

    const (
    	sizeofPtr      = C.sizeofPtr
    	sizeofShort    = C.sizeof_short
    	sizeofInt      = C.sizeof_int
    	sizeofLong     = C.sizeof_long
    	sizeofLongLong = C.sizeof_longlong
    	PathMax        = C.PATH_MAX
    )
    
    // Basic types
    
    type (
    	_C_short     C.short
    	_C_int       C.int
    	_C_long      C.long
    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  4. src/syscall/types_darwin.go

    type Fbootstraptransfer_t C.struct_fbootstraptransfer
    
    type Log2phys_t C.struct_log2phys
    
    type Fsid C.struct_fsid
    
    type Dirent C.struct_dirent
    
    // File system limits
    
    const (
    	pathMax = C.PATH_MAX
    )
    
    // Sockets
    
    type RawSockaddrInet4 C.struct_sockaddr_in
    
    type RawSockaddrInet6 C.struct_sockaddr_in6
    
    type RawSockaddrUnix C.struct_sockaddr_un
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  5. src/syscall/types_openbsd.go

    )
    
    type Stat_t C.struct_stat
    
    type Statfs_t C.struct_statfs
    
    type Flock_t C.struct_flock
    
    type Dirent C.struct_dirent
    
    type Fsid C.fsid_t
    
    // File system limits
    
    const (
    	pathMax = C.PATH_MAX
    )
    
    // Sockets
    
    type RawSockaddrInet4 C.struct_sockaddr_in
    
    type RawSockaddrInet6 C.struct_sockaddr_in6
    
    type RawSockaddrUnix C.struct_sockaddr_un
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    //go:build ppc && aix
    
    package unix
    
    const (
    	SizeofPtr      = 0x4
    	SizeofShort    = 0x2
    	SizeofInt      = 0x4
    	SizeofLong     = 0x4
    	SizeofLongLong = 0x8
    	PathMax        = 0x3ff
    )
    
    type (
    	_C_short     int16
    	_C_int       int32
    	_C_long      int32
    	_C_long_long int64
    )
    
    type off64 int64
    type off int32
    type Mode_t uint32
    
    type Timespec struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. src/syscall/ztypes_solaris_amd64.go

    // cgo -godefs types_solaris.go
    
    //go:build amd64 && solaris
    
    package syscall
    
    const (
    	sizeofPtr      = 0x8
    	sizeofShort    = 0x2
    	sizeofInt      = 0x4
    	sizeofLong     = 0x8
    	sizeofLongLong = 0x8
    	PathMax        = 0x400
    )
    
    type (
    	_C_short     int16
    	_C_int       int32
    	_C_long      int64
    	_C_long_long int64
    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  8. src/syscall/ztypes_aix_ppc64.go

    // cgo -godefs types_aix.go | go run mkpost.go
    
    package syscall
    
    const (
    	sizeofPtr      = 0x8
    	sizeofShort    = 0x2
    	sizeofInt      = 0x4
    	sizeofLong     = 0x8
    	sizeofLongLong = 0x8
    	PathMax        = 0x3ff
    )
    
    type (
    	_C_short     int16
    	_C_int       int32
    	_C_long      int64
    	_C_long_long int64
    )
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 14:36:41 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  9. src/syscall/ztypes_netbsd_386.go

    type Dirent struct {
    	Fileno    uint64
    	Reclen    uint16
    	Namlen    uint16
    	Type      uint8
    	Name      [512]int8
    	Pad_cgo_0 [3]byte
    }
    
    type Fsid struct {
    	X__fsid_val [2]int32
    }
    
    const (
    	pathMax = 0x400
    )
    
    type RawSockaddrInet4 struct {
    	Len    uint8
    	Family uint8
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]int8
    }
    
    type RawSockaddrInet6 struct {
    	Len      uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. src/syscall/ztypes_netbsd_amd64.go

    	Fileno    uint64
    	Reclen    uint16
    	Namlen    uint16
    	Type      uint8
    	Name      [512]int8
    	Pad_cgo_0 [3]byte
    }
    
    type Fsid struct {
    	X__fsid_val [2]int32
    }
    
    const (
    	pathMax = 0x400
    )
    
    type RawSockaddrInet4 struct {
    	Len    uint8
    	Family uint8
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]int8
    }
    
    type RawSockaddrInet6 struct {
    	Len      uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
Back to top