- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 940 for Cstime (0.05 sec)
-
internal/logger/console.go
var message string if msg != "" { message = fmt.Sprintf(msg, args...) } else { message = fmt.Sprint(args...) } logJSON, err := json.Marshal(&log.Entry{ Level: FatalKind, Message: message, Time: time.Now().UTC(), Trace: &log.Trace{Message: message, Source: []string{getSource(6)}}, }) if err != nil { panic(err) } fmt.Fprintln(Output, string(logJSON)) ExitFunc(1) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 7.5K bytes - Viewed (0) -
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 6.8K bytes - Viewed (0) -
tests/serializer_test.go
CreatedTime int64 `gorm:"serializer:unixtime;type:datetime"` // store time in db, use int as field type UpdatedTime *int64 `gorm:"serializer:unixtime;type:datetime"` // store time in db, use int as field type CustomSerializerString string `gorm:"serializer:custom"` EncryptedString EncryptedString }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 21 14:09:38 UTC 2023 - 7.6K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.go
t.Fatal(err) } } func TestDefaultExpiryDuration(t *testing.T) { testCases := []struct { reqURL string duration time.Duration expectErr bool }{ { reqURL: "http://127.0.0.1:8443/?Token=xxxxx", duration: time.Duration(60) * time.Minute, }, { reqURL: "http://127.0.0.1:8443/?DurationSeconds=9s", expectErr: true, }, {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.3K bytes - Viewed (0) -
internal/kms/kms.go
Latency map[time.Duration]uint64 `json:"kms_resp_time"` // Latency histogram of all requests } var defaultLatencyBuckets = []time.Duration{ 10 * time.Millisecond, 50 * time.Millisecond, 100 * time.Millisecond, 250 * time.Millisecond, 500 * time.Millisecond, 1000 * time.Millisecond, // 1s 1500 * time.Millisecond, 3000 * time.Millisecond, 5000 * time.Millisecond,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/dsync/drwmutex.go
lockRetryMinInterval = 250 * time.Millisecond if lri := env.Get("_MINIO_LOCK_RETRY_INTERVAL", ""); lri != "" { v, err := strconv.Atoi(lri) if err != nil { panic(err) } lockRetryMinInterval = time.Duration(v) * time.Millisecond } lockRetryBackOff = backoffWait( lockRetryMinInterval, 100*time.Millisecond, 5*time.Second, ) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 15:49:49 UTC 2024 - 20.4K bytes - Viewed (0) -
internal/bucket/bandwidth/measurement.go
bytesSinceLastWindow uint64 // Total bytes since last window was processed startTime time.Time // Start time for window expMovingAvg float64 // Previously calculate sliding window } // newBucketMeasurement creates a new instance of the measurement with the initial start time. func newBucketMeasurement(initTime time.Time) *bucketMeasurement { return &bucketMeasurement{ startTime: initTime, } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 03 20:41:51 UTC 2023 - 2.9K bytes - Viewed (0) -
cmd/leak-detect_test.go
deadline := UTCNow().Add(leakDetectDeadline * time.Second) for { // get sack snapshot of relevant go routines. leaked := initialSnapShot.CompareCurrentSnapshot() // current stack snapshot matches the initial one, no leaks, return. if len(leaked) == 0 { return } // wait a test again will deadline. if UTCNow().Before(deadline) { time.Sleep(leakDetectPauseTimeMs * time.Millisecond) continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0) -
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 526 bytes - Viewed (0) -
internal/grid/grid_test.go
errFatal(err) clientCanceled := make(chan time.Duration, 1) go func() { started := time.Now() for resp := range st.responses { err = resp.Err } clientCanceled <- time.Since(started) }() serverEnd := <-serverCanceled clientEnd := <-clientCanceled t.Log("server cancel time:", serverEnd) t.Log("client cancel time:", clientEnd) if !errors.Is(err, context.DeadlineExceeded) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0)