Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 7,321 for expect64 (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops_invalid.mlir

    // expected-error@-1 {{use of value '%arg0' expects different type than prior uses: 'tensor<*xf32>' vs 'tensor<*xi32>'}}
      }
      func.return
    }
    
    // -----
    
    // Check that a replicate with multiple blocks in its region is invalid.
    func.func @parser_replicate_region() {
      tf_device.replicate() {n = 2 : i32} {
    // expected-error@-1 {{custom op 'tf_device.replicate' expects a single block region}}
        cf.br ^bb
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    //
    //    * {ASSERT|EXPECT}_EQ(expected, actual): Tests that expected == actual
    //    * {ASSERT|EXPECT}_NE(v1, v2):           Tests that v1 != v2
    //    * {ASSERT|EXPECT}_LT(v1, v2):           Tests that v1 < v2
    //    * {ASSERT|EXPECT}_LE(v1, v2):           Tests that v1 <= v2
    //    * {ASSERT|EXPECT}_GT(v1, v2):           Tests that v1 > v2
    //    * {ASSERT|EXPECT}_GE(v1, v2):           Tests that v1 >= v2
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    		t.Fatalf("RemoveVolumeFromReportAsAttached failed. Expected: <no error> Actual: <%v>", markDesireToDetachErr)
    	}
    	if addErr != nil {
    		t.Fatalf("AddVolumeNode failed. Expected: <no error> Actual: <%v>", addErr)
    	}
    
    	// Assert
    	attachedVolumes := asw.GetAttachedVolumes()
    	if len(attachedVolumes) != 1 {
    		t.Fatalf("len(attachedVolumes) Expected: <1> Actual: <%v>", len(attachedVolumes))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  4. src/regexp/find_test.go

    		// ok
    	case test.matches == nil && result != nil:
    		t.Errorf("expected no match; got one: %s", test)
    	case test.matches != nil && result == nil:
    		t.Errorf("expected match; got none: %s", test)
    	case test.matches != nil && result != nil:
    		expect := test.matches[0]
    		if expect[0] != result[0] || expect[1] != result[1] {
    			t.Errorf("expected %v got %v: %s", expect, result, test)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 15:28:50 UTC 2021
    - 16.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/pseudo_test.go

    		{"TEXT", "$0É:0, 0, $1", "expected end of operand, found É"}, // Issue #12467.
    		{"TEXT", "$:0:(SB, 0, $1", "expected '(', found 0"},          // Issue 12468.
    		{"TEXT", "@B(SB),0,$0", "expected '(', found B"},             // Issue 23580.
    		{"TEXT", "foo<ABIInternal>(SB),0", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
    		{"FUNCDATA", "", "expect two operands for FUNCDATA"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. cmd/import-boss/main_test.go

    		if ret != tc.expect {
    			t.Errorf("[%d] expected %v, got %v: %q", i, tc.expect, ret, tc.input)
    		}
    	}
    }
    
    func TestHasPathPrefix(t *testing.T) {
    	cases := []struct {
    		base   string
    		pfx    string
    		expect bool
    	}{{
    		base:   "",
    		pfx:    "",
    		expect: true,
    	}, {
    		base:   "/foo/bar",
    		pfx:    "",
    		expect: true,
    	}, {
    		base:   "",
    		pfx:    "/foo",
    		expect: false,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. pkg/credentialprovider/config_test.go

    	if err != nil {
    		t.Errorf("Received unexpected error: %v", err)
    	}
    
    	if !reflect.DeepEqual(expect, output) {
    		t.Errorf("Received unexpected output. Expected %#v, got %#v", expect, output)
    	}
    }
    
    func TestDockerConfigEntryJSONDecode(t *testing.T) {
    	tests := []struct {
    		input  []byte
    		expect DockerConfigEntry
    		fail   bool
    	}{
    		// simple case, just decode the fields
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. pkg/model/proxy_test.go

    func TestStringList(t *testing.T) {
    	cases := []struct {
    		in          string
    		expect      model.StringList
    		noRoundTrip bool
    	}{
    		{in: `"a,b,c"`, expect: []string{"a", "b", "c"}},
    		{in: `"\"a,b,c"`, expect: []string{`"a`, "b", "c"}},
    		{in: `"a"`, expect: []string{"a"}},
    		{in: `""`, expect: []string{}},
    		{in: `"123,@#$#,abcdef"`, expect: []string{"123", "@#$#", "abcdef"}},
    	}
    	for _, tt := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. operator/pkg/util/progress/progress_test.go

    	testBuf := io.Writer(buf)
    	testWriter = &testBuf
    	expected := ""
    	expect := func(e string) {
    		t.Helper()
    		// In buffer mode we don't overwrite old data, so we are constantly appending to the expected
    		newExpected := expected + "\n" + e
    		if newExpected != buf.String() {
    			t.Fatalf("expected '%v', \ngot '%v'", newExpected, buf.String())
    		}
    		expected = newExpected
    	}
    
    	p := NewLog()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. pkg/test/util/yml/parts_test.go

    			parts := yml.SplitString(c.doc)
    			g := NewWithT(t)
    			g.Expect(parts).To(Equal(expected))
    		})
    	}
    }
    
    func TestSplitWithNestedDocument(t *testing.T) {
    	doc := `
    b
        b1
        ---
        b2
    `
    	expected := []string{
    		`b
        b1
        ---
        b2`,
    	}
    
    	g := NewWithT(t)
    	parts := yml.SplitString(doc)
    	g.Expect(parts).To(Equal(expected))
    }
    
    func TestJoinRemovesEmptyParts(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top