Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 444 for ts (0.06 sec)

  1. 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)
  2. src/net/http/sniff_test.go

    			log.Fatalf("%v: Write(%q) = %v, %v want %d, nil", tt.desc, tt.data, n, err, len(tt.data))
    		}
    	}))
    	defer cst.close()
    
    	for i, tt := range sniffTests {
    		resp, err := cst.c.Get(cst.ts.URL + "/?i=" + strconv.Itoa(i))
    		if err != nil {
    			t.Errorf("%v: %v", tt.desc, err)
    			continue
    		}
    		// DetectContentType is defined to return
    		// text/plain; charset=utf-8 for an empty body,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 07 16:53:14 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. hack/make-rules/clean.sh

      # cause an error if unset, which is already true because of "nounset", but
      # belts AND suspenders is fine for this.
      rm -rf "${KUBE_ROOT:?}/${item:?}"
    done
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 08 17:20:44 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/format/format.go

    	TimeUnit string           `json:"displayTimeUnit"`
    }
    
    type Event struct {
    	Name      string  `json:"name,omitempty"`
    	Phase     string  `json:"ph"`
    	Scope     string  `json:"s,omitempty"`
    	Time      float64 `json:"ts"`
    	Dur       float64 `json:"dur,omitempty"`
    	PID       uint64  `json:"pid"`
    	TID       uint64  `json:"tid"`
    	ID        uint64  `json:"id,omitempty"`
    	BindPoint string  `json:"bp,omitempty"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/archive/tar/strconv_test.go

    	}
    
    	for _, v := range vectors {
    		ts, err := parsePAXTime(v.in)
    		ok := (err == nil)
    		if v.ok != ok {
    			if v.ok {
    				t.Errorf("parsePAXTime(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parsePAXTime(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && !ts.Equal(v.want) {
    			t.Errorf("parsePAXTime(%q): got (%ds %dns), want (%ds %dns)",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pkg/webhooks/webhookpatch_test.go

    	wrongRevisionLabel := map[string]string{label.IoIstioRev.Name: wrongRevision}
    	watcher := &keycertbundle.Watcher{}
    	watcher.SetAndNotify(nil, nil, caBundle0)
    	ts := []struct {
    		name        string
    		configs     admissionregistrationv1.MutatingWebhookConfigurationList
    		revision    string
    		configName  string
    		webhookName string
    		pemData     []byte
    		err         string
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 09:53:38 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top