Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 285 for returning (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/metacache-set.go

    	disks         []StorageAPI
    	fallbackDisks []StorageAPI
    	bucket, path  string
    	recursive     bool
    
    	// Only return results with this prefix.
    	filterPrefix string
    
    	// Forward to this prefix before returning results.
    	forwardTo string
    
    	// Minimum number of good disks to continue.
    	// An error will be returned if this many disks returned an error.
    	minDisks       int
    	reportNotFound bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(2, stats.hitCount());
    
        key = new Object();
        assertSame(value, cache.get(key, Callables.returning(value)));
        stats = cache.stats();
        assertEquals(3, stats.missCount());
        assertEquals(4, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(2, stats.hitCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top