Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for CTL_MAXNAME (0.14 sec)

  1. src/syscall/syscall_dragonfly.go

    	// size CTL_MAXNAME+2 but use only CTL_MAXNAME
    	// as the size. I don't know why the +2 is here, but the
    	// kernel uses +2 for its own implementation of this function.
    	// I am scared that if we don't include the +2 here, the kernel
    	// will silently write 2 words farther than we specify
    	// and we'll get memory corruption.
    	var buf [CTL_MAXNAME + 2]_C_int
    	n := uintptr(CTL_MAXNAME) * siz
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. src/syscall/syscall_darwin.go

    	// size CTL_MAXNAME+2 but use only CTL_MAXNAME
    	// as the size. I don't know why the +2 is here, but the
    	// kernel uses +2 for its own implementation of this function.
    	// I am scared that if we don't include the +2 here, the kernel
    	// will silently write 2 words farther than we specify
    	// and we'll get memory corruption.
    	var buf [CTL_MAXNAME + 2]_C_int
    	n := uintptr(CTL_MAXNAME) * siz
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/syscall/syscall_freebsd.go

    	// size CTL_MAXNAME+2 but use only CTL_MAXNAME
    	// as the size. I don't know why the +2 is here, but the
    	// kernel uses +2 for its own implementation of this function.
    	// I am scared that if we don't include the +2 here, the kernel
    	// will silently write 2 words farther than we specify
    	// and we'll get memory corruption.
    	var buf [CTL_MAXNAME + 2]_C_int
    	n := uintptr(CTL_MAXNAME) * siz
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go

    	// size CTL_MAXNAME+2 but use only CTL_MAXNAME
    	// as the size. I don't know why the +2 is here, but the
    	// kernel uses +2 for its own implementation of this function.
    	// I am scared that if we don't include the +2 here, the kernel
    	// will silently write 2 words farther than we specify
    	// and we'll get memory corruption.
    	var buf [CTL_MAXNAME + 2]_C_int
    	n := uintptr(CTL_MAXNAME) * siz
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    	// size CTL_MAXNAME+2 but use only CTL_MAXNAME
    	// as the size. I don't know why the +2 is here, but the
    	// kernel uses +2 for its own implementation of this function.
    	// I am scared that if we don't include the +2 here, the kernel
    	// will silently write 2 words farther than we specify
    	// and we'll get memory corruption.
    	var buf [CTL_MAXNAME + 2]_C_int
    	n := uintptr(CTL_MAXNAME) * siz
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. src/runtime/defs_freebsd.go

    #include <sys/cpuset.h>
    #include <sys/param.h>
    #include <sys/vdso.h>
    */
    import "C"
    
    // Local consts.
    const (
    	_NBBY            = C.NBBY            // Number of bits in a byte.
    	_CTL_MAXNAME     = C.CTL_MAXNAME     // Largest number of components supported.
    	_CPU_LEVEL_WHICH = C.CPU_LEVEL_WHICH // Actual mask/id for which.
    	_CPU_WHICH_PID   = C.CPU_WHICH_PID   // Specifies a process id.
    )
    
    const (
    	EINTR     = C.EINTR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    	// size CTL_MAXNAME+2 but use only CTL_MAXNAME
    	// as the size. I don't know why the +2 is here, but the
    	// kernel uses +2 for its own implementation of this function.
    	// I am scared that if we don't include the +2 here, the kernel
    	// will silently write 2 words farther than we specify
    	// and we'll get memory corruption.
    	var buf [CTL_MAXNAME + 2]_C_int
    	n := uintptr(CTL_MAXNAME) * siz
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  8. src/syscall/zerrors_darwin_arm64.go

    	CSTART                            = 0x11
    	CSTATUS                           = 0x14
    	CSTOP                             = 0x13
    	CSTOPB                            = 0x400
    	CSUSP                             = 0x1a
    	CTL_MAXNAME                       = 0xc
    	CTL_NET                           = 0x4
    	DLT_APPLE_IP_OVER_IEEE1394        = 0x8a
    	DLT_ARCNET                        = 0x7
    	DLT_ATM_CLIP                      = 0x13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 55.8K bytes
    - Viewed (0)
  9. src/syscall/zerrors_freebsd_arm.go

    	CSTART                            = 0x11
    	CSTATUS                           = 0x14
    	CSTOP                             = 0x13
    	CSTOPB                            = 0x400
    	CSUSP                             = 0x1a
    	CTL_MAXNAME                       = 0x18
    	CTL_NET                           = 0x4
    	DLT_A429                          = 0xb8
    	DLT_A653_ICM                      = 0xb9
    	DLT_AIRONET_HEADER                = 0x78
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 67.3K bytes
    - Viewed (0)
  10. src/syscall/zerrors_freebsd_arm64.go

    	CSTART                            = 0x11
    	CSTATUS                           = 0x14
    	CSTOP                             = 0x13
    	CSTOPB                            = 0x400
    	CSUSP                             = 0x1a
    	CTL_MAXNAME                       = 0x18
    	CTL_NET                           = 0x4
    	DLT_A429                          = 0xb8
    	DLT_A653_ICM                      = 0xb9
    	DLT_AIRONET_HEADER                = 0x78
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 67.4K bytes
    - Viewed (0)
Back to top