Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Child (0.19 sec)

  1. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            // Test with normal URLs
            String parentUrl = "http://example.com/parent";
            String url = "http://example.com/child";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
            assertNotNull(exception);
            assertEquals("Not Found: http://example.com/child Parent: http://example.com/parent", exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/CIFSContext.java

         */
        boolean hasDefaultCredentials();
    
        /**
         * Create a child context with default credentials
         *
         * @return a child context using the configured default credentials
         */
        CIFSContext withDefaultCredentials();
    
        /**
         * Create a child context with anonymous credentials
         *
         * @return a child context using anonymous credentials
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

                assertNotNull(child, "Child resource should not be null");
                assertSame(expectedChild, child, "Should return expected child resource");
            }
        }
    
        @Nested
        @DisplayName("File Attribute Tests")
        class FileAttributeTests {
    
            @Test
            @DisplayName("file type checks should work correctly")
            void testFileTypeChecks() throws CIFSException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

                return children.get(name);
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Check if a child exists
         *
         * @param name child name
         * @return true if child exists
         */
        public boolean hasChild(String name) {
            lock.readLock().lock();
            try {
                lastAccessTime = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      public void testLocationEquals() {
        ClassLoader child = getClass().getClassLoader();
        ClassLoader parent = child.getParent();
        new EqualsTester()
            .addEqualityGroup(
                new ClassPath.LocationInfo(new File("foo.jar"), child),
                new ClassPath.LocationInfo(new File("foo.jar"), child))
            .addEqualityGroup(new ClassPath.LocationInfo(new File("foo.jar"), parent))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

                        log.error("Failed to create child URL", e);
                        continue;
                    }
                }
    
                try (SmbResource r = adapt(fe)) {
                    if (this.filter.accept(r)) {
                        return r;
                    }
                } catch (final MalformedURLException e) {
                    log.error("Failed to create child URL", e);
                    continue;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

            }
            
            // Invalidate all child directories
            invalidateChildren(path);
        }
        
        private void invalidateChildren(String parentPath) {
            Set<String> children = parentChildMap.get(parentPath);
            if (children != null) {
                for (String child : children) {
                    DirectoryCacheEntry entry = leaseManager.getCacheEntry(child);
                    if (entry != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/ShareEnumIterator.java

                if (this.filter == null) {
                    try {
                        return adapt(n);
                    } catch (final MalformedURLException e) {
                        log.error("Failed to create child URL", e);
                        continue;
                    }
                }
                try (SmbResource nr = adapt(n)) {
                    if (!this.filter.accept(nr)) {
                        continue;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Add a child
            entry.updateChild(childName, 1024L, 1000L, false, 0x20, 500L, 800L);
            assertTrue(entry.hasChild(childName));
    
            // Remove the child
            entry.removeChild(childName);
            assertFalse(entry.hasChild(childName));
            assertTrue(entry.hasChanges());
    
            // Remove non-existent child - should not change state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            when(context2.getURLPath()).thenReturn("/share/");
            when(context2.getServer()).thenReturn("server");
    
            base2.resolveInContext(context2, "sub/child");
            assertEquals("/share/sub/child", base2.getURLPath());
            assertEquals("\\sub\\child", base2.getUNCPath());
            assertEquals("share", base2.getShare());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top