Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 272 for wantRm (0.17 sec)

  1. src/crypto/sha1/fallback_test.go

    	if _, err := io.WriteString(c, in); err != nil {
    		t.Fatalf("could not write to c: %v", err)
    	}
    	out := fmt.Sprintf("%x", c.Sum(nil))
    	if out != gold {
    		t.Fatalf("mismatch: got %s, wanted %s", out, gold)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 853 bytes
    - Viewed (0)
  2. src/crypto/sha512/fallback_test.go

    		"40bbf9bbb7233724e9a0c6655b185d76"
    	if _, err := io.WriteString(c, in); err != nil {
    		t.Fatalf("could not write to c: %v", err)
    	}
    	out := fmt.Sprintf("%x", c.Sum(nil))
    	if out != gold {
    		t.Fatalf("mismatch: got %s, wanted %s", out, gold)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 964 bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			addPods(t, controller, fx, tc.pods...)
    
    			// Verify expected existing pod AZs
    			for pod, wantAZ := range tc.wantAZ {
    				az := controller.getPodLocality(pod)
    				if wantAZ != "" {
    					if !reflect.DeepEqual(az, wantAZ) {
    						t.Fatalf("Wanted az: %s, got: %s", wantAZ, az)
    					}
    				} else {
    					if az != "" {
    						t.Fatalf("Unexpectedly found az: %s for pod: %s", az, pod.ObjectMeta.Name)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  4. cmd/tier-last-day-stats_gen.go

    				var zb0006 uint32
    				zb0006, err = dc.ReadArrayHeader()
    				if err != nil {
    					err = msgp.WrapError(err, zb0001, "Bins")
    					return
    				}
    				if zb0006 != uint32(24) {
    					err = msgp.ArrayError{Wanted: uint32(24), Got: zb0006}
    					return
    				}
    				for zb0003 := range zb0002.Bins {
    					err = zb0002.Bins[zb0003].DecodeMsg(dc)
    					if err != nil {
    						err = msgp.WrapError(err, zb0001, "Bins", zb0003)
    						return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/crypto/sha256/fallback_test.go

    		"338c86e2f7d8d1ddc2d89d332dd9d76c"
    	if _, err := io.WriteString(c, in); err != nil {
    		t.Fatalf("could not write to c: %v", err)
    	}
    	out := fmt.Sprintf("%x", c.Sum(nil))
    	if out != gold {
    		t.Fatalf("mismatch: got %s, wanted %s", out, gold)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 894 bytes
    - Viewed (0)
  6. test/abi/struct_3_string_input.go

    	return x.a + " " + x.b + " " + x.c
    }
    
    func main() {
    	s := H(toobig{"Hello", "there,", "World"})
    	gotVsWant(s, "Hello there, World")
    }
    
    func gotVsWant(got, want string) {
    	if got != want {
    		fmt.Printf("FAIL, got %s, wanted %s\n", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 727 bytes
    - Viewed (0)
  7. test/abi/too_big_to_ssa.go

    	gotVsWant(s, "Hello there, World")
    	fmt.Println(s)
    	t := H(I("Ahoy", "there,", "Matey"))
    	gotVsWant(t, "Ahoy there, Matey")
    	fmt.Println(t)
    }
    
    func gotVsWant(got, want string) {
    	if got != want {
    		fmt.Printf("FAIL, got %s, wanted %s\n", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 833 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    func TestSchemaDeclType(t *testing.T) {
    	ts := testSchema()
    	cust := SchemaDeclType(ts, false)
    	if cust.TypeName() != "object" {
    		t.Errorf("incorrect type name, got %v, wanted object", cust.TypeName())
    	}
    	if len(cust.Fields) != 4 {
    		t.Errorf("incorrect number of fields, got %d, wanted 4", len(cust.Fields))
    	}
    	for _, f := range cust.Fields {
    		prop, found := ts.Properties[f.Name]
    		if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. src/net/http/http_test.go

    		"net/http.(*ServeMux).ServeHTTP": false,
    		"net/http.DefaultServeMux":       false,
    	}
    	for sym, want := range wantSym {
    		got := bytes.Contains(out, []byte(sym))
    		if !want && got {
    			t.Errorf("cmd/go unexpectedly links in HTTP server code; found symbol %q in cmd/go", sym)
    		}
    		if want && !got {
    			t.Errorf("expected to find symbol %q in cmd/go; not found", sym)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 18:18:19 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/cover/cfg_test.go

    	mode := "atomic"
    	errExpected := true
    	tag := "errors"
    	_, _, errmsg := runPkgCover(t, instdira, tag, "/not/a/file", mode,
    		apkgfiles, errExpected)
    	want := "error reading pkgconfig file"
    	if !strings.Contains(errmsg, want) {
    		t.Errorf("'bad config file' test: wanted %s got %s", want, errmsg)
    	}
    
    	// Expect err if config file contains unknown stuff.
    	t.Logf("mangling in config")
    	writeFile(t, incfg, []byte("blah=foo\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top