Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,036 for rfind (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/TrieTest.groovy

            expect:
            !empty.find("")
            !empty.find("alma")
        }
    
        def "can find exact match"() {
            def trie = Trie.from("aaa", "bbb")
            expect:
            trie.find("aaa")
            trie.find("bbb")
            !trie.find("ccc")
        }
    
        def "can find prefix match"() {
            def trie = Trie.from("aaa", "bbb")
            expect:
            !trie.find("a")
            !trie.find("aa")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. 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)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiGradleProjectCrossVersionSpec.groovy

            !project.tasks.find { it.name == 'taskA' }
    
            GradleProject a = project.children[0]
            a.tasks.find { it.name == 'taskA' && it.project == a }
            !a.tasks.find { it.name == 'rootTask' }
    
            GradleProject ab = a.children.find { it.path == ':a:b' }
            ab.tasks.find { it.name == 'taskAB'}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/internal/SourceFoldersCreatorTest.groovy

            when:
            def folders = regularSourceFolders()
            then:
            folders.find { it.dir.path.endsWith("java") }.excludes == []
            folders.find { it.dir.path.endsWith("java") }.includes == patterns
            folders.find { it.dir.path.endsWith("resources") }.excludes == patterns
            folders.find { it.dir.path.endsWith("resources") }.includes == []
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiEclipseModelCrossVersionSpec.groovy

            def root = loadToolingModel(EclipseProject)
    
            then:
            def impl = root.children.find { it.name == 'impl'}
    
            root.gradleProject.tasks.find { it.name == 'rootTask' && it.path == ':rootTask' && it.project == root.gradleProject }
            !root.gradleProject.tasks.find { it.name == 'implTask' }
    
            impl.gradleProject.tasks.find { it.name == 'implTask' && it.path == ':impl:implTask' && it.project == impl.gradleProject}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/regex.go

    )
    
    // Regex provides a CEL function library extension of regex utility functions.
    //
    // find / findAll
    //
    // Returns substrings that match the provided regular expression. find returns the first match. findAll may optionally
    // be provided a limit. If the limit is set and >= 0, no more than the limit number of matches are returned.
    //
    //	<string>.find(<string>) <string>
    //	<string>.findAll(<string>) <list <string>>
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top