Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for bytesVal (0.16 sec)

  1. pkg/ledger/ledger.go

    	// hash length is fixed at 64 bits until generic support is added
    	const hashLen = 64
    	byteVal := []byte(val)
    	if len(byteVal) < hashLen/8 {
    		// zero fill the left side of the slice
    		zerofill := make([]byte, hashLen/8)
    		byteVal = append(zerofill[:hashLen/8-len(byteVal)], byteVal...)
    	}
    	return byteVal[:hashLen/8]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/internal/bytealg/compare_ppc64x.s

    	CMP	R3,R5,CR7
    	ISEL	CR0LT,R4,R6,R9
    	MOVD	R5,R6
    	MOVD	R3,R5
    	SETB_CR0(R3)
    	BC	$12,30,LR	// beqlr cr7
    	BR	cmpbody<>(SB)
    
    #ifdef GOARCH_ppc64le
    DATA byteswap<>+0(SB)/8, $0x0706050403020100
    DATA byteswap<>+8(SB)/8, $0x0f0e0d0c0b0a0908
    GLOBL byteswap<>+0(SB), RODATA, $16
    #define SWAP V21
    #endif
    
    TEXT cmpbody<>(SB),NOSPLIT|NOFRAME,$0-0
    start:
    	CMP	R9,$16,CR0
    	CMP	R9,$32,CR1
    	CMP	R9,$64,CR2
    	MOVD	$16,R10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:33:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/internal/objfile/goobj.go

    		if s.PkgIdx != goobj.PkgIdxHashed {
    			// We don't need the data for non-hashed symbols, yet.
    			panic("not supported")
    		}
    		i := uint32(s.SymIdx + uint32(r.NSym()+r.NHashed64def()))
    		return r.BytesAt(r.DataOff(i), r.DataSize(i))
    	}
    
    	ndef := uint32(r.NSym() + r.NHashed64def() + r.NHasheddef() + r.NNonpkgdef())
    	for i := uint32(0); i < ndef; i++ {
    		osym := r.Sym(i)
    		addr := uint64(r.DataOff(i))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top