- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 286 for aligned2 (0.16 sec)
-
src/syscall/sockcmsg_dragonfly.go
func cmsgAlignOf(salen int) int { salign := sizeofPtr if sizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) { // 64-bit Dragonfly before the September 2019 ABI changes still requires // 32-bit aligned access to network subsystem. salign = 4 } return (salen + salign - 1) & ^(salign - 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 20 19:33:07 UTC 2019 - 547 bytes - Viewed (0) -
test/fixedbugs/issue15902.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 01 14:14:13 UTC 2016 - 467 bytes - Viewed (0) -
src/cmd/cgo/internal/testgodefs/testdata/bitfields.go
// license that can be found in the LICENSE file. //go:build ignore package main // This file tests that we don't generate an incorrect field location // for a bitfield that appears aligned. /* struct bitfields { unsigned int B1 : 5; unsigned int B2 : 1; unsigned int B3 : 1; unsigned int B4 : 1; unsigned int Short1 : 16; // misaligned on 8 bit boundary
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 838 bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AbstractAlignmentSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9K bytes - Viewed (0) -
src/runtime/cgo/abi_ppc64x.h
// // R14-R31 // CR2-4 // VR20-31 // F14-F31 // // xcoff(aix) and ELFv1 are similar, but may only require a // subset of these. // // These macros assume a 16 byte aligned stack pointer. This // is required by ELFv1, ELFv2, and AIX PPC64. #define SAVE_GPR_SIZE (18*8) #define SAVE_GPR(offset) \ MOVD R14, (offset+8*0)(R1) \ MOVD R15, (offset+8*1)(R1) \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 03 20:17:02 UTC 2023 - 6.6K bytes - Viewed (0) -
src/runtime/mem.go
// returns memory unconditionally. It is used if an out-of-memory error has been // detected midway through an allocation or to carve out an aligned section of // the address space. It is okay if sysFree is a no-op only if sysReserve always // returns a memory region aligned to the heap allocator's alignment // restrictions. // // sysStat must be non-nil. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 6.7K bytes - Viewed (0) -
test/fixedbugs/issue4396a.go
// Copyright 2012 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 4396. Arrays of bytes are not required to be // word aligned. 5g should use MOVB to load the address // 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 627 bytes - Viewed (0) -
src/crypto/cipher/benchmark_test.go
stream.XORKeyStream(buf, buf) } } // If we test exactly 1K blocks, we would generate exact multiples of // the cipher's block size, and the cipher stream fragments would // always be wordsize aligned, whereas non-aligned is a more typical // use-case. const almost1K = 1024 - 5 const almost8K = 8*1024 - 5 func BenchmarkAESCFBEncrypt1K(b *testing.B) { benchmarkAESStream(b, cipher.NewCFBEncrypter, make([]byte, almost1K)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 28 19:13:50 UTC 2021 - 3.3K bytes - Viewed (0) -
src/runtime/checkptr.go
package runtime import "unsafe" func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) { // nil pointer is always suitably aligned (#47430). if p == nil { return } // Check that (*[n]elem)(p) is appropriately aligned. // Note that we allow unaligned pointers if the types they point to contain // no pointers themselves. See issue 37298. // TODO(mdempsky): What about fieldAlign?
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 3.6K bytes - Viewed (0) -
src/syscall/sockcmsg_unix_other.go
case "aix": // There is no alignment on AIX. salign = 1 case "darwin", "ios", "illumos", "solaris": // NOTE: It seems like 64-bit Darwin, Illumos and Solaris // kernels still require 32-bit aligned access to network // subsystem. if sizeofPtr == 8 { salign = 4 } case "netbsd", "openbsd": // NetBSD and OpenBSD armv7 require 64-bit alignment. if runtime.GOARCH == "arm" { salign = 8 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.1K bytes - Viewed (0)