Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 510 for aligned (0.2 sec)

  1. src/runtime/memmove_mips64x.s

    	SUBVU	R2, R1, R4
    	AND	$7, R4
    	BNE	R4, out
    
    	// if less than 8 bytes, do byte copying
    	SGTU	$8, R3, R4
    	BNE	R4, out
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R1, R5
    	BEQ	R5, words
    	MOVB	(R2), R4
    	ADDV	$1, R2
    	MOVB	R4, (R1)
    	ADDV	$1, R1
    	JMP	-6(PC)
    
    words:
    	// do 8 bytes at a time if there is room
    	ADDV	$-7, R6, R3 // R3 is end pointer-7
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. src/go/types/gcsizes.go

    			// Special case: sync/atomic.align64 is an
    			// empty struct we recognize as a signal that
    			// the struct it contains must be
    			// 64-bit-aligned.
    			//
    			// This logic is equivalent to the logic in
    			// cmd/compile/internal/types/size.go:calcStructOffset
    			return 8
    		}
    
    		// spec: "For a variable x of struct type: unsafe.Alignof(x)
    		// is the largest of the values unsafe.Alignof(x.f) for each
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/types2/gcsizes.go

    			// Special case: sync/atomic.align64 is an
    			// empty struct we recognize as a signal that
    			// the struct it contains must be
    			// 64-bit-aligned.
    			//
    			// This logic is equivalent to the logic in
    			// cmd/compile/internal/types/size.go:calcStructOffset
    			return 8
    		}
    
    		// spec: "For a variable x of struct type: unsafe.Alignof(x)
    		// is the largest of the values unsafe.Alignof(x.f) for each
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    // Round the length of a raw sockaddr up to align it properly.
    func cmsgAlignOf(salen int) int {
    	salign := SizeofPtr
    	if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) {
    		// 64-bit Dragonfly before the September 2019 ABI changes still requires
    		// 32-bit aligned access to network subsystem.
    		salign = 4
    	}
    	return (salen + salign - 1) & ^(salign - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 21:26:10 UTC 2020
    - 544 bytes
    - Viewed (0)
  7. src/cmd/internal/obj/arm64/asm_arm64_test.go

    	// If the output contains this pattern, the pc-offsite of "MOVD $1, R1" is 8 bytes aligned.
    	out1 := `0x0008\s00008\s\(.*\)\tMOVD\t\$1,\sR1`
    	// If the output contains this pattern, the pc-offsite of "MOVD $2, R2" is 16 bytes aligned.
    	out2 := `0x0010\s00016\s\(.*\)\tMOVD\t\$2,\sR2`
    	var testCases = []struct {
    		name string
    		code []byte
    		out  string
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:46:11 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/internal/bytealg/count_arm64.s

    	// jump directly to tail if length < 32
    	BLO	tail
    	ANDS	$0x1f, R0, R9
    	BEQ	chunk
    	// Work with not 32-byte aligned head
    	BIC	$0x1f, R0, R3
    	ADD	$0x20, R3
    	PCALIGN $16
    head_loop:
    	MOVBU.P	1(R0), R5
    	CMP	R5, R1
    	CINC	EQ, R11, R11
    	SUB	$1, R2, R2
    	CMP	R0, R3
    	BNE	head_loop
    	// Work with 32-byte aligned chunks
    chunk:
    	BIC	$0x1f, R2, R9
    	// The first chunk can also be the last
    	CBZ	R9, tail
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 17:00:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/syscall/sockcmsg_dragonfly.go

    // license that can be found in the LICENSE file.
    
    package syscall
    
    // Round the length of a raw sockaddr up to align it properly.
    func cmsgAlignOf(salen int) int {
    	salign := sizeofPtr
    	if sizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) {
    		// 64-bit Dragonfly before the September 2019 ABI changes still requires
    		// 32-bit aligned access to network subsystem.
    		salign = 4
    	}
    	return (salen + salign - 1) & ^(salign - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 20 19:33:07 UTC 2019
    - 547 bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/topology_hints.go

    	m.mutex.Lock()
    	defer m.mutex.Unlock()
    	for resource, requested := range accumulatedResourceRequests {
    		// Only consider devices that actually contain topology information.
    		if aligned := m.deviceHasTopologyAlignment(resource); !aligned {
    			klog.InfoS("Resource does not have a topology preference", "resource", resource)
    			deviceHints[resource] = nil
    			continue
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top