Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 484 for sleeps (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/transaction_test.go

    	db, err := OpenTestConnection(&gorm.Config{DefaultTransactionTimeout: 2 * time.Second})
    	if err != nil {
    		t.Fatalf("failed to connect database, got error %v", err)
    	}
    
    	tx := db.Begin()
    	time.Sleep(3 * time.Second)
    	if err = tx.Find(&User{}).Error; err == nil {
    		t.Errorf("should return error when transaction timeout, got error %v", err)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

        }
    
        private Map<String, Lifecycle> lookupLifecycles() {
            // TODO: Remove the following code when maven-compat is gone
            // This code is here to ensure maven-compat's EmptyLifecycleExecutor keeps on working.
            if (lookup == null) {
                return customLifecycles != null ? customLifecycles : new HashMap<>();
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val request1ReceivedAt = System.currentTimeMillis()
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
    
        // Hit that stored response. It's different, but Vary says it doesn't matter.
        Thread.sleep(10) // Make sure the timestamps are unique.
        val cacheHit =
          executeSynchronously(
            "/",
            "Accept-Language",
            "en-US",
            "Accept-Charset",
            "UTF-8",
          )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  4. cmd/bucket-replication.go

    			<-ctx.Done()
    			return
    		}
    		duration := max(time.Duration(r.Float64()*float64(time.Minute)),
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			time.Second)
    		time.Sleep(duration)
    	}
    }
    
    // Loads bucket replication resync statuses into memory.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  5. internal/hash/checksum.go

    	case "CRC32":
    		return ChecksumCRC32
    	case "CRC32C":
    		return ChecksumCRC32C
    	case "SHA1":
    		return ChecksumSHA1
    	case "SHA256":
    		return ChecksumSHA256
    	case "CRC64NVME":
    		// AWS seems to ignore full value, and just assume it.
    		return ChecksumCRC64NVME
    	case "":
    		return ChecksumNone
    	}
    	return ChecksumInvalid
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

          this.path = checkNotNull(path);
          this.options = options.clone();
          this.followLinks = followLinks(this.options);
          // TODO(cgdecker): validate the provided options... for example, just WRITE seems wrong
        }
    
        private static boolean followLinks(OpenOption[] options) {
          for (OpenOption option : options) {
            if (option == NOFOLLOW_LINKS) {
              return false;
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/custom-response.md

    Так как этому небольшому примеру не нужны операторы `await`, мы добавляем `await anyio.sleep(0)`, чтобы дать циклу событий возможность обработать отмену.
    
    Это ещё более важно для больших или бесконечных потоков.
    
    ///
    
    /// tip | Совет
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  8. docs/uk/docs/advanced/custom-response.md

    Оскільки цьому невеликому прикладу не потрібні жодні оператори `await`, ми додаємо `await anyio.sleep(0)`, щоб надати циклу подій шанс обробити скасування.
    
    Це ще важливіше для великих або нескінченних потоків.
    
    ///
    
    /// tip | Порада
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 17K bytes
    - Click Count (0)
  9. docs/en/docs/history-design-future.md

    # History, Design and Future { #history-design-and-future }
    
    Some time ago, [a **FastAPI** user asked](https://github.com/fastapi/fastapi/issues/3#issuecomment-454956920):
    
    > What’s the history of this project? It seems to have come from nowhere to awesome in a few weeks [...]
    
    Here's a little bit of that history.
    
    ## Alternatives { #alternatives }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. docs/en/docs/_llm-test.md

    /// note
    
    The LLM will probably translate this wrong. Interesting is only if it keeps the fixed translation when retranslating.
    
    ///
    
    ////
    
    //// tab | Info
    
    The prompt designer may choose if they want to convert neutral quotes to typographic quotes. It is okay to leave them as is.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top