Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,963 for tims (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake_event_clock_test.go

    	const batchSize = 100
    	times := make(chan time.Time, batchSize+1)
    	try := func(abs, strict bool, d time.Duration) {
    		f := func(u time.Time) {
    			realD := ec.Since(now)
    			atomic.AddInt32(&numDone, 1)
    			times <- u
    			if realD < d || strict && strictable && realD > d+fuzz {
    				t.Errorf("Asked for %v, got %v", d, realD)
    			}
    		}
    		if abs {
    			ec.EventAfterTime(f, now.Add(d))
    		} else {
    			ec.EventAfterDuration(f, d)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 07 04:07:31 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/eventclock/real_event_clock_test.go

    import (
    	"math/rand"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    func TestRealEventClock(t *testing.T) {
    	ec := Real{}
    	var numDone int32
    	now := ec.Now()
    	const batchSize = 100
    	times := make(chan time.Time, batchSize+1)
    	try := func(abs bool, d time.Duration) {
    		f := func(u time.Time) {
    			realD := ec.Since(now)
    			atomic.AddInt32(&numDone, 1)
    			times <- u
    			if realD < d {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 07 04:07:31 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfields.go

    type ManagedInterface interface {
    	// Fields gets the fieldpath.ManagedFields.
    	Fields() fieldpath.ManagedFields
    
    	// Times gets the timestamps associated with each operation.
    	Times() map[string]*metav1.Time
    }
    
    type managedStruct struct {
    	fields fieldpath.ManagedFields
    	times  map[string]*metav1.Time
    }
    
    var _ ManagedInterface = &managedStruct{}
    
    // Fields implements ManagedInterface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    		filterCompletedAtGot time.Time
    	)
    	handler := http.HandlerFunc(func(_ http.ResponseWriter, req *http.Request) {
    		// we expect the handler to be invoked just once.
    		handlerCallCount++
    	})
    
    	requestFilterEndedAt := time.Now()
    	wrapped := trackCompleted(handler, testingclock.NewFakeClock(requestFilterEndedAt), func(_ context.Context, fr *requestFilterRecord, completedAt time.Time) {
    		actionCallCount++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/atmostevery_test.go

    */
    
    package internal_test
    
    import (
    	"testing"
    	"time"
    
    	"k8s.io/apimachinery/pkg/util/managedfields/internal"
    )
    
    func TestAtMostEvery(t *testing.T) {
    	duration := time.Second
    	delay := 179 * time.Millisecond
    	atMostEvery := internal.NewAtMostEvery(delay)
    	count := 0
    	exit := time.NewTicker(duration)
    	tick := time.NewTicker(2 * time.Millisecond)
    	defer exit.Stop()
    	defer tick.Stop()
    
    	done := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

    
            Guava's main yardstick for evaluating proposed features can be summed up as [utility times
            ubiquity](https://github.com/google/guava/wiki/PhilosophyExplained#utility-times-ubiquity).
    
    
            #### Utility: compare with alternatives
    
    
            There is always *some* alternative to adding a new feature to Guava, even if it's just
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestcondition.go

    	Reason             *string                  `json:"reason,omitempty"`
    	Message            *string                  `json:"message,omitempty"`
    	LastUpdateTime     *metav1.Time             `json:"lastUpdateTime,omitempty"`
    	LastTransitionTime *metav1.Time             `json:"lastTransitionTime,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestcondition.go

    	Reason             *string                       `json:"reason,omitempty"`
    	Message            *string                       `json:"message,omitempty"`
    	LastUpdateTime     *metav1.Time                  `json:"lastUpdateTime,omitempty"`
    	LastTransitionTime *metav1.Time                  `json:"lastTransitionTime,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentcondition.go

    	Type               *v1beta1.DeploymentConditionType `json:"type,omitempty"`
    	Status             *v1.ConditionStatus              `json:"status,omitempty"`
    	LastUpdateTime     *metav1.Time                     `json:"lastUpdateTime,omitempty"`
    	LastTransitionTime *metav1.Time                     `json:"lastTransitionTime,omitempty"`
    	Reason             *string                          `json:"reason,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstateterminated.go

    	Signal      *int32   `json:"signal,omitempty"`
    	Reason      *string  `json:"reason,omitempty"`
    	Message     *string  `json:"message,omitempty"`
    	StartedAt   *v1.Time `json:"startedAt,omitempty"`
    	FinishedAt  *v1.Time `json:"finishedAt,omitempty"`
    	ContainerID *string  `json:"containerID,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top