Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for fwrite (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      private var maxFrameSize: Int = INITIAL_MAX_FRAME_SIZE
      private var closed: Boolean = false
      val hpackWriter: Hpack.Writer = Hpack.Writer(out = hpackBuffer)
    
      @Throws(IOException::class)
      fun connectionPreface() {
        this.withLock {
          if (closed) throw IOException("closed")
          if (!client) return // Nothing to write; servers don't send connection headers!
          if (logger.isLoggable(FINE)) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        client.webSocket!!.close(1000, "Hello")
        server.processNextFrame()
        // Not closed until close reply is received.
        assertThat(client.closed).isFalse()
    
        // Manually write an invalid masked close frame.
        server.sink.write("888760b420bb635c68de0cd84f".decodeHex()).emit()
        client.processNextFrame() // Detects error, disconnects immediately since close already sent.
        client.webSocket!!.finishReader()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  3. docs/en/docs/async.md

    But if you want to use `async` / `await` without FastAPI, you can do it as well.
    
    ### Write your own async code
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

                bytesRead = source.read(sink, byteCount)
              } catch (e: IOException) {
                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
                  cacheRequest.abort() // Failed to write a complete cache response.
                }
                throw e
              }
    
              if (bytesRead == -1L) {
                if (!cacheRequestClosed) {
                  cacheRequestClosed = true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        taskFaker.runTasks()
      }
    
      private fun connectHttp2(
        peer: MockHttp2Peer,
        realConnection: RealConnection,
        maxConcurrentStreams: Int,
      ): Http2Connection {
        // Write the mocking script.
        val settings1 = Settings()
        settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/security/simple-oauth2.md

    사양에는 클라이언트가 다른 폼 필드 "`scope`"를 보낼 수 있다고 나와 있습니다.
    
    폼 필드 이름은 `scope`(단수형)이지만 실제로는 공백으로 구분된 "범위"가 있는 긴 문자열입니다.
    
    각 "범위"는 공백이 없는 문자열입니다.
    
    일반적으로 특정 보안 권한을 선언하는 데 사용됩니다. 다음을 봅시다:
    
    * `users:read` 또는 `users:write`는 일반적인 예시입니다.
    * `instagram_basic`은 페이스북/인스타그램에서 사용합니다.
    * `https://www.googleapis.com/auth/drive`는 Google에서 사용합니다.
    
    !!! 정보
        OAuth2에서 "범위"는 필요한 특정 권한을 선언하는 문자열입니다.
    
        `:`과 같은 다른 문자가 있는지 또는 URL인지는 중요하지 않습니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 22:37:23 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/simple-oauth2.md

    Jeder „Scope“ ist nur ein String (ohne Leerzeichen).
    
    Diese werden normalerweise verwendet, um bestimmte Sicherheitsberechtigungen zu deklarieren, zum Beispiel:
    
    * `users:read` oder `users:write` sind gängige Beispiele.
    * `instagram_basic` wird von Facebook / Instagram verwendet.
    * `https://www.googleapis.com/auth/drive` wird von Google verwendet.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:08:44 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/simple-oauth2.md

    Each "scope" is just a string (without spaces).
    
    They are normally used to declare specific security permissions, for example:
    
    * `users:read` or `users:write` are common examples.
    * `instagram_basic` is used by Facebook / Instagram.
    * `https://www.googleapis.com/auth/drive` is used by Google.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // (whether or not they contain an Ingress section) are assumed to affect Ingress.
      // If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ].
      // Likewise, if you want to write a policy that specifies that no egress is allowed,
      // you must specify a policyTypes value that include "Egress" (since such a policy would not include
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        webServer.dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
              return upgradeResponse(request)
                .body(Buffer().write("81".decodeHex())) // Truncated frame.
                .removeHeader("Content-Length")
                .socketPolicy(KeepOpen)
                .build()
            }
          }
        val webSocket: WebSocket = newWebSocket()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
Back to top