- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for pad8 (0.02 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/ServerMessageBlock2Request.java
final int actual = getLength(); if (exp != actual) { // Log the size mismatch for debugging but don't throw exception // This can occur due to padding alignment differences between size8() and pad8() if (log.isDebugEnabled()) { log.debug("Size calculation mismatch: expected {} but got {} (difference: {})", exp, actual, actual - exp); } } return len; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 7.2K 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/session/Smb2SessionSetupRequest.java
dstIndex += 2; SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset); dstIndex += pad8(dstIndex); if (this.token != null) { System.arraycopy(this.token, 0, dst, dstIndex, this.token.length); dstIndex += this.token.length; } return dstIndex - start;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
} dstIndex += 8; for (final int dialect : this.dialects) { SMBUtil.writeInt2(dialect, dst, dstIndex); dstIndex += 2; } dstIndex += pad8(dstIndex); if (this.negotiateContexts != null && this.negotiateContexts.length != 0) { SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, negotitateContextOffsetOffset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K 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/smb1/smb1/SmbComTransactionResponse.java
+ dataCount + ",dataOffset=" + dataOffset + ",dataDisplacement=" + dataDisplacement + ",setupCount=" + setupCount + ",pad=" + pad + ",pad1=" + pad1); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0)