- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 365 for lines (0.08 seconds)
-
scripts/doc_parsing_utils.py
def extract_code_includes(lines: list[str]) -> list[CodeIncludeInfo]: """ Extract lines that contain code includes. Return list of CodeIncludeInfo, where each dict contains: - `line_no` - line number (1-based) - `line` - text of the line """ includes: list[CodeIncludeInfo] = [] for line_no, line in enumerate(lines, start=1): if CODE_INCLUDE_RE.match(line):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:37:41 GMT 2026 - 23.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/TransformLog4jConfigFilter.java
return String.join("\n", outputLines); } /** Squeeze multiple empty lines into a single line. */ static List<String> skipBlanks(List<String> lines) { boolean skipNextEmpty = false; final List<String> output = new ArrayList<>(lines.size()); for (final String line : lines) { if (line.isEmpty()) { if (skipNextEmpty) { continue;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.4K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_lines_number_mismatch.py
) assert fixed_content == expected_content # Translated doc remains unchanged assert "Error processing docs/lang/docs/doc.md" in result.output assert ( "Code block (lines 14-18) has different number of lines than the original block (5 vs 4)" ) in result.output @pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_lines_number_lt.md")],Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.7K bytes - Click Count (0) -
docs/en/docs/js/termynal.js
} /** * Animate a typed line. * @param {Node} line - The line element to render. */ async type(line) { const chars = [...line.textContent]; line.textContent = ''; this.container.appendChild(line); for (let char of chars) { const delay = line.getAttribute(`${this.pfx}-typeDelay`) || this.typeDelay;Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 10:32:57 GMT 2025 - 9.3K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
else -> skip(newline + 1) } } /** * Reads lines from `IdnaMappingTable.txt`. * * Comment lines are either blank or start with a `#` character. Lines may also end with a comment. * All comments are ignored. * * Regular lines contain fields separated by semicolons. * * The first element on each line is a single hex code point (like 0041) or a hex code point range * (like 0030..0039). *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.9K bytes - Click Count (0) -
ci/official/utilities/extract_resultstore_links.py
url_lines['start'] = i current_url = url previous_end_line = None for url, lines in result_store_links.items(): lines['status'] = InvokeStatus.passed # default to passed start_line = lines['start'] end_line = lines.get('end', lines.get('next_url', len(log_lines))) - 1 k = end_line while k > start_line: backtrack_line = log_lines[k]
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Click Count (0) -
src/bytes/iter.go
import ( "iter" "unicode" "unicode/utf8" ) // Lines returns an iterator over the newline-terminated lines in the byte slice s. // The lines yielded by the iterator include their terminating newlines. // If s is empty, the iterator yields no lines at all. // If s does not end in a newline, the final yielded line will not end in a newline. // It returns a single-use iterator. func Lines(s []byte) iter.Seq[[]byte] {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Sep 03 14:04:47 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LineReader.java
private final char[] buf = cbuf.array(); private final Queue<String> lines = new ArrayDeque<>(); private final LineBuffer lineBuf = new LineBuffer() { @Override protected void handleLine(String line, String end) { lines.add(line); } }; /** Creates a new instance that will read lines from the given {@code Readable} object. */ public LineReader(Readable readable) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3K bytes - Click Count (0)