Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 858 for removal (0.81 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals("old count", originalCount, getMultiset().remove(e0(), 0));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_present() {
        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals("old count", originalCount, getMultiset().remove(e0(), 0));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_occurrences_present() {
        assertEquals(
            "multiset.remove(present, 2) didn't return the old count",
            1,
            getMultiset().remove(e0(), 2));
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

          return delegate.poll();
        }
    
        @Override
        public E remove() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove();
        }
    
        @Override
        public boolean remove(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove(object);
        }
    
        @Override
        public @Nullable E peek() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       *
       * @param o element to be removed from this queue, if present
       * @return {@code true} if this queue changed as a result of the call
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public boolean remove(@Nullable Object o) {
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.remove(o);
        } finally {
          monitor.leave();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

     * <ul>
     *   <li>{@code merge} (default): Merges attributes and values</li>
     *   <li>{@code override}: Completely replaces the element</li>
     *   <li>{@code remove}: Removes the element</li>
     * </ul>
     *
     * <p>For complex XML structures, combining can also be done based on:</p>
     * <ul>
     *   <li>ID: Using the {@code combine.id} attribute</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * Removes whitespace from the left side of the string.
         *
         * @param text
         *            The text to trim
         * @return The resulting string
         */
        public static final String ltrim(final String text) {
            return ltrim(text, null);
        }
    
        /**
         * Removes the specified characters from the left side of the string.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

          name: String,
          value: String,
        ) = apply {
          headers.add(name, value)
        }
    
        /** Removes all headers named [name] on this builder. */
        open fun removeHeader(name: String) =
          apply {
            headers.removeAll(name)
          }
    
        /** Removes all headers on this builder and adds [headers]. */
        open fun headers(headers: Headers) =
          apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      }
    
      /**
       * Confirm that removeAll() returns a List that implements RandomAccess, even though get()
       * doesn't.
       */
      public void testRemoveAllRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.removeAll("foo") instanceof RandomAccess);
        assertTrue(multimap.removeAll("bar") instanceof RandomAccess);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  9. cmd/local-locker.go

    			if len(*lri) == 1 {
    				// Remove the write lock.
    				delete(l.lockMap, name)
    			} else {
    				// Remove the appropriate read lock.
    				*lri = append((*lri)[:index], (*lri)[index+1:]...)
    				l.lockMap[name] = *lri
    			}
    			delete(l.lockUID, formatUUID(args.UID, entry.idx))
    			return true
    		}
    	}
    
    	// None found return false, perhaps entry removed in previous run.
    	return false
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. .github/workflows/translate.yml

            type: choice
            options:
              - translate-page
              - translate-lang
              - update-outdated
              - add-missing
              - update-and-add
              - remove-all-removable
          language:
            description: Language to translate to as a letter code (e.g. "es" for Spanish)
            type: string
            required: false
            default: ""
          en_path:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top