Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 451 for olur (0.04 seconds)

  1. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      private static final char LEAST = Character.MIN_VALUE;
      private static final char GREATEST = Character.MAX_VALUE;
    
      private static final char[] VALUES = {LEAST, 'a', '\u00e0', '\udcaa', GREATEST};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (char value : VALUES) {
          assertThat(Chars.hashCode(value)).isEqualTo(Character.hashCode(value));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapComputeIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_supportedAbsent() {
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapReplaceEntryTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresent() {
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        @interface NotTesterAnnotation {
          ExampleFeature[] value() default {};
    
          ExampleFeature[] absent() default {};
        }
      }
    
      public void testTestFeatureEnums() {
        // Haha! Let's test our own test rig!
        assertGoodFeatureEnum(ExampleFeature.class);
      }
    
      public void testAddImpliedFeatures_returnsSameSetInstance() {
        Set<Feature<?>> features = newHashSet(FOO);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. CONTRIBUTING.md

    skip generating Javadoc. For example:
    
    ```shell
    ./mvnw clean install -Dtest=FinalizableReferenceQueueTest -DfailIfNoTests=false -Dmaven.javadoc.skip
    ```
    
    (Our benchmarks, however, are
    [not set up to run easily externally][benchmarks-run].)
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 17:53:05 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *       maxPermits is equal to warmupPeriod.
       *   <li>When _used_, the time it takes, as explained in the introductory class note, is equal to
       *       the integral of our function, between X permits and X-K permits, assuming we want to
       *       spend K saved permits.
       * </ol>
       *
       * <p>In summary, the time it takes to move to the left (spend K permits), is equal to the area of
    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)
  8. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        assertThat(edges).doesNotContain(EndpointPair.ordered(N2, N2)); // edge not present
        assertThat(edges).doesNotContain(EndpointPair.ordered(N3, N4)); // nodes not in graph
      }
    
      // We are testing our implementations of methods on Collection.
      @SuppressWarnings({"CollectionSizeTruth", "CollectionContainsTruth"})
      private static void containsExactlySanityCheck(Collection<?> collection, Object... varargs) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/graph/EndpointPairTest.java

        assertThat(edges).doesNotContain(EndpointPair.ordered(N2, N2)); // edge not present
        assertThat(edges).doesNotContain(EndpointPair.ordered(N3, N4)); // nodes not in graph
      }
    
      // We are testing our implementations of methods on Collection.
      @SuppressWarnings({"CollectionSizeTruth", "CollectionContainsTruth"})
      private static void containsExactlySanityCheck(Collection<?> collection, Object... varargs) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      private static long random() {
        return randomSource.nextLong();
      }
    
      // A random value that cannot be 0 and that is unsigned-less-than or equal
      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
      // Using remainder here does not give us a uniform distribution but it should
      // not have a big impact on the measurement.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top