Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 685 for expected_ (0.22 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/fill_quantization_options_test.cc

     public:
      explicit ProtoStringMatcher(const tsl::protobuf::Message& expected)
          : expected_(expected.SerializeAsString()) {}
    
      template <typename Message>
      bool MatchAndExplain(const Message& p, testing::MatchResultListener*) const {
        return p.SerializeAsString() == expected_;
      }
    
      void DescribeTo(::std::ostream* os) const { *os << expected_; }
      void DescribeNegationTo(::std::ostream* os) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Date expected4 = new Date();
            doc.put("key4", expected4);
            assertEquals(expected4, DocumentUtil.getValue(doc, "key4", Date.class));
        }
    
        public void test_long() {
            Map<String, Object> doc = new HashMap<>();
    
            long expected5 = 999999999999999999L;
            doc.put("key5", expected5);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. cni/test/testdata/expected/minikube_cni.conflist.expected

    Ben Leggett <******@****.***> 1716316321 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 875 bytes
    - Viewed (0)
  4. security/pkg/server/ca/authenticate/oidc_test.go

    	tests := map[string]struct {
    		token      string
    		expectErr  bool
    		expectedID string
    	}{
    		"No bearer token": {
    			expectErr: true,
    		},
    		"Valid token": {
    			token:      token,
    			expectErr:  false,
    			expectedID: spiffe.MustGenSpiffeURIForTrustDomain("baz.svc.id.goog", "bar", "foo"),
    		},
    		"Expired token": {
    			token:     expiredToken,
    			expectErr: true,
    		},
    		"Token with wrong audience": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go

    	if list, ok := in.(*unstructured.UnstructuredList); ok {
    		for i := range list.Items {
    			expectedGV := list.Items[i].GroupVersionKind().GroupVersion()
    			if !c.validVersions[expectedGV] {
    				return nil, fmt.Errorf("request to convert CR list failed, list index %d has invalid group/version: %s", i, expectedGV.String())
    			}
    		}
    	}
    	return c.converter.Convert(in, toGVK.GroupVersion())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/cmd/internal/buildid/buildid_test.go

    		}
    		defer os.Remove(f)
    		id, err := ReadFile(f)
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(testdata/%s) = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    		old := readSize
    		readSize = 2048
    		id, err = ReadFile(f)
    		readSize = old
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(%s) [readSize=2k] = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    
    		data, err := os.ReadFile(f)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            value = "Fess,フェス";
            expected = Arrays.asList("Fess", "フェス");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "\"Fess,FESS\"";
            expected = Arrays.asList("\"Fess,FESS\"");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/labels_test.go

    	containerInfo := getContainerInfoFromAnnotations(annotations)
    	if !reflect.DeepEqual(containerInfo, expected) {
    		t.Errorf("expected %v, got %v", expected, containerInfo)
    	}
    	if v, ok := annotations[opts.Annotations[0].Name]; !ok || v != opts.Annotations[0].Value {
    		t.Errorf("expected annotation %s to exist got %v, %v", opts.Annotations[0].Name, ok, v)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/convert_test.go

    		assert.Equal(t, test.expected, actual)
    	}
    }
    
    func TestConvertToRuntimeAPIImageSpec(t *testing.T) {
    	testCases := []struct {
    		input    kubecontainer.ImageSpec
    		expected *runtimeapi.ImageSpec
    	}{
    		{
    			input: kubecontainer.ImageSpec{
    				Image:          "test",
    				RuntimeHandler: "",
    				Annotations:    nil,
    			},
    			expected: &runtimeapi.ImageSpec{
    				Image:          "test",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenScope.groovy

            assert dependencyManagement.isEmpty()
        }
    
        void assertDependsOn(String... expected) {
            assertDependencies(dependencies, expected)
        }
    
        private void assertDependencies(Map<String, MavenDependency> dependencies, String... expected) {
            assert dependencies.size() == expected.length
            expected.each {
                String key = StringUtils.substringBefore(it, "@")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top