- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 709 for How (0.01 seconds)
-
guava/src/com/google/common/base/Stopwatch.java
* <p>Use this class instead of direct calls to {@link System#nanoTime} for two reasons: * * <ul> * <li>The raw {@code long} values returned by {@code nanoTime} are meaningless and unsafe to use * in any other way than how {@code Stopwatch} uses them. * <li>An alternative source of nanosecond ticks can be substituted, for example for testing or * performance reasons, without affecting most of your code. * </ul> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// being resumed. To avoid a flake in this scenario, calculate how long that thread actually // waited and assert based on that time. Empirically, the race where the thread ends up waiting // for 5.5 seconds happens about 2% of the time. boolean longWait = NANOSECONDS.toSeconds(thread.timeSpentBlocked) >= 5; // Count how long it actually took to return; we'll accept any number between the expected delayCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
Best practice is to set conventions in a plugin (2). This keeps the underlying object "dumb", so it can be reused in multiple contexts and doesn't contain any special information about how conventions are calculated or what they could be. In the wild, we've seen some objects set conventions in the object's constructor (3), but this can lead to unexpected assumptions or coupling between plugins.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
* not work. (Under Android in particular, we really should check the API Level instead of * probing for methods....) But it's hard to imagine how reachabilityFence in particular could * exist but throw, so we propagate anything that's thrown, presumably an unchecked Exception * or Error. */ throwIfUnchecked(e.getCause());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* Builder} constructor. */ public static <K, V> Builder<K, V> builder() { return new Builder<>(); } /** * Returns a new builder with a hint for how many distinct keys are expected to be added. The * generated builder is equivalent to that returned by {@link #builder}, but may perform better if * {@code expectedKeys} is a good estimate. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 27.1K bytes - Click Count (0) -
LICENSE
incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]"Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue May 08 21:35:34 GMT 2018 - 11.1K bytes - Click Count (0) -
LICENSE
incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]"Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Jan 11 04:30:09 GMT 2021 - 11.1K bytes - Click Count (0) -
update-credits.sh
incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]"Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 11 05:08:38 GMT 2023 - 11.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
// use a KDC of our choice. // A potential workaround would be to try to get the server FQDN by reverse lookup, but this might have // security implications and also is not how Microsoft does it. throw new SmbUnsupportedOperationException("Cannot use netbios/short names with kerberos authentication, have " + host); } try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13.2K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/first-steps.md
想像你有一個部署在某個網域的後端 API。 還有一個前端在另一個網域,或同一網域的不同路徑(或是行動應用程式)。 你希望前端能用使用者名稱與密碼向後端進行身分驗證。 我們可以用 OAuth2 搭配 FastAPI 來實作。 但不必通讀整份冗長規格只為了找出你需要的幾個重點。 就用 FastAPI 提供的工具處理安全性。 ## 看起來如何 { #how-it-looks } 先直接跑範例看效果,再回頭理解其原理。 ## 建立 `main.py` { #create-main-py } 將範例複製到檔案 `main.py`: {* ../../docs_src/security/tutorial001_an_py310.py *} ## 執行 { #run-it } /// infoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 7.2K bytes - Click Count (0)