- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for alignUp (0.22 sec)
-
src/runtime/map.go
throw("elem size wrong") } if t.Key.Align_ > abi.MapBucketCount { throw("key align too big") } if t.Elem.Align_ > abi.MapBucketCount { throw("elem align too big") } if t.Key.Size_%uintptr(t.Key.Align_) != 0 { throw("key size not a multiple of key align") } if t.Elem.Size_%uintptr(t.Elem.Align_) != 0 { throw("elem size not a multiple of elem align") } if abi.MapBucketCount < 8 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 57.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
ehdr.Shentsize = ELF32SHDRSIZE /* Must be ELF32SHDRSIZE */ } } // Make sure PT_LOAD is aligned properly and // that there is no gap, // correct ELF loaders will do this implicitly, // but buggy ELF loaders like the one in some // versions of QEMU and UPX won't. func fixElfPhdr(e *ElfPhdr) { frag := int(e.Vaddr & (e.Align - 1)) e.Off -= uint64(frag) e.Vaddr -= uint64(frag) e.Paddr -= uint64(frag)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/debug/elf/file_test.go
{Type: PT_LOAD, Flags: PF_X + PF_R, Off: 0x1000, Vaddr: 0x400000, Paddr: 0x0, Filesz: 0x0, Memsz: 0x1000, Align: 0x1000}, {Type: PT_LOAD, Flags: PF_R, Off: 0x1000, Vaddr: 0x401000, Paddr: 0x0, Filesz: 0x1000, Memsz: 0x1000, Align: 0x1000}, {Type: PT_LOAD, Flags: PF_W + PF_R, Off: 0x2000, Vaddr: 0x402000, Paddr: 0x0, Filesz: 0x1000, Memsz: 0x1000, Align: 0x1000},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 60.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
} kind Kind // kind of type align uint8 // the required alignment of this type, in bytes (0 means Width and Align have not yet been computed) intRegs, floatRegs uint8 // registers needed for ABIInternal flags bitset8 alg AlgKind // valid if Align > 0 // size of prefix of object that contains all pointers. valid if Align > 0.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
func (l *Loader) SetSymAlign(i Sym, align int32) { // Reject nonsense alignments. if align < 0 || align&(align-1) != 0 { panic("bad alignment value") } if int(i) >= len(l.align) { l.align = append(l.align, make([]uint8, l.NSym()-len(l.align))...) } if align == 0 { l.align[i] = 0 } l.align[i] = uint8(bits.Len32(uint32(align))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy
// Aligned modules def firstAligned = mavenRepo.module('org.aligned', 'aligned1', '1.0').dependsOn(intermediate20).publish() mavenRepo.module('org.aligned', 'aligned1', '2.0').dependsOn(intermediate20).publish() def otherAligned = mavenRepo.module('org.aligned', 'aligned2', '2.0').publish() // Roots
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 76.2K bytes - Viewed (0) -
src/runtime/asm_amd64.s
// Assert ctxt is zero. See func save. MOVQ (g_sched+gobuf_ctxt)(R14), R9 TESTQ R9, R9 JZ 2(PC) CALL runtime·abort(SB) RET // func asmcgocall_no_g(fn, arg unsafe.Pointer) // Call fn(arg) aligned appropriately for the gcc ABI. // Called on a system stack, and there may be no g yet (during needm). TEXT ·asmcgocall_no_g(SB),NOSPLIT,$32-16 MOVQ fn+0(FP), AX MOVQ arg+8(FP), BX MOVQ SP, DX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/xcoff.go
// xcoffAlign returns the log base 2 of the symbol's alignment. func xcoffAlign(ldr *loader.Loader, x loader.Sym, t SymbolType) uint8 { align := ldr.SymAlign(x) if align == 0 { if t == TextSym { align = int32(Funcalign) } else { align = symalign(ldr, x) } } return logBase2(int(align)) } // logBase2 returns the log in base 2 of a. func logBase2(a int) uint8 { return uint8(bits.Len(uint(a)) - 1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
} return false } // moveSize returns the number of bytes an aligned MOV instruction moves. func moveSize(align int64, c *Config) int64 { switch { case align%8 == 0 && c.PtrSize == 8: return 8 case align%4 == 0: return 4 case align%2 == 0: return 2 } return 1 } // mergePoint finds a block among a's blocks which dominates b and is itself
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/go/printer/nodes.go
if !needsLinebreak { p.setPos(x.Pos()) } p.print(token.COMMA) needsBlank := true if needsLinebreak { // Lines are broken using newlines so comments remain aligned // unless useFF is set or there are multiple expressions on // the same line in which case formfeed is used. nbreaks := p.linebreak(line, 0, ws, useFF || prevBreak+1 < i) if nbreaks > 0 { ws = ignore
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0)