Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 166 for ts (0.02 sec)

  1. src/debug/elf/symbols_test.go

    			t.Error(err)
    			return
    		} else if err == ErrNoSymbols {
    			fs = []Symbol{}
    		}
    		if !reflect.DeepEqual(ts, fs) {
    			t.Errorf("%s: Symbols = %v, want %v", file, ts, fs)
    		}
    	}
    	for file, ts := range symbolsGolden {
    		do(file, ts, (*File).Symbols)
    	}
    	for file, ts := range dynamicSymbolsGolden {
    		do(file, ts, (*File).DynamicSymbols)
    	}
    }
    
    // golden symbol table data generated by testdata/getgoldsym.c
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 05 18:18:26 UTC 2019
    - 13.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/openapi/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: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    	tv := [2]Timeval{
    		NsecToTimeval(TimespecToNsec(ts[0])),
    		NsecToTimeval(TimespecToNsec(ts[1])),
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[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
    - 15K bytes
    - Viewed (0)
  4. src/internal/trace/oldtrace.go

    		// Event.Task expects the parent and name to be smuggled in extra args
    		// and as extra strings.
    		ts, ok := it.tasks[TaskID(ev.Args[0])]
    		if ok {
    			delete(it.tasks, TaskID(ev.Args[0]))
    			mappedArgs = timedEventArgs{
    				ev.Args[0],
    				ev.Args[1],
    				uint64(ts.parentID),
    				uint64(it.evt.addExtraString(ts.name)),
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/cmd/trace/gen.go

    	}
    
    	// Emit the task slice and notify the emitter of the task.
    	ctx.Task(uint64(task.ID), fmt.Sprintf("T%d %s", task.ID, task.Name), sortIndex)
    	ctx.TaskSlice(traceviewer.SliceEvent{
    		Name:     task.Name,
    		Ts:       ctx.elapsed(startTime),
    		Dur:      endTime.Sub(startTime),
    		Resource: uint64(task.ID),
    		Stack:    ctx.Stack(viewerFrames(startStack)),
    		EndStack: ctx.Stack(viewerFrames(endStack)),
    		Arg:      arg,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/unicode/utf8/utf8_test.go

    func TestRuntimeConversion(t *testing.T) {
    	for _, ts := range testStrings {
    		count := RuneCountInString(ts)
    		if n := runtimeRuneCount(ts); n != count {
    			t.Errorf("%q: len([]rune()) counted %d runes; got %d from RuneCountInString", ts, n, count)
    			break
    		}
    
    		runes := []rune(ts)
    		if n := len(runes); n != count {
    			t.Errorf("%q: []rune() has length %d; got %d from RuneCountInString", ts, n, count)
    			break
    		}
    		i := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  7. src/debug/gosym/symtab.go

    	t.Syms = make([]Sym, 0, n)
    	nf := 0
    	nz := 0
    	lasttyp := uint8(0)
    	err = walksymtab(symtab, func(s sym) error {
    		n := len(t.Syms)
    		t.Syms = t.Syms[0 : n+1]
    		ts := &t.Syms[n]
    		ts.Type = s.typ
    		ts.Value = s.value
    		ts.GoType = s.gotype
    		ts.goVersion = pcln.version
    		switch s.typ {
    		default:
    			// rewrite name to use . instead of ยท (c2 b7)
    			w := 0
    			b := s.name
    			for i := 0; i < len(b); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  8. src/time/format_test.go

    		{math.MaxInt64, math.MaxInt64}, // -292277022365-05-08T08:17:07Z
    	} {
    		f.Add(ts[0], ts[1], true, false, 0)
    		f.Add(ts[0], ts[1], false, true, 0)
    		for _, offset := range []int{0, 60, 60 * 60, 99*60*60 + 99*60, 123456789} {
    			f.Add(ts[0], ts[1], false, false, -offset)
    			f.Add(ts[0], ts[1], false, false, +offset)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go

    				if err != nil {
    					t.Errorf("https (invalid hostname): proxy_test: %v", err)
    				}
    				ts := httptest.NewUnstartedServer(h)
    				ts.TLS = &tls.Config{
    					Certificates: []tls.Certificate{cert},
    					NextProtos:   []string{"http2", "http/1.1"},
    				}
    				ts.StartTLS()
    				return ts
    			},
    			ProxyTransport: utilnet.SetTransportDefaults(&http.Transport{TLSClientConfig: &tls.Config{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 39.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    func TestWebhookDuration(ts *testing.T) {
    	clk := clocktesting.FakeClock{}
    	testServer := webhooktesting.NewTestServerWithHandler(ts, webhooktesting.ClockSteppingWebhookHandler(ts, &clk))
    	testServer.StartTLS()
    	defer testServer.Close()
    	serverURL, err := url.ParseRequestURI(testServer.URL)
    	if err != nil {
    		ts.Fatalf("this should never happen? %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top