- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,702 for rfind (0.04 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc
StringRef caller_name = mlir::cast<NameLoc>(caller).getName().strref(); const size_t start_index = kQuantizationUnitPrefix.size(); const size_t end_index = caller_name.rfind(kQuantizationUnitSuffix); std::string serialized_proto = caller_name.substr(start_index, end_index - start_index).str(); QuantizationUnitLoc::QuantizationUnit quant_unit;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc
explicit MockFailurePass() = default; private: void runOnOperation() override { getOperation().walk([](Operation* nestedOp) { if (nestedOp->getName().getStringRef().str().rfind("tf.") != -1) { AttachErrorCode( nestedOp->emitError() << "Failed at " << nestedOp->getName().getStringRef().str() << " op",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.cc
result = result.substr(sizeof("external/") - 1); pos = result.find('/'); if (pos != string::npos) { result = result.substr(pos + 1); } } return result; } string GetFilename(StringPiece path) { size_t slash_pos = path.rfind('/'); if (slash_pos == path.npos) slash_pos = -1; size_t dot_pos = path.rfind('.'); return string(path.substr(slash_pos + 1, dot_pos - (slash_pos + 1))); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
tensorflow/cc/saved_model/metrics.cc
return absl::StrCat(path, ":", singleprint); } absl::StatusOr<std::pair<std::string, std::string>> ParseSavedModelPathAndSingleprint(std::string path_and_singleprint) { size_t delimiter = path_and_singleprint.rfind(':'); if (delimiter == std::string::npos) { return absl::InvalidArgumentError( "Invalid path_and_singleprint argument. Found no delimeter."); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 13.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy
def mainDirAttributes = project.sourceDirectories.find { it.path == 'src/main/java' }.classpathAttributes def testDirAttributes = project.sourceDirectories.find { it.path == 'src/test/java' }.classpathAttributes then: mainDirAttributes.find { it.name == 'gradle_scope' && it.value == 'main' } mainDirAttributes.find { it.name == 'gradle_used_by_scope' && it.value == 'main,test' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 4.3K bytes - Viewed (0) -
tests/transaction_test.go
if err := DB.First(&User{}, "name = ?", user.Name).Error; err != nil { t.Fatalf("Should find saved record") } if err := DB.First(&User{}, "name = ?", user1.Name).Error; err == nil { t.Fatalf("Should not find rollbacked record") } if err := DB.First(&User{}, "name = ?", user2.Name).Error; err != nil { t.Fatalf("Should find saved record") } } func TestNestedTransactionWithBlock(t *testing.T) { var (
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r56/ToolingApiEclipseModelTestSourcesCrossVersionSpec.groovy
EclipseProjectDependency depC = projectA.projectDependencies.find { it.path == 'c' } EclipseProjectDependency depD = projectA.projectDependencies.find { it.path == 'd' } then: !depB.classpathAttributes.find { it.name == 'test' && it.value == 'true' } !depB.classpathAttributes.find { it.name == 'without_test_code' && it.value == 'false' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 8.5K bytes - Viewed (0) -
src/runtime/mgcscavenge_test.go
test.find(find) // Now we should be able to find things. find(0, 0) // The test should always fully exhaust the index. }) t.Run("Force/"+test.name, func(t *testing.T) { mark, find, _ := setup(t, true) test.mark(mark) test.find(find) // Finding should always work when forced. find(0, 0) // The test should always fully exhaust the index. }) } t.Run("Bg/MarkInterleaved", func(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r211/ToolingApiIdeaModelCrossVersionSpec.groovy
ideaProject.modules.find { it.name == 'root' }.javaLanguageSettings == null ideaProject.modules.find { it.name == 'child1' }.javaLanguageSettings == null ideaProject.modules.find { it.name == 'child2' }.javaLanguageSettings.languageLevel == JavaVersion.VERSION_1_2 ideaProject.modules.find { it.name == 'child3' }.javaLanguageSettings.languageLevel == null // inherited }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 7.8K bytes - Viewed (0) -
tests/preload_test.go
t.Fatalf("errors happened when create: %v", err) } var user2 User DB.Preload("Pets.Toy").Find(&user2, "id = ?", user.ID) CheckUser(t, user2, user) var user3 User DB.Preload(clause.Associations+"."+clause.Associations).Find(&user3, "id = ?", user.ID) CheckUser(t, user3, user) var user4 *User DB.Preload("Pets.Toy").Find(&user4, "id = ?", user.ID) CheckUser(t, *user4, user) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0)