- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 139 for Alignment (0.12 sec)
-
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) -
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/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) -
pkg/kubelet/cm/topologymanager/topology_manager.go
maxAllowableNUMANodes = 8 // ErrorTopologyAffinity represents the type for a TopologyAffinityError ErrorTopologyAffinity = "TopologyAffinityError" ) // TopologyAffinityError represents an resource alignment error type TopologyAffinityError struct{} func (e TopologyAffinityError) Error() string { return "Resources cannot be allocated with Topology locality" } func (e TopologyAffinityError) Type() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 12:43:16 UTC 2023 - 7.6K bytes - Viewed (0) -
src/runtime/memmove_arm64.s
backward_check: // Use backward copy if there is an overlap. SUB R1, R0, R14 CBZ R14, copy0 CMP R2, R14 BCC copy_long_backward // Copy 16 bytes and then align src (R1) or dst (R0) to 16-byte alignment. LDP (R1), (R12, R13) // Load A AND $15, R7, R14 // Calculate the realignment offset SUB R14, R1, R1 SUB R14, R0, R3 // move dst back same amount as src ADD R14, R2, R2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 18 18:26:13 UTC 2022 - 6K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_mipsx.go
pad [cpu.CacheLinePadSize - 4]byte } //go:noescape func spinLock(state *uint32) //go:noescape func spinUnlock(state *uint32) //go:nosplit func lockAndCheck(addr *uint64) { // ensure 8-byte alignment if uintptr(unsafe.Pointer(addr))&7 != 0 { panicUnaligned() } // force dereference before taking lock _ = *addr spinLock(&lock.state) } //go:nosplit func unlock() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 20:08:37 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/mem.go
// 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. // // Don't split the stack as this function may be invoked without a valid G, // which prevents us from allocating more stack. // //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 6.7K bytes - Viewed (0)