Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for b_len (0.04 sec)

  1. src/internal/bytealg/compare_loong64.s

    TEXT ·Compare<ABIInternal>(SB),NOSPLIT,$0-56
    	// R4 = a_base
    	// R5 = a_len
    	// R6 = a_cap (unused)
    	// R7 = b_base (want in R6)
    	// R8 = b_len (want in R7)
    	// R9 = b_cap (unused)
    	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
    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/indexbyte_loong64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·IndexByte<ABIInternal>(SB),NOSPLIT,$0-40
    	// R4 = b_base
    	// R5 = b_len
    	// R6 = b_cap (unused)
    	// R7 = byte to find
    	AND	$0xff, R7
    	MOVV	R4, R6		// store base for later
    	ADDV	R4, R5		// end
    	ADDV	$-1, R4
    
    	PCALIGN	$16
    loop:
    	ADDV	$1, R4
    	BEQ	R4, R5, notfound
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 905 bytes
    - Viewed (0)
  3. src/crypto/aes/asm_s390x.s

    	MVC	$16, 0(R1), 0(R8) // update iv
    	RET
    
    // func xorBytes(dst, a, b []byte) int
    TEXT ·xorBytes(SB),NOSPLIT,$0-80
    	MOVD	dst_base+0(FP), R1
    	MOVD	a_base+24(FP), R2
    	MOVD	b_base+48(FP), R3
    	MOVD	a_len+32(FP), R4
    	MOVD	b_len+56(FP), R5
    	CMPBLE	R4, R5, skip
    	MOVD	R5, R4
    skip:
    	MOVD	R4, ret+72(FP)
    	MOVD	$0, R5
    	CMPBLT	R4, $8, tail
    loop:
    	MOVD	0(R2)(R5*1), R7
    	MOVD	0(R3)(R5*1), R8
    	XOR	R7, R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/math/big/arith_ppc64x.s

    	MOVD y+48(FP), R4	// R4 = y = c
    	MOVD z_len+8(FP), R11	// R11 = z_len
    
    	CMP   R11, $0		// If z_len is zero, return
    	BEQ   done
    
    	// We will process the first iteration out of the loop so we capture
    	// the value of c. In the subsequent iterations, we will rely on the
    	// value of CA set here.
    	MOVD  0(R8), R20	// R20 = x[i]
    	ADD   $-1, R11		// R11 = z_len - 1
    	ADDC  R20, R4, R6	// R6 = x[i] + c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. src/crypto/internal/bigmod/nat_ppc64x.s

    TEXT ·addMulVVW1024(SB), $0-32
    	MOVD	$4, R6 // R6 = z_len/4
    	JMP		addMulVVWx<>(SB)
    
    // func addMulVVW1536(z, x *uint, y uint) (c uint)
    TEXT ·addMulVVW1536(SB), $0-32
    	MOVD	$6, R6 // R6 = z_len/4
    	JMP		addMulVVWx<>(SB)
    
    // func addMulVVW2048(z, x *uint, y uint) (c uint)
    TEXT ·addMulVVW2048(SB), $0-32
    	MOVD	$8, R6 // R6 = z_len/4
    	JMP		addMulVVWx<>(SB)
    
    // This local function expects to be called only by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:32:43 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/crypto/md5/md5block_ppc64x.s

    	ADD	R9, a; \
    	ORN     d, b, R31; \
    	XOR	c, R31; \
    	ADD	R31, a; \
    	ROTLW	$shift, a; \
    	ADD	b, a;
    
    
    TEXT ·block(SB),NOSPLIT,$0-32
    	MOVD	dig+0(FP), R10
    	MOVD	p+8(FP), R6
    	MOVD	p_len+16(FP), R5
    
    	// We assume p_len >= 64
    	SRD 	$6, R5
    	MOVD	R5, CTR
    
    	MOVWZ	0(R10), R22
    	MOVWZ	4(R10), R3
    	MOVWZ	8(R10), R4
    	MOVWZ	12(R10), R5
    
    loop:
    	MOVD	R22, R14
    	MOVD	R3, R15
    	MOVD	R4, R16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/go/types/builtins.go

    		x.mode = value
    		x.typ = S
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, sig)
    		}
    
    	case _Cap, _Len:
    		// cap(x)
    		// len(x)
    		mode := invalid
    		var val constant.Value
    		switch t := arrayPtrDeref(under(x.typ)).(type) {
    		case *Basic:
    			if isString(t) && id == _Len {
    				if x.mode == constant_ {
    					mode = constant_
    					val = constant.MakeInt64(int64(len(constant.StringVal(x.val))))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/builtins.go

    		x.mode = value
    		x.typ = S
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, sig)
    		}
    
    	case _Cap, _Len:
    		// cap(x)
    		// len(x)
    		mode := invalid
    		var val constant.Value
    		switch t := arrayPtrDeref(under(x.typ)).(type) {
    		case *Basic:
    			if isString(t) && id == _Len {
    				if x.mode == constant_ {
    					mode = constant_
    					val = constant.MakeInt64(int64(len(constant.StringVal(x.val))))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/universe.go

    // A builtinId is the id of a builtin function.
    type builtinId int
    
    const (
    	// universe scope
    	_Append builtinId = iota
    	_Cap
    	_Clear
    	_Close
    	_Complex
    	_Copy
    	_Delete
    	_Imag
    	_Len
    	_Make
    	_Max
    	_Min
    	_New
    	_Panic
    	_Print
    	_Println
    	_Real
    	_Recover
    
    	// package unsafe
    	_Add
    	_Alignof
    	_Offsetof
    	_Sizeof
    	_Slice
    	_SliceData
    	_String
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/go/types/universe.go

    // A builtinId is the id of a builtin function.
    type builtinId int
    
    const (
    	// universe scope
    	_Append builtinId = iota
    	_Cap
    	_Clear
    	_Close
    	_Complex
    	_Copy
    	_Delete
    	_Imag
    	_Len
    	_Make
    	_Max
    	_Min
    	_New
    	_Panic
    	_Print
    	_Println
    	_Real
    	_Recover
    
    	// package unsafe
    	_Add
    	_Alignof
    	_Offsetof
    	_Sizeof
    	_Slice
    	_SliceData
    	_String
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top