- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 113 for Alignment (0.44 sec)
-
src/internal/bytealg/compare_riscv64.s
MOV X13, X5 use_a_len: BEQZ X5, cmp_len MOV $32, X6 BLT X5, X6, check8_unaligned // Check alignment - if alignment differs we have to do one byte at a time. AND $7, X10, X7 AND $7, X12, X8 BNE X7, X8, check8_unaligned BEQZ X7, compare32 // Check one byte at a time until we reach 8 byte alignment. SUB X7, X0, X7 ADD $8, X7, X7 SUB X7, X5, X5 align: SUB $1, X7 MOVBU 0(X10), X8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 3.9K bytes - Viewed (0) -
src/runtime/memclr_riscv64.s
// X10 = ptr // X11 = n // If less than 8 bytes, do single byte zeroing. MOV $8, X9 BLT X11, X9, check4 // Check alignment AND $7, X10, X5 BEQZ X5, aligned // Zero one byte at a time until we reach 8 byte alignment. SUB X5, X9, X5 SUB X5, X11, X11 align: SUB $1, X5 MOVB ZERO, 0(X10) ADD $1, X10 BNEZ X5, align aligned: // X9 already contains $8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 1.7K bytes - Viewed (0) -
src/internal/unsafeheader/unsafeheader_test.go
} } if h.NumField() != rh.NumField() { t.Errorf("%v has %d fields, but %v has %d", h, h.NumField(), rh, rh.NumField()) } if h.Align() != rh.Align() { t.Errorf("%v has alignment %d, but %v has alignment %d", h, h.Align(), rh, rh.Align()) } } var ( unsafePointerType = reflect.TypeOf(unsafe.Pointer(nil)) uintptrType = reflect.TypeOf(uintptr(0)) )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 2.9K bytes - Viewed (0) -
platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/JavaPlatformEcosystemIntegrationTest.groovy
canBeResolved = true } } dependencies { constraints { custom(project(":lib")) { because "platform alignment" } } } configurations.custom.copy() """ createDirs("lib") settingsFile << "include 'lib'" expect: succeeds ":help"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 4.6K bytes - Viewed (0) -
src/runtime/histogram_test.go
"testing" ) var dummyTimeHistogram TimeHistogram func TestTimeHistogram(t *testing.T) { // We need to use a global dummy because this // could get stack-allocated with a non-8-byte alignment. // The result of this bad alignment is a segfault on // 32-bit platforms when calling Record. h := &dummyTimeHistogram // Record exactly one sample in each bucket. for j := 0; j < TimeHistNumSubBuckets; j++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 16:32:01 UTC 2022 - 3.5K bytes - Viewed (0) -
src/internal/syscall/unix/fallocate_freebsd_arm.go
// // The padding 0 argument is needed because the ARM calling convention requires that if an // argument (off in this case) needs double-word alignment (8-byte), the NCRN (next core // register number) is rounded up to the next even register number. // See https://github.com/ARM-software/abi-aa/blob/2bcab1e3b22d55170c563c3c7940134089176746/aapcs32/aapcs32.rst#parameter-passing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 14:17:36 UTC 2023 - 1013 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) -
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/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)