Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 59 for Capability (0.2 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().smaxMpxCount = 1;
            response.getServerData().maxBufferSize = 16384;
    
            assertTrue(response.isValid(mockContext, request));
            // After negotiation, check if unicode capability is preserved
            assertTrue((response.getNegotiatedCapabilities() & SmbConstants.CAP_UNICODE) != 0);
        }
    
        @Test
        public void testIsValidWithInvalidDialect() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                if (message.contains("hardware") || message.contains("device not found") || message.contains("driver")
                        || message.contains("not supported") || message.contains("capability")) {
                    return true;
                }
            }
    
            // If we've had many errors, consider fallback
            double errorRate = statistics.getErrorRate();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        }
    
        // SMB1 path: without CAP_NT_SMBS it should throw SmbUnsupportedOperationException
        @Test
        @DisplayName("watch() SMB1 without capability throws unsupported")
        void watch_smb1_noCapability_throwsUnsupported() throws Exception {
            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                }
    
                public void remove(String sessionCountId) {
                    // No-op
                }
            }, "crawlingConfigHelper");
    
            // Fast mock SystemHelper with immediate force stop capability
            ComponentUtil.register(new SystemHelper() {
                private final AtomicBoolean forceStop = new AtomicBoolean(false);
    
                @Override
                public long getCurrentTimeAsLong() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertEquals(messageCode, exception.getMessageCode());
        }
    
        @Test
        public void test_verifySerialVersionUID() {
            // Setup
            final String message = "Test serialization capability";
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertTrue((testConfig.getFlags2() & SmbConstants.FLAGS2_UNICODE) != 0);
        }
    
        @Test
        @DisplayName("Test initDefaults with various capability combinations")
        void testInitDefaultsWithCapabilityCombinations() throws CIFSException {
            BaseConfiguration testConfig = new BaseConfiguration(false);
            testConfig.useNTSmbs = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTransportImplTest.java

            when(s.isClosed()).thenReturn(true);
            assertTrue(transport.isDisconnected());
            assertTrue(transport.isFailed());
        }
    
        @Test
        @DisplayName("capability query delegates to negotiation state")
        void hasCapability_delegates() throws Exception {
            // Arrange
            SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            raf.setLength(100L);
    
            verify(tree, times(1)).send(any(Smb2SetInfoRequest.class), eq(RequestParam.NO_RETRY));
        }
    
        @Test
        @DisplayName("setLength(): NT SMBs capability uses Trans2SetFileInformation")
        void setLength_ntsmbs_usesTrans2() throws Exception {
            SmbRandomAccessFile raf = newInstance("rw", false, true, false);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. impl/maven-core/plugin-manager.txt

     * We need to look at Maven, and Nexus as use cases and figure out what each of them needs to be
     * able to do
     *
     * - now what is really the difference between this and loading a component in plexus - custom
     * classloading capability - remote resolution of dependencies - do we want a model for sharing
     * information among plugins, is this more like an extension point - do we need a sort of bus for
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
            return null;
        }
    
        /**
         *
         * Only call this method while holding a tree handle
         *
         * @param cap
         * @return whether the capability is available
         * @throws SmbException
         */
        public boolean hasCapability(final int cap) throws SmbException {
            try (SmbSessionImpl s = getSession()) {
                if (s != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
Back to Top