Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 89 for Msglen (0.13 sec)

  1. src/syscall/sockcmsg_dragonfly.go

    package syscall
    
    // Round the length of a raw sockaddr up to align it properly.
    func cmsgAlignOf(salen int) int {
    	salign := sizeofPtr
    	if sizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) {
    		// 64-bit Dragonfly before the September 2019 ABI changes still requires
    		// 32-bit aligned access to network subsystem.
    		salign = 4
    	}
    	return (salen + salign - 1) & ^(salign - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 20 19:33:07 UTC 2019
    - 547 bytes
    - Viewed (0)
  2. src/syscall/sockcmsg_unix_other.go

    //go:build aix || darwin || freebsd || linux || netbsd || openbsd || solaris
    
    package syscall
    
    import (
    	"runtime"
    )
    
    // Round the length of a raw sockaddr up to align it properly.
    func cmsgAlignOf(salen int) int {
    	salign := sizeofPtr
    
    	// dragonfly needs to check ABI version at runtime, see cmsgAlignOf in
    	// sockcmsg_dragonfly.go
    	switch runtime.GOOS {
    	case "aix":
    		// There is no alignment on AIX.
    		salign = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. src/internal/bytealg/indexbyte_s390x.s

    	BR	indexbytebody<>(SB)
    
    TEXT ·IndexByteString(SB),NOSPLIT|NOFRAME,$0-32
    	MOVD	s_base+0(FP), R3// s_base => R3
    	MOVD	s_len+8(FP), R4 // s_len => R4
    	MOVBZ	c+16(FP), R5    // c => R5
    	MOVD	$ret+24(FP), R2 // &ret => R9
    	BR	indexbytebody<>(SB)
    
    // input:
    // R3: s
    // R4: s_len
    // R5: c -- byte sought
    // R2: &ret -- address to put index into
    TEXT indexbytebody<>(SB),NOSPLIT|NOFRAME,$0
    	CMPBEQ	R4, $0, notfound
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 08 20:52:47 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_unix_other.go

    //go:build aix || darwin || freebsd || linux || netbsd || openbsd || solaris || zos
    
    package unix
    
    import (
    	"runtime"
    )
    
    // Round the length of a raw sockaddr up to align it properly.
    func cmsgAlignOf(salen int) int {
    	salign := SizeofPtr
    
    	// dragonfly needs to check ABI version at runtime, see cmsgAlignOf in
    	// sockcmsg_dragonfly.go
    	switch runtime.GOOS {
    	case "aix":
    		// There is no alignment on AIX.
    		salign = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/internal/sys/args.go

    //
    // Windows has a limit of 32 KB. To be conservative and not worry about whether
    // that includes spaces or not, just use 30 KB. Darwin's limit is less clear.
    // The OS claims 256KB, but we've seen failures with arglen as small as 50KB.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 02 13:15:42 UTC 2021
    - 550 bytes
    - Viewed (0)
  6. 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)
  7. src/reflect/makefunc.go

    	// makeFuncImpl contains a stack map for use by the runtime
    	_, _, abid := funcLayout(ftyp, nil)
    
    	impl := &makeFuncImpl{
    		makeFuncCtxt: makeFuncCtxt{
    			fn:      code,
    			stack:   abid.stackPtrs,
    			argLen:  abid.stackCallArgsSize,
    			regPtrs: abid.inRegPtrs,
    		},
    		ftyp: ftyp,
    		fn:   fn,
    	}
    
    	return Value{t, unsafe.Pointer(impl), flag(Func)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/internal/bytealg/count_riscv64.s

    	MOVBU	(X10), X15
    	ADD	$1, X10
    	BNE	X12, X15, loop
    	ADD	$1, X14
    	JMP	loop
    
    done:
    	MOV	X14, X10
    	RET
    
    TEXT ·CountString<ABIInternal>(SB),NOSPLIT,$0-32
    	// X10 = s_base
    	// X11 = s_len
    	// X12 = byte to count
    	AND	$0xff, X12
    	MOV	ZERO, X14	// count
    	ADD	X10, X11	// end
    
    	PCALIGN	$16
    loop:
    	BEQ	X10, X11, done
    	MOVBU	(X10), X15
    	ADD	$1, X10
    	BNE	X12, X15, loop
    	ADD	$1, X14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 01:59:01 UTC 2023
    - 858 bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/util/testing/fake_test.go

    	// Make sure any position of the list can be real deleted
    	rssLen := len(rss)
    	for i := range rss {
    		// List all real servers of the virtual server
    		list, err := fake.GetRealServers(vs)
    		if err != nil {
    			t.Errorf("Fail to get real servers of the virtual server, error: %v", err)
    		}
    		if len(list) != rssLen {
    			t.Errorf("Expect %d virtual servers, got: %d", len(rss), len(list))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/internal/bytealg/indexbyte_386.s

    	MOVL	SI, DI
    	CLD; REPN; SCASB
    	JZ 3(PC)
    	MOVL	$-1, ret+16(FP)
    	RET
    	SUBL	SI, DI
    	SUBL	$1, DI
    	MOVL	DI, ret+16(FP)
    	RET
    
    TEXT ·IndexByteString(SB),NOSPLIT,$0-16
    	MOVL	s_base+0(FP), SI
    	MOVL	s_len+4(FP), CX
    	MOVB	c+8(FP), AL
    	MOVL	SI, DI
    	CLD; REPN; SCASB
    	JZ 3(PC)
    	MOVL	$-1, ret+12(FP)
    	RET
    	SUBL	SI, DI
    	SUBL	$1, DI
    	MOVL	DI, ret+12(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 08 20:52:47 UTC 2018
    - 647 bytes
    - Viewed (0)
Back to top