- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 940 for know (0.21 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
val deltaMillis = 1000.0 val durationMillis = TimeUnit.MINUTES.toMillis((60 * 24).toLong()) assertThat(certificate.notBefore.time.toDouble()) .isCloseTo(now.toDouble(), deltaMillis) assertThat(certificate.notAfter.time.toDouble()) .isCloseTo(now.toDouble() + durationMillis, deltaMillis) } @Test fun customInterval() { // 5 seconds starting on 1970-01-01. val heldCertificate =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 22.6K bytes - Viewed (0) -
internal/lru/lru.go
func (c *LRU[K, V]) Add(key K, value V) (evicted bool) { c.mu.Lock() defer c.mu.Unlock() now := time.Now() // Check for existing item if ent, ok := c.items[key]; ok { c.evictList.MoveToFront(ent) c.removeFromBucket(ent) // remove the entry from its current bucket as expiresAt is renewed ent.Value = value ent.ExpiresAt = now.Add(c.ttl) c.addToBucket(ent) return false } // Add new item
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
/** The server's time when the cached response was served, if known. */ private var servedDate: Date? = null private var servedDateString: String? = null /** The last modified date of the cached response, if known. */ private var lastModified: Date? = null private var lastModifiedString: String? = null /** * The expiration date of the cached response, if known. If both this field and the max age are
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
docs/em/docs/features.md
**FastAPI** ๐ค ๐ ๐: ### โ๏ธ ๐ ๐ ๐ฉ * <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank"><strong>๐</strong></a> ๐ ๏ธ ๐, โ ๐ <abbr title="also known as: endpoints, routes">โก</abbr> <abbr title="also known as HTTP methods, as POST, GET, PUT, DELETE">๐ ๏ธ</abbr>, ๐ข, ๐ช ๐จ, ๐โโ, โ๏ธ. * ๐ง ๐ ๐ท ๐งพ โฎ๏ธ <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>๐ป ๐</strong></a> (๐ โซ๏ธ ๐งข ๐ ๐ป ๐).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8K bytes - Viewed (0) -
cmd/data-scanner_test.go
t.Fatalf("Failed to marshal versioning config: %v", err) } bucket := "bucket" now := time.Now() meta := BucketMetadata{ Name: bucket, Created: now, LifecycleConfigXML: []byte(lcXML), VersioningConfigXML: vcfgXML, VersioningConfigUpdatedAt: now, LifecycleConfigUpdatedAt: now, lifecycleConfig: lc, versioningConfig: &vcfg, }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
utils/utils_test.go
} func TestAssertEqual(t *testing.T) { now := time.Now() assertEqualTests := []struct { name string src, dst interface{} out bool }{ {"error equal", errors.New("1"), errors.New("1"), true}, {"error not equal", errors.New("1"), errors.New("2"), false}, {"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
ondisk: false, }, { // restore completed but expired restoreStatus: completedRestoreObj(time.Now().Add(-time.Hour)), ondisk: false, }, { // restore completed restoreStatus: completedRestoreObj(time.Now().Add(time.Hour)), ondisk: true, }, } for i, tc := range testCases {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
docs/kms/IAM.md
- Root credentials can now be changed easily. Before, a two-step process was required to change the cluster root credentials since they were used to en/decrypt the IAM data. So, both - the old and new credentials - had to be present at the same time during a rotation and the old credentials had to be removed once the rotation completed. This process is now gone. The root credentials can now be changed easily.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
/// ## Other Asynchronous Function Calls { #other-asynchronous-function-calls } As the testing function is now asynchronous, you can now also call (and `await`) other `async` functions apart from sending requests to your FastAPI application in your tests, exactly as you would call them anywhere else in your code. /// tip
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/en/docs/release-notes.md
And `fastapi-slim` would not include those standard dependencies. Now `fastapi` doesn't include those standard dependencies unless you install with `pip install "fastapi[standard]"`. Before, you would install `pip install fastapi`, now you should include the `standard` optional dependencies (unless you want to exclude one of those): `pip install "fastapi[standard]"`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 12:48:45 UTC 2025 - 544.1K bytes - Viewed (0)