- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 139 for Alignment (0.17 sec)
-
src/cmd/link/internal/loong64/l.go
// 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) -
test/fixedbugs/issue67160.go
// T is "special" because of the unnamed field, so it needs a generated equality function. // T is an odd number of bytes in size and has alignment 1. type T struct { src [8]byte _ byte } // U contains 8 copies of T, each at a different %8 alignment. type U [8]T //go:noinline func f(x, y *U) bool { return *x == *y } func main() { var a U _ = f(&a, &a)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 15:34:04 UTC 2024 - 767 bytes - Viewed (0) -
src/runtime/internal/sys/consts.go
// PCQuantum is the minimal unit for a program counter (1 on x86, 4 on most other systems). // The various PC tables record PC deltas pre-divided by PCQuantum. const PCQuantum = goarch.PCQuantum // Int64Align is the required alignment for a 64-bit integer (4 on 32-bit systems, 8 on 64-bit). const Int64Align = goarch.PtrSize // MinFrameSize is the size of the system-reserved words at the bottom // of a frame (just above the architectural stack pointer).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 16:26:25 UTC 2022 - 1.4K bytes - Viewed (0) -
src/runtime/mksizeclasses.go
if powerOfTwo(size) { // bump alignment once in a while if size >= 2048 { align = 256 } else if size >= 128 { align = size / 8 } else if size >= 32 { align = 16 // heap bitmaps assume 16 byte alignment for allocations >= 32 bytes. } } if !powerOfTwo(align) { panic("incorrect alignment") } // Make the allocnpages big enough that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 9.6K bytes - Viewed (0) -
src/runtime/memmove_riscv64.s
// If less than 8 bytes, do single byte copies. MOV $8, X9 BLT X12, X9, f_loop4_check // Check alignment - if alignment differs we have to do one byte at a time. AND $7, X10, X5 AND $7, X11, X6 BNE X5, X6, f_loop8_unaligned_check BEQZ X5, f_loop_check // Move one byte at a time until we reach 8 byte alignment. SUB X5, X9, X5 SUB X5, X12, X12 f_align: SUB $1, X5 MOVB 0(X11), X14 MOVB X14, 0(X10)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 5.5K bytes - Viewed (0) -
src/runtime/memclr_arm64.s
BNE no_zva zero_by_line: CMP R5, R1 // Not enough memory to reach alignment BLO no_zva SUB $1, R5, R6 NEG R0, R4 ANDS R6, R4, R4 // Already aligned BEQ aligned // check there is enough to copy after alignment SUB R4, R1, R3 // Check that the remaining length to ZVA after alignment // is greater than 64. CMP $64, R3 CCMP GE, R3, R5, $10 // condition code GE, NZCV=0b1010
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 18 18:26:13 UTC 2022 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/gcsizes.go
type gcSizes struct { WordSize int64 // word size in bytes - must be >= 4 (32bits) MaxAlign int64 // maximum alignment in bytes - must be >= 1 } func (s *gcSizes) Alignof(T Type) (result int64) { defer func() { assert(result >= 1) }() // For arrays and structs, alignment is defined in terms // of alignment of the elements and fields, respectively. switch t := under(T).(type) { case *Array:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy.go
// and is consulted to achieve NUMA aware resource alignment among this // and other resource controllers. GetTopologyHints(s state.State, pod *v1.Pod, container *v1.Container) map[string][]topologymanager.TopologyHint // GetPodTopologyHints implements the topologymanager.HintProvider Interface // and is consulted to achieve NUMA aware resource alignment among this // and other resource controllers.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 05 17:52:25 UTC 2021 - 1.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/img/warPluginTasks.graphml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.7K bytes - Viewed (0) -
src/internal/bytealg/equal_riscv64.s
TEXT memequal<>(SB),NOSPLIT|NOFRAME,$0 BEQ X10, X11, eq MOV $32, X23 BLT X12, X23, loop4_check // Check alignment - if alignment differs we have to do one byte at a time. AND $7, X10, X9 AND $7, X11, X19 BNE X9, X19, loop4_check BEQZ X9, loop32_check // Check one byte at a time until we reach 8 byte alignment. SUB X9, X0, X9 ADD $8, X9, X9 SUB X9, X12, X12 align: SUB $1, X9 MOVBU 0(X10), X19
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 2.4K bytes - Viewed (0)