Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,039 for removes (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        assertEquals(Integer.valueOf(50), asMap.get(10));
        assertEquals(Integer.valueOf(79), cache.getIfPresent(2));
        assertEquals(Integer.valueOf(79), asMap.get(2));
    
        asMap.remove(10, 100);
        asMap.remove(2, 79);
    
        assertEquals(Integer.valueOf(50), cache.getIfPresent(10));
        assertEquals(Integer.valueOf(50), asMap.get(10));
        assertEquals(null, cache.getIfPresent(2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeTraverser.java

     *     the same lambda function as passed into {@link #using(Function)}.
     *     <p>This class is scheduled to be removed in October 2019.
     */
    // TODO(b/68134636): Remove by 2019-10
    @Deprecated
    @Beta
    @GwtCompatible
    public abstract class TreeTraverser<T> {
      /** Constructor for use by subclasses. */
      public TreeTraverser() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        Object element = iterator.next();
        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
        assertFalse(collection.contains(element));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. cmd/bucket-notification-handlers.go

    					config.QueueList = append(config.QueueList[:i],
    						config.QueueList[i+1:]...)
    				}
    				// This is a one time activity we shall do this
    				// here and allow stale ARN to be removed. We shall
    				// never reach a stage where we will have stale
    				// notification configs.
    			}
    		} else {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            ChangeNotificationHandle handle = activeWatchers.remove(directoryPath);
            if (handle != null) {
                handle.setActive(false);
                // Cancel any pending notifications
                cancelNotification(handle);
                // Clean up failure count to prevent memory leak
                failureCounts.remove(directoryPath);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

            assertThat(graph.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(graph.nodes()).hasSize(NUM_NODES - numNodesToRemove);
          // Number of edges remaining is unknown (node's incident edges have been removed).
          AbstractGraphTest.validateGraph(graph);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(graph.removeNode(nodeList.get(i))).isTrue();
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Assert
            verify(tree, times(1)).release(); // release called in finally exactly once
        }
    
        @Test
        @DisplayName("remove() throws UnsupportedOperationException with 'remove' message")
        void removeUnsupported() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            // Remove the child
            entry.removeChild(childName);
            assertFalse(entry.hasChild(childName));
            assertTrue(entry.hasChanges());
    
            // Remove non-existent child - should not change state
            entry.removeChild("nonexistent.txt");
            assertTrue(entry.hasChanges()); // Still has changes from previous removal
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/eventbus/SubscriberRegistry.java

            // if removeAll returns true, all we really know is that at least one subscriber was
            // removed... however, barring something very strange we can assume that if at least one
            // subscriber was removed, all subscribers on listener for that event type were... after
            // all, the definition of subscribers on a particular class is totally static
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. docs/smb3-features/04-directory-leasing-design.md

                LeaseEntry leaseEntry = baseLeaseManager.getLease(entry.getLeaseKey());
                if (leaseEntry == null || !leaseEntry.hasReadCache()) {
                    // Lease lost, remove cache entry
                    directoryCache.remove(directoryPath);
                    return null;
                }
            }
            
            return entry;
        }
        
        public boolean canCacheDirectoryListing(String directoryPath) {
    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