Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 131 for RemoveAll (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(47, (int) mmHeap.pollLast());
        assertEquals(4, (int) mmHeap.pollLast());
        mmHeap.removeAll(Lists.newArrayList(2, 3));
        assertEquals(3, mmHeap.size());
        assertTrue("Heap is not intact after removeAll()", mmHeap.isIntact());
      }
    
      public void testContains() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

       * wasn't going to be any actual work to do anyway
       */
    
      @Override
      public boolean addAll(Collection<? extends E> elementsToAdd) {
        throw up();
      }
    
      @Override
      public boolean removeAll(Collection<?> elementsToRemove) {
        throw up();
      }
    
      @Override
      public boolean retainAll(Collection<?> elementsToRetain) {
        throw up();
      }
    
      @Override
      public void clear() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetReflectsRemove() {
        Set<E> elementSet = getMultiset().elementSet();
        assertTrue(elementSet.contains(e0()));
        getMultiset().removeAll(Collections.singleton(e0()));
        assertFalse(elementSet.contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

       * wasn't going to be any actual work to do anyway
       */
    
      @Override
      public boolean addAll(Collection<? extends E> elementsToAdd) {
        throw up();
      }
    
      @Override
      public boolean removeAll(Collection<?> elementsToRemove) {
        throw up();
      }
    
      @Override
      public boolean retainAll(Collection<?> elementsToRetain) {
        throw up();
      }
    
      @Override
      public void clear() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .build();
    
        assertThrows(
            UnsupportedOperationException.class,
            () -> rangeSet.removeAll(ImmutableRangeSet.<Integer>of()));
    
        assertThrows(
            UnsupportedOperationException.class,
            () -> rangeSet.removeAll(ImmutableRangeSet.of(Range.closed(6, 8))));
      }
    
      @AndroidIncompatible // slow
      public void testExhaustive() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
        // duplicate elements, there are no tests for Set.removeAll() that aren't
        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/cmd/addr2line/addr2line_test.go

    func TestAddr2Line(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	tmpDir, err := os.MkdirTemp("", "TestAddr2Line")
    	if err != nil {
    		t.Fatal("TempDir failed: ", err)
    	}
    	defer os.RemoveAll(tmpDir)
    
    	// Build copy of test binary with debug symbols,
    	// since the one running now may not have them.
    	exepath := filepath.Join(tmpDir, "testaddr2line_test.exe")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    	files, _ := filepath.Glob(filepath.Join(diskPath, ".writable-check-*.tmp"))
    	for _, file := range files {
    		go removeAll(file)
    	}
    
    	// Remove the entire folder in case there are leftovers that didn't get cleaned up before restart.
    	go removeAll(pathJoin(diskPath, minioMetaTmpBucket+"-old"))
    
    	// Renames and schedules for purging all bucket metacache.
    	go renameAllBucketMetacache(diskPath)
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        }.test();
      }
    
      public void testRemoveAll() {
        List<String> list = newArrayList("a", "b", "c", "d", "e");
        assertTrue(Iterators.removeAll(list.iterator(), newArrayList("b", "d", "f")));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(Iterators.removeAll(list.iterator(), newArrayList("x", "y", "z")));
        assertEquals(newArrayList("a", "c", "e"), list);
      }
    
      public void testRemoveIf() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

        throw new UnsupportedOperationException();
      }
    
      public final boolean addAll(Collection<? extends E> newElements) {
        throw new UnsupportedOperationException();
      }
    
      public final boolean removeAll(Collection<?> oldElements) {
        throw new UnsupportedOperationException();
      }
    
      public final boolean removeIf(Predicate<? super E> predicate) {
        throw new UnsupportedOperationException();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top