Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 90 for msglen (0.1 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go

    	SizeofIPv6MTUInfo      = 0x20
    	SizeofMsghdr           = 0x30
    	SizeofCmsghdr          = 0xc
    	SizeofICMPv6Filter     = 0x20
    )
    
    const (
    	SizeofIfMsghdr = 0x10
    )
    
    type IfMsgHdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Addrs   int32
    	Flags   int32
    	Index   uint16
    	Addrlen uint8
    	_       [1]byte
    }
    
    type FdSet struct {
    	Bits [1024]int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. operator/pkg/util/yaml.go

    }
    
    func diffStringList(l1, l2 []string) string {
    	var maxLen int
    	var minLen int
    	var l1Max bool
    	res := ""
    	if len(l1)-len(l2) > 0 {
    		maxLen = len(l1)
    		minLen = len(l2)
    		l1Max = true
    	} else {
    		maxLen = len(l2)
    		minLen = len(l1)
    		l1Max = false
    	}
    
    	for i := 0; i < maxLen; i++ {
    		d := ""
    		if i >= minLen {
    			if l1Max {
    				d = yamlDiff(l1[i], "")
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/vendor/golang.org/x/net/http2/hpack/huffman.go

    // Huffman-encoded strings.
    var ErrInvalidHuffman = errors.New("hpack: invalid Huffman-encoded data")
    
    // huffmanDecode decodes v to buf.
    // If maxLen is greater than 0, attempts to write more to buf than
    // maxLen bytes will return ErrStringLength.
    func huffmanDecode(buf *bytes.Buffer, maxLen int, v []byte) error {
    	rootHuffmanNode := getRootHuffmanNode()
    	n := rootHuffmanNode
    	// cur is the bit buffer that has not been fed into n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
Back to top