- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Pad (0.02 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
final int start = dstIndex; this.dataOffset = dstIndex - this.headerStart + 26; // 26 = off from here to pad this.pad = (this.dataOffset - this.headerStart) % 4; this.pad = this.pad == 0 ? 0 : 4 - this.pad; this.dataOffset += this.pad; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
} return bufferIndex - start; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { pad = pad1 = 0; final int n; if (parameterCount > 0) { bufferIndex += pad = parameterOffset - (bufferIndex - headerStart); System.arraycopy(buffer, bufferIndex, txn_buf, bufParameterStart + parameterDisplacement, parameterCount);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
bufferIndex += 4; final int pad = bufferIndex - (getHeaderStart() + securityBufferOffset); this.blob = new byte[securityBufferLength]; System.arraycopy(buffer, getHeaderStart() + securityBufferOffset, this.blob, 0, securityBufferLength); bufferIndex += pad; bufferIndex += securityBufferLength; return bufferIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
final int i = inData[inIndex] & 0xff; outData[outIndex] = ENCODE_TABLE[i >> 2]; outData[outIndex + 1] = ENCODE_TABLE[i << 4 & 0x3f]; outData[outIndex + 2] = PAD; outData[outIndex + 3] = PAD; } private static void encode1pad(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
*/ public Smb2TransformHeader(final byte[] nonce, final int originalMessageSize, final int flags, final long sessionId) { if (nonce.length == 12) { // For CCM cipher, pad nonce to 16 bytes with zeros System.arraycopy(nonce, 0, this.nonce, 0, 12); // Last 4 bytes remain zero-initialized } else if (nonce.length == 16) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
// Context handle (20 bytes) - this is both input and output (modified) if (contextHandle != null) { buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); } } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Base64.java
final int length = string.length(); if (length == 0) { return new byte[0]; } final int pad = string.charAt(length - 2) == '=' ? 2 : string.charAt(length - 1) == '=' ? 1 : 0; final int size = length * 3 / 4 - pad; final byte[] buffer = new byte[size]; int block; int i = 0; int index = 0; while (i < length) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
assertArrayEquals(machineId, actualMachineId); } /** * Test with customData and machineId that are not exactly 8 and 32 bytes respectively. * The constructor requires exact sizes, so we need to pad them manually. */ @Test void testAvSingleHostCustomDataMachineIdConstructor_ShorterInputs() { // Prepare padded arrays byte[] customData = new byte[8]; customData[0] = 0x01;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0)