Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 319 for sleeps (0.04 seconds)

  1. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

      }
    
      fun shutdownOutput() {
        javaNetSocket.shutdownOutput()
      }
    
      /** Sleeps [nanos], throwing if the socket is closed before that period has elapsed. */
      fun sleepWhileOpen(nanos: Long) {
        var ms = nanos / 1_000_000L
        val ns = nanos - (ms * 1_000_000L)
    
        while (ms > 100) {
          Thread.sleep(100)
          if (javaNetSocket.isClosed) throw InterruptedIOException("socket closed")
          ms -= 100L
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package mockwebserver3.internal
    
    import okio.Buffer
    import okio.Sink
    
    /**
     * A sink that sleeps [periodDelayNanos] every [bytesPerPeriod] bytes. Unlike [okio.Throttler],
     * this permits any interval to be used.
     */
    internal class ThrottledSink(
      private val socket: MockWebServerSocket,
      private val delegate: Sink,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. ci/official/utilities/setup_docker.sh

    if [[ "$TFCI_DOCKER_PULL_ENABLE" == 1 ]]; then
      # Simple retry logic for docker-pull errors. Sleeps if a pull fails.
      # Pulling an already-pulled container image will finish instantly, so
      # repeating the command costs nothing.
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 15
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 30
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 60
      docker pull "$TFCI_DOCKER_IMAGE"
    fi 
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Nov 20 17:33:55 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/security/first-steps.md

    # Security - First Steps { #security-first-steps }
    
    Let's imagine that you have your **backend** API in some domain.
    
    And you have a **frontend** in another domain or in a different path of the same domain (or in a mobile application).
    
    And you want to have a way for the frontend to authenticate with the backend, using a **username** and **password**.
    
    We can use **OAuth2** to build that with **FastAPI**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

        private File createScriptTempFile(final int sleep) {
            String extention;
            String content;
            if (File.separator.equals("/")) {
                // Unix
                extention = ".sh";
                content = "#!/bin/bash\nsleep " + sleep + ";cp $1 $2";
            } else {
                // Windows
                extention = ".bat";
                content = "ping localhost -n " + sleep + "\r\ncopy %1 %2";
            }
            File file;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/security/first-steps.md

    # Segurança - Primeiros Passos { #security-first-steps }
    
    Vamos imaginar que você tem a sua API de **backend** em algum domínio.
    
    E você tem um **frontend** em outro domínio ou em um path diferente no mesmo domínio (ou em uma aplicação mobile).
    
    E você quer uma maneira de o frontend autenticar com o backend, usando um **username** e **password**.
    
    Podemos usar **OAuth2** para construir isso com o **FastAPI**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/security/first-steps.md

    # Seguridad - Primeros pasos { #security-first-steps }
    
    Imaginemos que tienes tu API de **backend** en algún dominio.
    
    Y tienes un **frontend** en otro dominio o en un path diferente del mismo dominio (o en una aplicación móvil).
    
    Y quieres tener una forma para que el frontend se autentique con el backend, usando un **username** y **password**.
    
    Podemos usar **OAuth2** para construir eso con **FastAPI**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. .github/workflows/tests.yml

                  echo "Database initialization completed."
                  break
                fi
    
                echo "Waiting for database to be ready... (attempt $((retry_count + 1))/$max_retries)"
                sleep 10
                ((++retry_count))
              done
              exit 0
    
          - name: go mod package cache
            uses: actions/cache@v4
            with:
              path: ~/go/pkg/mod
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/security/first-steps.md

    Sebastián Ramírez <******@****.***> 1731896744 +0100
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7K bytes
    - Click Count (0)
  10. .github/workflows/issue-manager.yml

          - labeled
      workflow_dispatch:
    
    permissions:
      issues: write
      pull-requests: write
    
    jobs:
      issue-manager:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: tiangolo/issue-manager@0.6.0
            with:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 19:36:25 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top