Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 253 for logf (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go

    		err = cbor.Unmarshal(b, &final)
    		if err != nil {
    			t.Errorf("%v: error decoding %v: %v", initial, string(b), err)
    		}
    		if !final.Equal(&initial) {
    			diag, err := cbor.Diagnose(b)
    			if err != nil {
    				t.Logf("failed to produce diagnostic encoding of 0x%x: %v", b, err)
    			}
    			t.Errorf("expected equal: %v, %v (cbor was '%s')", initial, final, diag)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/os/os_test.go

    			// whenever mtime is set.
    		case "netbsd":
    			mounts, _ := ReadFile("/proc/mounts")
    			if strings.Contains(string(mounts), "noatime") {
    				t.Logf("AccessTime didn't go backwards, but see a filesystem mounted noatime; ignoring. Issue 19293.")
    			} else {
    				t.Logf("AccessTime didn't go backwards; was=%v, after=%v (Ignoring on NetBSD, assuming noatime, Issue 19293)", at, pat)
    			}
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    		err = cbor.Unmarshal(b, &final)
    		if err != nil {
    			t.Errorf("%v: error decoding %v: %v", initial, string(b), err)
    		}
    		if !final.Equal(&initial) {
    			diag, err := cbor.Diagnose(b)
    			if err != nil {
    				t.Logf("failed to produce diagnostic encoding of 0x%x: %v", b, err)
    			}
    			t.Errorf("expected equal: %v, %v (cbor was '%s')", initial, final, diag)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig_test.go

    					if err != nil {
    						t.Fatal(err)
    					}
    					err = os.WriteFile(filepath.Join(tempDir, c.delayedConfName), data, 0o644)
    					if err != nil {
    						t.Fatal(err)
    					}
    					t.Logf("delayed write to %v", filepath.Join(tempDir, c.delayedConfName))
    				} else if len(c.expectedConfName) > 0 {
    					t.Fatalf("timed out waiting for expected %s", expectedFilepath)
    				} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/net/http/fs_test.go

    	}
    	for _, tt := range tests {
    		var log []string
    		rr := httptest.NewRecorder()
    		req, _ := NewRequest("GET", "http://foo.localhost"+tt.path, nil)
    		FileServer(fileServerCleanPathDir{&log}).ServeHTTP(rr, req)
    		if !reflect.DeepEqual(log, tt.wantOpen) {
    			t.Logf("For %s: Opens = %q; want %q", tt.path, log, tt.wantOpen)
    		}
    		if rr.Code != tt.wantCode {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/helper/helpers_test.go

    			expected: "3069MB",
    			wantErr:  true,
    		},
    	}
    	for _, test := range tests {
    		size := test.size
    		result, err := HugePageUnitSizeFromByteSize(size)
    		if err != nil {
    			if test.wantErr {
    				t.Logf("HugePageUnitSizeFromByteSize() expected error = %v", err)
    			} else {
    				t.Errorf("HugePageUnitSizeFromByteSize() error = %v, wantErr %v", err, test.wantErr)
    			}
    			continue
    		}
    		if test.expected != result {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/plugin_test.go

    	"context"
    	"flag"
    	"fmt"
    	"internal/platform"
    	"internal/testenv"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    )
    
    var globalSkip = func(t *testing.T) {}
    
    var gcflags string = os.Getenv("GO_GCFLAGS")
    var goroot string
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	log.SetFlags(log.Lshortfile)
    	os.Exit(testMain(m))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/nettest/conntest.go

    	t.Helper()
    	if nerr, ok := err.(net.Error); ok {
    		if !nerr.Timeout() {
    			if runtime.GOOS == "windows" && runtime.GOARCH == "arm64" && t.Name() == "TestTestConn/TCP/RacyRead" {
    				t.Logf("ignoring known failure mode on windows/arm64; see https://go.dev/issue/52893")
    			} else {
    				t.Errorf("got error: %v, want err.Timeout() = true", nerr)
    			}
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/delta_test.go

    		t.Fatalf("received unexpected eds resource %v", resp.Resources)
    	}
    	if len(resp.RemovedResources) != 0 {
    		t.Fatalf("received unexpected removed eds resource %v", resp.RemovedResources)
    	}
    
    	t.Logf("update svc")
    	// update svc, only send the eds for this service
    	s.MemRegistry.AddHTTPService(edsIncSvc, "10.10.1.3", 8080)
    
    	resp = ads.ExpectResponse()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. src/net/http/h2_bundle.go

    )
    
    func (cc *http2ClientConn) logf(format string, args ...interface{}) {
    	cc.t.logf(format, args...)
    }
    
    func (cc *http2ClientConn) vlogf(format string, args ...interface{}) {
    	cc.t.vlogf(format, args...)
    }
    
    func (t *http2Transport) vlogf(format string, args ...interface{}) {
    	if http2VerboseLogs {
    		t.logf(format, args...)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top