- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 92 for assertGet (0.14 sec)
-
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) -
src/time/tick_test.go
noTick() // Test that len sees an immediate tick arrive // for Reset of timer in heap. tim.Reset(1) assertLen() assertTick() // Test that len sees an immediate tick arrive // for Reset of timer NOT in heap. tim.Stop() drainAsync() tim.Reset(1) assertLen() assertTick() } // Sleep long enough that a second tick must happen if this is a ticker.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
absl::flat_hash_map<string, std::vector<string>> cluster_sets = GetClusterSets(*graph); ASSERT_EQ(cluster_sets.size(), 1); std::vector<string> expected_clustered_nodes = {"AssignmentW", "ReadR", "ValueToAssignW"}; ASSERT_EQ(cluster_sets.begin()->second, expected_clustered_nodes); } TEST(XlaCompilationTest, ResourcesClusteringDisallowed) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc
expected->subgraph_metadata()->GetAs<SubgraphMetadata>(i); if (expected_subgraph_metadata->op_metadata() == nullptr && result_subgraph_metadata->op_metadata() == nullptr) { return; } ASSERT_EQ(expected_subgraph_metadata->op_metadata()->size(), result_subgraph_metadata->op_metadata()->size()); for (int j = 0; j < expected_subgraph_metadata->op_metadata()->size(); ++j) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_predicates.go
// license that can be found in the LICENSE file. // This file implements exported type predicates. package types2 // AssertableTo reports whether a value of type V can be asserted to have type T. // // The behavior of AssertableTo is unspecified in three cases: // - if T is Typ[Invalid] // - if V is a generalized interface; i.e., an interface that may only be used
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 16:36:08 UTC 2024 - 3.3K bytes - Viewed (0) -
src/go/types/api_predicates.go
// license that can be found in the LICENSE file. // This file implements exported type predicates. package types // AssertableTo reports whether a value of type V can be asserted to have type T. // // The behavior of AssertableTo is unspecified in three cases: // - if T is Typ[Invalid] // - if V is a generalized interface; i.e., an interface that may only be used
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 16:36:08 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/DependencyLockingGraphVisitor.java
/** * This will transform any lock out of date result into an {@link UnresolvedDependency} in order to plug into lenient resolution. * This happens only if there are no previous failures as otherwise lock state can't be asserted. * * @return the existing failures augmented with any locking related one */ public Set<UnresolvedDependency> collectLockingFailures() { if (dependencyLockingState.mustValidateLockState()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
TF_ASSERT_OK(BuildXlaOps(root, fdef_lib, &graph)); Node* stateful_partitioned_call_op = nullptr; for (Node* n : graph->op_nodes()) { if (n->type_string() == "StatefulPartitionedCall") { ASSERT_EQ(stateful_partitioned_call_op, nullptr); stateful_partitioned_call_op = n; } } ASSERT_NE(stateful_partitioned_call_op, nullptr); auto xla_compile = NodeWith(Op("_XlaCompile"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc
EXPECT_TRUE(mlir::isa<mlir::DenseStringElementsAttr>(attr)); auto string_attr = mlir::cast<mlir::DenseStringElementsAttr>(attr); auto string_values = string_attr.getRawStringData(); ASSERT_EQ(string_values.size(), 4); EXPECT_EQ(string_values[0], mlir::StringRef("one")); EXPECT_EQ(string_values[1], mlir::StringRef("two")); EXPECT_EQ(string_values[2], mlir::StringRef("three"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
// Build tags separated by a space are OR-ed together. assertNot(shouldTest("// +build arm 386", "linux", "amd64")) // Build tags separated by a comma are AND-ed together. assertNot(shouldTest("// +build !windows,!plan9", "windows", "amd64")) assertNot(shouldTest("// +build !windows,!plan9", "plan9", "386")) // Build tags on multiple lines are AND-ed together.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0)