- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 216 for block_a (0.25 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) -
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) -
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) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 10K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
static void awaitWaiting(Thread t) { while (true) { Thread.State state = t.getState(); switch (state) { case RUNNABLE: case BLOCKED: Thread.yield(); break; case WAITING: return; default: throw new AssertionError("unexpected state: " + state); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
String ip = "192.168.1.7"; // Block the IP for (int i = 1; i <= 5; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, ip)); rateLimiter.recordFailure("user" + i, ip); } // Should be blocked assertFalse(rateLimiter.checkAttempt("user6", ip), "IP should be blocked"); // Manually unblockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/debugging/xl-meta/main.go
} offset := ei.V2Obj.EcBSize * blockNum if offset >= m.size { return nil, fmt.Errorf("block %d out of range. offset %d > size %d", blockNum, offset, m.size) } m.blockOffset = offset m.blocks = (m.size + ei.V2Obj.EcBSize - 1) / ei.V2Obj.EcBSize if m.blocks > 0 { m.blocks-- } if blockNum < m.blocks { m.size = ei.V2Obj.EcBSize } else { m.size -= offset }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 40.4K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
@Test public void testClearBlacklist() throws Exception { validator.addToBlacklist("\\share\\blocked"); validator.clearBlacklist(); // Should allow previously blacklisted path String allowed = validator.validatePath("\\share\\blocked\\file.txt"); assertEquals("\\share\\blocked\\file.txt", allowed); } @Test public void testClearWhitelist() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
scripts/general-llm-prompt.md
Do not translate the content of code snippets, keep the original in English. For example, `list`, `dict`, keep them as is. ### Content of code blocks Do not translate the content of code blocks, except for comments in the language which the code block uses. Examples: Source (English) - The code block is a bash code example with one comment: ```bash # Print greeting echo "Hello, World!" ``` Result (German): ```bash
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Mar 18 10:55:36 GMT 2026 - 14.6K bytes - Click Count (0)