Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 563 for readInt (0.32 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

         *
         * @return the response body as an InputStream, or null if no response body is available
         * @throws IORuntimeException if an I/O error occurs while reading the response body file
         */
        public InputStream getResponseBody() {
            if (responseBodyBytes != null) {
                return new ByteArrayInputStream(responseBodyBytes);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-model.md

    That's why in this example we have to declare it in the `response_model` parameter.
    
    ...but continue reading below to see how to overcome that.
    
    ## Return Type and Data Filtering { #return-type-and-data-filtering }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

    import java.util.Map;
    
    import jcifs.util.Encdec;
    import jcifs.util.Strings;
    
    /**
     * NDR (Network Data Representation) buffer for encoding and decoding DCE/RPC messages.
     * This class provides methods for reading and writing primitive types and strings
     * in NDR format for DCE/RPC communication.
     */
    public class NdrBuffer {
    
        private int referent;
        private Map<Object, Entry> referents;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(1, ndrBuffer.getIndex());
            assertEquals(1, ndrBuffer.getLength());
            assertEquals((byte) 0xAB, buffer[0]);
    
            ndrBuffer.setIndex(0); // Reset index for reading
            int val = ndrBuffer.dec_ndr_small();
            assertEquals(0xAB, val);
            assertEquals(1, ndrBuffer.getIndex());
        }
    
        @Test
        void testEncDecNdrShort() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @param len the number of bytes to read
         * @return the number of bytes actually read
         * @throws IOException if an I/O error occurs
         */
        public static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException {
            int i = 0, n = -5;
    
            while (i < len) {
                n = in.read(b, off + i, len - i);
                if (n <= 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. guava-gwt/pom.xml

                and .java files in c.g.c.collect.testModule, one that it doesn't[*]. Consequently,
                c.g.c.base.testModule transitively pulls in .java files from both modules while reading
                the module description of only the prod module. And the prod module doesn't inherit all
                the modules that the test module classes use, so we get errors.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NetworkExplorerTest.java

                        throw new ServletException(e);
                    }
                }
            };
    
            assertDoesNotThrow(() -> networkExplorer.init(servletConfig));
    
            // Verify parameter reading
            verify(servletConfig).getInitParameter("jcifs.smb.client.domain");
            verify(servletConfig).getInitParameter("jcifs.http.enableBasic");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                int initialFlags = 0x00000001;
                SMBUtil.writeInt4(initialFlags, data, 16);
    
                digest.sign(data, 0, data.length, request, response);
    
                int flags = SMBUtil.readInt4(data, 16);
                assertTrue((flags & ServerMessageBlock2.SMB2_FLAGS_SIGNED) != 0, "Signed flag should be set");
            }
    
            @Test
            @DisplayName("Should preserve other flags when setting signed flag")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            setupCountField.setAccessible(true);
            assertEquals(128, setupCountField.get(response));
        }
    
        @Test
        @DisplayName("Test reading from different buffer positions")
        void testReadFromDifferentPositions() throws Exception {
            byte[] buffer = new byte[200];
    
            // Test at various positions in the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            private final int maxLineBuffer;
    
            /**
             * Constructs a new InputStreamThread.
             * @param is The InputStream to read from.
             * @param charset The charset to use for reading.
             * @param maxOutputLineBuffer The maximum number of lines to buffer.
             */
            public InputStreamThread(final InputStream is, final String charset, final int maxOutputLineBuffer) {
                try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top