- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 166 for ts (0.05 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go
return timestamp } func (u *Unstructured) SetCreationTimestamp(timestamp metav1.Time) { ts, _ := timestamp.MarshalQueryParameter() if len(ts) == 0 || timestamp.Time.IsZero() { RemoveNestedField(u.Object, "metadata", "creationTimestamp") return } u.setNestedField(ts, "metadata", "creationTimestamp") } func (u *Unstructured) GetDeletionTimestamp() *metav1.Time { var timestamp metav1.Time
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 28 03:26:35 UTC 2023 - 13.7K bytes - Viewed (0) -
src/archive/tar/common.go
paxHdrs[paxKey] = v } } verifyTime := func(ts time.Time, size int, name, paxKey string) { if ts.IsZero() { return // Always okay } if !fitsInBase256(size, ts.Unix()) { whyNoGNU = fmt.Sprintf("GNU cannot encode %s=%v", name, ts) format.mustNotBe(FormatGNU) } isMtime := paxKey == paxMtime fitsOctal := fitsInOctal(size, ts.Unix()) if (isMtime && !fitsOctal) || !isMtime {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 16:01:50 UTC 2024 - 24.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go
func UtimesNano(path string, ts []Timespec) error { if len(ts) != 2 { return EINVAL } return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) } func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error { if ts == nil { return utimensat(dirfd, path, nil, flags) } if len(ts) != 2 { return EINVAL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 16.1K bytes - Viewed (0) -
src/internal/trace/summary.go
s.rangesP[rangeP{id: r.Scope.Proc(), name: r.Name}] = ev.Goroutine() } } if g == nil { break } if ev.Kind() == EventRangeActive { if ts := g.lastRangeTime[r.Name]; ts != 0 { g.RangeTime[r.Name] += s.syncTs.Sub(ts) } g.lastRangeTime[r.Name] = s.syncTs } else { g.lastRangeTime[r.Name] = ev.Time() } case EventRangeEnd: r := ev.Range() var g *GoroutineSummary
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 20.7K bytes - Viewed (0) -
src/syscall/syscall_bsd.go
} func UtimesNano(path string, ts []Timespec) error { if len(ts) != 2 { return EINVAL } err := utimensat(_AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) if err != ENOSYS { return err } // Not as efficient as it could be because Timespec and // Timeval have different types in the different OSes tv := [2]Timeval{ NsecToTimeval(TimespecToNsec(ts[0])), NsecToTimeval(TimespecToNsec(ts[1])),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 10:34:48 UTC 2023 - 13.6K bytes - Viewed (0) -
pilot/pkg/model/telemetry_test.go
} } func (ts *telemetryStore) add(cfg config.Config) { ts.data = append(ts.data, struct { typ config.GroupVersionKind ns string cfg config.Config }{ typ: cfg.GroupVersionKind, ns: cfg.Namespace, cfg: cfg, }) } func (ts *telemetryStore) Schemas() collection.Schemas { return collection.SchemasFor() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 39.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init_test.go
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if r.Method != http.MethodHead { w.WriteHeader(http.StatusMethodNotAllowed) } })) defer ts.Close() kubeconfigPath := filepath.Join(t.TempDir(), "custom.conf") if err := os.WriteFile(kubeconfigPath, []byte(fmt.Sprintf(testKubeconfigDataFormat, ts.URL)), 0o600); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 12:26:20 UTC 2024 - 11.9K bytes - Viewed (0) -
src/encoding/json/bench_test.go
for nt := 1; nt <= maxTypes; nt *= 10 { ts := types[:nt] b.Run(fmt.Sprintf("MissTypes%d", nt), func(b *testing.B) { nc := runtime.GOMAXPROCS(0) for i := 0; i < b.N; i++ { clearCache() var wg sync.WaitGroup for j := 0; j < nc; j++ { wg.Add(1) go func(j int) { for _, t := range ts[(j*len(ts))/nc : ((j+1)*len(ts))/nc] { cachedTypeFields(t) } wg.Done()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:00:17 UTC 2024 - 12.5K bytes - Viewed (0) -
src/syscall/fs_js.go
return err } func UtimesNano(path string, ts []Timespec) error { // UTIME_OMIT value must match internal/syscall/unix/at_js.go const UTIME_OMIT = -0x2 if err := checkPath(path); err != nil { return err } if len(ts) != 2 { return EINVAL } atime := ts[0].Sec mtime := ts[1].Sec if atime == UTIME_OMIT || mtime == UTIME_OMIT { var st Stat_t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 11 18:19:17 UTC 2023 - 10.8K bytes - Viewed (0) -
src/runtime/sys_linux_loong64.s
TEXT runtimeĀ·usleep(SB),NOSPLIT,$16-4 MOVWU usec+0(FP), R7 MOVV $1000, R6 MULVU R6, R7, R7 MOVV $1000000000, R6 DIVVU R6, R7, R5 // ts->tv_sec REMVU R6, R7, R4 // ts->tv_nsec MOVV R5, 8(R3) MOVV R4, 16(R3) // nanosleep(&ts, 0) ADDV $8, R3, R4 MOVV R0, R5 MOVV $SYS_nanosleep, R11 SYSCALL RET // func gettid() uint32 TEXT runtimeĀ·gettid(SB),NOSPLIT,$0-4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 14.2K bytes - Viewed (0)