Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 515 for hege (0.03 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      /*
       * Tests that we workaround GWT bug #3621 (or that it is already fixed).
       *
       * A call to of() with a parameter that is not a plain Object[] (here,
       * Interface[]) creates a RegularImmutableSortedSet backed by an array of that
       * type. Later, RegularImmutableSortedSet.toArray() calls System.arraycopy()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

      private static <E extends @Nullable Object> boolean addAllImpl(
          Multiset<E> self, Multiset<? extends E> elements) {
        // It'd be nice if we could specialize for ImmutableMultiset here without also retaining
        // its code when it's not in scope...
        if (elements instanceof AbstractMapBasedMultiset) {
          return addAllImpl(self, (AbstractMapBasedMultiset<? extends E>) elements);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

        // exchanging two blocks of memory). This classic text by Gries and Mills mentions several:
        // https://ecommons.cornell.edu/bitstream/handle/1813/6292/81-452.pdf.
        // (1) "Reversal", the one we have here.
        // (2) "Dolphin". If we're rotating an array a of size n by a distance of d, then element a[0]
        //     ends up at a[d], which in turn ends up at a[2d], and so on until we get back to a[0].
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              public final void addListener(Listener listener, Executor executor) {
                service1.startAsync();
                delegate.addListener(listener, executor);
              }
    
              // Delegates from here on down
              @Override
              public final Service startAsync() {
                return delegate.startAsync();
              }
    
              @Override
              public final Service stopAsync() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            .isEqualTo("Could not create BloomFilter of 3327428144502 bits");
      }
    
      @AndroidIncompatible // OutOfMemoryError
      public void testLargeNumberOfInsertions() {
        // We use horrible FPPs here to keep Java from OOM'ing
        BloomFilter<String> unused =
            BloomFilter.create(unencodedCharsFunnel(), Integer.MAX_VALUE / 2, 0.30);
        unused = BloomFilter.create(unencodedCharsFunnel(), 45L * Integer.MAX_VALUE, 0.99);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          else {
            nextIndex = takeIndex;
            nextItem = items[takeIndex];
          }
        }
    
        @Override
        public boolean hasNext() {
          /*
           * No sync. We can return true by mistake here
           * only if this iterator passed across threads,
           * which we don't support anyway.
           */
          return nextIndex >= 0;
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/NullPointerTester.java

              return false;
            }
            TypeVariable<?> typeVar = (TypeVariable<?>) type;
            for (AnnotatedType bound : typeVar.getAnnotatedBounds()) {
              // Until Java 15, the isNullableTypeVariable case here won't help:
              // https://bugs.openjdk.org/browse/JDK-8202469
              if (containsNullable(bound.getAnnotations()) || isNullableTypeVariable(bound.getType())) {
                return true;
              }
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       *     ImmutableSortedMultiset#copyOf(Comparable[])}.</b>
       */
      @DoNotCall("Elements must be Comparable. (Or, pass a Comparator to orderedBy or copyOf.)")
      @Deprecated
      // The usage of "Z" here works around bugs in Javadoc (JDK-8318093) and JDiff.
      public static <Z> ImmutableSortedMultiset<Z> copyOf(Z[] elements) {
        throw new UnsupportedOperationException();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * computes) correspond to minimum intervals between subsequent requests, for the specified number
       * of requested permits.
       *
       * Here is an example of storedPermitsToWaitTime: If storedPermits == 10.0, and we want 3 permits,
       * we take them from storedPermits, reducing them to 7.0, and compute the throttling for these as
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              public final void addListener(Listener listener, Executor executor) {
                service1.startAsync();
                delegate.addListener(listener, executor);
              }
    
              // Delegates from here on down
              @Override
              public final Service startAsync() {
                return delegate.startAsync();
              }
    
              @Override
              public final Service stopAsync() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
Back to Top