Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for Entry (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

        }
    
        /**
         * Get cache entry for a directory
         *
         * @param directoryPath directory path
         * @return cache entry or null
         */
        public DirectoryCacheEntry getCacheEntry(String directoryPath) {
            DirectoryCacheEntry entry = directoryCache.get(directoryPath);
    
            // Check if cache entry is valid
            if (entry != null && entry.needsRefresh()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    func (o *listPathOptions) shouldSkip(ctx context.Context, entry metaCacheEntry) (yes bool) {
    	if !o.IncludeDirectories && (entry.isDir() || (!o.Versioned && entry.isObjectDir() && entry.isLatestDeletemarker())) {
    		return true
    	}
    	if o.Marker != "" && entry.name < o.Marker {
    		return true
    	}
    	if !strings.HasPrefix(entry.name, o.Prefix) {
    		return true
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            LeaseEntry entry = leases.get(key);
            if (entry != null) {
                log.info("Handling lease break for {} from state 0x{} to 0x{}", key, Integer.toHexString(entry.getLeaseState()),
                        Integer.toHexString(newState));
    
                entry.setBreaking(true);
                int oldState = entry.getLeaseState();
                entry.updateState(newState);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Add some children
            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L);
            entry.markComplete();
    
            // Invalidate the cache
            entry.invalidate();
    
            assertFalse(entry.isComplete());
            assertTrue(entry.hasChanges());
            assertTrue(entry.getChildren().isEmpty());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. cmd/data-usage-cache.go

    		return
    	}
    
    	// Check for abandoned entries.
    	found := make(map[string]struct{}, len(d.Cache))
    
    	// Mark all children recursively
    	var mark func(entry dataUsageEntry)
    	mark = func(entry dataUsageEntry) {
    		for k := range entry.Children {
    			found[k] = struct{}{}
    			if ch, ok := d.Cache[k]; ok {
    				mark(ch)
    			}
    		}
    	}
    	found[top] = struct{}{}
    	mark(*topE)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  6. cmd/peer-s3-server.go

    	// Initialize sync waitgroup.
    	g := errgroup.WithNErrs(len(localDrives))
    
    	// Disk states slices
    	beforeState := make([]string, len(localDrives))
    	afterState := make([]string, len(localDrives))
    
    	// Make a volume entry on all underlying storage disks.
    	for index := range localDrives {
    		g.Go(func() (serr error) {
    			if localDrives[index] == nil {
    				beforeState[index] = madmin.DriveStateOffline
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private AuditEntry getAuditEntry() {
            AuditEntry entry = auditEntryPool.poll();
            if (entry == null) {
                entry = new AuditEntry();
            } else {
                // Reset the entry
                entry.context = null;
                entry.message = null;
                entry.eventType = null;
                entry.severity = null;
                entry.timestamp = null;
            }
            return entry;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            // Now cache entry should exist
            DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(entry);
            assertEquals(directoryPath, entry.getDirectoryPath());
        }
    
        @Test
        public void testGetCacheEntryWithExpiredLease() {
            String directoryPath = "/test/dir";
    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/util/SecureKeyManager.java

            // Wipe all raw keys
            for (Map.Entry<String, byte[]> entry : rawKeys.entrySet()) {
                Arrays.fill(entry.getValue(), (byte) 0);
            }
            rawKeys.clear();
    
            // Destroy all secret keys
            for (Map.Entry<String, SecretKey> entry : sessionKeys.entrySet()) {
                SecretKey key = entry.getValue();
                if (key instanceof Destroyable) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-rebalance.go

    				return true
    			}
    			return false
    		}
    
    		rebalanceEntry := func(entry metaCacheEntry) {
    			defer wk.Give()
    
    			if entry.isDir() {
    				return
    			}
    
    			// rebalance on poolIdx has reached its goal
    			if z.checkIfRebalanceDone(poolIdx) {
    				return
    			}
    
    			fivs, err := entry.fileInfoVersions(bucket)
    			if err != nil {
    				return
    			}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top