- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 142 for microsecond (0.17 sec)
-
pkg/kubelet/cm/helpers_linux_test.go
} func TestResourceConfigForPodWithCustomCPUCFSQuotaPeriod(t *testing.T) { defaultQuotaPeriod := uint64(100 * time.Millisecond / time.Microsecond) // in microseconds tunedQuotaPeriod := uint64(5 * time.Millisecond / time.Microsecond) // in microseconds tunedQuota := int64(1 * time.Millisecond / time.Microsecond) featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, pkgfeatures.CPUCFSQuotaPeriod, true)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/msan8.go
go func() { defer func() { c <- true }() C.msanGoLoop() }() for C.msanGoReady() == 0 { time.Sleep(time.Microsecond) } loop: for { select { case <-c: break loop default: C.msanGoSendSignal() time.Sleep(time.Microsecond) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:30:58 UTC 2023 - 2.7K bytes - Viewed (0) -
src/os/timeout_test.go
50 * time.Nanosecond, 100 * time.Nanosecond, 200 * time.Nanosecond, 500 * time.Nanosecond, 750 * time.Nanosecond, 1 * time.Microsecond, 5 * time.Microsecond, 25 * time.Microsecond, 250 * time.Microsecond, 500 * time.Microsecond, 1 * time.Millisecond, 5 * time.Millisecond, 100 * time.Millisecond, 250 * time.Millisecond, 500 * time.Millisecond, 1 * time.Second,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 17.1K bytes - Viewed (0) -
test/fixedbugs/issue17918.go
units = []struct { divisor time.Duration unit rune }{ {1000000, 's'}, {60, 'm'}, {60, 'h'}, {24, 'd'}, {7, 'w'}, } ) func foobar(d time.Duration) string { d /= time.Microsecond unit := 'u' for _, f := range units { if d%f.divisor != 0 { break } d /= f.divisor unit = f.unit } return fmt.Sprintf("%d%c", d, unit)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 16:31:27 UTC 2016 - 619 bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan7.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 708 bytes - Viewed (0) -
src/runtime/proc_test.go
b.Skip("skipping: GOMAXPROCS=1") } wakeDelay := 5 * time.Microsecond for _, delay := range []time.Duration{ 0, 1 * time.Microsecond, 2 * time.Microsecond, 5 * time.Microsecond, 10 * time.Microsecond, 20 * time.Microsecond, 50 * time.Microsecond, 100 * time.Microsecond, } { b.Run(delay.String(), func(b *testing.B) { if b.N == 0 { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/log/backend_test.go
SourceIPs: []string{ "127.0.0.1", }, RequestReceivedTimestamp: metav1.NewMicroTime(time.Now().Truncate(time.Microsecond)), StageTimestamp: metav1.NewMicroTime(time.Now().Truncate(time.Microsecond)), AuditID: types.UID(uuid.New().String()), Stage: auditinternal.StageRequestReceived, Verb: "get",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 08 06:37:26 UTC 2022 - 5K bytes - Viewed (0) -
src/syscall/timestruct.go
func TimevalToNsec(tv Timeval) int64 { return tv.Nano() } // NsecToTimeval converts a number of nanoseconds into a [Timeval]. func NsecToTimeval(nsec int64) Timeval { nsec += 999 // round up to microsecond usec := nsec % 1e9 / 1e3 sec := nsec / 1e9 if usec < 0 { usec += 1e6 sec-- } return setTimeval(sec, usec)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 958 bytes - Viewed (0) -
pkg/wasm/httpfetcher_test.go
c.handler(w, r, gotNumRequest) gotNumRequest++ })) defer ts.Close() fetcher := NewHTTPFetcher(DefaultHTTPRequestTimeout, DefaultHTTPRequestMaxRetries) fetcher.initialBackoff = time.Microsecond ctx, cancel := context.WithTimeout(context.Background(), c.timeout) defer cancel() b, err := fetcher.Fetch(ctx, ts.URL, false) if c.wantNumRequest != gotNumRequest {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:41 UTC 2023 - 7.5K bytes - Viewed (0) -
src/cmd/trace/viewer.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.4K bytes - Viewed (0)