Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for advance (0.2 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          },
          logger = logger,
        )
    
      /** Runs all tasks that are ready. Used by the test thread only. */
      fun runTasks() {
        advanceUntil(nanoTime)
      }
    
      /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */
      fun advanceUntil(newTime: Long) {
        taskRunner.assertThreadDoesntHoldLock()
    
        taskRunner.lock.withLock {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

            override fun contentType(): MediaType? {
              return ******@****.***tType()
            }
    
            override fun contentLength(): Long {
              return -1 // We don't know the compressed length in advance!
            }
    
            @Throws(IOException::class)
            override fun writeTo(sink: BufferedSink) {
              GzipSink(sink).buffer().use(this@gzip::writeTo)
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          detachTimeout(timeout)
    
          state = STATE_CLOSED
        }
      }
    
      /** An HTTP body with a fixed length specified in advance. */
      private inner class FixedLengthSource(private var bytesRemaining: Long) :
        AbstractSource() {
        init {
          if (bytesRemaining == 0L) {
            responseBodyComplete()
          }
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        taskFaker.runNextTask()
        assertThat(log).containsExactly(
          "red:starting@0",
          "blue:starting@0",
        )
        assertThat(taskFaker.executeCallCount).isEqualTo(2)
    
        // Advance time until the tasks complete.
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly(
          "red:starting@0",
          "blue:starting@0",
          "red:finishing@100000",
          "blue:finishing@100000",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        ): Boolean {
            /**
             * Avoid shortening reference to enum companion used in enum entry initialization there is no guarantee that the companion object
             * was initialized in advance.
             * For example, When we shorten the following code:
             *     enum class C(val i: Int) {
             *         ONE(<expr>C.K</expr>)  // shorten C.K to K
             *         ;
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  6. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial005.py!}
    ```
    
    Si vous ouvrez la documentation automatique de l'API, votre extension apparaîtra au bas du *chemin* spécifique.
    
    <img src="/img/tutorial/path-operation-advanced-configuration/image01.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/advanced-dependencies.md

    Nils Lindemann <******@****.***> 1711829929 +0100
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:18:49 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/index.md

    # Advanced User Guide
    
    ## Additional Features
    
    The main [Tutorial - User Guide](../tutorial/index.md){.internal-link target=_blank} should be enough to give you a tour through all the main features of **FastAPI**.
    
    In the next sections you will see other options, configurations, and additional features.
    
    !!! tip
        The next sections are **not necessarily "advanced"**.
    
        And it's possible that for your use case, the solution is in one of them.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/path-operation-advanced-configuration.md

    # Path Operation Advanced Configuration
    
    ## OpenAPI operationId
    
    !!! warning
        If you are not an "expert" in OpenAPI, you probably don't need this.
    
    You can set the OpenAPI `operationId` to be used in your *path operation* with the parameter `operation_id`.
    
    You would have to make sure that it is unique for each operation.
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/path-operation-advanced-configuration.md

    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial005.py!}
    ```
    
    Wenn Sie die automatische API-Dokumentation öffnen, wird Ihre Erweiterung am Ende der spezifischen *Pfadoperation* angezeigt.
    
    <img src="/img/tutorial/path-operation-advanced-configuration/image01.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:23 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top