- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 385 for assertGet (0.33 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/MutationGuard.java
boolean isMutationAllowed(); /** * Throws exception when mutation is not allowed. * * @param methodName the method name the assertion is testing * @param target the target object been asserted on */ void assertMutationAllowed(String methodName, Object target); <T> void assertMutationAllowed(String methodName, T target, Class<T> targetType);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 11 21:58:11 UTC 2018 - 2.2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/AboutTheStubs.html
These stubs form an internally consistent data-set that is not expected to change. They are used to test the individual components in the lifecycle with data that has expected characteristics and can be asserted as desired. You can change/extend these stubs, and tests should not be breaking too much, since most tests assert using expected values from the stubs. Normally, when you try to use data from the stubs that
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Jul 02 16:47:10 UTC 2021 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc
const FunctionDef *f1_rewritten = fld.Find("f1_rearrange_0"); CHECK_NE(f1_rewritten, nullptr); ASSERT_EQ(f1_rewritten->signature().input_arg_size(), 2); EXPECT_EQ(f1_rewritten->signature().input_arg(0).type(), DT_BOOL); EXPECT_EQ(f1_rewritten->signature().input_arg(1).type(), DT_RESOURCE); ASSERT_EQ(f1_rewritten->signature().output_arg_size(), 1); EXPECT_EQ(f1_rewritten->signature().output_arg(0).type(), DT_BOOL);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 10.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ifaceassert/ifaceassert.go
URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/ifaceassert", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, } // assertableTo checks whether interface v can be asserted into t. It returns // nil on success, or the first conflicting method on failure. func assertableTo(free *typeparams.Free, v, t types.Type) *types.Func { if t == nil || v == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph_test.cc
TF_CHECK_OK(NodeBuilder("A", "NoOp").Finalize(&graph, &node)); setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); UseMlirForGraphDump(MlirDumpConfig()); string ret = DumpGraphToFile("tir", graph); ASSERT_EQ(ret, io::JoinPath(testing::TmpDir(), "tir.mlir")); string actual; TF_ASSERT_OK(ReadFileToString(Env::Default(), ret, &actual)); } TEST(Dump, TextualIrWithOptions) { Graph graph(OpRegistry::Global());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils_test.cc
TEST(FingerprintingTest, TestSerializeProto) { std::string many_fields_text_proto = R"pb( string_field: "abc123" )pb"; ManyFields many_fields; TF_ASSERT_OK(ParseTextProto(many_fields_text_proto, &many_fields)); ASSERT_EQ(SerializeProto(many_fields), many_fields.SerializeAsString()); } TEST(FingerprintingTest, TestHashFieldsV2) { std::string cpb_file = io::JoinPath(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 15.2K bytes - Viewed (0) -
subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/model/ModelReportOutput.groovy
* - {@code excepted} has, at a minimum, has the same number of and node names as {@actual} * - Where an {@code excepted} node has properties (nodeValue, types, etc.) the vales of those properties will be asserted with {@actual} * * @param actual Some or all of the model report used as the reference to verify {@code excepted}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jul 02 20:49:19 UTC 2015 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/integration_test/custom_aggregator_op_test.py
self.assertAllEqual(aggregator_output.output, [1.0, 1.0, 3.0, 4.0, 6.0]) self.assertEqual(aggregator_output.min, 1.0) self.assertEqual(aggregator_output.max, 6.0) self.assertLen(aggregator_output.histogram, 512) self.assertEqual(sum(aggregator_output.histogram), 5) self.assertEqual(aggregator_output.histogram[0], 2) self.assertEqual(aggregator_output.histogram[128], 1)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 5.6K bytes - Viewed (0) -
src/crypto/aes/modes_test.go
package aes import ( "crypto/cipher" "testing" ) // Check that the optimized implementations of cipher modes will // be picked up correctly. // testInterface can be asserted to check that a type originates // from this test group. type testInterface interface { InAESPackage() bool } // testBlock implements the cipher.Block interface and any *Able // interfaces that need to be tested.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 14 15:32:26 UTC 2018 - 3.5K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy
// Register that we've asserted this location assertedLocationCount += 1 def offsetLocation = locations.find { it instanceof OffsetInFileLocation } assert offsetLocation != null: "Expected a precise file location, but it was null" // Register that we've asserted this location assertedLocationCount += 1 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:15:29 UTC 2024 - 24K bytes - Viewed (0)