Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 125 for 27 (0.04 seconds)

  1. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        }
        for (int i = 0; i < 17; i++) {
          counter.recordLoadException(i);
        }
        for (int i = 0; i < 23; i++) {
          counter.recordMisses(1);
        }
        for (int i = 0; i < 27; i++) {
          counter.recordEviction();
        }
        CacheStats stats = counter.snapshot();
        int requestCount = 11 + 23;
        assertThat(stats.requestCount()).isEqualTo(requestCount);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // dataCount (4 bytes)
            SMBUtil.writeInt4(200, buffer, bufferIndex + 23);
    
            // dataOffset (4 bytes)
            SMBUtil.writeInt4(128, buffer, bufferIndex + 27);
    
            // dataDisplacement (4 bytes)
            SMBUtil.writeInt4(0, buffer, bufferIndex + 31);
    
            // setupCount (1 byte) + 1 reserved byte
            buffer[bufferIndex + 35] = 0x00; // setupCount = 0
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  3. src/archive/tar/strconv_test.go

    		{"9 foo=ba\n", "", "foo", "ba", true},
    		{"11 foo=bar\n\x00", "\x00", "foo", "bar", true},
    		{"18 foo=b=\nar=\n==\x00\n", "", "foo", "b=\nar=\n==\x00", true},
    		{"27 foo=hello9 foo=ba\nworld\n", "", "foo", "hello9 foo=ba\nworld", true},
    		{"27 ☺☻☹=日a本b語ç\nmeow mix", "meow mix", "☺☻☹", "日a本b語ç", true},
    		{"17 \x00hello=\x00world\n", "17 \x00hello=\x00world\n", "", "", false},
    		{"1 k=1\n", "1 k=1\n", "", "", false},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Verify parameter offset (4 bytes at position 23)
            assertEquals(80, SMBUtil.readInt4(dst, 23));
    
            // Verify data count (4 bytes at position 27)
            assertEquals(150, SMBUtil.readInt4(dst, 27));
    
            // Verify data offset (4 bytes at position 31)
            assertEquals(130, SMBUtil.readInt4(dst, 31));
    
            // Verify setup count
            assertEquals(1, dst[35]);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

                    "parameterOffset should be written correctly");
            assertEquals(smbComNtTransaction.dataCount, SmbComTransaction.readInt4(dst, 27), "dataCount should be written correctly");
            assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 31), "dataOffset should be written correctly");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertThat(e.escape("safe with spaces")).isEqualTo("safe+with+spaces");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

                buffer[i] = (byte) (i + 1);
            }
    
            // Add context length (reserved) - 4 bytes
            buffer[24] = 0x00;
            buffer[25] = 0x00;
            buffer[26] = 0x00;
            buffer[27] = 0x00;
    
            // Decode
            int bytesConsumed = response.decode(buffer, 0, 28);
    
            // Verify
            assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/net/UrlEscapersTest.java

         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertThat(e.escape("safe with spaces")).isEqualTo("safe+with+spaces");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/advanced/stream-data.md

    ### 非 async 路徑操作函式 { #non-async-path-operation-functions }
    
    你也可以使用一般的 `def` 函式(沒有 `async`),並以相同方式使用 `yield`。
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *}
    
    ### 不需要型別註解 { #no-annotation }
    
    對於串流二進位資料,其實不需要宣告回傳型別註解。
    
    由於 FastAPI 不會試圖用 Pydantic 將資料轉成 JSON,或以其他方式序列化,在這種情況下,型別註解僅供編輯器與工具使用,FastAPI 並不會用到它。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/stream-data.md

    You can also use regular `def` functions (without `async`), and use `yield` the same way.
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[26:29] hl[27] *}
    
    ### No Annotation { #no-annotation }
    
    You don't really need to declare the return type annotation for streaming binary data.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top