- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 83 for ts (0.03 sec)
-
src/syscall/syscall_aix.go
const ( F_DUPFD_CLOEXEC = 0 // AF_LOCAL doesn't exist on AIX AF_LOCAL = AF_UNIX _F_DUP2FD_CLOEXEC = 0 ) func (ts *StTimespec_t) Unix() (sec int64, nsec int64) { return int64(ts.Sec), int64(ts.Nsec) } func (ts *StTimespec_t) Nano() int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } /* * Wrapped */ func Access(path string, mode uint32) (err error) { return Faccessat(_AT_FDCWD, path, mode, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:50:55 UTC 2024 - 17.9K bytes - Viewed (0) -
src/net/http/httptest/server.go
} return false } // NewServer starts and returns a new [Server]. // The caller should call Close when finished, to shut it down. func NewServer(handler http.Handler) *Server { ts := NewUnstartedServer(handler) ts.Start() return ts } // NewUnstartedServer returns a new [Server] but doesn't start it. // // After changing its configuration, the caller should call Start or // StartTLS. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 17:26:10 UTC 2024 - 10.7K bytes - Viewed (0) -
src/runtime/os_netbsd.go
} continue } // Sleep until unparked by semawakeup or timeout. var tsp *timespec var ts timespec if ns >= 0 { wait := deadline - nanotime() if wait <= 0 { return -1 } ts.setNsec(wait) tsp = &ts } ret := lwp_park(_CLOCK_MONOTONIC, _TIMER_RELTIME, tsp, 0, unsafe.Pointer(&gp.m.waitsemacount), nil) if ret == _ETIMEDOUT { return -1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10.1K 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/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) -
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_wasip1.go
return ENOSYS } func UtimesNano(path string, ts []Timespec) error { // UTIME_OMIT value must match internal/syscall/unix/at_wasip1.go const UTIME_OMIT = -0x2 if path == "" { return EINVAL } dirFd, pathPtr, pathLen := preparePath(path) atime := TimespecToNsec(ts[0]) mtime := TimespecToNsec(ts[1]) if ts[0].Nsec == UTIME_OMIT || ts[1].Nsec == UTIME_OMIT { var st Stat_t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24.1K bytes - Viewed (0) -
pkg/test/framework/test.go
requireLocalIstiod bool requireSingleNetwork bool minIstioVersion string minKubernetesMinorVersion uint topLevel bool ctx *testContext tc context2.Context ts traceapi.Span } // NewTest returns a new test wrapper for running a single test. func NewTest(t *testing.T) Test { rtMu.Lock() defer rtMu.Unlock() if rt == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 10.3K bytes - Viewed (0)