- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 112 for 0x02FF (0.72 sec)
-
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
/** * Read caching lease (R) */ public static final int SMB2_LEASE_READ_CACHING = 0x01; /** * Handle caching lease (H) */ public static final int SMB2_LEASE_HANDLE_CACHING = 0x02; /** * Write caching lease (W) */ public static final int SMB2_LEASE_WRITE_CACHING = 0x04; /** * Read and Handle caching (RH) */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
} server.securityMode = buffer[bufferIndex] & 0xFF; bufferIndex++; server.security = server.securityMode & 0x01; server.encryptedPasswords = (server.securityMode & 0x02) == 0x02; server.signaturesEnabled = (server.securityMode & 0x04) == 0x04; server.signaturesRequired = (server.securityMode & 0x08) == 0x08; server.maxMpxCount = readInt2(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 }; System.arraycopy(testMac, 0, src, srcIndex + 55, 6); // Statistics (6 bytes) byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 }; System.arraycopy(stats, 0, src, srcIndex + 61, 6); int result = response.readRDataWireFormat(src, srcIndex); assertEquals(67, result); // Verify parsed data
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
isInConflict = ((src[srcIndex + 16] & 0x08) == 0x08) == true; isActive = ((src[srcIndex + 16] & 0x04) == 0x04) == true; isPermanent = ((src[srcIndex + 16] & 0x02) == 0x02) == true; /* The NbtAddress object used to query this node will be in the list * returned by the Node Status. A new NbtAddress object should not beRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.server.securityMode = buffer[bufferIndex] & 0xFF; bufferIndex++; this.server.security = this.server.securityMode & 0x01; this.server.encryptedPasswords = (this.server.securityMode & 0x02) == 0x02; this.server.signaturesEnabled = (this.server.securityMode & 0x04) == 0x04; this.server.signaturesRequired = (this.server.securityMode & 0x08) == 0x08;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
*/ public class SmbComOpenAndX extends AndXServerMessageBlock { // flags (not the same as flags constructor argument) static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01; static final int FLAGS_REQUEST_OPLOCK = 0x02; static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04; // Access Mode Encoding for desiredAccess static final int SHARING_COMPATIBILITY = 0x00; static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
void testLeaseStateConstants() { assertEquals(0x00, Smb2LeaseState.SMB2_LEASE_NONE); assertEquals(0x01, Smb2LeaseState.SMB2_LEASE_READ_CACHING); assertEquals(0x02, Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING); assertEquals(0x04, Smb2LeaseState.SMB2_LEASE_WRITE_CACHING); assertEquals(0x03, Smb2LeaseState.SMB2_LEASE_READ_HANDLE);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
request.setFileId(testFileId); request.setData(data, 512, 1024); request.setOffset(4096L); request.setRemainingBytes(2048); request.setWriteFlags(0x02); // Calculate expected size int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 1024 + 7) / 8) * 8; assertEquals(expectedSize, request.size());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Assert assertEquals(expectedFlags, queryPolicy.getFlags()); // Binary check for individual flags assertEquals(0x03, queryPolicy.getFlags()); // 0x01 | 0x02 = 0x03 } @Test void getOpnum_shouldReturnCorrectValue() { // Arrange short level = 1; queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
} @Test @DisplayName("readParameterWordsWireFormat with a too-short buffer - throws exception") void testReadParameterWordsWithShortBuffer() { byte[] buffer = new byte[] { 0x00, 0x01, 0x02 }; // only three bytes assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readParameterWordsWireFormat(buffer, 0)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0)