Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Children (0.37 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

                assertNotNull(children2, "Wildcard children iterator should not be null");
                assertNotNull(children3, "Name filter children iterator should not be null");
                assertNotNull(children4, "Resource filter children iterator should not be null");
                assertSame(mockIterator, children1, "Should return expected iterator");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    func (e *dataUsageEntry) addChild(hash dataUsageHash) {
    	if _, ok := e.Children[hash.Key()]; ok {
    		return
    	}
    	if e.Children == nil {
    		e.Children = make(dataUsageHashMap, 1)
    	}
    	e.Children[hash.Key()] = struct{}{}
    }
    
    // Create a clone of the entry.
    func (e dataUsageEntry) clone() dataUsageEntry {
    	// We operate on a copy from the receiver.
    	if e.Children != nil {
    		ch := make(dataUsageHashMap, len(e.Children))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  3. docs/smb3-features/04-directory-leasing-design.md

            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) {
                        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)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            lock.writeLock().lock();
            try {
                FileInfo existing = children.get(childName);
                FileInfo newInfo = new FileInfo(childName, size, lastModified, isDirectory, attributes, creationTime, lastAccessTime);
    
                if (existing == null || !existing.matches(size, lastModified, attributes)) {
                    children.put(childName, newInfo);
                    hasChanges = true;
    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. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Add multiple children
            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L);
            entry.updateChild("dir1", 0L, 3000L, true, 0x10, 700L, 1000L);
    
            List<DirectoryCacheEntry.FileInfo> children = entry.getChildren();
            assertEquals(3, children.size());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         */
        @Override
        void close();
    
        /**
         * Fetch all children
         *
         * @return an iterator over the child resources
         * @throws CIFSException if an error occurs accessing the resource
         */
        CloseableIterator<SmbResource> children() throws CIFSException;
    
        /**
         * Fetch children matching pattern, server-side filtering
         *
         * <p>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

        idx++;
    
        if (c != '?' && c != ',') {
          while (idx < encodedLen) {
            // Read all the children
            idx += doParseTrieToBuilder(stack, encoded, idx, builder);
    
            if (encoded.charAt(idx) == '?' || encoded.charAt(idx) == ',') {
              // An extra '?' or ',' after a child node indicates the end of all children of this node.
              idx++;
              break;
            }
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            // Verify the cached files have correct names
            List<DirectoryCacheEntry.FileInfo> children = cacheEntry.getChildren();
            assertTrue(children.stream().anyMatch(f -> "file1.txt".equals(f.getName())));
            assertTrue(children.stream().anyMatch(f -> "dir1".equals(f.getName())));
        }
    
        @Test
        public void testUpdateDirectoryCache() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java

     */
    package jcifs.internal.smb2.lease;
    
    /**
     * Defines the scope of directory caching for SMB3 directory leasing
     */
    public enum DirectoryCacheScope {
        /**
         * Cache only direct children of the directory
         */
        IMMEDIATE_CHILDREN,
    
        /**
         * Cache entire subtree recursively (if supported by server)
         */
        RECURSIVE_TREE,
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ACE.java

        public static final int FLAGS_CONTAINER_INHERIT = 0x02;
        /** Inheritance flag: inheritance stops after one level */
        public static final int FLAGS_NO_PROPAGATE = 0x04;
        /** Inheritance flag: ACE applies only to children, not to the object itself */
        public static final int FLAGS_INHERIT_ONLY = 0x08;
        /** Inheritance flag: ACE was inherited from parent */
        public static final int FLAGS_INHERITED = 0x10;
    
        boolean allow;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top