Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 269 for _logf (0.05 sec)

  1. src/net/interface_unix_test.go

    		}
    		ift2, err := Interfaces()
    		if err != nil {
    			ti.teardown()
    			t.Fatal(err)
    		}
    		if len(ift2) <= len(ift1) {
    			for _, ifi := range ift1 {
    				t.Logf("before: %v", ifi)
    			}
    			for _, ifi := range ift2 {
    				t.Logf("after: %v", ifi)
    			}
    			ti.teardown()
    			t.Fatalf("got %v; want gt %v", len(ift2), len(ift1))
    		}
    		for _, ifi := range ift2 {
    			if ti.name != ifi.Name {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 23:51:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/net/http/transport_dial_test.go

    	}
    	rt.reqBody.Close()
    	io.ReadAll(rt.res.Body)
    	rt.res.Body.Close()
    	rt.t.Logf("RoundTrip %v: closed request body", rt.roundTripID)
    }
    
    // wantDial waits for the Transport to start a Dial.
    func (dt *transportDialTester) wantDial() *transportDialTesterConn {
    	c := <-dt.dials
    	c.connID = dt.dialCount
    	dt.dialCount++
    	dt.t.Logf("Dial %v: started", c.connID)
    	return c
    }
    
    // finish completes a Dial.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/mergelocals_test.go

    		mls, err := liveness.MakeMergeLocalsState(testcase.partition, testcase.vars)
    		t.Logf("tc %d err is %v\n", k, err)
    		if testcase.experr && err == nil {
    			t.Fatalf("tc:%d missing error mls %v", k, mls)
    		} else if !testcase.experr && err != nil {
    			t.Fatalf("tc:%d unexpected error mls %v", k, err)
    		}
    		if mls != nil {
    			t.Logf("tc %d: mls: %v\n", k, mls.String())
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/stmtlines_test.go

    			}
    			return nonStmtLines[i].Line < nonStmtLines[j].Line
    		})
    		for _, l := range nonStmtLines {
    			t.Logf("%s:%d has no DWARF is_stmt mark\n", l.File, l.Line)
    		}
    	}
    	t.Logf("total=%d, nostmt=%d\n", len(lines), len(nonStmtLines))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/runtime/debug/stack_test.go

    	// 	_testmain.go:71 +0x170
    	data, err := os.ReadFile(crashOutput)
    	if err != nil {
    		t.Fatalf("child process failed to write crash report: %v", err)
    	}
    	crash := string(data)
    	t.Logf("crash = <<%s>>", crash)
    	t.Logf("stderr = <<%s>>", stderr)
    
    	// Check that the crash file and the stderr both contain the panic and stack trace.
    	for _, want := range []string{
    		"panic: oops",
    		"goroutine 1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. tests/integration/telemetry/tracing/tracing.go

    		t.Logf("got span %+v, want span %+v", got, want)
    		return false
    	}
    	if len(got.ChildSpans) < len(want.ChildSpans) {
    		t.Logf("got %d child spans from, want %d child spans, maybe trace has not be fully reported",
    			len(got.ChildSpans), len(want.ChildSpans))
    		return false
    	} else if len(got.ChildSpans) > len(want.ChildSpans) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/net/write_unix_test.go

    				cagain++
    				if cagain > 20 {
    					t.Error("looping on EAGAIN")
    					return nil
    				}
    				if err = ss.conn.fd.pfd.WaitWrite(); err != nil {
    					t.Logf("client WaitWrite: %v", err)
    					return nil
    				}
    			default:
    				// We expect to eventually get an error.
    				t.Logf("client WriteOnce: %v", err)
    				return nil
    			}
    		}
    	}
    	withTCPConnPair(t, client, server)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_chatty_parallel_success_run.txt

    	close(afterSubTest)
    	<-afterSecondLog // Delay the "PASS: TestInterruptor" line until after "CONT  TestLog".
    }
    
    func TestLog(t *testing.T) {
    	t.Parallel()
    
    	t.Logf("this is the first TestLog log")
    	close(afterFirstLog)
    	<-afterSubTest
    	t.Logf("this is the second TestLog log")
    	close(afterSecondLog)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1K bytes
    - Viewed (0)
  9. pkg/test/framework/components/istioctl/kube.go

    func (c *kubeComponent) InvokeOrFail(t test.Failer, args []string) (string, string) {
    	output, stderr, err := c.Invoke(args)
    	if err != nil {
    		t.Logf("Unwanted exception for 'istioctl %s': %v", strings.Join(args, " "), err)
    		t.Logf("Output:\n%v", output)
    		t.Logf("Error:\n%v", stderr)
    		t.FailNow()
    	}
    	return output, stderr
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/export_test.go

    }
    
    func (d TestFrontend) Logf(msg string, args ...interface{}) { d.t.Logf(msg, args...) }
    func (d TestFrontend) Log() bool                            { return true }
    
    func (d TestFrontend) Fatalf(_ src.XPos, msg string, args ...interface{}) { d.t.Fatalf(msg, args...) }
    func (d TestFrontend) Warnl(_ src.XPos, msg string, args ...interface{})  { d.t.Logf(msg, args...) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top