Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 276 for impossible (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Utilities necessary for working with libraries that supply plain {@link Future} instances. Note
     * that, whenever possible, it is strongly preferred to modify those libraries to return {@code
     * ListenableFuture} directly.
     *
     * <p>For interoperability between {@code ListenableFuture} and <b>{@code CompletableFuture}</b>,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

      }
    
      @Test
      public void edgeValueOrDefault_undirected_mismatch() {
        graph = ValueGraphBuilder.undirected().build();
        graph.putEdgeValue(1, 2, "A");
        // Check that edgeValueOrDefault() throws on each possible ordering of an ordered EndpointPair
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
                () -> graph.edgeValueOrDefault(EndpointPair.ordered(1, 2), "default"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        testClient?.let {
          val connectionPool = it.connectionPool
    
          connectionPool.evictAll()
          if (connectionPool.connectionCount() > 0) {
            // Minimise test flakiness due to possible race conditions with connections closing.
            // Some number of tests will report here, but not fail due to this delay.
            println("Delaying to avoid flakes")
            Thread.sleep(500L)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Platform.java

        return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass());
      }
    
      /**
       * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in
       * GWT). This is sometimes acceptable, when only server-side code could generate enough volume
       * that reclamation becomes important.
       */
      @J2ktIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      private static <E> E[] newEArray(int capacity) {
        return (E[]) new Object[capacity];
      }
    
      /**
       * Inserts the specified element at the tail of this queue if it is possible to do so immediately
       * without exceeding the queue's capacity, returning {@code true} upon success and throwing an
       * {@code IllegalStateException} if this queue is full.
       *
       * @param e the element to add
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * reported using the properties dialog of the Windows Explorer program.
         *
         * For Win95/98/Me this is actually the last write time. It is currently
         * not possible to retrieve the create time from files on these systems.
         *
         * @return The number of milliseconds since the 00:00:00 GMT, January 1,
         *         1970 as a <code>long</code> value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/CompactHashing.java

       * Returns {@code table[index]}, where {@code table} is actually a {@code byte[]}, {@code
       * short[]}, or {@code int[]}. When it is a {@code byte[]} or {@code short[]}, the returned value
       * is unsigned, so the range of possible returned values is 0–255 or 0–65535, respectively.
       */
      static int tableGet(Object table, int index) {
        if (table instanceof byte[]) {
          return ((byte[]) table)[index] & BYTE_MASK; // unsigned read
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

      /**
       * Returns true if this body expects at most one call to [writeTo] and can be transmitted
       * at most once. This is typically used when writing the request body is destructive and it is not
       * possible to recreate the request body after it has been sent.
       *
       * This method returns false unless it is overridden by a subclass.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

        return this;
      }
    
      /**
       * Returns a new thread factory using the options supplied during the building process. After
       * building, it is still possible to change the options used to build the ThreadFactory and/or
       * build again. State is not shared amongst built instances.
       *
       * <p><b>Java 21+ users:</b> use {@link Thread.Builder#factory()} instead.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

       * @throws UnsupportedOperationException if it's not possible to make an empty instance of the
       *     class under test.
       */
      protected abstract Map<K, V> makeEmptyMap() throws UnsupportedOperationException;
    
      /**
       * Creates a new, non-empty instance of the class under test.
       *
       * @return a new, non-empty map instance.
       * @throws UnsupportedOperationException if it's not possible to make a non-empty instance of the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
Back to top