Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 337 for block_a (0.33 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. scripts/doc_parsing_utils.py

        end_line_no = start_line + len(block_a["content"]) - 1
    
        if block_a["lang"] != block_b["lang"]:
            raise ValueError(
                f"Code block (lines {start_line}-{end_line_no}) "
                "has different language than the original block "
                f"('{block_a['lang']}' vs '{block_b['lang']}')"
            )
        if len(block_a["content"]) != len(block_b["content"]):
            raise ValueError(
    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)
  2. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

                    logger.debug("IP in static block list: ip={}", ip);
                }
                return true;
            }
    
            // Check dynamically blocked IPs (Cache handles expiration automatically)
            final Boolean blocked = blockedIps.getIfPresent(ip);
            if (blocked != null) {
                if (logger.isDebugEnabled()) {
                    logger.debug("IP dynamically blocked: ip={}", ip);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_number_lt.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    Missing code block...
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    $ python ./scripts/docs.py live es
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 810 bytes
    - Click Count (0)
  4. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_lines_number_gt.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    ```toml
    # Extra line
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 896 bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc_expected.md

    Следующие блоки кода содержат комментарии в разных стилях в зависимости от языка.
    Инструмент исправления не будет сохранять комментарии в этих блоках.
    
    ```json
    {
        # This is a sample JSON code block
        "greeting": "Hello, world!" # Print greeting
    }
    ```
    
    ```console
    # This is a sample console code block
    $ echo "Hello, world!"  # Print greeting
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  6. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_number_gt.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    ```toml
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    Extra code block
    
    ```
    $ cd my_project
    ```
    
    And more text
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 926 bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md

    ## Code blocks with and without comments { #code-blocks-with-and-without-comments }
    
    This is a test page for the translation fixer tool.
    
    ### Code blocks with comments { #code-blocks-with-comments }
    
    The following code blocks include comments in different styles.
    Fixer tool should fix content, but preserve comments correctly.
    
    ```python
    # This is a sample Python code block
    def hello_world():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            assertNotNull(block2);
    
            // Test constructor with config and andx
            TestAndXServerMessageBlock block3 = new TestAndXServerMessageBlock(mockConfig) {
                {
                    // Set andx via constructor chain
                    super.setCommand((byte) 0x25);
                }
            };
            assertNotNull(block3);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  9. scripts/tests/test_translation_fixer/test_code_blocks/data/en_doc.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    ```toml
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 874 bytes
    - Click Count (0)
  10. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_lines_number_lt.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    The following block is missing first line:
    
    ```toml
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 892 bytes
    - Click Count (0)
Back to Top