- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 342 for aligned (0.04 sec)
-
src/archive/tar/common.go
} pre = cur } return true } // alignSparseEntries mutates src and returns dst where each fragment's // starting offset is aligned up to the nearest block edge, and each // ending offset is aligned down to the nearest block edge. // // Even though the Go tar Reader and the BSD tar utility can handle entries // with arbitrary offsets and lengths, the GNU tar utility can only handle
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* b0b1s7 is the section prefix. If a section is omitted, that means its ranges data exactly matches * that of the preceding section. * * b2b3s2 is the offset into the ranges data. It is shifted by 2 because ranges are 4-byte aligned. * * Mappings Data (4,719 bytes) * =========================== * * This is UTF-8 character data. It is indexed into by b2b3 in the ranges dataset. * * Mappings may overlap. * * ASCII-Only
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
byte[] fileId = new byte[16]; Arrays.fill(fileId, (byte) 0xCC); byte[] header = buildSmb2Header(); int ctxOffsetFromHeader = 256; // arbitrary aligned location beyond header byte[] baseBody = buildCreateBodyWithContext(fileId, ctxOffsetFromHeader); // Build actual context bytes matching the pointers inside baseBody byte[] ctx = new byte[0x40];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
int expectedAligned = (int) size8Method.invoke(req, expectedUnaligned); // Then assertEquals(expectedAligned, actualSize); assertEquals(0, actualSize % 8); // Should be 8-byte aligned } } @Test @DisplayName("Should write proper wire format structure") void testWireFormatStructure() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
assertEquals(expectedSize, req.size()); } @Test @DisplayName("Should align size to 8-byte boundary") void testSizeAlignment() { int size = request.size(); assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary"); } @ParameterizedTest @DisplayName("Should calculate size for various lock counts")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
int expectedLength = (Math.min(256, 128) - Smb2QueryInfoResponse.OVERHEAD) & ~0x7; assertEquals(expectedLength, actualOutputBufferLength); // Result should be aligned to 8 bytes assertEquals(0, actualOutputBufferLength % 8); } catch (Exception e) { throw new RuntimeException(e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
when(mockRequest.getCapabilities()).thenReturn(0); // When boolean valid = response.isValid(mockContext, mockRequest); // Then assertTrue(valid); // Should be aligned to 8-byte boundary assertEquals(32768 & ~0x7, response.getReceiveBufferSize()); assertEquals(32768 & ~0x7, response.getSendBufferSize()); assertTrue(response.getTransactionBufferSize() <= 65536); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
doc/asm.html
<p> The <code>PCALIGN</code> pseudo-instruction is used to indicate that the next instruction should be aligned to a specified boundary by padding with no-op instructions. </p> <p> It is currently supported on arm64, amd64, ppc64, loong64 and riscv64. For example, the start of the <code>MOVD</code> instruction below is aligned to 32 bytes: <pre> PCALIGN $32 MOVD $2, R0 </pre> </p>
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Nov 28 19:15:27 UTC 2023 - 36.3K bytes - Viewed (0) -
src/archive/tar/reader.go
if len(sparseMap) > 0 { paxHdrs[paxGNUSparseMap] = strings.Join(sparseMap, ",") } return paxHdrs, nil } // readHeader reads the next block header and assumes that the underlying reader // is already aligned to a block boundary. It returns the raw block of the // header in case further processing is required. // // The err will be set to io.EOF only when one of the following occurs: // - Exactly 0 bytes are read and EOF is hit.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
cmd/server_test.go
getMD5 := getMD5Hash(getContent) // Compare putContent and getContent. c.Assert(putMD5, getMD5) } // TestGetPartialObjectMisAligned - tests get object partially miss-aligned. // create a large buffer of miss-aligned data and upload it. // then make partial range requests to while fetching it back and assert the response content. func (s *TestSuiteCommon) TestGetPartialObjectMisAligned(c *check) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0)