Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 101 for twelve (0.1 seconds)

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

          this.size = 0;
        }
    
        /*
         * Expand the absolute capacity of the builder so it can accept at least the specified number of
         * elements without being resized. Also, if we've already built a collection backed by the
         * current array, create a new array.
         */
        private void ensureRoomFor(int newElements) {
          @Nullable Object[] contents = this.contents;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  2. guava-gwt/pom.xml

              <sourcepath>doesnotexist</sourcepath>
              <!-- Note that we do need to build Javadoc for *some* class. Otherwise, we get an empty Javadoc jar, which the Sonatype repository manager rejects. To avoid that, we've introduced a dummy class. But we made it package-private so that no one can depend on it. That in turn forced us to configure Javadoc to show package-private APIs. -->
              <show>package</show>
            </configuration>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:19:17 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

         * returns 0, but if we had a SingletonImmutableSortedSet, this might no
         * longer be the case.)
         *
         * javax.naming.Name and java.util.concurrent.Delayed might work, but
         * they're fairly obscure, we've invented our own interface and class.
         */
        Interface a = new Impl();
        Interface b = new Impl();
        ImmutableSortedSet<Interface> set = ImmutableSortedSet.of(a, b);
        Object[] unused1 = set.toArray();
    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)
  4. android/guava/src/com/google/common/collect/Streams.java

          void set(T value) {
            this.set = true;
            this.value = value;
          }
    
          T get() {
            /*
             * requireNonNull is safe because we call get() only if we've previously called set().
             *
             * (For further discussion of nullness, see the comment above the method.)
             */
            return requireNonNull(value);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        }
      }
    
      private void recurse(int level) {
        // We're going to reuse the stimuli array 3^steps times by overwriting it
        // in a recursive loop.  Sneaky.
        if (level == stimuli.length) {
          // We've filled the array.
          compareResultsForThisListOfStimuli();
        } else {
          // Keep recursing to fill the array.
          for (Stimulus<E, ? super I> stimulus : getStimulusValues()) {
            stimuli[level] = stimulus;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

       * assertTrue(Thread.interrupted())} except that this version tolerates late interrupts.
       */
      private static void assertInterrupted() {
        try {
          /*
           * The sleep() will end immediately if we've already been interrupted or
           * wait patiently for the interrupt if not.
           */
          Thread.sleep(LONG_DELAY_MS);
          fail("Dude, where's my interrupt?");
        } catch (InterruptedException expected) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return output(uncheckedCastNullableTToT(key), valueIterator.next());
        }
    
        @Override
        public void remove() {
          valueIterator.remove();
          /*
           * requireNonNull is safe because we've already initialized `collection`. If we hadn't, then
           * valueIterator.remove() would have failed.
           */
          if (requireNonNull(collection).isEmpty()) {
            keyIterator.remove();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

          requestBody.close()
          assertThat(responseBody.readUtf8Line()).isNull()
        }
        body.awaitSuccess()
      }
    
      /**
       * Duplex calls that have follow-ups are weird. By the time we know there's a follow-up we've
       * already split off another thread to stream the request body. Because we permit at most one
       * exchange at a time we break the request stream out from under that writer.
       */
      @Test
      fun duplexWithRedirect() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

      }
    
      /**
       * This test causes two connections to become available simultaneously, one from a TCP connect and
       * one from the pool. We must take the pooled connection because by taking it from the pool, we've
       * fully acquired it.
       *
       * This test yields threads to force the decision of plan1 to be deliberate and not lucky. In
       * particular, we set up this sequence of events:
       *
       *  1. take plan 0
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/DoubleMathTest.java

        for (double tolerance : BAD_TOLERANCE_CANDIDATES) {
          assertThrows(IllegalArgumentException.class, () -> DoubleMath.fuzzyEquals(1, 2, tolerance));
        }
      }
    
      /*
       * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has
       * a better chance of completing each within its per-test-method timeout.
       */
    
      public void testFuzzyCompare0() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top