- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 332 for 0x02 (0.01 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
} writeInt2(writeMode, dst, dstIndex); dstIndex += 2; writeInt2(remaining, dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(dataLength, dst, dstIndex); dstIndex += 2; writeInt2(dataOffset, dst, dstIndex); dstIndex += 2; writeInt4(offset >> 32, dst, dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/IsProbablyUtf8Test.kt
assertThat(Buffer().writeUtf8("white\t space").isProbablyUtf8()).isTrue() assertThat(Buffer().writeByte(0x80).isProbablyUtf8()).isTrue() assertThat(Buffer().writeByte(0x00).isProbablyUtf8()).isFalse() assertThat(Buffer().writeByte(0xc0).isProbablyUtf8()).isFalse() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
// instead of being hashed when it exceeds the block size. byte[] key = { (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b }; byte[] data = "Hi There".getBytes(); // Calculate expected HMACT64 result manuallyRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52]; // Write invalid protocol ID invalidBuffer[0] = 0x00; invalidBuffer[1] = 0x00; invalidBuffer[2] = 0x00; invalidBuffer[3] = 0x00; assertThrows(IllegalArgumentException.class, () -> { Smb2TransformHeader.decode(invalidBuffer, 0); }); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
} @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = this.getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
this.maxDataCount = 0xFFFF; this.maxSetupCount = (byte) 0x00; this.setupCount = 2; this.name = "\\PIPE\\"; } @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = this.getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; SMBUtil.writeInt2(this.pipeFid, dst, dstIndex); dstIndex += 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java
this.sid = sid; this.resumeKey = resumeKey; this.filename = filename; this.informationLevel = Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO; this.tflags = 0x00; this.maxParameterCount = 8; this.maxItems = batchCount; this.maxDataCount = batchSize; this.maxSetupCount = 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComDelete.java
return 2; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
*/ public void performChannelBinding(ChannelInfo channel) throws IOException { // MS-SMB2 3.2.4.1.6: Alternative Channel Creation // Channel binding requires SMB2_SESSION_FLAG_BINDING (0x01) in session setup // Calculate channel binding hash per MS-SMB2 3.2.5.3.1 byte[] bindingInfo = calculateBindingInfo(channel); byte[] bindingHash = calculateBindingHash(bindingInfo);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0"); // Calling again should combine rather than overwrite req.addFlags0(0x20); flags0 = (int) getPrivateField(req, "flags0"); assertTrue((flags0 & 0x20) != 0, "flag should accumulate"); } @Test @DisplayName("initResponse prepares a response instance") void initResponseCreatesResponse() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)