- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for scapabilities (0.08 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/smb1/com/SmbComNegotiateResponseTest.java
assertEquals(0x80, response.getServerData().scapabilities); assertEquals(-128, response.getServerData().serverTimeZone); assertEquals(8, response.getServerData().encryptionKeyLength); } @Test public void testReadBytesWireFormatWithoutExtendedSecurity() throws UnsupportedEncodingException { response.getServerData().scapabilities = 0; response.getServerData().encryptionKeyLength = 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
serverData.scapabilities = Integer.MAX_VALUE; assertEquals(Integer.MAX_VALUE, serverData.sflags2); assertEquals(Integer.MAX_VALUE, serverData.smaxMpxCount); assertEquals(Integer.MAX_VALUE, serverData.maxBufferSize); assertEquals(Integer.MAX_VALUE, serverData.sessKey); assertEquals(Integer.MAX_VALUE, serverData.scapabilities);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K 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/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/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/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)