- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 565 for block_a (0.22 seconds)
-
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) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
// after some period of time the runner thread should become blocked on the task because it is // waiting for the slow interrupting thread to complete Thread.interrupt awaitBlockedOnInstanceOf(runner, InterruptibleTask.Blocker.class); Blocker blocker = (Blocker) LockSupport.getBlocker(runner); Thread owner = blocker.getOwner(); assertThat(owner).isSameInstanceAs(interrupter);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
// after some period of time the runner thread should become blocked on the task because it is // waiting for the slow interrupting thread to complete Thread.interrupt awaitBlockedOnInstanceOf(runner, InterruptibleTask.Blocker.class); Blocker blocker = (Blocker) LockSupport.getBlocker(runner); Thread owner = blocker.getOwner(); assertThat(owner).isSameInstanceAs(interrupter);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0) -
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) -
cmd/erasure-utils.go
"github.com/klauspost/reedsolomon" ) // getDataBlockLen - get length of data blocks from encoded blocks. func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int { size := 0 // Figure out the data block length. for _, block := range enBlocks[:dataBlocks] { size += len(block) } return size } // Writes all the data blocks from encoded blocks until requested // outSize length. Provides a way to skip bytes until the offset.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3.1K bytes - Click Count (0) -
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 esCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 810 bytes - Click Count (0) -
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 argumentCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 896 bytes - Click Count (0) -
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 greetingCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 08:08:04 GMT 2026 - 10.9K bytes - Click Count (0) -
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 ```consoleCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 926 bytes - Click Count (0) -
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)