Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for aligned2 (0.16 sec)

  1. src/hash/crc32/crc32_ppc64le.go

    			newlen := vecMinLen - align
    			crc = ppc64SlicingUpdateBy8(crc, archCastagnoliTable8, p[:newlen])
    			p = p[newlen:]
    		}
    		// p should be aligned now
    		aligned := len(p) & ^vecAlignMask
    		crc = vectorCrc32(crc, crcCast, p[:aligned])
    		p = p[aligned:]
    	}
    	if len(p) == 0 {
    		return crc
    	}
    	return ppc64SlicingUpdateBy8(crc, archCastagnoliTable8, p)
    }
    
    func archAvailableIEEE() bool {
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. src/crypto/subtle/xor_amd64.s

    	JZ    aligned
    
    not_aligned:
    	TESTQ $7, DX           // AND $7 & len, if not zero jump to loop_1b.
    	JNE   loop_1b
    	SUBQ  $8, DX           // XOR 8bytes backwards.
    	MOVQ  (SI)(DX*1), DI
    	MOVQ  (CX)(DX*1), AX
    	XORQ  AX, DI
    	MOVQ  DI, (BX)(DX*1)
    	CMPQ  DX, $16          // if len is greater or equal 16 here, it must be aligned.
    	JGE   aligned
    
    ret:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 18:14:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir);
    
            assertEquals(basedir.getAbsolutePath(), aligned);
        }
    
        @Test
        void testAlignToBasedirWhereBasedirExpressionIsTheValuePrefix() {
            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/crypto/subtle/xor_generic.go

    	y := unsafe.Slice(yb, n)
    
    	if supportsUnaligned || aligned(dstb, xb, yb) {
    		xorLoop(words(dst), words(x), words(y))
    		if uintptr(n)%wordSize == 0 {
    			return
    		}
    		done := n &^ int(wordSize-1)
    		dst = dst[done:]
    		x = x[done:]
    		y = y[done:]
    	}
    	xorLoop(dst, x, y)
    }
    
    // aligned reports whether dst, x, and y are all word-aligned pointers.
    func aligned(dst, x, y *byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 31 23:25:07 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/runtime/align_test.go

    			// type the selector arg on some platforms.
    			return
    		}
    		if p, ok := t.(*types.Pointer); ok {
    			// Note: we assume here that the pointer p in p.foo is properly
    			// aligned. We just check that foo is at a properly aligned offset.
    			t = p.Elem()
    		} else {
    			v.checkAddr(n.X)
    		}
    		if t.Underlying() == t {
    			v.t.Errorf("analysis can't handle unnamed type %s %v", v.fset.Position(n.Pos()), t)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/doc.go

    to a specified boundary by padding with NOOP instruction. The alignment value supported on arm64
    must be a power of 2 and in the range of [8, 2048].
    
    Examples:
    
    	PCALIGN $16
    	MOVD $2, R0          // This instruction is aligned with 16 bytes.
    	PCALIGN $1024
    	MOVD $3, R1          // This instruction is aligned with 1024 bytes.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:21:42 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  7. src/runtime/memmove_loong64.s

    	SUBVU	R5, R4, R7
    	AND	$7, R7
    	BNE	R7, out
    
    	// if less than 8 bytes, do byte copying
    	SGTU	$8, R6, R7
    	BNE	R7, out
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R4, R8
    	BEQ	R8, words
    	MOVB	(R5), R7
    	ADDV	$1, R5
    	MOVB	R7, (R4)
    	ADDV	$1, R4
    	JMP	-6(PC)
    
    words:
    	// do 8 bytes at a time if there is room
    	ADDV	$-7, R9, R6 // R6 is end pointer-7
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/runtime/mpagealloc_64bit.go

    // Both must be aligned to pallocChunkBytes.
    //
    // The caller must update p.start and p.end after calling sysGrow.
    func (p *pageAlloc) sysGrow(base, limit uintptr) {
    	if base%pallocChunkBytes != 0 || limit%pallocChunkBytes != 0 {
    		print("runtime: base = ", hex(base), ", limit = ", hex(limit), "\n")
    		throw("sysGrow bounds not aligned to pallocChunkBytes")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. src/runtime/memclr_riscv64.s

    	MOV	$8, X9
    	BLT	X11, X9, check4
    
    	// Check alignment
    	AND	$7, X10, X5
    	BEQZ	X5, aligned
    
    	// Zero one byte at a time until we reach 8 byte alignment.
    	SUB	X5, X9, X5
    	SUB	X5, X11, X11
    align:
    	SUB	$1, X5
    	MOVB	ZERO, 0(X10)
    	ADD	$1, X10
    	BNEZ	X5, align
    
    aligned:
    	// X9 already contains $8
    	BLT	X11, X9, check4
    	MOV	$16, X9
    	BLT	X11, X9, zero8
    	MOV	$32, X9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/crypto/md5/md5block_arm.s

    	BEQ	aligned			// aligned detected - skip copy
    
    	// Copy the unaligned source data into the aligned temporary buffer
    	// memmove(to=4(R13), from=8(R13), n=12(R13)) - Corrupts all registers
    	MOVW	$buf, Rtable	// to
    	MOVW	$64, Rc0		// n
    	MOVM.IB	[Rtable,Rdata,Rc0], (R13)
    	BL	runtime·memmove(SB)
    
    	// Point to the local aligned copy of the data
    	MOVW	$buf, Rdata
    
    aligned:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top