Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 724 for sleeps (0.12 seconds)

  1. cmd/signature-v4-utils_test.go

    	}
    
    	_, err = globalIAMSys.PolicyDBSet(ctx, ucreds.AccessKey, "consoleAdmin", regUser, false)
    	if err != nil {
    		t.Fatalf("unable to attach policy to credential, %s", err)
    	}
    
    	time.Sleep(4 * time.Second)
    
    	policies, err := globalIAMSys.PolicyDBGet(ucreds.AccessKey)
    	if err != nil {
    		t.Fatalf("unable to get policy to credential, %s", err)
    	}
    
    	if len(policies) == 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        MockReference(FinalizableReferenceQueue frq) {
          super(new Object(), frq);
        }
    
        @Override
        public void finalizeReferent() {
          finalizeReferentCalled = true;
        }
      }
    
      /**
       * Keeps a weak reference to the underlying reference queue. When this reference is cleared, we
       * know that the background thread has stopped and released its strong reference.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 27 21:20:19 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  3. docs/ru/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    {* ../../docs_src/pydantic_v1_in_v2/tutorial004_an_py310.py hl[4,18] *}
    
    ### Мигрируйте по шагам { #migrate-in-steps }
    
    /// tip | Совет
    
    Сначала попробуйте `bump-pydantic`: если тесты проходят и всё работает, вы справились одной командой. ✨
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  4. internal/kms/context.go

    func (c Context) MarshalText() ([]byte, error) {
    	if len(c) == 0 {
    		return []byte{'{', '}'}, nil
    	}
    
    	// Pre-allocate a buffer - 128 bytes is an arbitrary
    	// heuristic value that seems like a good starting size.
    	b := bytes.NewBuffer(make([]byte, 0, 128))
    	if len(c) == 1 {
    		for k, v := range c {
    			b.WriteString(`{"`)
    			escapeStringJSON(b, k)
    			b.WriteString(`":"`)
    			escapeStringJSON(b, v)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // Service b startup takes at least 353 millis, but starting the timer is delayed by at least
        // 150 milliseconds. so in a perfect world the timing would be 353-150=203ms, but since either
        // of our sleep calls can be arbitrarily delayed we should just assert that there is a time
        // recorded.
        assertThat(startupTimes.get(b)).isNotNull();
      }
    
      public void testServiceStartStop() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  6. docs/metrics/prometheus/README.md

    ## Prerequisites
    
    To get started with MinIO, refer [MinIO QuickStart Document](https://docs.min.io/community/minio-object-store/operations/deployments/baremetal-deploy-minio-on-redhat-linux.html).
    Follow below steps to get started with MinIO monitoring using Prometheus.
    
    ### 1. Download Prometheus
    
    [Download the latest release](https://prometheus.io/download) of Prometheus for your platform, then extract it
    
    ```sh
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. .github/workflows/update-rbe.yml

      workflow_dispatch:
    
    permissions:
      contents: read
    
    jobs:
      rbe:
        name: Update RBE Configs
        runs-on: ubuntu-latest
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        steps:
        - name: Checkout code
          uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
        - name: Update the RBE Configs
          run: |
            function map() {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 7.2K bytes
    - Click Count (1)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

         * both say in their comments that they're not really sure what the right approach is. We go
         * with Chrome's behavior (which also experimentally seems to match what IE does), but if you
         * actually want to have a good chance of things working, please avoid double-quotes, newlines,
         * percent signs, and the like in your field names.
         */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

            long deadline = System.currentTimeMillis() + 5000;  // 5 second timeout
            
            while (!rdmaConnection.canSend() && System.currentTimeMillis() < deadline) {
                try {
                    Thread.sleep(10);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                    throw new IOException("Interrupted waiting for send credit", e);
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/custom-response.md

    /// note | 技術詳細
    
    `async` タスクは `await` に到達したときにのみキャンセルできます。`await` がない場合、ジェネレータ(`yield` を持つ関数)は適切にキャンセルできず、キャンセル要求後も実行が続く可能性があります。
    
    この小さな例では `await` が不要なため、イベントループにキャンセルを処理する機会を与えるために `await anyio.sleep(0)` を追加しています。
    
    これは大きなストリームや無限ストリームではさらに重要になります。
    
    ///
    
    /// tip | 豆知識
    
    `StreamingResponse` を直接返す代わりに、[データをストリームする](./stream-data.md) スタイルに従うことをおすすめします。こちらのほうがはるかに便利で、裏側でキャンセル処理も行ってくれます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 13.5K bytes
    - Click Count (0)
Back to Top