- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 289 for 0x04 (0.02 sec)
-
src/test/java/jcifs/util/StringsTest.java
System.arraycopy(stringBytes, 0, bufferWithTermination, 0, stringBytes.length); bufferWithTermination[stringBytes.length] = 0x00; bufferWithTermination[stringBytes.length + 1] = 0x00; // When int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
} public static class WitnessIPAddress { private final InetAddress address; private final int flags; public static final int IPV4 = 0x01; public static final int IPV6 = 0x02; public WitnessIPAddress(InetAddress address) { this.address = address; this.flags = address.getAddress().length == 4 ? IPV4 : IPV6; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
dstIndex += 2; return dstIndex - start; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x01; /* BufferFormat */ dstIndex++; writeInt2(count, dst, dstIndex); /* DataLength? */ dstIndex += 2; System.arraycopy(b, off, dst, dstIndex, count); dstIndex += count;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
int written = cmd.writeParametersWireFormat(buf, 0); assertEquals(2, written, "writeParametersWireFormat should write exactly 2 bytes"); // Verify little-endian encoding (0x1234 -> 0x34 0x12) assertEquals((byte) 0x34, buf[0], "First byte should be low byte of level"); assertEquals((byte) 0x12, buf[1], "Second byte should be high byte of level"); } @Test @DisplayName("all read* methods return zero")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
subCommand = NET_SERVER_ENUM2; // not really true be used by upper logic name = "\\PIPE\\LANMAN"; maxParameterCount = 8; maxDataCount = 16384; maxSetupCount = (byte) 0x00; setupCount = 0; timeout = 5000; } @Override void reset(final int key, final String lastName) { super.reset(); this.lastName = lastName; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
} int readLow = stream.read() & 0xff; int readHigh = stream.read() & 0xff; int read = (readHigh << 8) + readLow; if (read != 0x01) { throw new PACDecodingException("Malformed kerberos token"); } ASN1TaggedObject mechToken = ASN1Util.as(ASN1TaggedObject.class, stream.readObject());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
void setup() throws GeneralSecurityException { digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null); data = new byte[128]; Arrays.fill(data, (byte) 0x00); // Set up mock messages request = mock(CommonServerMessageBlock.class); response = mock(CommonServerMessageBlock.class); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
// 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize byte[] buffer = new byte[20]; // File Attributes: 0x0010 (Directory) buffer[0] = 0x10; buffer[1] = 0x00; // Last Write Time (UTime): A sample timestamp in milliseconds long sampleTimeMillis = 1672531200000L; // Represents a specific date in millisecondsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
request = new Smb2CreateRequest(mockConfig, "test.txt"); request.setSecurityFlags((byte) 0x01); // Verify through writeBytesWireFormat byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0); assertEquals((byte) 0x01, buffer[2]); } @Test @DisplayName("Test oplock level setter") void testSetRequestedOplockLevel() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
return dstIndex - start; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x01; /* BufferFormat */ dstIndex++; SMBUtil.writeInt2(this.count, dst, dstIndex); /* DataLength? */ dstIndex += 2; System.arraycopy(this.b, this.off, dst, dstIndex, this.count);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0)