- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 219 for net_len (0.18 sec)
-
src/syscall/syscall_darwin_arm64.go
k.Ident = uint64(fd) k.Filter = int16(mode) k.Flags = uint16(flags) } func (iov *Iovec) SetLen(length int) { iov.Len = uint64(length) } func (msghdr *Msghdr) SetControllen(length int) { msghdr.Controllen = uint32(length) } func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint32(length) } func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 21:34:30 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
return Timeval{Sec: int64(sec), Usec: int32(usec)} } func (iov *Iovec) SetLen(length int) { iov.Len = uint64(length) } func (msghdr *Msghdr) SetControllen(length int) { msghdr.Controllen = uint32(length) } func (msghdr *Msghdr) SetIovlen(length int) { msghdr.Iovlen = int32(length) } func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint32(length) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
// rest to ssagen. // // For race detector, expand append(src, a [, b]* ) to // // init { // s := src // const argc = len(args) - 1 // newLen := s.len + argc // if uint(newLen) <= uint(s.cap) { // s = s[:newLen] // } else { // s = growslice(s.ptr, newLen, s.cap, argc, elemType) // } // s[s.len - argc] = a // s[s.len - argc + 1] = b // ... // } // s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/syscall/syscall_openbsd1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 534 bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go
// sysctl without depending on x/sys/unix. const ( _CTL_QUERY = -2 _SYSCTL_VERS_1 = 0x1000000 ) var _zero uintptr func sysctl(mib []int32, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) { var _p0 unsafe.Pointer if len(mib) > 0 { _p0 = unsafe.Pointer(&mib[0]) } else { _p0 = unsafe.Pointer(&_zero) } _, _, errno := syscall.Syscall6( syscall.SYS___SYSCTL,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 02 15:41:00 UTC 2020 - 4.3K bytes - Viewed (0) -
src/syscall/sockcmsg_linux.go
// authentication. func UnixCredentials(ucred *Ucred) []byte { b := make([]byte, CmsgSpace(SizeofUcred)) h := (*Cmsghdr)(unsafe.Pointer(&b[0])) h.Level = SOL_SOCKET h.Type = SCM_CREDENTIALS h.SetLen(CmsgLen(SizeofUcred)) *(*Ucred)(h.data(0)) = *ucred return b } // ParseUnixCredentials decodes a socket control message that contains // credentials in a Ucred structure. To receive such a message, the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 17 18:42:47 UTC 2019 - 1.1K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct_linux.go
// } // // struct nlattr{ // __u16 nla_len: 13 // __u16 nla_type: NFACCT_NAME // char data: dummy-metric\0 // } // // (padding:) // data: \0\0\0 // // struct nlattr{ // __u16 nla_len: 12 // __u16 nla_type: NFACCT_PKTS // __u64: data: 123 // } // // struct nlattr{ // __u16 nla_len: 12
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 9.2K bytes - Viewed (0) -
src/runtime/sys_plan9_amd64.s
get_tls(AX) MOVQ g(AX), BX MOVQ g_m(BX), BX MOVQ (m_mOS+mOS_errstr)(BX), CX MOVQ CX, 0(SP) MOVQ $ERRMAX, 8(SP) CALL errstr<>(SB) CALL runtime·findnull(SB) MOVQ 8(SP), AX MOVQ AX, ret_len+8(FP) MOVQ 0(SP), AX MOVQ AX, ret_base+0(FP) RET // never called on this platform TEXT ·sigpanictramp(SB),NOSPLIT,$0-0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 16:41:22 UTC 2023 - 4.6K bytes - Viewed (0) -
src/internal/coverage/cfile/emit.go
func (s *emitState) openMetaFile(metaHash [16]byte, metaLen uint64) error { // Open meta-outfile for reading to see if it exists. fn := fmt.Sprintf("%s.%x", coverage.MetaFilePref, metaHash) s.mfname = filepath.Join(s.outdir, fn) fi, err := os.Stat(s.mfname) if err != nil || fi.Size() != int64(metaLen) { // We need a new meta-file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc
Rematerializer::FindBestRemat(const SizeT min_savings, const int begin_len, const int end_len) const { const auto peak = GetPeakMemory(); SizeT best_peak_mem = peak.size; RematSpec best_remat = {}; for (int len = begin_len; len < end_len; ++len) { std::vector<std::tuple<SizeT, int, int>> pre_screen; for (int begin = 0, end = begin + len; end <= peak.op_index;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 13.7K bytes - Viewed (0)