Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,275 for logf (0.09 sec)

  1. src/cmd/go/testdata/script/test_json_interleaved.txt

    go 1.15
    -- main_test.go --
    package main
    
    import (
    	"testing"
    )
    
    func TestWeirdTiming(outer *testing.T) {
    	outer.Run("pauser", func(pauser *testing.T) {
    		outer.Logf("logging to outer")
    		pauser.Parallel()
    	})
    
    	outer.Logf("logging to outer again")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 18 17:44:20 UTC 2020
    - 581 bytes
    - Viewed (0)
  2. src/net/dial_unix_test.go

    		return err
    	}
    
    	getsockoptIntFunc = func(fd, level, opt int) (val int, err error) {
    		val, err = oldGetsockoptIntFunc(fd, level, opt)
    		t.Logf("getsockoptIntFunc(%d, %d, %d) = (%v, %v)", fd, level, opt, val, err)
    		if level == syscall.SOL_SOCKET && opt == syscall.SO_ERROR && err == nil && val == 0 {
    			t.Logf("canceling context")
    
    			// Cancel the context at just the moment which
    			// caused the race in issue 16523.
    			cancelCtx()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go

    	t.Logf("Add 'c' default to the storage version and wait until GET sees it in both status and spec")
    	addDefault("v1beta2", "c", "C")
    
    	t.Logf("wait until GET sees 'c' in both status and spec")
    	if err := wait.PollImmediate(100*time.Millisecond, wait.ForeverTestTimeout, func() (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  4. src/internal/sysinfo/sysinfo_test.go

    // license that can be found in the LICENSE file.
    
    package sysinfo_test
    
    import (
    	. "internal/sysinfo"
    	"testing"
    )
    
    func TestCPUName(t *testing.T) {
    	t.Logf("CPUName: %s", CPUName())
    	t.Logf("osCPUInfoName: %s", XosCPUInfoName())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:42:42 UTC 2024
    - 343 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/buildid_linux.go

    		}
    
    		d, err := s.Data()
    		if err != nil {
    			t.Logf("reading data of note section %d: %v", i, err)
    			continue
    		}
    
    		for len(d) > 0 {
    
    			// ELF standards differ as to the sizes in
    			// note sections.  Both the GNU linker and
    			// gold always generate 32-bit sizes, so that
    			// is what we assume here.
    
    			if len(d) < 12 {
    				t.Logf("note section %d too short (%d < 12)", i, len(d))
    				continue sections
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/testing/testserver.go

    		return result, fmt.Errorf("failed to set default options: %v", err)
    	}
    	if err := s.Validate(); err != nil {
    		return result, fmt.Errorf("failed to validate options: %v", err)
    	}
    
    	t.Logf("runtime-config=%v", s.APIEnablement.RuntimeConfig)
    	t.Logf("Starting apiextensions-apiserver on port %d...", s.RecommendedOptions.SecureServing.BindPort)
    
    	config, err := s.Config()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 9K bytes
    - Viewed (1)
  7. pkg/kubelet/status/status_manager_test.go

    	t.Logf("syncBatch should not sync any pods because nothing is changed.")
    	m.testSyncBatch()
    	verifyActions(t, m, []core.Action{})
    
    	t.Logf("Change mirror pod identity.")
    	m.podManager.(mutablePodManager).RemovePod(mirrorPod)
    	mirrorPod.UID = "new-mirror-pod"
    	mirrorPod.Status = v1.PodStatus{}
    	m.podManager.(mutablePodManager).AddPod(mirrorPod)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  8. pkg/monitoring/monitortest/test.go

    				for _, lv := range row.Label {
    					k, v := *lv.Name, *lv.Value
    					if want[k] == v {
    						delete(want, k)
    					} else {
    						m.t.Logf("skip metric: want %v=%v, got %v=%v", k, want[k], k, v)
    					}
    				}
    				if len(want) > 0 {
    					// Not a match
    					m.t.Logf("skip metric: missing labels: %+v", want)
    					continue
    				}
    				var v any
    				if row.Counter != nil {
    					cv := *row.Counter.Value
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    // counterpart:
    //
    //	log.Print("%d", 123) // log.Print call has possible formatting directive %d
    //
    // # Inferred printf wrappers
    //
    // Functions that delegate their arguments to fmt.Printf are
    // considered "printf wrappers"; calls to them are subject to the same
    // checking. In this example, logf is a printf wrapper:
    //
    //	func logf(level int, format string, args ...any) {
    //		if enabled(level) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/pruning_test.go

    		t.Fatal(err)
    	}
    	foo, err = fooClient.Create(context.TODO(), foo, metav1.CreateOptions{})
    	if err != nil {
    		t.Fatalf("Unable to create CR: %v", err)
    	}
    	t.Logf("CR created: %#v", foo.UnstructuredContent())
    
    	t.Logf("Comparing with expected, pruned value")
    	x := runtime.DeepCopyJSON(foo.Object)
    	delete(x, "apiVersion")
    	delete(x, "kind")
    	delete(x, "metadata")
    	var expected map[string]interface{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top