Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for findText (0.19 sec)

  1. docs/sts/client_grants/sts_element.py

                        ('Invalid XML provided for "{}" - erroring tag <{}>. '
                         'Message: {}').format(self.root_name, name, error.message)
                    )
            else:
                return self.element.findtext('sts:{}'.format(name), None, _STS_NS)
    
        def text(self):
            """Fetch the current node's text
    
            """
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/cover/cover.go

    	mdb     *encodemeta.CoverageMetaDataBuilder
    	fn      Func
    	pkg     *Package
    }
    
    // findText finds text in the original source, starting at pos.
    // It correctly skips over comments and assumes it need not
    // handle quoted strings.
    // It returns a byte offset within f.src.
    func (f *File) findText(pos token.Pos, text string) int {
    	b := []byte(text)
    	start := f.offset(pos)
    	i := start
    	s := f.content
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/collections/FilteredElementSource.java

                this.iterator = collection.iteratorNoFlush();
                this.filter = filter;
                this.estimatedSize = collection.estimatedSize();
                this.next = findNext();
            }
    
            @Nullable
            private S findNext() {
                while (iterator.hasNext()) {
                    T potentialNext = iterator.next();
                    S filtered = filter.filter(potentialNext);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:16:51 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/DumpbinBinaryInfo.groovy

        }
    
        private findExe(String exe) {
            final candidate = new File(vcBin, exe)
            if (candidate.exists()) {
                return candidate
            }
            throw new RuntimeException("dumpbin.exe not found")
        }
    
        protected String getDumpbinHeaders() {
            def dumpbin = findExe("dumpbin.exe")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Collections2.java

        }
    
        void calculateNextPermutation() {
          int j = findNextJ();
          if (j == -1) {
            nextPermutation = null;
            return;
          }
          /*
           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/BazelFileContentGenerator.groovy

        fname = [x.path for x in fname.files.to_list()][0]
        toks = fname[:-5].split("/")
        findex = -1
        for s in _PREFIXES:
            findex = _SafeIndex(toks, s)
            if findex != -1:
                break
        if findex == -1:
            fail("%s does not contain any of %s" % (fname, _PREFIXES))
        return ".".join(toks[findex:]) + ".class"
    
    def _impl(ctx):
        classes = ",".join(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/regexp/find_test.go

    // only the FindAllStringSubmatchIndex result.
    type FindTest struct {
    	pat     string
    	text    string
    	matches [][]int
    }
    
    func (t FindTest) String() string {
    	return fmt.Sprintf("pat: %#q text: %#q", t.pat, t.text)
    }
    
    var findTests = []FindTest{
    	{``, ``, build(1, 0, 0)},
    	{`^abcdefg`, "abcdefg", build(1, 0, 7)},
    	{`a+`, "baaab", build(1, 1, 4)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 15:28:50 UTC 2021
    - 16.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/NMToolFixture.groovy

            this.environments = environments
        }
        
        static NMToolFixture of(List<String> environments) {
            return new NMToolFixture(environments)
        }
    
        private findExe(String exe) {
            // *nix OS correctly handle search inside the process's PATH environment variable
            if (!OperatingSystem.current().windows) {
                return [exe]
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Collections2.java

        }
    
        void calculateNextPermutation() {
          int j = findNextJ();
          if (j == -1) {
            nextPermutation = null;
            return;
          }
          /*
           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    // binutils objdump binary. No version check is performed.
    func isBuObjdump(output string) bool {
    	return strings.Contains(output, "GNU objdump")
    }
    
    // findExe looks for an executable command on a set of paths.
    // If it cannot find it, returns cmd.
    func findExe(cmd string, paths []string) (string, bool) {
    	for _, p := range paths {
    		cp := filepath.Join(p, cmd)
    		if c, err := exec.LookPath(cp); err == nil {
    			return c, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top