Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for cmpbody (0.21 sec)

  1. src/internal/bytealg/compare_loong64.s

    	MOVV	R7, R6
    	MOVV	R8, R7
    	JMP	cmpbody<>(SB)
    
    TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT,$0-40
    	// R4 = a_base
    	// R5 = a_len
    	// R6 = b_base
    	// R7 = b_len
    	JMP	cmpbody<>(SB)
    
    // On entry:
    // R5 length of a
    // R7 length of b
    // R4 points to the start of a
    // R6 points to the start of b
    // R13 points to the return value (-1/0/1)
    TEXT cmpbody<>(SB),NOSPLIT|NOFRAME,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/internal/bytealg/compare_386.s

    	MOVL	b_len+16(FP), DX
    	LEAL	ret+24(FP), AX
    	JMP	cmpbody<>(SB)
    
    TEXT runtime·cmpstring(SB),NOSPLIT,$0-20
    	MOVL	a_base+0(FP), SI
    	MOVL	a_len+4(FP), BX
    	MOVL	b_base+8(FP), DI
    	MOVL	b_len+12(FP), DX
    	LEAL	ret+16(FP), AX
    	JMP	cmpbody<>(SB)
    
    // input:
    //   SI = a
    //   DI = b
    //   BX = alen
    //   DX = blen
    //   AX = address of return word (set to 1/0/-1)
    TEXT cmpbody<>(SB),NOSPLIT,$0-0
    	MOVL	DX, BP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  3. src/internal/bytealg/compare_mips64x.s

    	MOVV	a_base+0(FP), R3
    	MOVV	b_base+24(FP), R4
    	MOVV	a_len+8(FP), R1
    	MOVV	b_len+32(FP), R2
    	MOVV	$ret+48(FP), R9
    	JMP	cmpbody<>(SB)
    
    TEXT runtime·cmpstring(SB),NOSPLIT,$0-40
    	MOVV	a_base+0(FP), R3
    	MOVV	b_base+16(FP), R4
    	MOVV	a_len+8(FP), R1
    	MOVV	b_len+24(FP), R2
    	MOVV	$ret+32(FP), R9
    	JMP	cmpbody<>(SB)
    
    // On entry:
    // R1 length of a
    // R2 length of b
    // R3 points to the start of a
    // R4 points to the start of b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. src/internal/bytealg/compare_arm64.s

    	// R2 = a_cap  (unused)
    	// R3 = b_base (want in R2)
    	// R4 = b_len  (want in R3)
    	// R5 = b_cap  (unused)
    	MOVD	R3, R2
    	MOVD	R4, R3
    	B	cmpbody<>(SB)
    
    TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-40
    	// R0 = a_base
    	// R1 = a_len
    	// R2 = b_base
    	// R3 = b_len
    	B	cmpbody<>(SB)
    
    // On entry:
    // R0 points to the start of a
    // R1 is the length of a
    // R2 points to the start of b
    // R3 is the length of b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. src/internal/bytealg/compare_amd64.s

    	// SI = b_len  (want in DX)
    	// R8 = b_cap  (unused)
    	MOVQ	SI, DX
    	MOVQ	AX, SI
    	JMP	cmpbody<>(SB)
    
    TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT,$0-40
    	// AX = a_base (want in SI)
    	// BX = a_len  (want in BX)
    	// CX = b_base (want in DI)
    	// DI = b_len  (want in DX)
    	MOVQ	AX, SI
    	MOVQ	DI, DX
    	MOVQ	CX, DI
    	JMP	cmpbody<>(SB)
    
    // input:
    //   SI = a
    //   DI = b
    //   BX = alen
    //   DX = blen
    // output:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:17:01 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. src/internal/bytealg/compare_ppc64x.s

    	// R3 a addr
    	// R4 a len
    	// R6 b addr
    	// R7 b len
    	//
    	// on entry to cmpbody:
    	// R3 return value if len(a) == len(b)
    	// R5 a addr
    	// R6 b addr
    	// R9 min(len(a),len(b))
    	SETB_INIT()
    	MOVD	R3,R5
    	CMP	R4,R7,CR0
    	CMP	R3,R6,CR7
    	ISEL	CR0LT,R4,R7,R9
    	SETB_CR0(R3)
    	BC	$12,30,LR	// beqlr cr7
    	BR	cmpbody<>(SB)
    
    TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-40
    	// incoming:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:33:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/wasm/wasmobj.go

    	"runtime.gcWriteBarrier6": true,
    	"runtime.gcWriteBarrier7": true,
    	"runtime.gcWriteBarrier8": true,
    	"runtime.wasmDiv":         true,
    	"runtime.wasmTruncS":      true,
    	"runtime.wasmTruncU":      true,
    	"cmpbody":                 true,
    	"memeqbody":               true,
    	"memcmp":                  true,
    	"memchr":                  true,
    }
    
    func assemble(ctxt *obj.Link, s *obj.LSym, newprog obj.ProgAlloc) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/wasm/asm.go

    	"runtime.gcWriteBarrier7": {Results: []byte{I64}},                                     // -> bufptr
    	"runtime.gcWriteBarrier8": {Results: []byte{I64}},                                     // -> bufptr
    	"cmpbody":                 {Params: []byte{I64, I64, I64, I64}, Results: []byte{I64}}, // a, alen, b, blen -> -1/0/1
    	"memeqbody":               {Params: []byte{I64, I64, I64}, Results: []byte{I64}},      // a, b, len -> 0/1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. pkg/test/loadbalancersim/lb_test.go

    }
    
    type suiteMetrics []*testMetrics
    
    func cmpBool(b1, b2 bool) int {
    	if b1 == b2 {
    		return 0
    	}
    	if !b1 {
    		return -1
    	}
    	return 1
    }
    
    func (sm suiteMetrics) toCSV() string {
    	sort.SliceStable(sm, func(i, j int) bool {
    		a := sm[i]
    		b := sm[j]
    
    		if cmp := cmpBool(a.hasQueueLatency, b.hasQueueLatency); cmp != 0 {
    			return cmp < 0
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
  10. pkg/kubelet/eviction/helpers.go

    			// prioritize evicting the pod for which no stats were found
    			return cmpBool(!p1Found, !p2Found)
    		}
    
    		p1Usage, p1Err := podDiskUsage(p1Stats, p1, fsStatsToMeasure)
    		p2Usage, p2Err := podDiskUsage(p2Stats, p2, fsStatsToMeasure)
    		if p1Err != nil || p2Err != nil {
    			// prioritize evicting the pod which had an error getting stats
    			return cmpBool(p1Err != nil, p2Err != nil)
    		}
    
    		p1Disk := p1Usage[diskResource]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
Back to top