- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for alignof (0.24 sec)
-
api/go1.5.txt
pkg go/types, type Scope struct pkg go/types, type Selection struct pkg go/types, type SelectionKind int pkg go/types, type Signature struct pkg go/types, type Sizes interface { Alignof, Offsetsof, Sizeof } pkg go/types, type Sizes interface, Alignof(Type) int64 pkg go/types, type Sizes interface, Offsetsof([]*Var) []int64 pkg go/types, type Sizes interface, Sizeof(Type) int64 pkg go/types, type Slice struct
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
.bazelrc
build:windows --copt=/d2ReducedOptimizeHugeFunctions build:windows --host_copt=/d2ReducedOptimizeHugeFunctions # Before VS 2017 15.8, the member "type" would non-conformingly have an # alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this # correctly, but the fix inherently changes layout and breaks binary # compatibility (*only* for uses of aligned_storage with extended alignments).
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Aug 22 21:03:34 UTC 2025 - 56K bytes - Viewed (0) -
doc/go_spec.html
<li>For a variable <code>x</code> of any type: <code>unsafe.Alignof(x)</code> is at least 1. </li> <li>For a variable <code>x</code> of struct type: <code>unsafe.Alignof(x)</code> is the largest of all the values <code>unsafe.Alignof(x.f)</code> for each field <code>f</code> of <code>x</code>, but at least 1. </li> <li>For a variable <code>x</code> of array type: <code>unsafe.Alignof(x)</code> is the same as
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 19:12:15 UTC 2025 - 286.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
@Test void testAlign() { // Align to 4-byte boundary ndrBuffer.setIndex(1); int alignedBytes = ndrBuffer.align(4); assertEquals(3, alignedBytes); // Should advance by 3 bytes (1 -> 4) assertEquals(4, ndrBuffer.getIndex()); assertEquals(4, ndrBuffer.getLength()); // Length should be updated // Already aligned ndrBuffer.setIndex(4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
@Test @DisplayName("Test readParametersWireFormat with non-aligned nextEntryOffset throws exception") void testReadParametersWireFormatNonAlignedOffset() throws Exception { ByteBuffer buffer = ByteBuffer.allocate(100); buffer.order(ByteOrder.LITTLE_ENDIAN); // Create notification with non-aligned nextEntryOffset buffer.putInt(3); // Non-aligned nextEntryOffset (not divisible by 4)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertEquals(0, transaction.pad(0)); // Already aligned assertEquals(0, transaction.pad(4)); // Already aligned assertEquals(0, transaction.pad(8)); // Already aligned assertEquals(3, transaction.pad(1)); // Need 3 bytes to align to 4 assertEquals(2, transaction.pad(2)); // Need 2 bytes to align to 4 assertEquals(1, transaction.pad(3)); // Need 1 byte to align to 4 } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
return this.buf; } /** * Aligns the buffer index to the specified boundary with a fill value. * * @param boundary the alignment boundary * @param value the fill value for padding * @return the number of bytes added for alignment */ public int align(final int boundary, final byte value) { final int n = align(boundary); int i = n; while (i > 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
writeLittleEndianLong(baos, 72); // offset (aligned) // Buffer 2: SERVER_CHECKSUM writeLittleEndianInt(baos, PacConstants.SERVER_CHECKSUM); writeLittleEndianInt(baos, 20); // signature size writeLittleEndianLong(baos, 80); // offset (aligned) // Buffer 3: PRIVSVR_CHECKSUM
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
return buf; } /** * Aligns the buffer index to the specified boundary with a fill value. * * @param boundary the alignment boundary * @param value the fill value for padding * @return the number of bytes added for alignment */ public int align(final int boundary, final byte value) { final int n = align(boundary); int i = n; while (i > 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)