- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for expectFalse (0.17 sec)
-
src/cmd/compile/internal/test/testdata/fp_test.go
expectCx128(t, "neg", neg, -1-2i) expect64(t, "real", r, 1) expect64(t, "imag", i, 2) expectCx128(t, "cnst", cnst, -4+7i) expectTrue(t, fmt.Sprintf("%v==%v", a, a), c1) expectFalse(t, fmt.Sprintf("%v==%v", a, b), c2) expectFalse(t, fmt.Sprintf("%v!=%v", a, a), c3) expectTrue(t, fmt.Sprintf("%v!=%v", a, b), c4) } func complexTest64(t *testing.T) { var a complex64 = 1 + 2i var b complex64 = 3 + 6i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 35K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go
expectValue: types.OptionalNone, }, { name: "example_usage_qualifiedName", expr: `format.qualifiedName().validate("apiextensions.k8s.io/v1beta1")`, expectValue: types.OptionalNone, }, { name: "example_usage_dns1123LabelPrefix", expr: `format.dns1123LabelPrefix().validate("my-label-prefix-")`, expectValue: types.OptionalNone, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 9.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_util_test.cc
} TEST(XlaCompileUtilTest, PjRtXlaLaunchFlagTest) { EXPECT_FALSE(UsePjRtForSingleDeviceCompilation(DeviceType(DEVICE_CPU))); // Flag is turned on, but no device is allowlisted. auto& rollout_config = GetXlaOpsCommonFlags()->tf_xla_use_device_api; rollout_config.enabled_for_xla_launch_ = true; EXPECT_FALSE(UsePjRtForSingleDeviceCompilation(DeviceType(DEVICE_CPU)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 16 21:48:05 UTC 2023 - 6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go
}, { name: "isQuantity", expr: `isQuantity("20")`, expectValue: trueVal, }, { name: "isQuantity_megabytes", expr: `isQuantity("20M")`, expectValue: trueVal, }, { name: "isQuantity_mebibytes", expr: `isQuantity("20Mi")`, expectValue: trueVal, }, { name: "isQuantity_invalidSuffix",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compiler_options_util_test.cc
EXPECT_FALSE(options.allow_cpu_custom_calls); EXPECT_FALSE(options.alias_passthrough_params); } TEST_F(XlaCompilerOptionsTest, GenerateCompileOptions) { XlaCompiler::CompileOptions option1 = GenerateCompileOptions( /*has_ref_vars=*/false, /*may_alias_resource_update=*/false); EXPECT_TRUE(option1.is_entry_computation); EXPECT_FALSE(option1.always_return_tuple);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 29 01:41:20 UTC 2023 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type_test.cc
EXPECT_TRUE(IsLargeFloatType(Float80Type::get(context.get()))); EXPECT_FALSE(IsLargeFloatType(IntegerType::get(context.get(), 8))); EXPECT_FALSE(IsLargeFloatType(IntegerType::get(context.get(), 16))); EXPECT_FALSE(IsLargeFloatType(IntegerType::get(context.get(), 32))); } TEST(IsLargeFloatTypeTest, tensors) { auto context = CreateContext(); EXPECT_FALSE(IsLargeFloatType(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 19 23:51:52 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/bridge_logger_test.cc
// Both strings do not appear in any module. setenv("MLIR_BRIDGE_LOG_STRING_FILTER", "func @main(%arg0:tensor;XXX", 1); BridgeLoggerConfig logger_config2; EXPECT_FALSE( logger_config2.ShouldPrint(dummy_pass.get(), mlir_module_with_add.get())); EXPECT_FALSE( logger_config2.ShouldPrint(dummy_pass.get(), mlir_module_with_sub.get())); // String appears in one module but not in the other.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 6.7K bytes - Viewed (0) -
tools/istio-iptables/pkg/validation/vld_test.go
import ( "encoding/binary" "testing" ) func TestNtohs(t *testing.T) { hostValue := ntohs(0xbeef) expectValue := 0xbeef if nativeByteOrder == binary.LittleEndian { expectValue = 0xefbe } if hostValue != uint16(expectValue) { t.Errorf("Expected evaluating ntohs(%v) is %v, actual %v", 0xbeef, expectValue, hostValue) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 04 17:49:37 UTC 2021 - 938 bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc
EXPECT_TRUE(IsTypeLegalizedWithMlir(TypeID::get<TF::ModOp>())); EXPECT_FALSE(HasTf2XlaFallback(TypeID::get<TF::ModOp>())); EXPECT_FALSE(IsOpAllowedTf2xlaFallback(TypeID::get<TF::ModOp>())); EXPECT_FALSE(IsOpAllowedTf2xlaPreferred(TypeID::get<TF::ModOp>())); } TEST_F(LegalizationOpConfigTest, ExpectsTrueForTF2XLATypeID) { EXPECT_TRUE(HasTf2XlaFallback(TypeID::get<TF::AllOp>()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 30 03:31:01 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
EXPECT_EQ(value, 3); EXPECT_TRUE(cache.Lookup("d", &value)); EXPECT_EQ(value, 4); cache.Clear(); EXPECT_FALSE(cache.Lookup("a", &value)); EXPECT_FALSE(cache.Lookup("b", &value)); EXPECT_FALSE(cache.Lookup("c", &value)); EXPECT_FALSE(cache.Lookup("d", &value)); } TEST(ExpiringLRUCacheTest, Delete) { // Insert an entry. tf_gcs_filesystem::ExpiringLRUCache<int> cache(1, 4);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 09 19:31:22 UTC 2020 - 7.1K bytes - Viewed (0)