- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 592 for Time (0.01 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java
*/ Long getCreateTime(); /** * Sets the creation time of the access result. * * @param createTime the creation time */ void setCreateTime(Long createTime); /** * Returns the execution time of the access. * * @return the execution time */ Integer getExecutionTime(); /** * Sets the execution time of the access.
Registered: 2025-05-25 03:50 - Last Modified: 2025-03-15 06:52 - 5.1K bytes - Viewed (0) -
internal/cachevalue/cache_test.go
func(ctx context.Context) (time.Time, error) { return time.Now(), nil }, ) t1, _ := cache.Get() t2, _ := cache.Get() if !t1.Equal(t2) { t.Fatalf("expected time to be equal: %s != %s", t1, t2) } time.Sleep(3 * time.Second) t3, _ := cache.Get() if t1.Equal(t3) { t.Fatalf("expected time to be un-equal: %s == %s", t1, t3) } } func BenchmarkCache(b *testing.B) {
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-09 14:28 - 2.7K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
// A zero value for t means I/O operations will not time out. func (c *DeadlineConn) SetDeadline(t time.Time) error { c.mu.Lock() defer c.mu.Unlock() c.readSetAt = time.Time{} c.writeSetAt = time.Time{} c.abortReads.Store(!t.IsZero() && time.Until(t) < 0) c.abortWrites.Store(!t.IsZero() && time.Until(t) < 0) c.infReads.Store(t.IsZero()) c.infWrites.Store(t.IsZero())
Registered: 2025-05-25 19:28 - Last Modified: 2024-12-02 13:21 - 5.1K bytes - Viewed (0) -
cmd/dynamic-timeouts_test.go
panic(to) } } }() } wg.Wait() } func TestDynamicTimeoutHitMinimum(t *testing.T) { const minimum = 30 * time.Second timeout := newDynamicTimeout(time.Minute, minimum) initial := timeout.Timeout() const successTimeout = 20 * time.Second for l := 0; l < 100; l++ { for i := 0; i < dynamicTimeoutLogSize; i++ {
Registered: 2025-05-25 19:28 - Last Modified: 2025-02-18 16:25 - 5.4K bytes - Viewed (0) -
cmd/os-instrumented.go
} // time an os action. func (o *osMetrics) time(s osMetric) func() { startTime := time.Now() return func() { duration := time.Since(startTime) atomic.AddUint64(&o.operations[s], 1) o.latency[s].add(duration) } } // incTime will increment time on metric s with a specific duration. func (o *osMetrics) incTime(s osMetric, d time.Duration) { atomic.AddUint64(&o.operations[s], 1)
Registered: 2025-05-25 19:28 - Last Modified: 2024-02-15 01:09 - 6.3K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs.go
layoutSecond, layoutNanosecond, } func parseSQLTimestamp(s string) (t time.Time, err error) { for _, f := range tformats { t, err = time.Parse(f, s) if err == nil { break } } return } // FormatSQLTimestamp - returns the a string representation of the // timestamp as used in S3 Select func FormatSQLTimestamp(t time.Time) string { _, zoneOffset := t.Zone() hasZone := zoneOffset != 0
Registered: 2025-05-25 19:28 - Last Modified: 2025-02-18 16:25 - 4.8K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics_test.go
return nil, nil } func (client mockPromAPI) LabelNames( ctx context.Context, matches []string, startTime time.Time, endTime time.Time, options ...promv1.Option, ) ([]string, promv1.Warnings, error) { return nil, nil, nil } func (client mockPromAPI) LabelValues(context.Context, string, []string, time.Time, time.Time, ...promv1.Option, ) (prometheus_model.LabelValues, promv1.Warnings, error) { return nil, nil, nil }
Registered: 2025-05-28 22:53 - Last Modified: 2024-08-16 01:35 - 8K bytes - Viewed (0) -
internal/bucket/lifecycle/evaluator_test.go
var objs []ObjectOpts curModTime := time.Date(2025, time.February, 10, 23, 0, 0, 0, time.UTC) for i := range 5 { obj := ObjectOpts{ Name: "obj", VersionID: uuid.New().String(), ModTime: curModTime.Add(time.Duration(-i) * time.Second), NumVersions: 5, } if i == 0 { obj.IsLatest = true } else { obj.SuccessorModTime = curModTime.Add(time.Duration(-i+1) * time.Second) }
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-08 15:41 - 5K bytes - Viewed (0) -
internal/s3select/parquet/reader.go
var duration time.Duration // Only support UTC normalized timestamps. if ts.IsAdjustedToUTC { switch { case ts.Unit.IsSetNANOS(): duration = time.Duration(val) * time.Nanosecond case ts.Unit.IsSetMILLIS(): duration = time.Duration(val) * time.Millisecond case ts.Unit.IsSetMICROS(): duration = time.Duration(val) * time.Microsecond default:
Registered: 2025-05-25 19:28 - Last Modified: 2025-02-18 16:25 - 4.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
*/ package org.apache.maven.api; import java.time.Clock; import java.time.Duration; import java.time.Instant; import java.time.ZoneId; import java.time.ZoneOffset; /** * A Clock implementation that combines monotonic timing with wall-clock time. * <p> * This class provides precise time measurements using {@link System#nanoTime()} * while maintaining wall-clock time information in UTC. The wall-clock time
Registered: 2025-05-24 08:56 - Last Modified: 2025-01-15 06:28 - 5.6K bytes - Viewed (0)