Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,524 for tims (0.05 sec)

  1. cmd/erasure-healing-common_test.go

    // time occurrence from a list of time.
    func TestCommonTime(t *testing.T) {
    	// List of test cases for common modTime.
    	testCases := []struct {
    		times  []time.Time
    		time   time.Time
    		quorum int
    	}{
    		{
    			// 1. Tests common times when slice has varying time elements.
    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/testing/benchmark_test.go

    	r := testing.BenchmarkResult{
    		N: 100,
    		T: 240 * time.Nanosecond,
    	}
    	if r.NsPerOp() != 2 {
    		t.Errorf("NsPerOp: expected 2, actual %v", r.NsPerOp())
    	}
    	if want, got := "     100\t         2.400 ns/op", r.String(); want != got {
    		t.Errorf("String: expected %q, actual %q", want, got)
    	}
    
    	// Test sub-1 ns/op (issue #31005)
    	r.T = 40 * time.Nanosecond
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pilot/pkg/features/telemetry.go

    	MetricRotationInterval = env.Register("METRIC_ROTATION_INTERVAL", 0*time.Second,
    		"Metric scope rotation interval, set to 0 to disable the metric scope rotation").Get()
    	MetricGracefulDeletionInterval = env.Register("METRIC_GRACEFUL_DELETION_INTERVAL", 5*time.Minute,
    		"Metric expiry graceful deletion interval. No-op if METRIC_ROTATION_INTERVAL is disabled.").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:36:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/optimizing-performance/inspect.adoc

    This reflects Gradle’s initialization time, which consists mostly of:
    
    - JVM initialization and class loading
    - Downloading the Gradle distribution if you’re using the wrapper
    - Starting the daemon if a suitable one isn’t already running
    - Executing Gradle initialization scripts
    
    Even when a build execution has a long startup time, subsequent runs
    usually see a dramatic drop off in startup time.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. pkg/kubelet/util/manager/watch_based_manager.go

    	}
    	return true
    }
    
    func (i *objectCacheItem) setLastAccessTime(time time.Time) {
    	i.lock.Lock()
    	defer i.lock.Unlock()
    	i.lastAccessTime = time
    }
    
    func (i *objectCacheItem) setImmutable() {
    	i.lock.Lock()
    	defer i.lock.Unlock()
    	i.immutable = true
    }
    
    func (i *objectCacheItem) stopIfIdle(now time.Time, maxIdleTime time.Duration) bool {
    	i.lock.Lock()
    	defer i.lock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go

    		}(i)
    	}
    
    	// Let all the established watches soak request loops soak
    	time.Sleep(5 * time.Second)
    
    	// Update CRD and ensure that all watches are gracefully terminated.
    	updateCRD()
    
    	drained := make(chan struct{})
    	go func() {
    		defer close(drained)
    		wg.Wait()
    	}()
    
    	select {
    	case <-drained:
    	case <-time.After(wait.ForeverTestTimeout):
    		t.Fatal("timed out waiting for watchers to be terminated")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:59:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/cmd/trace/regions.go

    certain special time ranges.
    If a goroutine has spent no time in any special time ranges, it is excluded from
    the table.
    For example, how much time it spent helping the GC. Note that these times do
    overlap with the times from the first table.
    In general the goroutine may not be executing in these special time ranges.
    For example, it may have blocked while trying to help the GC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    			compilationResult.UsesOldSelf = true
    			break
    		}
    	}
    
    	// TODO: Ideally we could configure the per expression limit at validation time and set it to the remaining overall budget, but we would either need a way to pass in a limit at evaluation time or move program creation to validation time
    	prog, err := ruleEnv.Program(ast,
    		cel.CostLimit(perCallLimit),
    		cel.CostTracking(estimator),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/cmd/trace/jsontrace.go

    	*traceviewer.Emitter
    	startTime trace.Time
    	endTime   trace.Time
    }
    
    // elapsed returns the elapsed time between the trace time and the start time
    // of the trace.
    func (ctx *traceContext) elapsed(now trace.Time) time.Duration {
    	return now.Sub(ctx.startTime)
    }
    
    type genOpts struct {
    	mode      traceviewer.Mode
    	startTime time.Duration
    	endTime   time.Duration
    
    	// Used if mode != 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_performance.adoc

    parallel sections to utilize multiple agents. With parallel pipelines you can measure the wall-clock time it takes for a set of changes to go from having been pushed to version control to being built, verified and deployed. The build cache's effect in this case can be measured in the reduction of the time developers have to wait for feedback from CI.
    
    You can also measure the cumulative time your build agents spent building a changeset, which will give you a sense of the amount of work the...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top