Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 161 for probably (1.19 sec)

  1. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @Override
        int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {
          // Only trust the size of `values` if it is a Set and therefore probably already deduplicated.
          if (values instanceof Set<?>) {
            Set<?> collection = (Set<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
            return defaultExpectedValues;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

       * stream may perform better.
       *
       * @see Stream#concat(Stream, Stream)
       */
      @SuppressWarnings("unchecked") // could probably be avoided with a forwarding Spliterator
      @SafeVarargs
      public static <T extends @Nullable Object> Stream<T> concat(Stream<? extends T>... streams) {
        // TODO(lowasser): consider an implementation that can support SUBSIZED
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

        if (!iterator.hasNext()) {
          return Optional.absent();
        }
    
        /*
         * TODO(kevinb): consider whether this "optimization" is worthwhile. Users with SortedSets tend
         * to know they are SortedSets and probably would not call this method.
         */
        if (iterable instanceof SortedSet) {
          SortedSet<E> sortedSet = (SortedSet<E>) iterable;
          return Optional.of(sortedSet.last());
        }
    
        while (true) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FluentIterable.java

        if (!iterator.hasNext()) {
          return Optional.absent();
        }
    
        /*
         * TODO(kevinb): consider whether this "optimization" is worthwhile. Users with SortedSets tend
         * to know they are SortedSets and probably would not call this method.
         */
        if (iterable instanceof SortedSet) {
          SortedSet<E> sortedSet = (SortedSet<E>) iterable;
          return Optional.of(sortedSet.last());
        }
    
        while (true) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @Override
        int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {
          // Only trust the size of `values` if it is a Set and therefore probably already deduplicated.
          if (values instanceof Set<?>) {
            Set<?> collection = (Set<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
            return defaultExpectedValues;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

             * Thread.interrupt() (as discussed in InterruptibleTask). At the end of the day, it's
             * unlikely that cancel() will be slow, so we can probably get away with calling it while
             * holding a lock. Still, it would be nice to avoid somehow.
             */
            lock.lock();
            try {
              currentFuture.cancel(mayInterruptIfRunning);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

               * -4294967296L = -9223372036854775808L!
               *
               * To be clear, this bug affects not the test's computation of the expected result but the
               * _actual prod code_. But it probably affects only unusual cases.
               */
              continue;
            }
            BigInteger expectedResult = valueOf(a).multiply(valueOf(b));
            boolean expectedSuccess = fitsInLong(expectedResult);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              && hashCodeInsensitiveToArgReference(
                  factory, args, i, generateDummyArg(param, newFreshValueGenerator()))) {
            // If the implementation uses identityHashCode(), referential equality is
            // probably intended. So no point in using an equal-but-different factory argument.
            // We check twice to avoid confusion caused by accidental hash collision.
            equalArgs.set(i, shouldBeEqualArg);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                len = calledName.length();
                data = calledName.toCharArray();
                while (i < len && Character.isDigit(data[i++])) {
                    if (i == len && dots == 3) {
                        // probably an IP address
                        calledName = SMBSERVER_NAME;
                        break;
                    }
                    if (i < len && data[i] == '.') {
                        dots++;
                        i++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

           * that behavior is undefined when the backing map is modified through another API. (It even
           * permits us to throw IllegalStateException. Maybe we should have done that, but we probably
           * shouldn't change now for fear of breaking people.)
           */
          return (lastKnownIndex == -1) ? unsafeNull() : value(lastKnownIndex);
        }
    
        @Override
        @ParametricNullness
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
Back to top