Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 244 for aligned2 (0.29 sec)

  1. 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)
  2. src/runtime/malloc.go

    		}
    		// Success.
    		return p2, size
    	default:
    		// Trim off the unaligned parts.
    		pAligned := alignUp(p, align)
    		sysFreeOS(unsafe.Pointer(p), pAligned-p)
    		end := pAligned + size
    		endLen := (p + size + align) - end
    		if endLen > 0 {
    			sysFreeOS(unsafe.Pointer(end), endLen)
    		}
    		return unsafe.Pointer(pAligned), size
    	}
    }
    
    // enableMetadataHugePages enables huge pages for various sources of heap metadata.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/sizes.go

    //     field's size. As with all element types, if the struct is used
    //     in an array its size must first be aligned to a multiple of the
    //     struct's alignment.
    //   - All other types have size WordSize.
    //   - Arrays and structs are aligned per spec definition; all other
    //     types are naturally aligned with a maximum alignment MaxAlign.
    //
    // *StdSizes implements Sizes.
    type StdSizes struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/crypto/subtle/xor_test.go

    					}
    
    					d := make([]byte, alignD+n, alignD+n+10)
    					for i := range d {
    						d[i] = 0xdd
    					}
    					want := make([]byte, len(d), cap(d))
    					copy(want[:cap(want)], d[:cap(d)])
    					for i := 0; i < n; i++ {
    						want[alignD+i] = p[i] ^ q[i]
    					}
    
    					if XORBytes(d[alignD:], p, q); !bytes.Equal(d, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:51:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/go/types/sizes.go

    //     field's size. As with all element types, if the struct is used
    //     in an array its size must first be aligned to a multiple of the
    //     struct's alignment.
    //   - All other types have size WordSize.
    //   - Arrays and structs are aligned per spec definition; all other
    //     types are naturally aligned with a maximum alignment MaxAlign.
    //
    // *StdSizes implements Sizes.
    type StdSizes struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/cgo/internal/testgodefs/testdata/bitfields.go

    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    // This file tests that we don't generate an incorrect field location
    // for a bitfield that appears aligned.
    
    /*
    struct bitfields {
        unsigned int B1     :  5;
        unsigned int B2     :  1;
        unsigned int B3     :  1;
        unsigned int B4     :  1;
        unsigned int Short1 : 16; // misaligned on 8 bit boundary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 838 bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AbstractAlignmentSpec.groovy

                def moduleName = name
                def alignedTo = alignsTo
                def otherVersions = seenVersions
                otherVersions.remove(alignedTo)
                def missedVersions = misses
                spec.group(group) {
                    module(moduleName) {
                        if (alignedTo) {
                            version(alignedTo) {
                                expectResolve()
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top