- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for byteCount (0.08 sec)
-
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
} // Read wide string data (UTF-16LE) int byteCount = (actualCount - 1) * 2; // Exclude null terminator byte[] wideBytes = new byte[byteCount]; buf.readOctetArray(wideBytes, 0, byteCount); // Skip null terminator buf.dec_ndr_short(); // Skip padding int padding = (4 - ((byteCount + 2) % 4)) % 4; for (int i = 0; i < padding; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java
bufferIndex += stringWireLength(nativeOs, bufferIndex); nativeLanMan = readString(buffer, bufferIndex, start + byteCount, 255, useUnicode); bufferIndex += stringWireLength(nativeLanMan, bufferIndex); if (!extendedSecurity) { primaryDomain = readString(buffer, bufferIndex, start + byteCount, 255, useUnicode); bufferIndex += stringWireLength(primaryDomain, bufferIndex); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
buf[1] = 0x66; // andxCommand ServerMessageBlock.writeInt2(50, buf, 3); // andxOffset ServerMessageBlock.writeInt2(20, buf, 9); // byteCount for main block // At offset 50, the implementation writes andx.wordCount (0) to buffer // Then reads byteCount at offset 51 ServerMessageBlock.writeInt2(20, buf, 51); int n = block.readAndXWireFormat(buf, 0); assertTrue(n > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
public int encode(final byte[] dst, int dstIndex) { final int start = this.headerStart = dstIndex; 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) {
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/smb1/smb1/SmbComNegotiateResponse.java
+ Hexdump.toHexString(server.capabilities, 8) + ",serverTime=" + new Date(server.serverTime) + ",serverTimeZone=" + server.serverTimeZone + ",encryptionKeyLength=" + server.encryptionKeyLength + ",byteCount=" + byteCount + ",oemDomainName=" + server.oemDomainName + "]"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
} // Read wide string data (UTF-16LE) int byteCount = (actualCount - 1) * 2; // Exclude null terminator byte[] wideBytes = new byte[byteCount]; buf.readOctetArray(wideBytes, 0, byteCount); // Skip null terminator buf.dec_ndr_short(); // Skip padding int padding = (4 - ((byteCount + 2) % 4)) % 4; for (int i = 0; i < padding; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java
// win98 observed not returning nativeFileSystem /* Problems here with iSeries returning ASCII even though useUnicode = true * Fortunately we don't really need nativeFileSystem for anything. if( byteCount > bufferIndex - start ) { nativeFileSystem = readString( buffer, bufferIndex ); bufferIndex += stringWireLength( nativeFileSystem, bufferIndex ); } */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
// Fill with basic SMB header structure System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4); buffer[4] = 1; // wordCount buffer[7] = 0; // byteCount low buffer[8] = 0; // byteCount high assertDoesNotThrow(() -> response.decode(buffer, 0)); } @Test @DisplayName("Test writeParameterWordsWireFormat") void testWriteParameterWordsWireFormat() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
this.parameterOffset = this.primarySetupOffset; // 2* setupCount this.parameterOffset += this.setupCount * 2; this.parameterOffset += 2; // ByteCount if (this.getCommand() == SMB_COM_TRANSACTION && !isResponse()) { this.parameterOffset += stringWireLength(this.name, this.parameterOffset); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0)