Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for libraries (0.17 sec)

  1. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

        return this;
      }
    
      /**
       * Advances the ticker value by {@code duration}.
       *
       * @since 33.1.0 (but since 28.0 in the JRE <a
       *     href="https://github.com/google/guava#guava-google-core-libraries-for-java">flavor</a>)
       */
      @GwtIncompatible
      @J2ktIncompatible
      @CanIgnoreReturnValue
      @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertFalse(domain.publicSuffix().isPublicSuffix());
      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
        // See http://code.google.com/p/guava-libraries/issues/detail?id=1176
    
        InternetDomainName domain = InternetDomainName.from("www.essex.sch.uk");
        assertTrue(domain.hasPublicSuffix());
        assertEquals("essex.sch.uk", domain.publicSuffix().toString());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/package-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /**
     * Basic utility libraries and interfaces.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     *
     * <h2>Contents</h2>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 16:48:06 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LegacyComparable.java

    import java.io.Serializable;
    import java.util.Arrays;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A class that implements {@code Comparable} without generics, such as those found in libraries
     * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such
     * types, though their use may still require an explicit type parameter and/or warning suppression.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      }
    
      public void testFinalizeClassHasNoNestedClasses() throws Exception {
        // Ensure that the Finalizer class has no nested classes.
        // See https://code.google.com/p/guava-libraries/issues/detail?id=1505
        assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      }
    
      public void testFinalizeClassHasNoNestedClasses() throws Exception {
        // Ensure that the Finalizer class has no nested classes.
        // See https://code.google.com/p/guava-libraries/issues/detail?id=1505
        assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertFalse(domain.publicSuffix().isPublicSuffix());
      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
        // See http://code.google.com/p/guava-libraries/issues/detail?id=1176
    
        InternetDomainName domain = InternetDomainName.from("www.essex.sch.uk");
        assertTrue(domain.hasPublicSuffix());
        assertEquals("essex.sch.uk", domain.publicSuffix().toString());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int n = 1; n < 1000; n++) {
          for (int m = 0; m < 1000; m++) {
            assertTrue(BloomFilter.optimalNumOfHashFunctions(n, m) > 0);
          }
        }
      }
    
      // https://code.google.com/p/guava-libraries/issues/detail?id=1781
      public void testOptimalNumOfHashFunctionsRounding() {
        assertEquals(7, BloomFilter.optimalNumOfHashFunctions(319, 3072));
      }
    
      /** Tests that we always get a non-negative optimal size. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashCodeTest.java

      }
    
      public void testObjectHashCode() {
        HashCode hashCode42 = HashCode.fromInt(42);
        assertEquals(42, hashCode42.hashCode());
      }
    
      // See https://code.google.com/p/guava-libraries/issues/detail?id=1494
      public void testObjectHashCodeWithSameLowOrderBytes() {
        // These will have the same first 4 bytes (all 0).
        byte[] bytesA = new byte[5];
        byte[] bytesB = new byte[5];
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(I18N, writer2.toString());
        assertEquals(I18N.length(), copied);
      }
    
      /**
       * Test for Guava issue 1061: http://code.google.com/p/guava-libraries/issues/detail?id=1061
       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
Back to top