Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,963 for tims (0.05 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfieldsupdater.go

    			managed.Fields()[manager] = fieldpath.NewVersionedSet(vs.Set().Union(previous.Set()), vs.APIVersion(), vs.Applied())
    		} else {
    			managed.Fields()[manager] = vs
    		}
    
    		managed.Times()[manager] = &metav1.Time{Time: time.Now().UTC()}
    	}
    
    	return object, managed, nil
    }
    
    // Apply implements Manager.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. pkg/cache/cache.go

    // inaccuracies.
    type Stats struct {
    	// Writes captures the number of times state in the cache was added or updated.
    	Writes uint64
    
    	// Hits captures the number of times a Get operation succeeded to find an entry in the cache.
    	Hits uint64
    
    	// Misses captures the number of times a Get operation failed to find an entry in the cache.
    	Misses uint64
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/capmanagers.go

    		}
    	}
    	if len(updaters) <= f.maxUpdateManagers {
    		return managed, nil
    	}
    
    	// If we have more than the maximum, sort the update entries by time, oldest first.
    	sort.Slice(updaters, func(i, j int) bool {
    		iTime, jTime, iSeconds, jSeconds := managed.Times()[updaters[i]], managed.Times()[updaters[j]], int64(0), int64(0)
    		if iTime != nil {
    			iSeconds = iTime.Unix()
    		}
    		if jTime != nil {
    			jSeconds = jTime.Unix()
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. 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: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/gomaxprocs.go

    	}
    	// Run GOMAXPROCS a bunch of times, up and down.
    	for i := 1; i <= 16; i *= 2 {
    		runtime.GOMAXPROCS(i)
    		time.Sleep(1 * time.Millisecond)
    	}
    	for i := 16; i >= 1; i /= 2 {
    		runtime.GOMAXPROCS(i)
    		time.Sleep(1 * time.Millisecond)
    	}
    	// Stop tracing.
    	trace.Stop()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 967 bytes
    - Viewed (0)
  6. src/math/big/calibrate_test.go

    }
    
    // measureKaratsuba returns the time to run a Karatsuba-relevant benchmark
    // given Karatsuba threshold th.
    func measureKaratsuba(th int) time.Duration {
    	th, karatsubaThreshold = karatsubaThreshold, th
    	res := testing.Benchmark(karatsubaLoad)
    	karatsubaThreshold = th
    	return time.Duration(res.NsPerOp())
    }
    
    func computeKaratsubaThresholds() {
    	fmt.Printf("Multiplication times for varying Karatsuba thresholds\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/timeprof.go

    import (
    	"fmt"
    	"os"
    	"runtime/pprof"
    	"time"
    )
    
    func init() {
    	register("TimeProf", TimeProf)
    }
    
    func TimeProf() {
    	f, err := os.CreateTemp("", "timeprof")
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(2)
    	}
    
    	if err := pprof.StartCPUProfile(f); err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(2)
    	}
    
    	t0 := time.Now()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 813 bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/IntegrationTestTimeout.java

         * method times out.
         *
         * @return the duration after which the execution of the annotated feature or
         * fixture method times out
         */
        int value();
    
        /**
         * Returns the duration's time unit.
         *
         * @return the duration's time unit
         */
        TimeUnit unit() default TimeUnit.SECONDS;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitioncondition.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the LastTransitionTime field is set to the value of the last call.
    func (b *CustomResourceDefinitionConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *CustomResourceDefinitionConditionApplyConfiguration {
    	b.LastTransitionTime = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalercondition.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the LastTransitionTime field is set to the value of the last call.
    func (b *HorizontalPodAutoscalerConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *HorizontalPodAutoscalerConditionApplyConfiguration {
    	b.LastTransitionTime = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4K bytes
    - Viewed (0)
Back to top