Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 243 for returningX (0.11 sec)

  1. android/guava/src/com/google/common/collect/Multisets.java

       * #intersection(Multiset, Multiset) intersection} {@code (multisetToModify, multisetToRetain)},
       * but mutates {@code multisetToModify} instead of returning a view.
       *
       * <p>In contrast, {@code multisetToModify.retainAll(multisetToRetain)} keeps all occurrences of
       * elements that appear at all in {@code multisetToRetain}, and deletes all occurrences of all
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multisets.java

       * #intersection(Multiset, Multiset) intersection} {@code (multisetToModify, multisetToRetain)},
       * but mutates {@code multisetToModify} instead of returning a view.
       *
       * <p>In contrast, {@code multisetToModify.retainAll(multisetToRetain)} keeps all occurrences of
       * elements that appear at all in {@code multisetToRetain}, and deletes all occurrences of all
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

            : new ArrayTable<R, C, V>(table);
      }
    
      private final ImmutableList<R> rowList;
      private final ImmutableList<C> columnList;
    
      // TODO(jlevy): Add getters returning rowKeyToIndex and columnKeyToIndex?
      private final ImmutableMap<R, Integer> rowKeyToIndex;
      private final ImmutableMap<C, Integer> columnKeyToIndex;
      private final @Nullable V[][] array;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

        return new SlicedByteSource(offset, length);
      }
    
      /**
       * Returns whether the source has zero bytes. The default implementation first checks {@link
       * #sizeIfKnown}, returning true if it's known to be zero and false if it's known to be non-zero.
       * If the size is not known, it falls back to opening a stream and checking for EOF.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

         * only under concurrent modification).
         *
         * To access these fields when you know that they are not null, call the pred() and succ()
         * methods, which perform null checks before returning the fields.
         */
        @CheckForNull private AvlNode<E> pred;
        @CheckForNull private AvlNode<E> succ;
    
        AvlNode(@ParametricNullness E elem, int elemCount) {
          checkArgument(elemCount > 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       platforms.
     *   <li>All threads generated must be joined inside each test case method (or {@code fail} to do
     *       so) before returning from the method. The {@code joinPool} method can be used to do this
     *       when using Executors.
     * </ol>
     *
     * <p><b>Other notes</b>
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertNull(unmodifiable.asMap().get("missing"));
    
        assertFalse(unmodifiable.entries() instanceof Serializable);
      }
    
      /** Prepares the multimap for unmodifiable tests, returning an unmodifiable view of the map. */
      private static Multimap<@Nullable String, @Nullable Integer> prepareUnmodifiableTests(
          Multimap<@Nullable String, @Nullable Integer> multimap,
          boolean permitsDuplicates,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeMultiset.java

         * only under concurrent modification).
         *
         * To access these fields when you know that they are not null, call the pred() and succ()
         * methods, which perform null checks before returning the fields.
         */
        @CheckForNull private AvlNode<E> pred;
        @CheckForNull private AvlNode<E> succ;
    
        AvlNode(@ParametricNullness E elem, int elemCount) {
          checkArgument(elemCount > 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         * childless aunt node could be smaller, which would corrupt the invariant if this element
         * becomes the new parent of the aunt node. In that case, we first switch the last element with
         * its aunt node, before returning.
         */
        int swapWithConceptuallyLastElement(E actualLastElement) {
          int parentIndex = getParentIndex(size);
          if (parentIndex != 0) {
            int grandparentIndex = getParentIndex(parentIndex);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. cmd/utils.go

    }
    
    // unescapeGeneric is similar to url.PathUnescape or url.QueryUnescape
    // depending on input, additionally also handles situations such as
    // `//` are normalized as `/`, also removes any `/` prefix before
    // returning.
    func unescapeGeneric(p string, escapeFn func(string) (string, error)) (string, error) {
    	ep, err := escapeFn(p)
    	if err != nil {
    		return "", err
    	}
    	return trimLeadingSlash(ep), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top