Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 8,433 for expect (0.21 sec)

  1. operator/cmd/mesh/manifest-generate_test.go

    		t.Fatal(err)
    	}
    
    	for _, objs := range objss {
    		g.Expect(objs.kind(name.HPAStr).size()).Should(Equal(3))
    		g.Expect(objs.kind(name.PDBStr).size()).Should(Equal(3))
    		g.Expect(objs.kind(name.ServiceStr).labels("istio=ingressgateway").size()).Should(Equal(3))
    		g.Expect(objs.kind(name.RoleStr).nameMatches(".*gateway.*").size()).Should(Equal(3))
    		g.Expect(objs.kind(name.RoleBindingStr).nameMatches(".*gateway.*").size()).Should(Equal(3))
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/pseudo_test.go

    		{"DATA", "", "expect two operands for DATA"},
    		{"DATA", "0", "expect two operands for DATA"},
    		{"DATA", "(0), 1", "expect /size for DATA argument"},
    		{"DATA", "@B(SB)/4,0", "expected '(', found B"}, // Issue 23580.
    		{"DATA", "·A(SB)/4,0", "DATA value must be an immediate constant or address"},
    		{"DATA", "·B(SB)/4,$0", ""},
    		{"DATA", "·C(SB)/5,$0", "bad int size for DATA argument: 5"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. tests/helper_test.go

    				t.Errorf("pets#%v should equal, expect: %v, got %v", idx, expect.Pets[idx], pet)
    			} else {
    				doCheckPet(t, *pet, *expect.Pets[idx], unscoped)
    			}
    		}
    	})
    
    	t.Run("Toys", func(t *testing.T) {
    		if len(user.Toys) != len(expect.Toys) {
    			t.Fatalf("toys should equal, expect: %v, got %v", len(expect.Toys), len(user.Toys))
    		}
    
    		sort.Slice(user.Toys, func(i, j int) bool {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. cmd/metacache-stream_test.go

    man-shifts.dyn.expect", "src/compress/flate/testdata/huffman-shifts.dyn.expect-noinput", "src/compress/flate/testdata/huffman-shifts.golden", "src/compress/flate/testdata/huffman-shifts.in", "src/compress/flate/testdata/huffman-shifts.wb.expect", "src/compress/flate/testdata/huffman-shifts.wb.expect-noinput", "src/compress/flate/testdata/huffman-text-shift.dyn.expect", "src/compress/flate/testdata/huffman-text-shift.dyn.expect-noinput", "src/compress/flate/testdata/huffman-text-shift.golden", "s...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 15K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental_test.cc

        int64_t* dims = output_shapes->items[0].dims;
    
        if (!expected_shape.has_value()) {
          EXPECT_EQ(num_dims, -1);
          EXPECT_EQ(dims, nullptr);
          return;
        }
    
        EXPECT_EQ(num_dims, expected_shape->size());
        for (size_t i = 0; i < num_dims; ++i) {
          EXPECT_EQ(dims[i], (*expected_shape)[i]);
        }
        TF_DeleteShapeAndTypeList(input_shapes);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       * value is <a href="#bitEquals">bitwise equal</a> to the expected value.
       *
       * @param i the index
       * @param expect the expected value
       * @param update the new value
       * @return true if successful. False return indicates that the actual value was not equal to the
       *     expected value.
       */
      public final boolean compareAndSet(int i, double expect, double update) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. internal/dsync/dsync_test.go

    		dm2nd.Unlock(context.Background())
    	}()
    	expect += 2*testDrwMutexAcquireTimeout + testDrwMutexRefreshCallTimeout
    
    	wg.Wait()
    	// We expect at least 3 x 2 x testDrwMutexAcquireTimeout to have passed
    	elapsed := time.Since(started)
    	if elapsed < expect {
    		t.Errorf("expected at least %v time have passed, however %v passed", expect, elapsed)
    	}
    	t.Logf("expected at least %v time have passed, %v passed", expect, elapsed)
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ASSERT_TF_OK(status_);
    
      tf_gcs_filesystem::PathExists(filesystem_, dst.c_str(), status_);
      EXPECT_TF_OK(status_);
      tf_gcs_filesystem::RenameFile(filesystem_, src.c_str(), dst.c_str(), status_);
      EXPECT_TF_OK(status_);
    
      auto result = ReadAll(dst);
      EXPECT_TF_OK(status_);
      EXPECT_EQ("test_old", result);
    }
    
    // These tests below are ported from
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue1435.go

    		fn             func() error
    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

            expect:
            parse(source) == transformed
    
            where:
            source              | transformed
            "text<p>para 2</p>" | "<p>text</p><p>para 2</p>"
            "text<h2>text</h2>" | "<p>text</p><h2>text</h2>"
        }
    
        def "does not add implicit <p> element for elements with inline content"() {
            expect:
            parse(source) == transformed
    
            where:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
Back to top