Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for rcvr (3 sec)

  1. src/cmd/compile/internal/test/abiutilsaux_test.go

    	for _, ot := range outs {
    		outf = append(outf, mkParamResultField(ot, q, ir.PPARAMOUT))
    	}
    	var rf *types.Field
    	if rcvr != nil {
    		rf = mkParamResultField(rcvr, q, ir.PPARAM)
    	}
    	return types.NewSignature(rf, inf, outf)
    }
    
    type expectedDump struct {
    	dump string
    	file string
    	line int
    }
    
    func tokenize(src string) []string {
    	var s scanner.Scanner
    	s.Init(strings.NewReader(src))
    	res := []string{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:34:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/reflect/export_test.go

    // If ptrs is false, gc will be nil.
    func FuncLayout(t Type, rcvr Type) (frametype Type, argSize, retOffset uintptr, stack, gc, inReg, outReg []byte, ptrs bool) {
    	var ft *abi.Type
    	var abid abiDesc
    	if rcvr != nil {
    		ft, _, abid = funcLayout((*funcType)(unsafe.Pointer(t.common())), rcvr.common())
    	} else {
    		ft, _, abid = funcLayout((*funcType)(unsafe.Pointer(t.(*rtype))), nil)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/reflect/makefunc.go

    			regPtrs: abid.inRegPtrs,
    		},
    		method: int(v.flag) >> flagMethodShift,
    		rcvr:   rcvr,
    	}
    
    	// Cause panic if method is not appropriate.
    	// The panic would still happen during the call if we omit this,
    	// but we want Interface() and other operations to fail early.
    	methodReceiver(op, fv.rcvr, fv.method)
    
    	return Value{ftyp.Common(), unsafe.Pointer(fv), v.flag&flagRO | 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)
  4. test/escape_param.go

    	_ = p
    }
    
    func caller3b() {
    	i := 0 // ERROR "moved to heap: i$"
    	j := 0 // ERROR "moved to heap: j$"
    	p := Pair{&i, &j}
    	param3(&p)
    	sink = p // ERROR "p escapes to heap$"
    }
    
    // in -> rcvr
    func (p *Pair) param4(i *int) { // ERROR "p does not escape$" "leaking param: i$"
    	p.p1 = i
    }
    
    func caller4a() {
    	i := 0 // ERROR "moved to heap: i$"
    	p := Pair{}
    	p.param4(&i)
    	_ = p
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:32 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  5. src/crypto/sha1/sha1block_arm.s

    	ROUND3(Rb, Rc, Rd, Re, Ra)
    	SUB.S	$1, Rctr
    	BNE	loop3
    
    	MOVW	$0xCA62C1D6, Rconst
    	MOVW	$4, Rctr
    loop4:	ROUND4(Ra, Rb, Rc, Rd, Re)
    	ROUND4(Re, Ra, Rb, Rc, Rd)
    	ROUND4(Rd, Re, Ra, Rb, Rc)
    	ROUND4(Rc, Rd, Re, Ra, Rb)
    	ROUND4(Rb, Rc, Rd, Re, Ra)
    	SUB.S	$1, Rctr
    	BNE	loop4
    
    	// Accumulate - restoring registers from SP+4
    	MOVM.IB (R13), [Rt0,Rt1,Rt2,Rctr,Rw]
    	ADD	Rt0, Ra
    	ADD	Rt1, Rb
    	ADD	Rt2, Rc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/net/internal/socktest/sys_windows.go

    func (sw *Switch) AcceptEx(ls syscall.Handle, as syscall.Handle, b *byte, rxdatalen uint32, laddrlen uint32, raddrlen uint32, rcvd *uint32, overlapped *syscall.Overlapped) error {
    	so := sw.sockso(ls)
    	if so == nil {
    		return syscall.AcceptEx(ls, as, b, rxdatalen, laddrlen, raddrlen, rcvd, overlapped)
    	}
    	sw.fmu.RLock()
    	f, _ := sw.fltab[FilterAccept]
    	sw.fmu.RUnlock()
    
    	af, err := f.apply(so)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/log/syslog/syslog_test.go

    				t.Fatalf("WriteString() failed: %v", err)
    			}
    			rcvd := <-done
    			test.exp = fmt.Sprintf("<%d>", test.pri) + test.exp
    			var parsedHostname, timestamp string
    			var pid int
    			if n, err := fmt.Sscanf(rcvd, test.exp, &timestamp, &parsedHostname, &pid); n != 3 || err != nil || hostname != parsedHostname {
    				t.Errorf("s.Info() = '%q', didn't match '%q' (%d %s)", rcvd, test.exp, n, err)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 16:09:24 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/x86/x86asm/plan9x.go

    	NOP:       true,
    	NOT:       true,
    	OR:        true,
    	OUT:       true,
    	POP:       true,
    	POPA:      true,
    	POPCNT:    true,
    	PUSH:      true,
    	PUSHA:     true,
    	RCL:       true,
    	RCR:       true,
    	ROL:       true,
    	ROR:       true,
    	SAR:       true,
    	SBB:       true,
    	SHL:       true,
    	SHLD:      true,
    	SHR:       true,
    	SHRD:      true,
    	SUB:       true,
    	TEST:      true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top