Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testPrintf (0.11 sec)

  1. src/cmd/cgo/internal/test/test.go

    	}
    	_, e = C.g2(C.EINVAL, C._expA, C._expB, C._expC, C._expD)
    	if e != syscall.EINVAL {
    		t.Errorf("got %q, expect %q", e, syscall.EINVAL)
    	}
    }
    
    // issue 3945
    
    func testPrintf(t *testing.T) {
    	C.say()
    }
    
    // issue 4054
    
    var issue4054a = []int{C.A, C.B, C.C, C.D, C.E, C.F, C.G, C.H, C.I, C.J}
    
    // issue 4339
    
    func test4339(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/analyzer_test.go

    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if _, wanted2 := NewAnalyzer(tt.input); wanted2 != nil {
    				t.Errorf("Wanted %v, got %v", tt.wantErr, wanted2)
    			}
    		})
    	}
    }
    
    func TestPrint(t *testing.T) {
    	a := &Analyzer{
    		listenerDump: &envoy_admin.ListenersConfigDump{
    			DynamicListeners: []*envoy_admin.ListenersConfigDump_DynamicListener{
    				{
    					Name: "10.102.11.148_15021",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/fmt/fmt_test.go

    func zeroFill(prefix string, width int, suffix string) string {
    	return prefix + strings.Repeat("0", width-len(suffix)) + suffix
    }
    
    func TestSprintf(t *testing.T) {
    	for _, tt := range fmtTests {
    		s := Sprintf(tt.fmt, tt.val)
    		i := strings.Index(tt.out, "PTR")
    		if i >= 0 && i < len(s) {
    			var pattern, chars string
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
Back to top