Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for subsequences (0.5 sec)

  1. src/cmd/compile/internal/ssa/lca.go

    	if p1 > p2 {
    		p1, p2 = p2, p1
    	}
    
    	// The lowest common ancestor is the minimum depth block
    	// on the tour from p1 to p2.  We've precomputed minimum
    	// depth blocks for powers-of-two subsequences of the tour.
    	// Combine the right two precomputed values to get the answer.
    	logS := uint(log64(int64(p2 - p1)))
    	bid1 := lca.rangeMin[logS][p1]
    	bid2 := lca.rangeMin[logS][p2-1<<logS+1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 21:52:15 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/fingerprinting_utils.h

    using ::tensorflow::protobuf::Map;
    using ::tensorflow::protobuf::Message;
    using ::tensorflow::protobuf::RepeatedPtrField;
    
    // Number of sequential FieldIndex matches of `a` in `b`. (Length of initial
    // subsequence.)
    // Example: `a = {4, 2}`, `b = {4, 2, 1, 3}`, `fieldTagMatches(a, b) == 2`
    absl::StatusOr<int> fieldTagMatches(
        const RepeatedPtrField<::tensorflow::proto_splitter::FieldIndex>& a,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/internal/diff/diff.go

    	}
    	return l
    }
    
    // tgs returns the pairs of indexes of the longest common subsequence
    // of unique lines in x and y, where a unique line is one that appears
    // once in x and once in y.
    //
    // The longest common subsequence algorithm is as described in
    // Thomas G. Szymanski, “A Special Case of the Maximal Common
    // Subsequence Problem,” Princeton TR #170 (January 1975),
    // available at https://research.swtch.com/tgs170.pdf.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 14:13:04 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportFixture.groovy

            def td = table.select("tfoot td:eq(2)").first()
            String totalCoverage = td.text().replaceAll(NON_BREAKING_WHITESPACE, '') // remove non-breaking whitespace
            return totalCoverage.endsWith("%") ? totalCoverage.subSequence(0, totalCoverage.length() - 1) as BigDecimal : null
        }
    
        int numberOfClasses() {
            def parsedHtmlReport = Jsoup.parse(htmlDir.file("index.html"), "UTF-8")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
         * @param start the starting index of the subsequence to be appended
         * @param end the end index of the subsequence to be appended
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder a(CharSequence value, int start, int end) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 08 10:37:09 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramSource.kt

        val result = StringBuilder(length)
    
        for (range in ranges.sortedBy { it.first }) {
    
            result.append(this, result.length, range.first)
    
            for (ch in subSequence(range)) {
                result.append(
                    if (Character.isWhitespace(ch)) ch
                    else ' '
                )
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramParser.kt

                    .filter { it.identifier === id }
                    .singleBlockSectionOrNull()
            }
        }
    
        private
        fun ProgramSourceFragment.isNotBlank() =
            source.text.subSequence(section.block.first + 1, section.block.last).isNotBlank()
    }
    
    
    internal
    fun checkForTopLevelBlockOrder(
        topLevelBlocks: List<TopLevelBlock>
    ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/AbstractStyledTextOutput.java

            text(csq == null ? "null" : csq);
            return this;
        }
    
        @Override
        public StyledTextOutput append(CharSequence csq, int start, int end) {
            text(csq == null ? "null" : csq.subSequence(start, end));
            return this;
        }
    
        @FormatMethod
        @Override
        public StyledTextOutput format(String pattern, Object... args) {
            text(String.format(pattern, args));
            return this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/go/doc/comment/text.go

    //
    // The implementation runs in O(n log n) time, where n = len(words),
    // using the algorithm described in D. S. Hirschberg and L. L. Larmore,
    // “[The least weight subsequence problem],” FOCS 1985, pp. 137-143.
    //
    // [The least weight subsequence problem]: https://doi.org/10.1109/SFCS.1985.60
    func wrap(words []string, max int) (seq []int) {
    	// The algorithm requires that our scoring function be concave,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

         */
        public static ExhaustiveLinesSearcher useUnifiedDiff() {
            return new ExhaustiveLinesSearcher(true);
        }
    
        /**
         * Uses the LCS (longest common subsequence) algorithm for presenting matches.
         *
         * @return searcher that uses a unified diff output
         */
        public static ExhaustiveLinesSearcher useLcsDiff() {
            return new ExhaustiveLinesSearcher(false);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top