Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 991 for held (0.05 seconds)

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

     * invoke methods, they invoke methods on the {@code ForwardingBlockingQueue}.
     *
     * @author Raimundo Mirisola
     * @param <E> the type of elements held in this collection
     * @since 4.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class ForwardingBlockingQueue<E> extends ForwardingQueue<E>
        implements BlockingQueue<E> {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

      private val listRead = AtomicBoolean(false)
    
      /** Used for concurrent threads reading the list for the first time. */
      private val readCompleteLatch = CountDownLatch(1)
    
      // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings
      // that will likely never be used. Each rule is separated by '\n'. Please see the
      // PublicSuffixListGenerator class for how these lists are generated.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      override fun clone(): Call = RealCall(client, originalRequest, forWebSocket)
    
      override fun request(): Request = originalRequest
    
      /**
       * Immediately closes the socket connection if it's currently held. Use this to interrupt an
       * in-flight request from any thread. It's the caller's responsibility to close the request body
       * and response body streams; otherwise resources may be leaked.
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  4. cmd/lock-rest-server.go

    	// Initialize a new ticker with 1 minute between each ticks.
    	lkTimer := time.NewTimer(lockMaintenanceInterval)
    	// Stop the timer upon returning.
    	defer lkTimer.Stop()
    
    	for {
    		// Verifies every minute for locks held more than 2 minutes.
    		select {
    		case <-ctx.Done():
    			return
    		case <-lkTimer.C:
    			globalLockServer.expireOldLocks(lockValidityDuration)
    
    			// Reset the timer for next cycle.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 31 19:54:34 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

          else -> InsecureExtendedTrustManager(trustManager as X509ExtendedTrustManager, insecureHosts)
        }
      }
    
      /**
       * Returns a key manager for the held certificate and its chain. Returns an empty key manager if
       * `heldCertificate` is null.
       */
      @JvmStatic
      fun newKeyManager(
        keyStoreType: String?,
        heldCertificate: HeldCertificate?,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (1)
  6. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

     *
     * Follows the one directory per package name segment convention.
     * Keeps JAR files open for fast lookup, must be closed.
     *
     * Always include the current JVM platform loader for which no JAR file can be held open.
     */
    class ClassBytesRepository(
        platformClassLoader: ClassLoader,
        classPathFiles: List<File>,
        classPathDependencies: List<File> = emptyList(),
    ) : Closeable {
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/util/concurrent/AbstractService.java

       * The current state of the service. This should be written with the lock held but can be read
       * without it because it is an immutable object in a volatile field. This is desirable so that
       * methods like {@link #state}, {@link #failureCause} and notably {@link #toString} can be run
       * without grabbing the lock.
       *
       * <p>To update this field correctly the lock must be held to guarantee that the state is
       * consistent.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/advanced-dependencies.md

    In this case, the database session would be held until the response is finished being sent, but if you don't use it, then it wouldn't be necessary to hold it.
    
    Here's how it could look like:
    
    {* ../../docs_src/dependencies/tutorial013_an_py310.py *}
    
    The exit code, the automatic closing of the `Session` in:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

       * @throws IllegalArgumentException if [code] is invalid or [reason] is too long.
       */
      fun close(
        code: Int,
        reason: String?,
      ): Boolean
    
      /**
       * Immediately and violently release resources held by this web socket, discarding any enqueued
       * messages. This does nothing if the web socket has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        @MethodSource("npePublicGetters")
        void getters_withoutTree_throwNPE(String name, org.junit.jupiter.api.function.Executable call) {
            // Each call is invalid without a held tree and should throw NPE
            assertThrows(NullPointerException.class, call);
        }
    
        static java.util.stream.Stream<Arguments> wrapExceptions() {
            CIFSContext ctx = mock(CIFSContext.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top