Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 450 for olur (0.07 seconds)

  1. guava/src/com/google/common/base/IgnoreJRERequirement.java

    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE, FIELD})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 02 18:21:28 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

    /** Benchmarks for {@link ExecutionList}. */
    @VmOptions({"-Xms8g", "-Xmx8g"})
    @NullUnmarked
    public class ExecutionListBenchmark {
      private static final int NUM_THREADS = 10; // make a param?
    
      // simple interface to wrap our two implementations.
      interface ExecutionListWrapper {
        void add(Runnable runnable, Executor executor);
    
        void execute();
    
        /** Returns the underlying implementation, useful for the Footprint benchmark. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        fakeTicker.advance(500, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isNull();
      }
    
      @SuppressWarnings("ContainsEntryAfterGetInteger") // we are testing our implementation of Map.get
      @Test
      @J2ktIncompatible
      public void mapMethods() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
        ConcurrentMap<Integer, Integer> asMap = cache.asMap();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/IgnoreJRERequirement.java

    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE, FIELD})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 02 18:21:28 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.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 CollectionStreamTester<E> extends AbstractCollectionTester<E> {
      /*
       * We're not really testing the implementation of Stream, only that we're getting a Stream
       * that corresponds to the expected elements.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/IgnoreJRERequirement.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE, FIELD})
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 02 18:21:28 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/reflect/Types.java

       * {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal to custom TypeVariable
       * implementations. As a result, we need to make sure our TypeVariable implementation respects
       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
       * implementation unless some of its bounds have changed in resolution. This avoids creating
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.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 ListReplaceAllTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        service.runSecondBarrier.await();
        assertThrows(CancellationException.class, () -> future.get());
        // An execution exception holds a runtime exception (from throwables.propagate) that holds our
        // original exception.
        assertEquals(service.runException, service.failureCause());
        assertEquals(Service.State.FAILED, service.state());
      }
    
      public void testFailOnExceptionFromStartUp() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        service.runSecondBarrier.await();
        assertThrows(CancellationException.class, () -> future.get());
        // An execution exception holds a runtime exception (from throwables.propagate) that holds our
        // original exception.
        assertEquals(service.runException, service.failureCause());
        assertEquals(Service.State.FAILED, service.state());
      }
    
      public void testFailOnExceptionFromStartUp() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top