Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for _clearTimeout (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        if (closed) throw IOException("closed")
    
        // Disable the timeout to read the first byte of a new frame.
        val b0: Int
        val timeoutBefore = source.timeout().timeoutNanos()
        source.timeout().clearTimeout()
        try {
          b0 = source.readByte() and 0xff
        } finally {
          source.timeout().timeout(timeoutBefore, TimeUnit.NANOSECONDS)
        }
    
        opcode = b0 and B0_MASK_OPCODE
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       * connections.
       */
      private fun detachTimeout(timeout: ForwardingTimeout) {
        val oldDelegate = timeout.delegate
        timeout.setDelegate(Timeout.NONE)
        oldDelegate.clearDeadline()
        oldDelegate.clearTimeout()
      }
    
      /**
       * The response body from a CONNECT should be empty, but if it is not then we should consume it
       * before proceeding.
       */
      fun skipConnectBody(response: Response) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. lib/wasm/wasm_exec.js

    					},
    
    					// func clearTimeoutEvent(id int32)
    					"runtime.clearTimeoutEvent": (sp) => {
    						sp >>>= 0;
    						const id = this.mem.getInt32(sp + 8, true);
    						clearTimeout(this._scheduledTimeouts.get(id));
    						this._scheduledTimeouts.delete(id);
    					},
    
    					// func getRandomData(r []byte)
    					"runtime.getRandomData": (sp) => {
    						sp >>>= 0;
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top