Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 112 for alignof (0.15 sec)

  1. src/cmd/link/link_test.go

    GLOBL	·alignPcFnAddr(SB),RODATA,$8
    DATA	·alignPcFnAddr(SB)/8,$·alignPc(SB)
    `,
    	"loong64": `
    #include "textflag.h"
    
    TEXT	·alignPc(SB),NOSPLIT, $0-0
    	MOVV	$2, R4
    	PCALIGN	$512
    	MOVV	$3, R5
    	RET
    
    GLOBL	·alignPcFnAddr(SB),RODATA,$8
    DATA	·alignPcFnAddr(SB)/8,$·alignPc(SB)
    `,
    }
    
    // TestFuncAlign verifies that the address of a function can be aligned
    // with a specific value on arm64 and loong64.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  2. src/runtime/race_arm64.s

    // Callee-saved registers are: R19...R28.
    // Temporary registers are: R9...R15
    // SP must be 16-byte aligned.
    
    // When calling racecalladdr, R9 is the call target address.
    
    // The race ctx, ThreadState *thr below, is passed in R0 and loaded in racecalladdr.
    
    // Darwin may return unaligned thread pointer. Align it. (See tls_arm64.s)
    // No-op on other OSes.
    #ifdef TLS_darwin
    #define TP_ALIGN	AND	$~7, R0
    #else
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. src/runtime/malloc.go

    	if align != 0 {
    		if align&(align-1) != 0 {
    			throw("persistentalloc: align is not a power of 2")
    		}
    		if align > _PageSize {
    			throw("persistentalloc: align is too large")
    		}
    	} else {
    		align = 8
    	}
    
    	if size >= maxBlock {
    		return (*notInHeap)(sysAlloc(size, sysStat))
    	}
    
    	mp := acquirem()
    	var persistent *persistentAlloc
    	if mp != nil && mp.p != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/sync/atomic/doc.go

    // atomic functions (types [Int64] and [Uint64] are automatically aligned).
    // The first word in an allocated struct, array, or slice; in a global
    // variable; or in a local variable (because the subject of all atomic operations
    // will escape to the heap) can be relied upon to be 64-bit aligned.
    
    // SwapInt32 atomically stores new into *addr and returns the previous *addr value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    rtical-align":"middle"},".align-bottom":{"vertical-align":"bottom"},".align-text-top":{"vertical-align":"text-top"},".align-text-bottom":{"vertical-align":"text-bottom"},".align-sub":{"vertical-align":"sub"},".align-super":{"vertical-align":"super"}}),e({align:t=>({"vertical-align":t})})},fontFamily:({matchUtilities:i,theme:e})=>{i({font:t=>{let[r,n={}]=Array.isArray(t)&&ie(t[1])?t:[t],{fontFeatureSettings:a,fontVariationSettings:s}=n;return{"font-family":Array.isArray(r)?r.join(", "):r,...a===void...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  6. cmd/bitrot-streaming.go

    		})
    		return closer.Close()
    	}
    	return nil
    }
    
    func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) {
    	var err error
    	if offset%b.shardSize != 0 {
    		// Offset should always be aligned to b.shardSize
    		// Can never happen unless there are programmer bugs
    		return 0, errUnexpected
    	}
    	if b.rc == nil {
    		// For the first ReadAt() call we need to open the stream for reading.
    		b.currOffset = offset
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/runtime/race_amd64.s

    // Arguments are passed in DI, SI, DX, CX, R8, R9, the rest is on stack.
    // Callee-saved registers are: BX, BP, R12-R15.
    // SP must be 16-byte aligned.
    // On Windows:
    // Arguments are passed in CX, DX, R8, R9, the rest is on stack.
    // Callee-saved registers are: BX, BP, DI, SI, R12-R15.
    // SP must be 16-byte aligned. Windows also requires "stack-backing" for the 4 register arguments:
    // https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    		// we don't want to do it every time. But if _stext happens to be
    		// page-aligned but isn't the same as Vaddr, we would symbolize
    		// wrong. So if the name the addresses aren't page aligned, or if
    		// the name is "vmlinux" we read _stext. We can be wrong if: (1)
    		// someone passes a kernel path that doesn't contain "vmlinux" AND
    		// (2) _stext is page-aligned AND (3) _stext is not at Vaddr
    		symbols, err := ef.Symbols()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. src/crypto/des/block.go

    	}
    }
    
    // Expand 48-bit input to 64-bit, with each 6-bit block padded by extra two bits at the top.
    // By doing so, we can have the input blocks (four bits each), and the key blocks (six bits each) well-aligned without
    // extra shifts/rotations for alignments.
    func unpack(x uint64) uint64 {
    	return ((x>>(6*1))&0xff)<<(8*0) |
    		((x>>(6*3))&0xff)<<(8*1) |
    		((x>>(6*5))&0xff)<<(8*2) |
    		((x>>(6*7))&0xff)<<(8*3) |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    // the runtime mapping with file offset mapOff and memory size mapSz. We skip
    // over segments zero file size because their file offset values are unreliable.
    // Even if overlapping, a segment is not selected if its aligned file offset is
    // greater than the mapping file offset, or if the mapping includes the last
    // page of the segment, but not the full segment and the mapping includes
    // additional pages after the segment end.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top