- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 251 for 0x200 (0.02 sec)
-
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)"); // Test with zero byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 }; AvFlags zeroAvFlags = new AvFlags(zeroBytes); assertNotNull(zeroAvFlags, "AvFlags object should not be null for zero bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
buffer[offset + 3] = 0x00; buffer[offset + 4] = 0x00; buffer[offset + 5] = 0x00; buffer[offset + 6] = 0x00; buffer[offset + 7] = 0x01; // Sub-authority SMBUtil.writeInt4(0, buffer, offset + 8); } private void prepareDaclHeader(byte[] buffer, int offset, int aceCount) { buffer[offset] = 0x02; // revision buffer[offset + 1] = 0x00; // padding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; dst[dstIndex++] = (byte) 0x00; dst[dstIndex++] = (byte) 0x00; dstIndex += writeString(this.path, dst, dstIndex); return dstIndex - start; } /** * @param informationLevel2
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
*/ public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) { int len = 0; while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) { len += 2; if (len > maxLen) { if (log.isDebugEnabled()) { log.warn("Failed to find string termination with max length " + maxLen);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals(2, trans.maxParameterCount, "The maxParameterCount should be 2."); assertEquals(40, trans.maxDataCount, "The maxDataCount should be 40."); assertEquals((byte) 0x00, trans.maxSetupCount, "The maxSetupCount should be 0."); } /** * Tests the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesWritten); // Expected wire format: [0x04, 0x00, 0x00, 0x00] byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 }; assertArrayEquals(expected, buffer); } @Test @DisplayName("Should always return 0 for readBytesWireFormat") void testReadBytesWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Given byte[] buffer = new byte[256]; // Write exact structure size value (4) buffer[0] = 0x04; buffer[1] = 0x00; buffer[2] = 0x00; buffer[3] = 0x00; // When int bytesRead = response.readBytesWireFormat(buffer, 0); // Then assertEquals(4, bytesRead); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java
if (command != SMB_COM_NT_TRANSACT_SECONDARY) { dst[dstIndex++] = maxSetupCount; } else { dst[dstIndex++] = (byte) 0x00; // Reserved } dst[dstIndex] = (byte) 0x00; // Reserved dstIndex++; dst[dstIndex++] = (byte) 0x00; // Reserved writeInt4(totalParameterCount, dst, dstIndex); dstIndex += 4; writeInt4(totalDataCount, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0)