Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,299 for likes (0.15 seconds)

  1. scripts/add_latest_release_date.py

    RELEASE_NOTES_FILE = "docs/en/docs/release-notes.md"
    RELEASE_HEADER_PATTERN = re.compile(r"^## (\d+\.\d+\.\d+)\s*(\(.*\))?\s*$")
    
    
    def main() -> None:
        with open(RELEASE_NOTES_FILE) as f:
            lines = f.readlines()
    
        for i, line in enumerate(lines):
            match = RELEASE_HEADER_PATTERN.match(line)
            if not match:
                continue
    
            version = match.group(1)
            date_part = match.group(2)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:06:36 GMT 2026
    - 1023 bytes
    - Click Count (0)
  2. tests/test_stream_bare_type.py

        lines = [json.loads(line) for line in response.text.strip().splitlines()]
        assert lines == [{"name": "foo"}]
    
    
    def test_stream_bare_sync_iterable():
        response = client.get("/items/stream-bare-sync")
        assert response.status_code == 200
        assert response.headers["content-type"] == "application/jsonl"
        lines = [json.loads(line) for line in response.text.strip().splitlines()]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  3. 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)
  4. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

            Map<String, String> props = new HashMap<>();
    
            try (Stream<String> stream = Files.lines(configFile, StandardCharsets.UTF_8)) {
                Iterator<String> lines = stream.iterator();
                boolean foundOrigin = false;
                while (lines.hasNext()) {
                    String line = lines.next().trim();
                    if (line.startsWith(";") || line.startsWith("#")) {
                        // ignore comments
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            String[] lines = output.split("\n");
    
            assertTrue("Buffer should be limited to 10 items", lines.length <= 10);
            assertTrue("Last lines should be kept", output.contains("line15"));
        }
    
        @Test
        public void test_run_maxBufferSizeConstant() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        }
    
        /**
         * This class is used to read properties lines. These lines do
         * not terminate with new-line chars but rather when there is no
         * backslash sign a the end of the line.  This is used to
         * concatenate multiple lines for readability.
         */
        public static class PropertiesReader extends LineNumberReader {
            /** Stores the comment lines for the currently processed property.*/
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

        }
    
        /**
         * This class is used to read properties lines. These lines do
         * not terminate with new-line chars but rather when there is no
         * backslash sign a the end of the line.  This is used to
         * concatenate multiple lines for readability.
         */
        public static class PropertiesReader extends LineNumberReader {
            /** Stores the comment lines for the currently processed property.*/
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  8. 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)
  9. clause/expression.go

    	Gt(lte).Build(builder)
    }
    
    // Like whether string matches regular expression
    type Like Eq
    
    func (like Like) Build(builder Builder) {
    	builder.WriteQuoted(like.Column)
    	builder.WriteString(" LIKE ")
    	builder.AddVar(builder, like.Value)
    }
    
    func (like Like) NegationBuild(builder Builder) {
    	builder.WriteQuoted(like.Column)
    	builder.WriteString(" NOT LIKE ")
    	builder.AddVar(builder, like.Value)
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Nov 04 07:04:52 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. 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)
Back to Top