- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 444 for ts (0.04 sec)
-
pkg/controller/volume/persistentvolume/metrics/metrics.go
obj, exists := c.cache.Load(key) if !exists { return } ts, ok := obj.(*operationTimestamp) if !ok { return } if err != nil { RecordVolumeOperationErrorMetric(ts.pluginName, ts.operation) } else { timeTaken := time.Since(ts.startTs).Seconds() metricutil.RecordOperationLatencyMetric(ts.pluginName, ts.operation, timeTaken) // end of this operation, remove the timestamp entry from cache
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 25 13:09:16 UTC 2022 - 10.5K bytes - Viewed (0) -
test/tighten.go
// license that can be found in the LICENSE file. package main var ( e any ts uint16 ) func moveValuesWithMemoryArg(len int) { for n := 0; n < len; n++ { // Load of e.data is lowed as a MOVDload op, which has a memory // argument. It's moved near where it's used. _ = e != ts // ERROR "MOVDload is moved$" "MOVDaddr is moved$" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 16 01:01:38 UTC 2023 - 513 bytes - Viewed (0) -
src/runtime/defs_linux_mips64x.go
) //struct Sigset { // uint64 sig[1]; //}; //typedef uint64 Sigset; type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type timeval struct { tv_sec int64 tv_usec int64 } func (tv *timeval) set_usec(x int32) { tv.tv_usec = int64(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.6K bytes - Viewed (0) -
src/runtime/defs_linux_mipsx.go
_ITIMER_PROF = 0x2 _CLOCK_THREAD_CPUTIME_ID = 0x3 _SIGEV_THREAD_ID = 0x4 ) type timespec struct { tv_sec int32 tv_nsec int32 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = timediv(ns, 1e9, &ts.tv_nsec) } type timeval struct { tv_sec int32 tv_usec int32 } //go:nosplit func (tv *timeval) set_usec(x int32) { tv.tv_usec = x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.6K bytes - Viewed (0) -
src/runtime/defs_linux_ppc64le.go
) //struct Sigset { // uint64 sig[1]; //}; //typedef uint64 Sigset; type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type timeval struct { tv_sec int64 tv_usec int64 } func (tv *timeval) set_usec(x int32) { tv.tv_usec = int64(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go
) func TestSchemaDeclType(t *testing.T) { ts := testSchema() cust := SchemaDeclType(ts, false) if cust.TypeName() != "object" { t.Errorf("incorrect type name, got %v, wanted object", cust.TypeName()) } if len(cust.Fields) != 4 { t.Errorf("incorrect number of fields, got %d, wanted 4", len(cust.Fields)) } for _, f := range cust.Fields { prop, found := ts.Properties[f.Name] if !found {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 14K bytes - Viewed (0) -
src/runtime/defs_dragonfly_amd64.go
uc_link *ucontext uc_stack stackt __spare__ [8]int32 } type timespec struct { tv_sec int64 tv_nsec int64 } //go:nosplit func (ts *timespec) setNsec(ns int64) { ts.tv_sec = ns / 1e9 ts.tv_nsec = ns % 1e9 } type timeval struct { tv_sec int64 tv_usec int64 } func (tv *timeval) set_usec(x int32) { tv.tv_usec = int64(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 3.5K bytes - Viewed (0) -
src/runtime/runtime_linux_test.go
LockOSThread() sysNanosleep = func(d time.Duration) { // Invoke a blocking syscall directly; calling time.Sleep() // would deschedule the goroutine instead. ts := syscall.NsecToTimespec(d.Nanoseconds()) for { if err := syscall.Nanosleep(&ts, &ts); err != syscall.EINTR { return } } } } func TestLockOSThread(t *testing.T) { if pid != tid { t.Fatalf("pid=%d but tid=%d", pid, tid) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 20:20:01 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { var ts *Timespec if timeout != nil { ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000} } return pselect6(nfd, r, w, e, ts, nil) } //sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) //sys setfsgid(gid int) (prev int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.7K bytes - Viewed (0) -
plugin/pkg/admission/podtolerationrestriction/admission.go
if a.GetOperation() == admission.Create { ts, err := p.getNamespaceDefaultTolerations(a.GetNamespace()) if err != nil { return err } // If the namespace has not specified its default tolerations, // fall back to cluster's default tolerations. if ts == nil { ts = p.pluginConfig.Default } extraTolerations = ts } if qoshelper.GetPodQOS(pod) != api.PodQOSBestEffort {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 29 20:07:59 UTC 2020 - 8.3K bytes - Viewed (0)