- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for maxAlign (0.1 sec)
-
src/cmd/compile/internal/types2/sizes_test.go
i int b bool s string n int } ` ts := findStructType(t, src) sizes := types2.StdSizes{WordSize: 4, MaxAlign: 4} if got := sizes.Sizeof(ts); got != 20 { t.Errorf("Sizeof(%v) with WordSize 4 = %d want 20", ts, got) } sizes = types2.StdSizes{WordSize: 8, MaxAlign: 8} if got := sizes.Sizeof(ts); got != 40 { t.Errorf("Sizeof(%v) with WordSize 8 = %d want 40", ts, got) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 21:00:48 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/link/internal/loong64/obj.go
import ( "cmd/internal/objabi" "cmd/internal/sys" "cmd/link/internal/ld" ) func Init() (*sys.Arch, ld.Arch) { arch := sys.ArchLoong64 theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, CodePad: []byte{0x00, 0x00, 0x2a, 0x00}, // BREAK 0 Adddynrel: adddynrel,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 13:49:14 UTC 2024 - 1.5K bytes - Viewed (0) -
src/go/types/sizes_test.go
i int b bool s string n int } ` ts := findStructType(t, src) sizes := types.StdSizes{WordSize: 4, MaxAlign: 4} if got := sizes.Sizeof(ts); got != 20 { t.Errorf("Sizeof(%v) with WordSize 4 = %d want 20", ts, got) } sizes = types.StdSizes{WordSize: 8, MaxAlign: 8} if got := sizes.Sizeof(ts); got != 40 { t.Errorf("Sizeof(%v) with WordSize 8 = %d want 40", ts, got) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 21:00:48 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/link/internal/riscv64/obj.go
import ( "cmd/internal/objabi" "cmd/internal/sys" "cmd/link/internal/ld" ) func Init() (*sys.Arch, ld.Arch) { arch := sys.ArchRISCV64 theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, Adddynrel: adddynrel, Archinit: archinit, Archreloc: archreloc,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 17:46:04 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/link/internal/x86/obj.go
import ( "cmd/internal/objabi" "cmd/internal/sys" "cmd/link/internal/ld" ) func Init() (*sys.Arch, ld.Arch) { arch := sys.Arch386 theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, // 0xCC is INT $3 - breakpoint instruction CodePad: []byte{0xCC}, Plan9Magic: uint32(4*11*11 + 7),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 3.4K bytes - Viewed (0) -
src/go/types/gcsizes.go
// spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1." if a < 1 { return 1 } // complex{64,128} are aligned like [2]float{32,64}. if isComplex(T) { a /= 2 } if a > s.MaxAlign { return s.MaxAlign } return a } func (s *gcSizes) Offsetsof(fields []*Var) []int64 { offsets := make([]int64, len(fields)) var offs int64 for i, f := range fields { if offs < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/link/internal/s390x/obj.go
import ( "cmd/internal/objabi" "cmd/internal/sys" "cmd/link/internal/ld" ) func Init() (*sys.Arch, ld.Arch) { arch := sys.ArchS390X theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, Adddynrel: adddynrel, Archinit: archinit, Archreloc: archreloc,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/link/internal/mips/obj.go
arch := sys.ArchMIPS musl := "/lib/ld-musl-mips.so.1" if buildcfg.GOARCH == "mipsle" { arch = sys.ArchMIPSLE musl = "/lib/ld-musl-mipsel.so.1" } theArch := ld.Arch{ Funcalign: FuncAlign, Maxalign: MaxAlign, Minalign: MinAlign, Dwarfregsp: DWARFREGSP, Dwarfreglr: DWARFREGLR, Adddynrel: adddynrel, Archinit: archinit, Archreloc: archreloc,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/obj.go
if buildcfg.GOARCH == "ppc64" { arch = sys.ArchPPC64 dynld = "/lib64/ld64.so.1" musl = "/lib/ld-musl-powerpc64.so.1" } theArch := ld.Arch{ Funcalign: funcAlign, Maxalign: maxAlign, Minalign: minAlign, Dwarfregsp: dwarfRegSP, Dwarfreglr: dwarfRegLR, TrampLimit: 0x1c00000, Adddynrel: adddynrel, Archinit: archinit, Archreloc: archreloc,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:32:19 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/link/internal/loong64/l.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package loong64 const ( maxAlign = 32 // max data alignment minAlign = 1 // min data alignment funcAlign = 16 ) /* Used by ../../internal/ld/dwarf.go */ const ( dwarfRegSP = 3 dwarfRegLR = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 20:21:44 UTC 2023 - 363 bytes - Viewed (0)