- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for Capabilities (0.16 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.tx_buf_size = Math.min(this.tx_buf_size, this.server.maxBufferSize); this.capabilities &= this.server.scapabilities; if ((this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY) == SmbConstants.CAP_EXTENDED_SECURITY) { this.capabilities |= SmbConstants.CAP_EXTENDED_SECURITY; // & doesn't copy high bit }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
// Verify each is a power of 2 for (int cap : capabilities) { assertTrue(isPowerOfTwo(cap), "Capability 0x" + Integer.toHexString(cap) + " should be a power of 2"); } // Verify no overlapping bits for (int i = 0; i < capabilities.length; i++) { for (int j = i + 1; j < capabilities.length; j++) {
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/internal/smb2/nego/Smb2NegotiateResponse.java
} /** * Gets the capabilities returned by the server. * * @return the server returned capabilities */ public final int getCapabilities() { return this.capabilities; } /** * Gets the common capabilities negotiated between client and server. * * @return the common/negotiated capabilities */
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/SmbTransport.java
} snd_buf_size = Math.min(snd_buf_size, server.maxBufferSize); capabilities &= server.capabilities; if ((server.capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY) { capabilities |= CAP_EXTENDED_SECURITY; // & doesn't copy high bit } if ((capabilities & SmbConstants.CAP_UNICODE) == 0) { // server doesn't want unicode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Given & When int securityMode = 0x03; int capabilities = 0x0F; long previousSessionId = 0xFEDCBA9876543210L; byte[] token = { 0x0A, 0x0B, 0x0C }; Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, previousSessionId, token); // Then - verify fields are set correctly using reflection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@Test @DisplayName("Should return capabilities") void testGetCapabilities() throws Exception { // Given setPrivateField(response, "capabilities", 0x7F); // When int caps = response.getCapabilities(); // Then assertEquals(0x7F, caps); } @Test @DisplayName("Should return common capabilities")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertTrue((testConfig.getFlags2() & SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES) != 0); // Check capabilities assertTrue(testConfig.getCapabilities() != 0, "Capabilities should be non-zero"); // Check broadcast address assertNotNull(testConfig.getBroadcastAddress());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
@DisplayName("Should correctly identify DFS share based on capabilities") void testIsShareDfsWithCapabilities() throws SMBProtocolDecodingException { // Test with DFS capability byte[] buffer = createValidResponseBuffer(0, 0, 0x8, 0); response.readBytesWireFormat(buffer, 0); assertTrue(response.isShareDfs()); // Test without DFS flags or capabilities
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
void testDecodeValidBuffer() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[64]; int bufferIndex = 10; // Set capabilities (4 bytes) int testCapabilities = 0x12345678; SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex); // Set server GUID (16 bytes) byte[] testGuid = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)