- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 321 for Alignment (0.23 sec)
-
src/cmd/link/internal/mips64/l.go
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. const ( maxAlign = 32 // max data alignment minAlign = 1 // min data alignment funcAlign = 8 ) /* Used by ../internal/ld/dwarf.go */ const ( dwarfRegSP = 29 dwarfRegLR = 31
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 04 07:25:06 UTC 2020 - 3.5K bytes - Viewed (0) -
src/go/printer/testdata/declarations.input
"bar" // a comment ) // comments + renames import ( "unrenamed" // a comment renamed "renameMe" . "io" /* a comment */ _ "io/ioutil" // a comment "io" // testing alignment . "os" // a comment ) // a case that caused problems in the past (comment placement) import ( . "fmt" "io" "malloc" // for the malloc count test only "math" "strings"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.5K bytes - Viewed (0) -
src/sync/runtime2_lockrank.go
// license that can be found in the LICENSE file. //go:build goexperiment.staticlockranking package sync import "unsafe" // Approximation of notifyList in runtime/sema.go. Size and alignment must // agree. type notifyList struct { wait uint32 notify uint32 rank int // rank field of the mutex pad int // pad field of the mutex lock uintptr // key field of the mutex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 546 bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_context.h
// ignores the alignment and size of the request and always returns a new, // empty, XlaTensor. class XlaDeviceAllocator : public Allocator { public: XlaDeviceAllocator(se::StreamExecutor* stream_executor); ~XlaDeviceAllocator() override; string Name() override; void* AllocateRaw(size_t alignment, size_t num_bytes) override; void DeallocateRaw(void* ptr) override;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 5.1K bytes - Viewed (0) -
src/internal/syscall/windows/syscall_windows.go
FileAttributes uint32 // Pad out to 8-byte alignment. // // Without this padding, TestChmod fails due to an argument validation error // in SetFileInformationByHandle on windows/386. // // https://learn.microsoft.com/en-us/cpp/build/reference/zp-struct-member-alignment?view=msvc-170 // says that “The C/C++ headers in the Windows SDK assume the platform's // default alignment is used.” What we see here is padding rather than
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 15.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/msan7.go
// license that can be found in the LICENSE file. package main // Test passing C struct to exported Go function. /* #include <stdint.h> #include <stdlib.h> // T is a C struct with alignment padding after b. // The padding bytes are not considered initialized by MSAN. // It is big enough to be passed on stack in C ABI (and least // on AMD64). typedef struct { char b; uintptr_t x, y; } T; extern void F(T);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 834 bytes - Viewed (0) -
test/fixedbugs/issue4396a.go
// of s.g[0] for its nil check. // // This test _may_ fail on arm, but requires the host to // trap unaligned loads. This is generally done with // // echo "4" > /proc/cpu/alignment package main var s = struct { // based on lzw.decoder a, b, c, d, e uint16 f [4096]uint8 g [4096]uint8 }{} func main() { s.g[0] = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 627 bytes - Viewed (0) -
test/fixedbugs/issue54638.go
// compile // 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. // Issue 54638: composite literal assignment with // alignment > PtrSize causes ICE. package p import "sync/atomic" type S struct{ l any } type T struct { H any a [14]int64 f func() x atomic.Int64 } //go:noinline func (T) M(any) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 26 15:24:31 UTC 2022 - 601 bytes - Viewed (0) -
src/runtime/rt0_windows_amd64.s
TEXT _rt0_amd64_windows_lib(SB),NOSPLIT|NOFRAME,$40 // Create a new thread to do the runtime initialization and return. MOVQ BX, 32(SP) // callee-saved, preserved across the CALL MOVQ SP, BX ANDQ $~15, SP // alignment as per Windows requirement MOVQ _cgo_sys_thread_create(SB), AX MOVQ $_rt0_amd64_windows_lib_go(SB), CX MOVQ $0, DX CALL AX MOVQ BX, SP MOVQ 32(SP), BX RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 19 11:55:15 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/doc.go
where better alignment (8 or 16 instead of 4) might be helpful. This directive exists in PPC64 assembler and is frequently used by PPC64 assembler writers. PCALIGN $16 PCALIGN $8 By default, functions in Go are aligned to 16 bytes, as is the case in all other compilers for PPC64. If there is a PCALIGN directive requesting alignment greater than 16, then the alignment of the containing function must be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 16:47:45 UTC 2023 - 11.3K bytes - Viewed (0)