- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 118 for nanoseconds (0.13 seconds)
-
docs/en/docs/async.md
server). If you are coming from another async framework that does not work in the way described above and you are used to defining trivial compute-only *path operation functions* with plain `def` for a tiny performance gain (about 100 nanoseconds), please note that in **FastAPI** the effect would be quite opposite. In these cases, it's better to use `async def` unless your *path operation functions* use code that performs blocking <abbr title="Input/Output: disk reading or writing, network...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:56:21 GMT 2025 - 24K bytes - Click Count (0) -
cmd/bucket-lifecycle.go
return } op := auditTierOp{ Tier: tier, OutputBytes: bytes, } if err == nil { since := time.Since(startTime) op.TimeToResponseNS = since.Nanoseconds() globalTierMetrics.Observe(tier, since) globalTierMetrics.logSuccess(tier) } else { op.Error = err.Error() globalTierMetrics.logFailure(tier) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 33.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
bodySource.readByte() }.also { expected -> // Timed out as expected. val elapsedNanos = System.nanoTime() - startNanos val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos) assertThat(elapsedMillis).isLessThan(500) } } } /** https://github.com/square/okhttp/issues/442 */ @Test fun tlsTimeoutsNotRetried() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 147.4K bytes - Click Count (0) -
cmd/admin-handlers.go
return } ctx = lkctx.Context() defer nsLock.Unlock(lkctx) timeEnd := time.Now() atomic.SwapInt64(&globalLastClientPerfExtraTime, timeEnd.Sub(timeStart).Nanoseconds()) ctx, cancel := context.WithTimeout(ctx, madmin.MaxClientPerfTimeout) defer cancel() totalRx := int64(0) connectTime := time.Now() for {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val connection1 = getResponse(newRequest("/")) val inputStream = connection1.body.byteStream() inputStream.close() val elapsedNanos = System.nanoTime() - startNanos val elapsedMillis = TimeUnit.NANOSECONDS.toMillis(elapsedNanos) // If we're working correctly, this should be greater than 100ms, but less than double that. // Previously we had a bug where we would download the entire response body as long as no
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.13.md
- Upgrade Stackdriver Logging Agent addon image to 0.6-1.6.0-1 to use Fluentd v1.2. This provides nanoseconds timestamp granularity for logs. ([#70954](https://github.com/kubernetes/kubernetes/pull/70954), [@qingling128](https://github.com/qingling128))
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Thu May 05 13:44:43 GMT 2022 - 273.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
this.flags = SMBUtil.readInt4(buffer, bufferIndex + 4); // Flags (4 bytes) return 8; } /** * Get the timeout value in 100-nanosecond intervals (raw wire format) * @return the timeout in 100-nanosecond intervals */ public long getTimeout100Ns() { return timeout100Ns; } /** * Get the timeout value converted to milliseconds
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
return timeoutMs; } /** * Get the timeout value in 100-nanosecond intervals as required by MS-SMB2 * @return the timeout in 100-nanosecond intervals */ public long getTimeoutFor100Ns() { if (timeoutMs == 0) { return 0L; // Persistent handles use 0 } // Convert milliseconds to 100-nanosecond intervals // 1 ms = 10,000 * 100ns intervalsCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
long lastAccess = 1600000100000L; long lastWrite = 1600000200000L; long change = 1600000300000L; int attributes = 0x1234; // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601) long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; writeLong(buffer, 0, (create + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
internal/amztime/iso8601_time.go
const ( iso8601TimeFormat = "2006-01-02T15:04:05.000Z" // Reply date format with millisecond precision. iso8601TimeFormatLong = "2006-01-02T15:04:05.000000Z" // Reply date format with nanosecond precision. ) // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec. // // This function is needed to avoid a Go's float64 precision bug, where Go avoids
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 16 23:38:33 GMT 2023 - 1.9K bytes - Click Count (0)