Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 472 for sleeps (0.06 sec)

  1. docs/en/docs/tutorial/dependencies/index.md

    * Share database connections.
    * Enforce security, authentication, role requirements, etc.
    * And many other things...
    
    All these, while minimizing code repetition.
    
    ## First Steps { #first-steps }
    
    Let's see a very simple example. It will be so simple that it is not very useful, for now.
    
    But this way we can focus on how the **Dependency Injection** system works.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

        }
      }
    
      @Test
      fun fullCallTimeoutDoesNotApplyOnceConnected() {
        enableProtocol(Protocol.HTTP_2)
        val body =
          MockSocketHandler()
            .sendResponse("response A\n")
            .sleep(750, TimeUnit.MILLISECONDS)
            .sendResponse("response B\n")
            .receiveRequest("request C\n")
            .exhaustResponse()
            .exhaustRequest()
        server.enqueue(
          MockResponse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Internal.java

      @SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"})
      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. cmd/storage-rest_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for {
    		_, err := restClient.DiskInfo(t.Context(), DiskInfoOptions{})
    		if err == nil || errors.Is(err, errUnformattedDisk) {
    			break
    		}
    		time.Sleep(time.Duration(rand.Float64() * float64(100*time.Millisecond)))
    	}
    
    	return restClient
    }
    
    func TestStorageRESTClientDiskInfo(t *testing.T) {
    	restClient := newStorageRESTHTTPServerClient(t)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/server-workers.md

    Let's check back those deployment concepts from before:
    
    * Security - HTTPS
    * Running on startup
    * Restarts
    * **Replication (the number of processes running)**
    * Memory
    * Previous steps before starting
    
    Up to this point, with all the tutorials in the docs, you have probably been running a **server program**, for example, using the `fastapi` command, that runs Uvicorn, running a **single process**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. .github/workflows/replication.yaml

    permissions:
      contents: read
    
    jobs:
      replication-test:
        name: Advanced Tests with Go ${{ matrix.go-version }}
        runs-on: ubuntu-latest
    
        strategy:
          matrix:
            go-version: [1.24.x]
    
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: ${{ matrix.go-version }}
              check-latest: true
          - name: Test Decom
            run: |
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. cmd/iam.go

    				logger.Info("Waiting for AuthN to be initialized.. (retrying in %s)", retryInterval)
    			}
    			if !authZInit {
    				logger.Info("Waiting for AuthZ to be initialized.. (retrying in %s)", retryInterval)
    			}
    			time.Sleep(retryInterval)
    			continue
    		}
    
    		break
    	}
    
    	// Initialize IAM store
    	sys.Lock()
    
    	sys.initStore(objAPI, etcdClient)
    
    	// Initialize RoleARNs
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            mockBhv.setTestData(testData);
    
            relatedQueryHelper.update();
            // Give a moment for async execution
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                // ignore
            }
    
            results = relatedQueryHelper.getRelatedQueries("test");
            assertEquals("updated", results[0]);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SecureKeyManagerTest.java

            long initialAge = keyManager.getKeyAge(sessionId);
            assertTrue(initialAge >= 0 && initialAge < 100, "Initial age should be small");
    
            Thread.sleep(200);
    
            long laterAge = keyManager.getKeyAge(sessionId);
            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
        @Test
        public void testKeyAgeNonExistent() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

              sb.append(DELIMITER_STRING);
            }
            sb.append(comp);
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated
       * so far being empty. As a result, it does not have the above-mentioned bug.
       */
      @Benchmark
      int booleanIfFirst(int reps) {
        int dummy = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top