- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for Ifreq (0.13 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go
package unix import ( "unsafe" ) // Helpers for dealing with ifreq since it contains a union and thus requires a // lot of unsafe.Pointer casts to use properly. // An Ifreq is a type-safe wrapper around the raw ifreq struct. An Ifreq // contains an interface name and a union of arbitrary data which can be // accessed using the Ifreq's methods. To create an Ifreq, use the NewIfreq // function. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 4.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ioctl_linux.go
return ByteSliceToString(value[:]), err } // IoctlIfreq performs an ioctl using an Ifreq structure for input and/or // output. See the netdevice(7) man page for details. func IoctlIfreq(fd int, req uint, value *Ifreq) error { // It is possible we will add more fields to *Ifreq itself later to prevent // misuse, so pass the raw *ifreq directly. return ioctlPtr(fd, req, unsafe.Pointer(&value.raw)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 8.1K bytes - Viewed (0) -
src/net/interface_aix.go
"syscall" "unsafe" ) type rawSockaddrDatalink struct { Len uint8 Family uint8 Index uint16 Type uint8 Nlen uint8 Alen uint8 Slen uint8 Data [120]byte } type ifreq struct { Name [16]uint8 Ifru [16]byte } const _KINFO_RT_IFLIST = (0x1 << 8) | 3 | (1 << 30) const _RTAX_NETMASK = 2 const _RTAX_IFA = 5 const _RTAX_MAX = 8 func getIfList() ([]byte, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 27 05:42:03 UTC 2022 - 4.5K bytes - Viewed (0) -
src/compress/flate/huffman_code.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 9.7K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-task-across-generations.test
EventBatch gen=1 m=0 time=0 size=15 ProcStatus dt=1 p=0 pstatus=1 GoStatus dt=1 g=1 m=0 gstatus=2 UserTaskBegin dt=1 task=2 parent_task=0 name_string=1 stack=0 EventBatch gen=1 m=18446744073709551615 time=0 size=5 Frequency freq=15625000 EventBatch gen=1 m=18446744073709551615 time=0 size=1 Stacks EventBatch gen=1 m=18446744073709551615 time=0 size=11 Strings String id=1 data="my task" EventBatch gen=2 m=0 time=5 size=13
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 767 bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-confuse-seq-across-generations.test
GoStop dt=1 reason_string=1 stack=0 EventBatch gen=1 m=1 time=0 size=12 ProcStatus dt=1 p=1 pstatus=1 GoStart dt=1 g=1 g_seq=1 GoStop dt=1 reason_string=1 stack=0 EventBatch gen=1 m=18446744073709551615 time=0 size=5 Frequency freq=15625000 EventBatch gen=1 m=18446744073709551615 time=0 size=1 Stacks EventBatch gen=1 m=18446744073709551615 time=0 size=12 Strings String id=1 data="whatever" EventBatch gen=2 m=1 time=3 size=8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1018 bytes - Viewed (0) -
src/internal/trace/batchcursor.go
} // Initialize lastTs if it hasn't been yet. if b.lastTs == 0 { b.lastTs = freq.mul(batches[b.idx].time) } // Read an event out. n, tsdiff, err := readTimedBaseEvent(batches[b.idx].data[b.dataOff:], &b.ev) if err != nil { return false, err } // Complete the timestamp from the cursor's last timestamp. b.ev.time = freq.mul(tsdiff) + b.lastTs // Move the cursor's timestamp forward. b.lastTs = b.ev.time
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 4.1K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-fail-first-gen-first.test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 256 bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-sitting-in-syscall.test
ProcStatus dt=1 p=0 pstatus=4 ProcSteal dt=1 p=0 p_seq=1 m=1 EventBatch gen=1 m=18446744073709551615 time=0 size=5 GoStatus dt=1 g=1 m=1 gstatus=3 EventBatch gen=1 m=18446744073709551615 time=0 size=5 Frequency freq=15625000 EventBatch gen=1 m=18446744073709551615 time=0 size=1 Stacks EventBatch gen=1 m=18446744073709551615 time=0 size=1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 429 bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc-bare-m.test
ProcStart dt=1 p=1 p_seq=1 GoSyscallEndBlocked dt=1 EventBatch gen=1 m=1 time=0 size=9 ProcStatus dt=1 p=0 pstatus=4 ProcSteal dt=1 p=0 p_seq=1 m=0 EventBatch gen=1 m=18446744073709551615 time=0 size=5 Frequency freq=15625000 EventBatch gen=1 m=18446744073709551615 time=0 size=1 Stacks EventBatch gen=1 m=18446744073709551615 time=0 size=1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 493 bytes - Viewed (0)