Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 602 for Block (0.14 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      fun delayBeforeTrailersHttp1() {
        delayBeforeTrailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun delayBeforeTrailersHttp2() {
        trailers(Protocol.HTTP_2)
      }
    
      /** Confirm the client will block if necessary to consume trailers. */
      private fun delayBeforeTrailers(protocol: Protocol) {
        enableProtocol(protocol)
    
        server.enqueue(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                  if (System.nanoTime() - t0 > timeout) {
                    thrown.set(
                        new TimeoutException(
                            "timed out waiting for other threads to block"
                                + " synchronizing on supplier"));
                    break;
                  }
                  Thread.yield();
                }
                count.getAndIncrement();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtStatus.java

     * of requested operations. The codes follow the Windows NT status code format.
     */
    public interface NtStatus {
    
        /*
         * Don't bother to edit this. Everything within the interface
         * block is automatically generated from the ntstatus package.
         */
    
        /** The operation completed successfully */
        int NT_STATUS_SUCCESS = 0x00000000;
        /** The request is pending */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          }
    
        @JvmName("-addInterceptor") // Prefix with '-' to prevent ambiguous overloads from Java.
        inline fun addInterceptor(crossinline block: (chain: Interceptor.Chain) -> Response) =
          addInterceptor(Interceptor { chain -> block(chain) })
    
        /**
         * Returns a modifiable list of interceptors that observe a single network request and response.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

         * returned.
         *
         * If upstream would be selected but another thread is already reading upstream this will
         * block until that read completes. It is possible to time out while waiting for that.
         */
        @Throws(IOException::class)
        override fun read(
          sink: Buffer,
          byteCount: Long,
        ): Long {
          check(fileOperator != null)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

            streamId = 0,
            length = 0,
            type = TYPE_SETTINGS,
            flags = FLAG_ACK,
          )
          sink.flush()
        }
      }
    
      /**
       * HTTP/2 only. Send a push promise header block.
       *
       * A push promise contains all the headers that pertain to a server-initiated request, and a
       * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent as
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    }
    
    // sets globalObjectAPI to `nil`.
    func resetGlobalObjectAPI() {
    	globalObjLayerMutex.Lock()
    	globalObjectAPI = nil
    	globalObjLayerMutex.Unlock()
    }
    
    // reset the value of the Global server config.
    // set it to `nil`.
    func resetGlobalConfig() {
    	// hold the mutex lock before a new config is assigned.
    	globalServerConfigMu.Lock()
    	// Save the loaded config globally.
    	globalServerConfig = nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            } finally {
                if (task != null) {
                    task.cancel();
                }
                if (p != null && p.isAlive()) {
                    logger.warn("Process {} is still alive in finally block. Forcing destruction.", p);
                    if (task == null) {
                        task = new ProcessDestroyer(p, ist, commandDestroyTimeout);
                    }
                    if (!task.isExecuted()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtStatus.java

     * of requested operations. The codes follow the Windows NT status code format.
     */
    public interface NtStatus {
    
        /* Don't bother to edit this. Everthing within the interface
         * block is automatically generated from the ntstatus package.
         */
    
        /** The operation completed successfully */
        int NT_STATUS_SUCCESS = 0x00000000;
        /** The requested operation was unsuccessful */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                when(mockTree.areSignaturesActive()).thenReturn(false);
                when(mockConfig.getReceiveBufferSize()).thenReturn(0x200000); // large to allow big block size
                when(mockTree.getReceiveBufferSize()).thenReturn(0x200000);
                when(mockTree.getMaximumBufferSize()).thenReturn(0x200000);
    
                // Make TYPE_FILESYSTEM path, not named pipe
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top