Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 381 for readn (2.07 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            if (dgst != null && !isAsync() && (getConfig().isRequireSecureNegotiate() || getErrorCode() == NtStatus.NT_STATUS_SUCCESS)) {
                // MID checking not required here as we only read responses for which we're waiting
                // We only read what we were waiting for, so first guess would be no.
                final boolean verify = dgst.verify(buffer, i, size, 0, this);
                this.verifyFailed = verify;
                return !verify;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            byte[] paramWords = buffer.array();
    
            // Call the method to test
            int bytesRead = response.readParameterWordsWireFormat(paramWords, 0);
    
            // Assert that the correct number of bytes were read
            assertEquals(34, bytesRead);
    
            // Assert that the serverData fields are populated correctly
            assertEquals(0, response.dialectIndex);
            assertEquals(0x0F, serverData.securityMode);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Assert write
            assertTrue(writeLength > 0);
    
            // Create new request to read
            NodeStatusRequest readRequest = new NodeStatusRequest(mockConfig, new Name(mockConfig));
    
            // Act - Read
            int readLength = readRequest.readWireFormat(buffer, 0);
    
            // Assert read
            assertEquals(0x1234, readRequest.nameTrnId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/CloseableUtil.java

         * </p>
         * <pre>
         * InputStream is = ...;
         * try {
         *   is.read(...);
         * } finally {
         *   close(is);
         * }
         * </pre>
         * <p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

            return 0;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            if (in.read(buffer, bufferIndex, this.length) != this.length) {
                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertEquals(3, response.eaErrorOffset);
            assertEquals(4, response.lastNameOffset);
        }
    
        @Test
        void testReadParametersWireFormat_FindNext2() {
            // In FindNext2, sid is not read
            response.subCommand = SmbComTransaction.TRANS2_FIND_NEXT2;
            byte[] buffer = new byte[8];
            // numEntries = 2
            writeInt2(2, buffer, 0);
            // isEndOfSearch = false
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            decodedName.decode(decodeBuffer);
    
            // Verify the decoded data matches
            assertEquals(translatedName.sid_type, decodedName.sid_type);
            // The decode process doesn't preserve the original length, it reads from the buffer
            assertNotNull(decodedName.name);
            assertNotNull(decodedName.name.buffer);
            // Buffer length is based on maximum_length/2 from the encoded data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmSsp.java

     * <p>
     * How NTLMSSP is used in conjunction with HTTP and MSIE clients is
     * described in an <A HREF="http://www.innovation.ch/java/ntlm.html">NTLM
     * Authentication Scheme for HTTP</A>.  <p> Also, read <a
     * href="../../../ntlmhttpauth.html">jCIFS NTLM HTTP Authentication and
     * the Network Explorer Servlet</a> related information.
     */
    
    public class NtlmSsp implements NtlmFlags {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            byte[] buffer = new byte[10];
            assertThrows(NullPointerException.class, () -> cmd.writeParametersWireFormat(buffer, 0));
        }
    
        @Nested
        @DisplayName("read methods are no‑ops")
        class ReadMethods {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/foo");
    
            @Test
            void setup() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

     * as a ByteArrayInputStream.
     * </p>
     *
     * <p>
     * The transform method takes a ResponseData object, checks if it has a response body,
     * and then reads the body into a byte array. This byte array is then set as the data
     * in the ResultData object.
     * </p>
     *
     * <p>
     * The getData method takes an AccessResultData object, checks if the transformer name matches,
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top