Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for alignof (0.2 sec)

  1. src/cmd/link/internal/ld/macho.go

    	msect := newMachoSect(mseg, buf, segname)
    
    	if sect.Rellen > 0 {
    		msect.reloc = uint32(sect.Reloff)
    		msect.nreloc = uint32(sect.Rellen / 8)
    	}
    
    	for 1<<msect.align < sect.Align {
    		msect.align++
    	}
    	msect.addr = sect.Vaddr
    	msect.size = sect.Length
    
    	if sect.Vaddr < sect.Seg.Vaddr+sect.Seg.Filelen {
    		// data in file
    		if sect.Length > sect.Seg.Vaddr+sect.Seg.Filelen-sect.Vaddr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/css/base.css

    }
    
    /* Override javadoc styles */
    .site-header div {
        font-family: 'Lato', Arial, sans-serif;
    }
    
    .site-header__navigation-header a {
        align-self: center;
        border-bottom: 0 none;
        height: 36px;
    }
    
    .site-header .site-header-version {
        align-self: center;
        color: #1da2bd;
        font-size: 20px;
        padding-left: 1px;
        margin-top: 22px;
    }
    
    .site-header__navigation {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. src/hash/crc32/crc32_test.go

    			name := fmt.Sprint(size)
    			if size >= 1024 {
    				name = fmt.Sprintf("%dkB", size/1024)
    			}
    			b.Run("size="+name, func(b *testing.B) {
    				for align := 0; align <= 1; align++ {
    					b.Run(fmt.Sprintf("align=%d", align), func(b *testing.B) {
    						benchmark(b, h, int64(size), int64(align))
    					})
    				}
    			})
    		}
    	}
    }
    
    func benchmark(b *testing.B, h hash.Hash32, n, alignment int64) {
    	b.SetBytes(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. README.md

    <p align="center">
      <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a>
    </p>
    <p align="center">
        FastAPI framework, high performance, easy to learn, fast to code, ready for production
    </p>
    <p align="center">
    <a href="https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster" target="_blank">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/runtime/mfinal.go

    okarg:
    	// compute size needed for return parameters
    	nret := uintptr(0)
    	for _, t := range ft.OutSlice() {
    		nret = alignUp(nret, uintptr(t.Align_)) + t.Size_
    	}
    	nret = alignUp(nret, goarch.PtrSize)
    
    	// make sure we have a finalizer goroutine
    	createfing()
    
    	systemstack(func() {
    		if !addfinalizer(e.data, (*funcval)(f.data), nret, fint, ot) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top