Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for invalidpath (0.06 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

                assertTrue(ALWAYSACTIVE.accept(mockFile));
            }
        }
    
        @Nested
        @DisplayName("Invalid input – null file handling")
        class InvalidPath {
            @Test
            void acceptWithNullThrows() {
                SmbFileFilter throwOnNull = new SmbFileFilter() {
                    @Override
                    public boolean accept(SmbFile file) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            }
        }
    
        public void test_writeThreadDump_withInvalidPath() {
            // Test with invalid file path (directory that doesn't exist)
            String invalidPath = "/nonexistent/directory/thread-dump.txt";
    
            try {
                ThreadDumpUtil.writeThreadDump(invalidPath);
                // Should not throw exception but log warning
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/DfsResolverTest.java

            when(mockConfig.isDfsDisabled()).thenReturn(false);
            DfsReferralData mockReferralData = mock(DfsReferralData.class);
            assertDoesNotThrow(() -> dfsResolver.cache(mockContext, "invalidPath", mockReferralData));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DfsImplTest.java

            DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class);
            // Should not throw any exception.
            assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "invalidpath", mockReferral));
        }
    
        @Test
        void testCache_ValidPath() {
            // Scenario: A valid referral is cached.
            DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            value = " mailto:...";
            assertFalse(htmlTransformer.isValidPath(value));
    
            value = " irc:...";
            assertFalse(htmlTransformer.isValidPath(value));
    
            value = "JAVASCRIPT:...";
            assertFalse(htmlTransformer.isValidPath(value));
    
            value = "MAILTO:...";
            assertFalse(htmlTransformer.isValidPath(value));
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                if ((newState & Smb2LeaseState.SMB2_LEASE_READ_CACHING) == 0) {
                    // Lost read cache - invalidate directory cache
                    entry.invalidate();
                }
            } else {
                // Lease completely broken - invalidate cache
                entry.invalidate();
            }
    
            if ((newState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. cmd/batch-replicate.go

    	Path     string                        `yaml:"path" json:"path"`
    	Creds    BatchJobReplicateCredentials  `yaml:"credentials" json:"credentials"`
    }
    
    // ValidPath returns true if path is valid
    func (t BatchJobReplicateTarget) ValidPath() bool {
    	return t.Path == "on" || t.Path == "off" || t.Path == "auto" || t.Path == ""
    }
    
    // BatchJobReplicateSource describes source element of the replication job that is
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

            invalidateSet.forEach(s -> excludeFilterCache.invalidate(s));
        }
    
        /**
         * Deletes all URL filters for the specified session.
         *
         * @param sessionId The session ID.
         */
        @Override
        public void delete(final String sessionId) {
            deleteBySessionId(sessionId);
            includeFilterCache.invalidate(sessionId);
            excludeFilterCache.invalidate(sessionId);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      override fun getCreationTime(): Long = delegate!!.creationTime
    
      override fun getLastAccessedTime(): Long = delegate!!.lastAccessedTime
    
      override fun invalidate() {
        delegate!!.invalidate()
      }
    
      override fun isValid(): Boolean = delegate!!.isValid
    
      override fun putValue(
        s: String,
        o: Any,
      ) {
        delegate!!.putValue(s, o)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. docs/smb3-features/04-directory-leasing-design.md

            
            // Invalidate affected cache entries
            DirectoryCacheEntry entry = leaseManager.getCacheEntry(directoryPath);
            if (entry != null) {
                entry.removeChild(fileName);
                
                // If too many inconsistencies, invalidate entire cache
                if (entry.getInconsistencyCount() > 5) {
                    entry.invalidate();
                }
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top