Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 8,625 for tims (0.1 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinition.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the CreationTimestamp field is set to the value of the last call.
    func (b *CustomResourceDefinitionApplyConfiguration) WithCreationTimestamp(value metav1.Time) *CustomResourceDefinitionApplyConfiguration {
    	b.ensureObjectMetaApplyConfigurationExists()
    	b.CreationTimestamp = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go

    )
    
    // nothing will ever be sent down this channel
    var neverExitWatch <-chan time.Time = make(chan time.Time)
    
    // timeoutFactory abstracts watch timeout logic for testing
    type TimeoutFactory interface {
    	TimeoutCh() (<-chan time.Time, func() bool)
    }
    
    // realTimeoutFactory implements timeoutFactory
    type realTimeoutFactory struct {
    	timeout time.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 16:37:25 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. cmd/prepare-storage.go

    		return nil, nil, errInvalidArgument
    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    		verbose bool
    	)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/cmd/trace/goroutines.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
    - 10.9K bytes
    - Viewed (0)
  5. pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor.go

    	}
    	return l.le.Check(l.timeout)
    }
    
    // SetLeaderElection ties a leader election object to a HealthzAdaptor
    func (l *HealthzAdaptor) SetLeaderElection(le *LeaderElector) {
    	l.pointerLock.Lock()
    	defer l.pointerLock.Unlock()
    	l.le = le
    }
    
    // NewLeaderHealthzAdaptor creates a basic healthz adaptor to monitor a leader election.
    // timeout determines the time beyond the lease expiry to be allowed for timeout.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 11 16:58:48 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. src/encoding/asn1/marshal_test.go

    }
    
    type numericStringTest struct {
    	A string `asn1:"numeric"`
    }
    
    type testSET []int
    
    var PST = time.FixedZone("PST", -8*60*60)
    
    type marshalTest struct {
    	in  any
    	out string // hex encoded
    }
    
    func farFuture() time.Time {
    	t, err := time.Parse(time.RFC3339, "2100-04-05T12:01:01Z")
    	if err != nil {
    		panic(err)
    	}
    	return t
    }
    
    var marshalTests = []marshalTest{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 10K bytes
    - Viewed (0)
  7. pkg/queue/delay.go

    // limitations under the License.
    
    package queue
    
    import (
    	"container/heap"
    	"runtime"
    	"sync"
    	"time"
    
    	"istio.io/istio/pkg/log"
    )
    
    type delayTask struct {
    	do      func() error
    	runAt   time.Time
    	retries int
    }
    
    const maxTaskRetry = 3
    
    var _ heap.Interface = &pq{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobtemplatespec.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the CreationTimestamp field is set to the value of the last call.
    func (b *JobTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *JobTemplateSpecApplyConfiguration {
    	b.ensureObjectMetaApplyConfigurationExists()
    	b.CreationTimestamp = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Monitor.java

       * @since 28.0
       */
      public boolean enterWhen(Guard guard, Duration time) throws InterruptedException {
        return enterWhen(guard, toNanosSaturated(time), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Enters this monitor when the guard is satisfied. Blocks at most the given time, including both
       * the time to acquire the lock and the time to wait for the guard to be satisfied, and may be
       * interrupted.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  10. pkg/kubelet/server/metrics/metrics.go

    	})
    }
    
    // SinceInSeconds gets the time since the specified start in seconds.
    func SinceInSeconds(start time.Time) float64 {
    	return time.Since(start).Seconds()
    }
    
    // CollectVolumeStatCalDuration collects the duration in seconds to calculate volume stats.
    func CollectVolumeStatCalDuration(metricSource string, start time.Time) {
    	VolumeStatCalDuration.WithLabelValues(metricSource).Observe(SinceInSeconds(start))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 19 14:33:37 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top