Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 101 for twelve (0.05 seconds)

  1. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        // Don't copy this into your own test!
        // Use e.g. awaitClear or await(CountDownLatch) instead.
        GcFinalization.awaitFullGc();
    
        // Attempt to help with some flakiness that we've seen: b/387521512.
        GcFinalization.awaitFullGc();
    
        assertEquals(0, finalizerRan.getCount());
        assertThat(ref.get()).isNull();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractIterator.java

        READY,
    
        /** We haven't yet computed or have already returned the element. */
        NOT_READY,
    
        /** We have reached the end of the data and are finished. */
        DONE,
    
        /** We've suffered an exception and are kaput. */
        FAILED,
      }
    
      private @Nullable T next;
    
      /**
       * Returns the next element. <b>Note:</b> the implementation must call {@link #endOfData()} when
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
        assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1));
    
        // Now we've gone too far
        assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30));
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
      public void testResizeTable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
        assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1));
    
        // Now we've gone too far
        assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30));
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
      public void testResizeTable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractIterator.java

        READY,
    
        /** We haven't yet computed or have already returned the element. */
        NOT_READY,
    
        /** We have reached the end of the data and are finished. */
        DONE,
    
        /** We've suffered an exception and are kaput. */
        FAILED,
      }
    
      private @Nullable T next;
    
      /**
       * Returns the next element. <b>Note:</b> the implementation must call {@link #endOfData()} when
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. okhttp-tls/README.md

    This handshake is successful because each party has prearranged to trust the root certificate that
    signs the other party's chain.
    
    Well-Known Certificate Authorities
    ----------------------------------
    
    In these examples we've prearranged which root certificates to trust. But for regular HTTPS on the
    Internet this set of trusted root certificates is usually provided by default by the host platform.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Range.java

         * https://stackoverflow.com/a/35754308/28465
         *
         * In that explanation's notation, our `overlap` check would be `x1 < y2 && y1 < x2`. We've
         * flipped one part of the check so that we're using "less than" in both cases (rather than a
         * mix of "less than" and "greater than"). We've also switched to "strictly less than" rather
         * than "less than or equal to" because of *handwave* the difference between "endpoints of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
  8. android/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)
  9. docs/contribute/concurrency.md

    ### Threads
    
    #### Application's calling thread
    
    The application-layer must block on writing I/O. We can't return from a write until we've pushed its bytes onto the socket. Otherwise, if the write fails we are unable to deliver its IOException to the application. We would have told the application layer that the write succeeded, but it didn't!
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

            same |= ~(hash1 ^ hash2);
            // test whether the hash values have different output bits
            diff |= hash1 ^ hash2;
    
            count++;
            // check whether we've exceeded the probabilistically
            // likely number of trials to have proven no funneling
            if (count > maxCount) {
              Assert.fail(
                  "input bit("
                      + i
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
Back to Top