- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 618 for padding (0.05 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
baos.write(new byte[8]); // SERVER_CHECKSUM data writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5); baos.write(mockChecksum); // Padding to align while (baos.size() < 104) { baos.write(0); } // PRIVSVR_CHECKSUM data writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5);
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/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Arrange context = new PreauthIntegrityNegotiateContext(); byte[] buffer = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // Padding 0x01, 0x00, // 1 hash algo 0x02, 0x00, // 2 bytes salt 0x01, 0x00, // SHA512 (byte) 0xAA, (byte) 0xBB // Salt };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
int actual = (int) getPrivateField(req, "createDisposition"); assertEquals(expected, actual, "createDisposition should match"); } } @Test @DisplayName("CreateOptions default padding") void createOptionsAddedWhenLow() { // createOptions less than 0x0001 (i.e., 0) should be padded with 0x0040 SmbComNTCreateAndX req = createRequest(0, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
dos.writeInt(Integer.reverseBytes(PacConstants.PRIVSVR_CHECKSUM)); dos.writeInt(Integer.reverseBytes(16)); dos.writeLong(Long.reverseBytes(300)); // Add some padding for (int i = 0; i < 300; i++) { dos.writeByte(0); } return baos.toByteArray(); } catch (IOException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
byte[] buffer = new byte[testString.length() * 2 + 2 + 1]; // +1 for alignment int len = smb.writeString(testString, buffer, 1); // When dstIndex=1 and headerStart=1, (1-1)%2=0, no alignment padding needed // Length is string bytes (15*2) + 2 null terminators = 32 assertEquals(testString.length() * 2 + 2, len); String readString = smb.readString(buffer, 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/archive/tar/reader.go
// Reader.Next advances to the next file in the archive (including the first), // and then Reader can be treated as an io.Reader to access the file's data. type Reader struct { r io.Reader pad int64 // Amount of padding (ignored) after current file entry curr fileReader // Reader for current file entry blk block // Buffer to use as temporary local storage // err is a persistent error.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
void shouldDecodeBufferWithOffset() throws SMBProtocolDecodingException { // Given - buffer with padding before actual data ByteBuffer buffer = ByteBuffer.allocate(34); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.position(10); // Add 10 bytes of padding buffer.putLong(2048L); buffer.putLong(1024L); buffer.putInt(4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
SMBUtil.writeInt4(remaining, buffer, 8); // Remaining SMBUtil.writeInt2(0, buffer, 12); // WriteChannelInfoOffset SMBUtil.writeInt2(0, buffer, 14); // WriteChannelInfoLength // Padding bytes (4 bytes) at offset 16-19 return buffer; } } @Nested @DisplayName("Integration Tests") class IntegrationTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0)