Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 253 for logf (0.09 sec)

  1. src/runtime/runtime_test.go

    		}
    	}()
    
    	// The read should fault, except that sometimes we hit
    	// addresses that have had C or kernel pages mapped there
    	// readable by user code. So just log the content.
    	// If no addresses fault, we'll fail the test.
    	v := *(*byte)(unsafe.Pointer(addr))
    	t.Logf("addr %#x: %#x\n", addr, v)
    }
    
    func eqstring_generic(s1, s2 string) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_test.go

    		}
    		for {
    			select {
    			case <-tooSlow.C:
    				t.Logf("localPipe: timeout waiting for %v", c1.LocalAddr())
    				c1.Close()
    				continue Dialing
    
    			case c2 := <-localListener.ch:
    				if c2.RemoteAddr().String() == c1.LocalAddr().String() {
    					t.Cleanup(func() { c1.Close() })
    					t.Cleanup(func() { c2.Close() })
    					return c1, c2
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listenertest/match.go

    						continue
    					}
    					found++
    					VerifyFilterChain(t, have, want)
    				}
    				if found == 0 {
    					t.Fatalf("No matching chain found for %+v", want)
    				}
    				if found > 1 {
    					t.Logf("warning: multiple matching chains found for %+v", want)
    				}
    			}
    		}
    	}
    }
    
    func VerifyFilterChain(t test.Failer, have *listener.FilterChain, want FilterChainTest) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. pkg/kubelet/certificate/kubelet_test.go

    					c3 := m.Current()
    					if c3 == nil {
    						return false, fmt.Errorf("expected valid certificate regardless of file changes, but got nil")
    					}
    					if bytes.Equal(c.Certificate[0], c3.Certificate[0]) {
    						t.Logf("loaded certificate is not updated")
    						return false, nil
    					}
    					return true, nil
    				})
    			if err != nil {
    				t.Errorf("failed to provide the updated certificate after file changes: %v", err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. pkg/api/pod/util_test.go

    		t.Logf("Missing expected secret paths:\n%s", strings.Join(sets.List[string](missingPaths), "\n"))
    		t.Error("Missing expected secret paths. Verify VisitPodSecretNames() is correctly finding the missing paths, then correct expectedSecretPaths")
    	}
    	if extraPaths := secretPaths.Difference(expectedSecretPaths); len(extraPaths) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  6. internal/grid/grid_test.go

    		errFatal(resp.Err)
    		t.Logf("got resp: %+v", string(resp.Msg))
    		if string(resp.Msg) != testPayload+strconv.Itoa(n) {
    			t.Errorf("want %q, got %q", testPayload+strconv.Itoa(n), string(resp.Msg))
    		}
    		if n == 10 {
    			close(stream.Requests)
    			continue
    		}
    		n++
    		t.Log("sending new client request")
    		stream.Requests <- []byte(strconv.Itoa(n))
    	}
    	t.Log("EOF. 10 Roundtrips:", time.Since(start))
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/block.go

    			p.Likely == BranchUnlikely && p.Succs[1].b == b) {
    			continue
    		}
    		return false
    	}
    	return true
    }
    
    func (b *Block) Logf(msg string, args ...interface{})   { b.Func.Logf(msg, args...) }
    func (b *Block) Log() bool                              { return b.Func.Log() }
    func (b *Block) Fatalf(msg string, args ...interface{}) { b.Func.Fatalf(msg, args...) }
    
    type BranchPrediction int8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/net/http/request_test.go

    	req.Header = nil
    	back.Header = nil
    	if !reflect.DeepEqual(req, back) {
    		t.Errorf("Original request doesn't match Request read back.")
    		t.Logf("Original: %#v", req)
    		t.Logf("Original.URL: %#v", req.URL)
    		t.Logf("Wrote: %s", out.String())
    		t.Logf("Read back (doesn't match Original): %#v", back)
    	}
    }
    
    type responseWriterJustWriter struct {
    	io.Writer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/func.go

    func (f *Func) Logf(msg string, args ...interface{})                { f.fe.Logf(msg, args...) }
    func (f *Func) Log() bool                                           { return f.fe.Log() }
    
    func (f *Func) Fatalf(msg string, args ...interface{}) {
    	stats := "crashed"
    	if f.Log() {
    		f.Logf("  pass %s end %s\n", f.pass.name, stats)
    		printFunc(f)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. pilot/pkg/simulation/traffic.go

    		t.Errorf("want cluster matched %q got %q", want.ClusterMatched, r.ClusterMatched)
    	} else {
    		want.ClusterMatched = r.ClusterMatched
    	}
    	if t.Failed() {
    		t.Logf("Diff: %+v", diff)
    		t.Logf("Full Diff: %+v", cmp.Diff(want, r, cmpopts.IgnoreUnexported(Result{}), cmpopts.EquateErrors()))
    	} else if want.Skip != "" {
    		t.Skipf("Known bug: %v", r.Skip)
    	}
    }
    
    type Simulation struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top