Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 256 for impossible (0.05 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

     *
     * @author David Richter
     */
    @NullUnmarked
    public class IteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      // use concrete classes to remove any possible polymorphic overhead?
      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Predicate.java

     * predicate::test}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
     * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 15:22:00 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

    import com.google.common.collect.Iterables;
    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests of basic {@link LoadingCache} operations with all possible combinations of key & value
     * strengths.
     *
     * @author mike nonemacher
     */
    @NullUnmarked
    public class CacheReferencesTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Parameter.java

      private final int position;
      private final TypeToken<?> type;
      private final ImmutableList<Annotation> annotations;
    
      /**
       * An {@code AnnotatedType} instance, or {@code null} under Android VMs (possible only when using
       * the Android flavor of Guava). The field is declared with a type of {@code Object} to avoid
       * compatibility problems on Android VMs. The corresponding accessor method, however, can have the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Closer.java

      public static Closer create() {
        return new Closer(SUPPRESSING_SUPPRESSOR);
      }
    
      @VisibleForTesting final Suppressor suppressor;
    
      // only need space for 2 elements in most cases, so try to use the smallest array possible
      private final Deque<Closeable> stack = new ArrayDeque<>(4);
      private @Nullable Throwable thrown;
    
      @VisibleForTesting
      Closer(Suppressor suppressor) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        // Inputs are /b/c/<every possible 10-character string of characters "a./">
        // Expected outputs are from realpath -s.
        doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt");
      }
    
      public void testExtensiveNoPrefix() throws IOException {
        /*
         * Inputs are <every possible 10-character string of characters "a./">
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        } else {
          result += current
          current = if (i.hasNext()) i.next() else break
        }
      }
    
      return result
    }
    
    /** Returns a copy of [mappings] with adjacent ranges merged wherever possible. */
    internal fun mergeAdjacentRanges(mappings: List<Mapping>): List<Mapping> {
      var index = 0
      val result = mutableListOf<Mapping>()
    
      while (index < mappings.size) {
        val mapping = mappings[index]
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

       *
       *  * `example.com:80 at 1.2.3.4:8888`
       *  * `example.com:443 via proxy [::1]:8888`
       *
       * This omits duplicate information when possible.
       */
      override fun toString(): String =
        buildString {
          val addressHostname = address.url.host // Already in canonical form.
          val socketHostname = socketAddress.address?.hostAddress?.toCanonicalHost()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link RunnableFuture} that also implements the {@link ListenableFuture} interface.
     *
     * <p>This should be used in preference to {@link ListenableFutureTask} when possible for
     * performance reasons.
     */
    @GwtCompatible
    class TrustedListenableFutureTask<V extends @Nullable Object> extends FluentFuture.TrustedFuture<V>
        implements RunnableFuture<V> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMaker.java

     * iterators never throw {@link ConcurrentModificationException}.
     *
     * <p>If {@link #weakKeys} or {@link #weakValues} are requested, it is possible for a key or value
     * present in the map to be reclaimed by the garbage collector. Entries with reclaimed keys or
     * values may be removed from the map on each map modification or on occasional map accesses; such
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top