Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,787 for wsprintfA (0.14 sec)

  1. src/runtime/syscall_windows_test.go

    	for arglen := 0; arglen <= runtime.MaxArgs; arglen++ {
    		arglen := arglen
    		t.Run(fmt.Sprintf("arg-%d", arglen), func(t *testing.T) {
    			t.Parallel()
    			args := make([]string, arglen)
    			rets := make([]string, arglen+1)
    			params := make([]uintptr, arglen)
    			for i := range args {
    				args[i] = fmt.Sprintf("int a%d", i)
    				rets[i] = fmt.Sprintf("(a%d == %d)", i, i)
    				params[i] = uintptr(i)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers_test.go

    	assert.Equal(t, ua, fmt.Sprintf("%v", uaNotTruncated))
    
    	ua = ""
    	for i := 0; i < maxUserAgentLength*2; i++ {
    		ua = ua + "a"
    	}
    	req.Header.Set("User-Agent", ua)
    	uaTruncated := &lazyTruncatedUserAgent{req}
    	assert.NotEqual(t, ua, fmt.Sprintf("%v", uaTruncated))
    
    	usUnknown := &lazyTruncatedUserAgent{}
    	assert.Equal(t, "unknown", fmt.Sprintf("%v", usUnknown))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 03 15:25:35 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. src/fmt/stringer_test.go

    type TS string
    
    func (v TI) String() string   { return Sprintf("I: %d", int(v)) }
    func (v TI8) String() string  { return Sprintf("I8: %d", int8(v)) }
    func (v TI16) String() string { return Sprintf("I16: %d", int16(v)) }
    func (v TI32) String() string { return Sprintf("I32: %d", int32(v)) }
    func (v TI64) String() string { return Sprintf("I64: %d", int64(v)) }
    func (v TU) String() string   { return Sprintf("U: %d", uint(v)) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.1K bytes
    - Viewed (0)
  4. src/debug/gosym/symtab_test.go

    	assertString(t, fmt.Sprintf("receiver of %q", s3.Name), s3.ReceiverName(), "")
    	assertString(t, fmt.Sprintf("receiver of %q", s4.Name), s4.ReceiverName(), "")
    	assertString(t, fmt.Sprintf("base of %q", s1.Name), s1.BaseName(), "set[int]")
    	assertString(t, fmt.Sprintf("base of %q", s2.Name), s2.BaseName(), "get")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 11:28:56 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/util/find_errorline_utils_test.go

    	constantsPath := []string{
    		fmt.Sprintf(DestinationHost, "test", 0, 0),
    		fmt.Sprintf(MirrorHost, 0),
    		fmt.Sprintf(VSGateway, 0),
    		fmt.Sprintf(URISchemeMethodAuthorityRegexMatch, 0, 0, "test"),
    		fmt.Sprintf(HeaderAndQueryParamsRegexMatch, 0, 0, "test", "test"),
    		fmt.Sprintf(AllowOriginsRegexMatch, 0, 0),
    		fmt.Sprintf(WorkloadSelector, "test"),
    		fmt.Sprintf(PortInPorts, 0),
    		fmt.Sprintf(FromRegistry, "test", 0),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. test/typeparam/setsimp.dir/main.go

    func TestSet() {
    	s1 := a.Make[int]()
    	if got := s1.Len(); got != 0 {
    		panic(fmt.Sprintf("Len of empty set = %d, want 0", got))
    	}
    	s1.Add(1)
    	s1.Add(1)
    	s1.Add(1)
    	if got := s1.Len(); got != 1 {
    		panic(fmt.Sprintf("(%v).Len() == %d, want 1", s1, got))
    	}
    	s1.Add(2)
    	s1.Add(3)
    	s1.Add(4)
    	if got := s1.Len(); got != 4 {
    		panic(fmt.Sprintf("(%v).Len() == %d, want 4", s1, got))
    	}
    	if !s1.Contains(1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. test/map.go

    	// test len
    	if len(mib) != count {
    		panic(fmt.Sprintf("len(mib) = %d\n", len(mib)))
    	}
    	if len(mii) != count {
    		panic(fmt.Sprintf("len(mii) = %d\n", len(mii)))
    	}
    	if len(mfi) != count {
    		panic(fmt.Sprintf("len(mfi) = %d\n", len(mfi)))
    	}
    	if len(mif) != count {
    		panic(fmt.Sprintf("len(mif) = %d\n", len(mif)))
    	}
    	if len(msi) != count {
    		panic(fmt.Sprintf("len(msi) = %d\n", len(msi)))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 06 21:02:55 UTC 2014
    - 14.9K bytes
    - Viewed (0)
  8. pkg/test/echo/response.go

    	out += fmt.Sprintf("Code:             %s\n", r.Code)
    	out += fmt.Sprintf("Host:             %s\n", r.Host)
    	out += fmt.Sprintf("Hostname:         %s\n", r.Hostname)
    	out += fmt.Sprintf("Cluster:          %s\n", r.Cluster)
    	out += fmt.Sprintf("IstioVersion:     %s\n", r.IstioVersion)
    	out += fmt.Sprintf("IP:               %s\n", r.IP)
    	out += fmt.Sprintf("Request Headers:  %v\n", r.RequestHeaders)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 01 01:05:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm64/list7.go

    		} else {
    			return fmt.Sprintf("%s.UXTX", regname(r))
    		}
    	case REG_SXTB <= r && r < REG_SXTH:
    		if ext != 0 {
    			return fmt.Sprintf("%s.SXTB<<%d", regname(r), ext)
    		} else {
    			return fmt.Sprintf("%s.SXTB", regname(r))
    		}
    	case REG_SXTH <= r && r < REG_SXTW:
    		if ext != 0 {
    			return fmt.Sprintf("%s.SXTH<<%d", regname(r), ext)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. test/typeparam/mapsimp.dir/main.go

    	sort.Strings(got2)
    	if !a.SliceEqual(got2, want2) {
    		panic(fmt.Sprintf("a.Values(%v) = %v, want %v", m2, got2, want2))
    	}
    }
    
    func TestEqual() {
    	if !a.Equal(m1, m1) {
    		panic(fmt.Sprintf("a.Equal(%v, %v) = false, want true", m1, m1))
    	}
    	if a.Equal(m1, nil) {
    		panic(fmt.Sprintf("a.Equal(%v, nil) = true, want false", m1))
    	}
    	if a.Equal(nil, m1) {
    		panic(fmt.Sprintf("a.Equal(nil, %v) = true, want false", m1))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top