Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 77 for capability (0.05 sec)

  1. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

                params(name)
                params("${providedBy.size + 1}")
            }
        }
    
        /**
         * For all modules providing a capability, always use the preferred module, even if there's no conflict.
         * In other words, will forcefully upgrade all modules providing a capability to a selected module.
         *
         * @param to the preferred module
         */
        private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jul 18 11:32:19 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x8000, SmbConstants.FLAGS2_UNICODE);
        }
    
        /**
         * Test capability flags.
         */
        @Test
        @DisplayName("Capability flags are correct")
        void capabilityFlagsTest() {
            // Test individual capability values
            assertEquals(0x0004, SmbConstants.CAP_UNICODE);
            assertEquals(0x0010, SmbConstants.CAP_NT_SMBS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportInternal.java

     *
     * @author mbechler
     */
    public interface SmbTransportInternal extends SmbTransport {
    
        /**
         * Checks if the transport supports the specified capability.
         *
         * @param cap the capability flag to check
         * @return whether the transport has the given capability
         * @throws SmbException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws SmbException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertTrue((response.getShareFlags() & Smb2TreeConnectResponse.SMB2_SHAREFLAG_ENCRYPT_DATA) != 0);
        }
    
        @Test
        @DisplayName("Should handle all capability flags")
        void testAllCapabilityFlags() throws SMBProtocolDecodingException {
            // Test each capability flag individually
            int[] capabilityFlags = { Smb2TreeConnectResponse.SMB2_SHARE_CAP_DFS,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

            this.linkSpeed = linkSpeed;
            this.ipv6 = address.getAddress().length == 16;
            this.capability = 0;
            
            // Check for RSS capability (simplified - would need OS-specific checks)
            this.rssCapable = checkRSSCapability();
            if (rssCapable) {
                this.capability |= NETWORK_INTERFACE_CAP_RSS;
            }
        }
        
        public boolean isUsableForChannel() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertFalse(request.isSigningEnforced());
            assertTrue(request instanceof ServerMessageBlock2Request);
        }
    
        @Test
        @DisplayName("Should set DFS capability when enabled")
        void testDfsCapability() {
            // Given
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    
            // When
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test cluster capability
                setPrivateField(response, "capabilities", Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER, response.getCapabilities(), "Should handle cluster capability");
    
                // Test asymmetric capability
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            verify(transport, times(1)).hasCapability(cap);
        }
    
        // Invalid input: simulate underlying SmbException when capability check fails
        @Test
        @DisplayName("hasCapability throws SmbException when underlying error occurs")
        void hasCapability_throws() throws SmbException {
            doThrow(new SmbException("capability check failed")).when(transport).hasCapability(eq(42));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement handle state serialization
    - [ ] Create reconnection logic with handle replay
    - [ ] Add timeout management for durable handles
    - [ ] Implement handle lease association
    - [ ] Add persistent handle capability negotiation
    - [ ] Create handle cache for reconnection
    
    #### 2.3 Integration Points
    - Extend `SmbFile` with persistent handle support
    - Modify `SmbSession` for handle replay during reconnection
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

                // Result should be consistent with charset's canEncode capability
                boolean canEncode = StandardCharsets.ISO_8859_1.newEncoder().canEncode(icon.getUnicodeChar());
                String expected = canEncode ? String.valueOf(icon.getUnicodeChar()) : icon.getAsciiFallback();
                assertEquals(expected, result, "Icon should match charset encoding capability for " + icon);
            }
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top