Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 957 for nBytes (0.06 sec)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

          throws IOException {
        byte[] bytes = decoded.getBytes(UTF_8);
        try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) {
          for (int i = 0; i < bytes.length; i++) {
            assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF);
          }
          assertThat(decodingStream.read()).isEqualTo(-1);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureKeyManager.java

                }
            }
    
            return key;
        }
    
        /**
         * Get raw key bytes
         *
         * @param sessionId unique session identifier
         * @return raw key bytes, or null if not found
         */
        public byte[] getRawKey(String sessionId) {
            checkNotClosed();
    
            byte[] key = rawKeys.get(sessionId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharStreams.java

     *
     * @author Chris Nokleberg
     * @author Bin Zhu
     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CharStreams {
    
      // 2K chars (4K bytes)
      private static final int DEFAULT_BUF_SIZE = 0x800;
    
      /** Creates a new {@code CharBuffer} for buffering reads or writes. */
      static CharBuffer createBuffer() {
        return CharBuffer.allocate(DEFAULT_BUF_SIZE);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
            // The size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    
        @Test
        @DisplayName("Should write correct bytes to wire format")
        void testWriteBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            // Verify domain
            String writtenDomain = new String(dst, currentIndex, testDomain.length(), StandardCharsets.US_ASCII);
            assertEquals(testDomain.toUpperCase(), writtenDomain);
    
            // Verify total bytes written
            assertEquals(currentIndex + testDomain.length() + 1, bytesWritten);
        }
    
        /**
         * Test the writeParametersWireFormat method for NET_SERVER_ENUM3.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. doc/next/5-toolchain.md

    ## Compiler {#compiler}
    
    ## Assembler {#assembler}
    
    ## Linker {#linker}
    
    ## Bootstrap {#bootstrap}
    
    <!-- go.dev/issue/69315 -->
    As mentioned in the [Go 1.24 release notes](/doc/go1.24#bootstrap), Go 1.26 now requires
    Go 1.24.6 or later for bootstrap.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 11 21:25:55 UTC 2025
    - 338 bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
            assertThrows(IOException.class, () -> {
                new Type1Message(invalidBytes);
            });
        }
    
        @Test
        @DisplayName("Should handle parsing null message bytes")
        void testNullMessageBytes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/path-operation-advanced-configuration.md

    In this example, we didn't declare any Pydantic model. In fact, the request body is not even <abbr title="converted from some plain format, like bytes, into Python objects">parsed</abbr> as JSON, it is read directly as `bytes`, and the function `magic_data_reader()` would be in charge of parsing it in some way.
    
    Nevertheless, we can declare the expected schema for the request body.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]);
    
            // Verify remaining bytes are zeros
            for (int i = 4; i < 24; i++) {
                assertEquals((byte) 0x00, SMBUtil.SMB_HEADER[i]);
            }
        }
    
        @Test
        void testSMB2Header() {
            assertNotNull(SMBUtil.SMB2_HEADER);
            // The actual header is 68 bytes (4 + 2 + 2 + 2 + 2 + 4 + 2 + 2 + 4 + 4 + 8 + 4 + 4 + 8 + 8 + 8 = 68)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    ### `HTMLResponse`
    
    Nimmt Text oder Bytes entgegen und gibt eine HTML-Response zurück, wie Sie oben gelesen haben.
    
    ### `PlainTextResponse`
    
    Nimmt Text oder Bytes entgegen und gibt eine Plain-Text-Response zurück.
    
    {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *}
    
    ### `JSONResponse`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top