- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for pad8 (0.03 sec)
-
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, token); // Use reflection to access pad8 method Method pad8Method = ServerMessageBlock2.class.getDeclaredMethod("pad8", int.class); pad8Method.setAccessible(true); // Test various positions int[] positions = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 16 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
dstIndex += cnBytes.length; dstIndex += pad8(dstIndex); SMBUtil.writeInt2(dstIndex - structStart, dst, dataOffsetOffset); final int len = createContext.encode(dst, dstIndex); SMBUtil.writeInt4(len, dst, dataLengthOffset); dstIndex += len; final int pad = pad8(dstIndex); totalCreateContextLength += len + pad;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
dstIndex += writeHeaderWireFormat(dst, dstIndex); this.byteCount = writeBytesWireFormat(dst, dstIndex); dstIndex += this.byteCount; dstIndex += pad8(dstIndex); this.length = dstIndex - start; int len = this.length; if (this.next != null) { final int nextStart = dstIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
System.arraycopy(buffer, hdrStart + securityBufferOffset, this.securityBuffer, 0, securityBufferLength); bufferIndex += securityBufferLength; } final int pad = (bufferIndex - hdrStart) % 8; bufferIndex += pad; if (this.dialectRevision == 0x0311 && negotiateContextOffset != 0 && negotiateContextCount != 0) { // Validate negotiate context offset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
this.pad1 = this.pad(this.parameterOffset); this.parameterOffset += this.pad1; } // caclulate parameterDisplacement before calculating new parameterCount this.parameterDisplacement += this.parameterCount; int available = this.maxBufferSize - this.parameterOffset - this.pad1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
available -= parameterCount; dataOffset = parameterOffset + parameterCount; pad1 = dataOffset % PADDING_SIZE; pad1 = pad1 == 0 ? 0 : PADDING_SIZE - pad1; dataOffset += pad1; dataDisplacement += dataCount; available -= pad1; dataCount = Math.min(totalDataCount - dataDisplacement, available); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
+ this.parameterDisplacement + ",dataCount=" + this.dataCount + ",dataOffset=" + this.dataOffset + ",dataDisplacement=" + this.dataDisplacement + ",setupCount=" + this.setupCount + ",pad=" + this.pad + ",pad1=" + this.pad1); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@Test @DisplayName("Test pad calculation with various offsets") void testPadCalculation() { // Test pad calculation with different alignment values 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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
docs/yo/docs/index.md
--- "_A gba àwọn ohun èlò ìwé afọwọkọ **FastAPI** tí kò yí padà láti ṣẹ̀dá olùpín **REST** tí a lè béèrè lọ́wọ́ rẹ̀ láti gba **àsọtẹ́lẹ̀**. [fún Ludwig]_"
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0)