Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 99 for expectGet (0.59 sec)

  1. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

    // expected-warning @+1 {{Invalid number of arguments to non_max_suppression_padded_v2}}
    func.func private @nms_padded_invalid_num_args(%arg0: tensor<100x4xf32>, %arg1: tensor<100xf32>, %arg2: tensor<i32>, %arg3: tensor<f32>) -> (tensor<1x10xi32>, tensor<i32>) attributes  {tf._implements = "non_max_suppression_padded_v2", tf._reference = "mlir"}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	}
    
    	for k := range expectedMap {
    		if v, ok := res.Header[k]; !ok {
    			c.Errorf("Expected key %s missing from %v", k, res.Header)
    		} else {
    			expectedSet := set.CreateStringSet(expectedMap[k]...)
    			gotSet := set.CreateStringSet(strings.Split(v[0], ", ")...)
    			if !expectedSet.Equals(gotSet) {
    				c.Errorf("Expected value %v, got %v", strings.Join(expectedMap[k], ", "), v)
    			}
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder_test.go

    					t.Errorf("Expected cluster %s to have http protocol options but not found", tt.cluster.Name)
    				}
    				if ec.httpProtocolOptions.GetExplicitHttpConfig() == nil {
    					t.Errorf("Expected cluster %s to have explicit http config but not found", tt.cluster.Name)
    				}
    				if ec.httpProtocolOptions.GetExplicitHttpConfig().GetHttp2ProtocolOptions() == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_control_test.go

    		pods, err := spc.podsLister.Pods(set.Namespace).List(selector)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		sort.Sort(ascendingOrdinal(pods))
    
    		// expected number of pod is 0,1,2,3
    		if !reflect.DeepEqual(pods, originalPods[:4]) {
    			t.Fatalf("Expected pods %v, got pods %v", originalPods[:4], pods)
    		}
    
    		// create new pods
    		if _, err = ssc.UpdateStatefulSet(context.TODO(), set, pods); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  5. src/crypto/x509/verify_test.go

    }
    
    func expectHashError(t *testing.T, err error) {
    	if err == nil {
    		t.Fatalf("no error resulted from invalid hash")
    	}
    	if expected := "algorithm unimplemented"; !strings.Contains(err.Error(), expected) {
    		t.Fatalf("error resulting from invalid hash didn't contain '%s', rather it was: %v", expected, err)
    	}
    }
    
    func expectNameConstraintsError(t *testing.T, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  6. src/net/http/serve_test.go

    		}
    		if cl, expected := res.ContentLength, int64(3); cl != expected {
    			t.Errorf("for %s expected res.ContentLength of %d; got %d", url, expected, cl)
    		}
    		if cl, expected := res.Header.Get("Content-Length"), "3"; cl != expected {
    			t.Errorf("for %s expected Content-Length header of %q; got %q", url, expected, cl)
    		}
    		if tl, expected := len(res.TransferEncoding), 0; tl != expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/validation/validation_test.go

    			err := errs.ToAggregate()
    			if err != nil {
    				if e, a := test.expectedError, err.Error(); !strings.Contains(a, e) || e == "" {
    					t.Errorf("expected to contain:\n  %s\ngot:\n  %s", e, a)
    				}
    			} else {
    				if test.expectedError != "" {
    					t.Errorf("unexpected no error, expected to contain:\n  %s", test.expectedError)
    				}
    			}
    		})
    
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  8. pkg/apis/batch/validation/validation_test.go

    				err := errs[0]
    				if len(v.createErr) == 0 {
    					t.Errorf("unexpected error: %#v, none expected", err)
    					return
    				}
    				if !strings.Contains(err.Error(), v.createErr) {
    					t.Errorf("unexpected error: %v, expected: %s", err, v.createErr)
    				}
    			} else if len(v.createErr) != 0 {
    				t.Errorf("no error, expected %v", v.createErr)
    				return
    			}
    
    			oldSpec := v.cronJob.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  9. pkg/controller/podautoscaler/horizontal_test.go

    			assert.Equal(t, namespace, obj.Namespace, "the HPA namespace should be as expected")
    			assert.Equal(t, hpaName, obj.Name, "the HPA name should be as expected")
    			assert.Equal(t, tc.expectedDesiredReplicas, obj.Status.DesiredReplicas, "the desired replica count reported in the object status should be as expected")
    			if tc.verifyCPUCurrent {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    	if err != nil {
    		if !expectErr {
    			t.Fatalf("authenticate token: %v", err)
    		}
    		if got := err.Error(); c.wantErr != got {
    			t.Fatalf("expected error %q when authenticating token but got %q", c.wantErr, got)
    		}
    		return
    	}
    
    	if expectErr {
    		t.Fatalf("expected error %q when authenticating token but got none", c.wantErr)
    	}
    	if !ok {
    		if !c.wantSkip {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
Back to top