- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 247 for msglen (0.12 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix.go
// Socket control messages package unix import ( "unsafe" ) // CmsgLen returns the value to store in the Len field of the Cmsghdr // structure, taking into account any necessary alignment. func CmsgLen(datalen int) int { return cmsgAlignOf(SizeofCmsghdr) + datalen } // CmsgSpace returns the number of bytes an ancillary element with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 3.1K bytes - Viewed (0) -
src/syscall/sockcmsg_unix.go
//go:build unix // Socket control messages package syscall import ( "unsafe" ) // CmsgLen returns the value to store in the Len field of the [Cmsghdr] // structure, taking into account any necessary alignment. func CmsgLen(datalen int) int { return cmsgAlignOf(SizeofCmsghdr) + datalen } // CmsgSpace returns the number of bytes an ancillary element with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_zos.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: Wed May 08 16:12:58 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/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: Tue Nov 09 20:10:21 UTC 2021 - 2.6K bytes - Viewed (0) -
src/internal/xcoff/file.go
if _, err := s.sr.Seek(0, io.SeekStart); err != nil { return nil, err } var stlen uint32 var stoff uint64 var nsyms uint32 var symoff uint64 switch f.TargetMachine { case U802TOCMAGIC: lhdr := new(LoaderHeader32) if err := binary.Read(s.sr, binary.BigEndian, lhdr); err != nil { return nil, err } stlen = lhdr.Lstlen stoff = uint64(lhdr.Lstoff) nsyms = lhdr.Lnsyms symoff = LDHDRSZ_32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 12 14:42:29 UTC 2024 - 17.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/opGen.go
argLen: 0, reg: regInfo{}, }, { name: "FlagGT_UGT", argLen: 0, reg: regInfo{}, }, { name: "FlagGT_ULT", argLen: 0, reg: regInfo{}, }, { name: "MOVSSconst1", auxType: auxFloat32, argLen: 0, reg: regInfo{ outputs: []outputInfo{ {0, 239}, // AX CX DX BX BP SI DI }, }, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 1M bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/lookup.go
[maxLen]byte{'i', '-', 'b', 'n', 'n'}: _bnn, // i-bnn [maxLen]byte{'i', '-', 'h', 'a', 'k'}: _hak, // i-hak [maxLen]byte{'i', '-', 'k', 'l', 'i', 'n', 'g', 'o', 'n'}: _tlh, // i-klingon [maxLen]byte{'i', '-', 'l', 'u', 'x'}: _lb, // i-lux [maxLen]byte{'i', '-', 'n', 'a', 'v', 'a', 'j', 'o'}: _nv, // i-navajo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
* @param bufferIndex * @param maxLen * @return position of terminating null bytes */ public static int findUNITermination ( byte[] buffer, int bufferIndex, int maxLen ) { int len = 0; while ( buffer[ bufferIndex + len ] != (byte) 0x00 || buffer[ bufferIndex + len + 1 ] != (byte) 0x00 ) { len += 2; if ( len > maxLen ) { if ( log.isDebugEnabled() ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 4.9K bytes - Viewed (0) -
test/fixedbugs/bug273.go
g4 = make(chan cblock, big) } func overflowchan() { const ptrSize = unsafe.Sizeof(uintptr(0)) g4 = make(chan cblock, 1<<(30*(ptrSize/4))) } func main() { shouldfail(badlen, "badlen") shouldfail(biglen, "biglen") shouldfail(badcap, "badcap") shouldfail(badcap1, "badcap1") shouldfail(bigcap, "bigcap") shouldfail(badchancap, "badchancap") shouldfail(bigchancap, "bigchancap") shouldfail(overflowchan, "overflowchan")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 26 14:06:28 UTC 2018 - 1.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)