- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 321 for Alignment (0.14 sec)
-
src/runtime/cgo/gcc_arm64.S
.file "gcc_arm64.S" /* * Apple still insists on underscore prefixes for C function names. */ #if defined(__APPLE__) #define EXT(s) _##s #else #define EXT(s) s #endif // Apple's ld64 wants 4-byte alignment for ARM code sections. // .align in both Apple as and GNU as treat n as aligning to 2**n bytes. .align 2 /* * void crosscall1(void (*fn)(void), void (*setg_gcc)(void *g), void *g) *
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 05 16:41:48 UTC 2022 - 1.7K bytes - Viewed (0) -
test/typeparam/issue47716.go
package main import ( "fmt" "unsafe" ) // size returns the size of type T func size[T any](x T) uintptr { return unsafe.Sizeof(x) } // size returns the alignment of type T func align[T any](x T) uintptr { return unsafe.Alignof(x) } type Tstruct[T any] struct { f1 T f2 int } // offset returns the offset of field f2 in the generic type Tstruct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/convert.go
} switch { case from.Size() == 2 && uint8(from.Alignment()) == 2: return "convT16", types.Types[types.TUINT16], false case from.Size() == 4 && uint8(from.Alignment()) == 4 && !from.HasPointers(): return "convT32", types.Types[types.TUINT32], false case from.Size() == 8 && uint8(from.Alignment()) == uint8(types.Types[types.TUINT64].Alignment()) && !from.HasPointers(): return "convT64", types.Types[types.TUINT64], false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 17:28:22 UTC 2023 - 18.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-dependencyAlignment/tests/dependenciesWithBOM.out
------------------------------------------------------------ Root project 'dependency-alignment' ------------------------------------------------------------ compileClasspath - Compile classpath for source set 'main'. +--- com.fasterxml.jackson.core:jackson-databind:2.8.9 -> 2.9.5 | +--- com.fasterxml.jackson.core:jackson-annotations:2.9.0 | | \--- com.fasterxml.jackson:jackson-bom:2.9.0 -> 2.9.5
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.9K bytes - Viewed (0) -
src/unsafe/unsafe.go
// e := unsafe.Pointer(uintptr(unsafe.Pointer(&x[0])) + i*unsafe.Sizeof(x[0])) // // It is valid both to add and to subtract offsets from a pointer in this way. // It is also valid to use &^ to round pointers, usually for alignment. // In all cases, the result must continue to point into the original allocated object. // // Unlike in C, it is not valid to advance a pointer just beyond the end of // its original allocation: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0) -
src/internal/bytealg/equal_ppc64x.s
// lower address if that does not cross the lower page. Or, load a few // extra bytes from the higher addresses. And align those values // consistently in register as either address may have differing // alignment requirements. ANDCC $PAGE_OFFSET, R8, R6 // &sX & PAGE_OFFSET ANDCC $PAGE_OFFSET, R4, R9 SUBC R5, $8, R12 // 8-len SLD $3, R12, R14 // (8-len)*8 CMPU R6, R12, CR1 // Enough bytes lower in the page to load lower?
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 16:47:45 UTC 2023 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java
/* 6 zeros observed with NT */ writeInt8( 0L, dst, dstIndex ); dstIndex += 6; /* Also observed 4 byte alignment but we stick * with the default for jCIFS which is 2 */ return dstIndex - start; } int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.1K bytes - Viewed (0) -
src/syscall/sockcmsg_unix.go
//go:build unix // Socket control messages package syscall import ( "unsafe" ) // CmsgLen returns the value to store in the Len field of the [Cmsghdr] // structure, taking into account any necessary alignment. func CmsgLen(datalen int) int { return cmsgAlignOf(SizeofCmsghdr) + datalen } // CmsgSpace returns the number of bytes an ancillary element with // payload of the passed data length occupies.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 2.5K bytes - Viewed (0) -
src/runtime/msan_amd64.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 01:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteMIPS.go
// cond: (s > 16 && logLargeCopy(v, s) || t.Alignment()%4 != 0) // result: (LoweredMove [int32(t.Alignment())] dst src (ADDconst <src.Type> src [int32(s-moveSize(t.Alignment(), config))]) mem) for { s := auxIntToInt64(v.AuxInt) t := auxToType(v.Aux) dst := v_0 src := v_1 mem := v_2 if !(s > 16 && logLargeCopy(v, s) || t.Alignment()%4 != 0) { break } v.reset(OpMIPSLoweredMove)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 14:43:03 UTC 2023 - 176.6K bytes - Viewed (0)