- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 112 for alignof (0.27 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/runtime/traceback.go
frame.fp = 0 // On link register architectures, sighandler saves the LR on stack // before faking a call. if usesLR && injectedCall { x := *(*uintptr)(unsafe.Pointer(frame.sp)) frame.sp += alignUp(sys.MinFrameSize, sys.StackAlign) f = findfunc(frame.pc) frame.fn = f if !f.valid() { frame.pc = x } else if funcspdelta(f, frame.pc) == 0 { frame.lr = x } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
// alignment for current frame. // NOTE: when stkalign > PtrSize, currently this only ensures the offsets of // objects in the stack frame are aligned. The stack pointer is still aligned // only PtrSize. stkalign int64 log bool // print ssa debug to the stdout } // StringData returns a symbol which
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K 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/cmd/internal/obj/loong64/asm.go
case obj.APCALIGN: alignedValue := p.From.Offset m = pcAlignPadLength(ctxt, pc, alignedValue) // Update the current text symbol alignment value. if int32(alignedValue) > cursym.Func().Align { cursym.Func().Align = int32(alignedValue) } break case obj.ANOP, obj.AFUNCDATA, obj.APCDATA: continue default: c.ctxt.Diag("zero-width instruction\n%v", p) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 61.8K bytes - Viewed (0) -
cmd/xl-storage.go
if err = checkPathLength(filePath); err != nil { return err } var w *os.File // Create file if not found. Not doing O_DIRECT here to avoid the code that does buffer aligned writes. // AppendFile() is only used by healing code to heal objects written in old format. w, err = s.openFileSync(filePath, os.O_CREATE|os.O_APPEND|os.O_WRONLY, volumeDir) if err != nil { return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (2) -
src/cmd/link/internal/ld/lib.go
sect := ldr.NewSection() sect.Rwx = uint8(rwx) sect.Name = name sect.Seg = seg sect.Align = int32(arch.PtrSize) // everything is at least pointer-aligned seg.Sections = append(seg.Sections, sect) return sect } func usage() { fmt.Fprintf(os.Stderr, "usage: link [options] main.o\n") objabi.Flagprint(os.Stderr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/reflect/type.go
repr = append(repr, ';') } comparable = comparable && (ft.Equal != nil) offset := align(size, uintptr(ft.Align_)) if offset < size { panic("reflect.StructOf: struct size would exceed virtual address space") } if ft.Align_ > typalign { typalign = ft.Align_ } size = offset + ft.Size_ if size < offset {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
ChangeLog.md
- [`KT-66208`](https://youtrack.jetbrains.com/issue/KT-66208) PowerAssert: some built-in operators are not aligned correctly for some values - [`KT-65810`](https://youtrack.jetbrains.com/issue/KT-65810) PowerAssert: Infix transformation doesn't capture full context - [`KT-65640`](https://youtrack.jetbrains.com/issue/KT-65640) PowerAssert: Infix function not aligned correctly
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:14:23 UTC 2024 - 292.1K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm9.go
// The function alignment is not promoted on AIX at this time. // TODO: Investigate AIX function alignment. if ctxt.Headtype != objabi.Haix && cursym.Func().Align < int32(a) { cursym.Func().Align = int32(a) } if pc&(a-1) != 0 { return int(a - (pc & (a - 1))) } default: ctxt.Diag("Unexpected alignment: %d for PCALIGN directive\n", a) } return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:55:28 UTC 2024 - 156.1K bytes - Viewed (0)