- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 611 for ftime (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/http/server.go
func (srv *Server) UseIdleTimeout(d time.Duration) *Server { srv.IdleTimeout = d return srv } // UseReadTimeout configure connection request read timeout. func (srv *Server) UseReadTimeout(d time.Duration) *Server { srv.ReadTimeout = d return srv } // UseReadHeaderTimeout configure read header timeout func (srv *Server) UseReadHeaderTimeout(d time.Duration) *Server { srv.ReadHeaderTimeout = d
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.5K bytes - Click Count (0) -
internal/grid/grid.go
// No need to read more... return b, nil } } } // getDeadline will truncate the deadline so it is at least 1ms and at most MaxDeadline. func getDeadline(d time.Duration) time.Duration { if d < time.Millisecond { return 0 } if d > MaxDeadline { return MaxDeadline } return d } type writerWrapper struct { ch chan<- []byte ctx context.Context }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
cmd/bucket-stats.go
for k, v := range avg { // Convert nanoseconds to milliseconds ret[sizeTagToString(k)] = uint64(v.avg() / time.Millisecond) } return ret } // Update replication upload latency with a new value func (rl *ReplicationLatency) update(size int64, duration time.Duration) { rl.UploadHistogram.Add(size, duration) } // ReplicationLastMinute has last minute replication countersCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.5K bytes - Click Count (0) -
cmd/admin-heal-ops.go
// bucket, and object on which heal seq. was initiated bucket, object string // Report healing progress reportProgress bool // time at which heal sequence was started startTime time.Time // time at which heal sequence has ended endTime time.Time // Heal client info clientToken, clientAddress string // was this heal sequence force started? forceStarted bool
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
plan1.tcpConnectDelayNanos = 10.ms // Connect at time = 260 ms. plan1.tlsConnectDelayNanos = 10.ms // Connect at time = 270 ms. plan1.tlsConnectThrowable = IOException("boom!") val plan2 = plan1.createConnectTlsNextPlan() plan2.tcpConnectDelayNanos = 270.ms // Connect at time = 540 ms. val plan3 = plan0.createRetry() plan3.tcpConnectDelayNanos = 10.ms // Connect at time = 530 ms.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 20.9K bytes - Click Count (0) -
docs/en/docs/tutorial/middleware.md
For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response: {* ../../docs_src/middleware/tutorial001_py39.py hl[10,12:13] *} /// tip Here we use <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> instead of `time.time()` because it can be more precise for these use cases. 🤓Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
logger/sql.go
convertParams = func(v interface{}, idx int) { switch v := v.(type) { case bool: vars[idx] = strconv.FormatBool(v) case time.Time: if v.IsZero() { vars[idx] = escaper + tmFmtZero + escaper } else { vars[idx] = escaper + v.Format(tmFmtWithMS) + escaper } case *time.Time: if v != nil { if v.IsZero() { vars[idx] = escaper + tmFmtZero + escaper } else {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
var e: Throwable? = uhe while (e != null) { println(e) e = e.cause } } } println() } time = System.currentTimeMillis() - time println("Time: ${time.toDouble() / 1000} seconds\n") } fun main() { Security.insertProviderAt(OpenSSLProvider(), 1) var bootstrapClient = OkHttpClient()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.2K bytes - Click Count (0) -
internal/event/target/kafka.go
config.Producer.CompressionLevel = args.Producer.CompressionLevel } config.Net.ReadTimeout = (5 * time.Second) config.Net.DialTimeout = (5 * time.Second) config.Net.WriteTimeout = (5 * time.Second) config.Metadata.Retry.Max = 1 config.Metadata.Retry.Backoff = (1 * time.Second) config.Metadata.RefreshFrequency = (15 * time.Minute) target.config = config brokers := []string{} for _, broker := range args.Brokers {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 13.6K bytes - Click Count (0) -
internal/grid/msg.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jul 25 21:07:21 GMT 2024 - 7.6K bytes - Click Count (0)