Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 348 for unnecessary (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       * file. If they were instead private, then we wouldn't be able to access them reflectively from
       * within VarHandleAtomicHelper and AtomicReferenceFieldUpdaterAtomicHelper.
       *
       * Package-private "shouldn't" be necessary: The *AtomicHelper classes and AbstractFutureState
       * "should" be nestmates, so a call to MethodHandles.lookup or
       * AtomicReferenceFieldUpdater.newUpdater inside *AtomicHelper "should" have access to
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

      public void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException {
        state.awaitHealthy(timeout, unit);
      }
    
      /**
       * Initiates service {@linkplain Service#stopAsync shutdown} if necessary on all the services
       * being managed.
       *
       * @return this
       */
      @CanIgnoreReturnValue
      public ServiceManager stopAsync() {
        for (Service service : services) {
          service.stopAsync();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/Multimaps.java

       * and {@code get()} will return a general {@code Collection} as opposed to a {@code List} or a
       * {@code Set}.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
       * multimap to be a view, but it means that the function will be applied many times for bulk
       * operations like {@link Multimap#containsValue} and {@code Multimap.toString()}. For this to
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        try {
          reader!!.processNextFrame()
          receivedCloseCode == -1
        } catch (e: Exception) {
          failWebSocket(e = e)
          false
        }
    
      /**
       * Clean up and publish necessary close events when the reader is done. Invoked only by the reader
       * thread.
       */
      fun finishReader() {
        val code: Int
        val reason: String?
        val sendOnClosed: Boolean
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

        }
        body.awaitSuccess()
      }
    
      /**
       * OkHttp currently doesn't implement failing the request body stream independently of failing the
       * corresponding response body stream. This is necessary if we want servers to be able to stop
       * inbound data and send an early 400 before the request body completes.
       *
       * This test sends a slow request that is canceled by the server. It expects the response to still
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Queues.java

          int numElements,
          long timeout,
          TimeUnit unit)
          throws InterruptedException {
        Preconditions.checkNotNull(buffer);
        /*
         * This code performs one System.nanoTime() more than necessary, and in return, the time to
         * execute Queue#drainTo is not added *on top* of waiting for the timeout (which could make
         * the timeout arbitrarily inaccurate, given a queue that is slow to drain).
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

        this.setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask));
        this.setKey(entryIndex, key);
        this.setValue(entryIndex, value);
      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Streams.java

        @ParametricNullness
        R apply(@ParametricNullness T from, long index);
      }
    
      /*
       * @IgnoreJRERequirement should be redundant with the one on Streams itself, but it's necessary as
       * of Animal Sniffer 1.24. Maybe Animal Sniffer processes this nested class before it processes
       * Streams and thus hasn't had a chance to see Streams's annotation?
       */
      @IgnoreJRERequirement
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

              delta = peerInitialWindowSize - previousPeerSettings.initialWindowSize.toLong()
              streamsToNotify =
                when {
                  delta == 0L || streams.isEmpty() -> null // No adjustment is necessary.
                  else -> streams.values.toTypedArray()
                }
    
              peerSettings = newPeerSettings
    
              settingsListenerQueue.execute("$connectionName onSettings") {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     * OkHttpClient eagerClient = client.newBuilder()
     *     .readTimeout(500, TimeUnit.MILLISECONDS)
     *     .build();
     * Response response = eagerClient.newCall(request).execute();
     * ```
     *
     * ## Shutdown Isn't Necessary
     *
     * The threads and connections that are held will be released automatically if they remain idle. But
     * if you are writing a application that needs to aggressively release unused resources you may do
     * so.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
Back to top