Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,178 for Dirent (0.45 sec)

  1. src/syscall/types_aix.go

    #include <sys/utsname.h>
    #include <sys/ptrace.h>
    #include <sys/statfs.h>
    
    #include <net/if.h>
    #include <net/if_dl.h>
    #include <netinet/in.h>
    #include <netinet/icmp6.h>
    
    #include <termios.h>
    
    #include <dirent.h>
    #include <fcntl.h>
    #include <gcrypt.h>
    
    enum {
    	sizeofPtr = sizeof(void*),
    };
    
    union sockaddr_all {
    	struct sockaddr s1;	// this one gets used for fields
    	struct sockaddr_in s2;	// these pad it out
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd.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 SysctlUvmexp(name string) (*Uvmexp, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    	return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
    }
    
    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))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  4. src/syscall/syscall_js.go

    	"internal/oserror"
    	"sync"
    	"unsafe"
    )
    
    const direntSize = 8 + 8 + 2 + 256
    
    type Dirent struct {
    	Reclen uint16
    	Name   [256]byte
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return 1, true
    }
    
    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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/syscall/types_solaris.go

    // backwards-compatible with older versions of Solaris and
    // OpenSolaris-based derivatives.
    #define __USE_SUNOS_SOCKETS__          // msghdr
    #define __USE_LEGACY_PROTOTYPES__      // iovec
    #include <dirent.h>
    #include <fcntl.h>
    #include <limits.h>
    #include <signal.h>
    #include <termios.h>
    #include <stdio.h>
    #include <unistd.h>
    #include <sys/mman.h>
    #include <sys/mount.h>
    #include <sys/param.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  6. src/syscall/types_darwin.go

    // +godefs map struct_in_addr [4]byte /* in_addr */
    // +godefs map struct_in6_addr [16]byte /* in6_addr */
    
    package syscall
    
    /*
    #define __DARWIN_UNIX03 0
    #define KERNEL
    #define _DARWIN_USE_64_BIT_INODE
    #include <dirent.h>
    #include <fcntl.h>
    #include <signal.h>
    #include <termios.h>
    #include <unistd.h>
    #include <mach/mach.h>
    #include <mach/message.h>
    #include <sys/event.h>
    #include <sys/mman.h>
    #include <sys/mount.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  7. src/syscall/types_openbsd.go

    */
    
    // +godefs map struct_in_addr [4]byte /* in_addr */
    // +godefs map struct_in6_addr [16]byte /* in6_addr */
    
    package syscall
    
    /*
    #define KERNEL
    #include <dirent.h>
    #include <fcntl.h>
    #include <signal.h>
    #include <termios.h>
    #include <stdio.h>
    #include <unistd.h>
    #include <sys/param.h>
    #include <sys/types.h>
    #include <sys/event.h>
    #include <sys/mman.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  8. src/syscall/types_dragonfly.go

    */
    
    // +godefs map struct_in_addr [4]byte /* in_addr */
    // +godefs map struct_in6_addr [16]byte /* in6_addr */
    
    package syscall
    
    /*
    #define KERNEL
    #include <dirent.h>
    #include <fcntl.h>
    #include <signal.h>
    #include <termios.h>
    #include <stdio.h>
    #include <unistd.h>
    #include <sys/event.h>
    #include <sys/mman.h>
    #include <sys/mount.h>
    #include <sys/param.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 5K bytes
    - Viewed (0)
  9. src/syscall/types_netbsd.go

    */
    
    // +godefs map struct_in_addr [4]byte /* in_addr */
    // +godefs map struct_in6_addr [16]byte /* in6_addr */
    
    package syscall
    
    /*
    #define KERNEL
    #include <dirent.h>
    #include <fcntl.h>
    #include <signal.h>
    #include <termios.h>
    #include <stdio.h>
    #include <unistd.h>
    #include <sys/param.h>
    #include <sys/types.h>
    #include <sys/event.h>
    #include <sys/mman.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_dragonfly.go

    	return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	namlen, ok := direntNamlen(buf)
    	if !ok {
    		return 0, false
    	}
    	return (16 + namlen + 1 + 7) &^ 7, true
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top