Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 598 for here (0.16 sec)

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

      CollectionSize(int numElements) {
        this.implied = Collections.emptySet();
        this.numElements = numElements;
      }
    
      CollectionSize(Feature<? super Collection>... implied) {
        // Keep the order here, so that PerCollectionSizeTestSuiteBuilder
        // gives a predictable order of test suites.
        this.implied = Helpers.copyToSet(implied);
        this.numElements = null;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

     * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
     * those classes explore numerous corner cases. The intent here is to confirm that everything is
     * wired up properly.
     *
     * @author Craig Berry
     */
    public final class HostSpecifierTest extends TestCase {
    
      private static final ImmutableList<String> GOOD_IPS =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

      CollectionSize(int numElements) {
        this.implied = Collections.emptySet();
        this.numElements = numElements;
      }
    
      CollectionSize(Feature<? super Collection>... implied) {
        // Keep the order here, so that PerCollectionSizeTestSuiteBuilder
        // gives a predictable order of test suites.
        this.implied = Helpers.copyToSet(implied);
        this.numElements = null;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteSource.java

              // that case)
              // Can't represent anything higher, and realistically there probably isn't anything that
              // can actually be done anyway with the supposed 8+ exbibytes of data the source is
              // claiming to have if we get here, so just stop.
              return Optional.of(Long.MAX_VALUE);
            }
          }
          return Optional.of(result);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

            if (knownRunStart == knownRunEnd && hashTable[knownRunStart] == null) {
              if (hashTable[(knownRunStart + maxRunBeforeFallback - 1) & mask] == null) {
                // There are only maxRunBeforeFallback - 1 elements between here and there,
                // so even if they were all nonnull, we wouldn't detect a hash flood.  Therefore,
                // we can skip them all.
                knownRunStart += maxRunBeforeFallback;
              } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    she felt a violent blow underneath her chin:  it had struck her
    foot!
    
      She was a good deal frightened by this very sudden change, but
    she felt that there was no time to be lost, as she was shrinking
    rapidly; so she set to work at once to eat some of the other bit.
    Her chin was pressed so closely against her foot, that there was
    hardly room to open her mouth; but she did it at last, and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * tasks would be called recursively. Here, we detect that the delegate executor is executing
       * inline, and maintain a queue to dispatch tasks iteratively. There is one instance of this class
       * per call to submit() or submitAsync(), and each instance supports only one call to execute().
       *
       * <p>This class would certainly be simpler and easier to reason about if it were built with
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(TimeUnit.NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += (System.nanoTime() - start);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              // we can just do that work here.
              AtomicInteger newCounter = new AtomicInteger(occurrences);
              if ((countMap.putIfAbsent(element, newCounter) == null)
                  || countMap.replace(element, existingCounter, newCounter)) {
                return 0;
              }
              break;
            }
          }
    
          // If we're still here, there was a race, so just try again.
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * created arrays to have a {@code @Nullable} element type even when they're created directly with
       * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here.
       */
      @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed
      static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) {
        return (ImmutableMapEntry<K, V>[]) new ImmutableMapEntry<?, ?>[size];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top