- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CTL_MAXNAME (0.17 sec)
-
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) -
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) -
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) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"CS7", Const, 0}, {"CS8", Const, 0}, {"CSIZE", Const, 0}, {"CSTART", Const, 1}, {"CSTATUS", Const, 1}, {"CSTOP", Const, 1}, {"CSTOPB", Const, 0}, {"CSUSP", Const, 1}, {"CTL_MAXNAME", Const, 0}, {"CTL_NET", Const, 0}, {"CTL_QUERY", Const, 1}, {"CTRL_BREAK_EVENT", Const, 1}, {"CTRL_CLOSE_EVENT", Const, 14}, {"CTRL_C_EVENT", Const, 1}, {"CTRL_LOGOFF_EVENT", Const, 14},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)