- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CTL_MAXNAME (0.24 sec)
-
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) -
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) -
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)