Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 977 for concurrents (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/Locks.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:OptIn(ExperimentalContracts::class)
    
    package okhttp3.internal.connection
    
    import kotlin.concurrent.withLock
    import kotlin.contracts.ExperimentalContracts
    import kotlin.contracts.InvocationKind
    import kotlin.contracts.contract
    import okhttp3.Dispatcher
    import okhttp3.internal.http2.Http2Connection
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicLong;
    import java.util.function.LongBinaryOperator;
    import java.util.function.LongUnaryOperator;
    import javax.annotation.CheckForNull;
    
    /**
     * A map containing {@code long} values that can be atomically updated. While writes to a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // priority level that may be exeucting at a given time.  ACS must
      // be a positive number. The server's concurrency limit (SCL) is
      // divided among the concurrency-controlled priority levels in
      // proportion to their assured concurrency shares. This produces
      // the assured concurrency value (ACV) --- the number of requests
      // that may be executing at a time --- for each such priority
      // level:
      //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import java.io.Serializable;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.atomic.AtomicLong;
    import javax.annotation.CheckForNull;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. docs/features/events.md

        printEvent("callStart");
      }
    
      @Override public void callEnd(Call call) {
        printEvent("callEnd");
      }
    
      ...
    }
    ```
    
    We can use this listener to race a pair of concurrent HTTP requests:
    
    ```java
    Request washingtonPostRequest = new Request.Builder()
        .url("https://www.washingtonpost.com/")
        .build();
    client.newCall(washingtonPostRequest).enqueue(new Callback() {
      ...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

    import java.lang.ref.WeakReference
    import java.net.Socket
    import java.util.concurrent.CopyOnWriteArrayList
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.RejectedExecutionException
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import java.util.concurrent.atomic.AtomicBoolean
    import java.util.concurrent.atomic.AtomicInteger
    import java.util.concurrent.locks.ReentrantLock
    import okhttp3.Call
    import okhttp3.Callback
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.atomic.AtomicInteger;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset that supports concurrent modifications and that provides atomic versions of most
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    import java.time.Duration;
    import java.util.Map;
    import java.util.Random;
    import java.util.Set;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /** Unit tests for CacheBuilder. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top