Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 342 for READ (1.13 sec)

  1. src/main/java/jcifs/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.
     */
    @Deprecated
    public class NtlmSsp implements NtlmFlags {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            int result = response.readDataWireFormat(buffer, bufferIndex, len);
    
            // Verify the result
            assertEquals(len, result, "readDataWireFormat should return the length of data read.");
    
            // Verify that the receive method on the input stream was called exactly once
            verify(mockPipeIn, times(1)).receive(buffer, bufferIndex, len);
        }
    
        /**
         * Tests the toString method.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Lmhosts.java

                            populate(r, tc);
                        }
                    }
                    result = this.table.get(name);
                }
            } catch (final IOException fnfe) {
                log.error("Could not read lmhosts " + tc.getConfig().getLmHostsFileName(), fnfe); //$NON-NLS-1$
            }
            return result;
        }
    
        void populate(final Reader r, final CIFSContext tc) throws IOException {
            String line;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // File Size: 1024 bytes
            ServerMessageBlock.writeInt4(1024, buffer, 6);
    
            response.wordCount = 10; // Must be non-zero to read
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
            // Should read 20 bytes as per implementation
            assertEquals(20, bytesRead);
            assertEquals(0x0010, response.getAttributes());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Response for SMB1 TRANS_TRANSACT_NAMED_PIPE transaction.
     *
     * This response contains the data returned from the named pipe
     * after a transact operation (write then read) has been completed.
     */
    public class TransTransactNamedPipeResponse extends SmbComTransactionResponse {
    
        private final byte[] outputBuffer;
    
        /**
         * Constructs a response for a named pipe transaction.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

                int alphanumSize = 0;
                int symbolSize = 0;
                int c;
                final Set<String> termCache = new HashSet<>(1000);
                try {
                    while ((c = reader.read()) != -1) {
                        if (Character.isISOControl(c) || isSpaceChar(c)) {
                            if (duplicateTermRemoved) {
                                if (alphanumSize > 0) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        }
    
        @Test
        @DisplayName("Should read empty bytes from wire format")
        void testReadBytesWireFormat() {
            // Given
            request = new Smb2NegotiateRequest(mockConfig, 0);
            byte[] buffer = new byte[256];
    
            // When
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // Then - This is a request, so it doesn't read from wire
            assertEquals(0, bytesRead);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
    
                out.write(sbuf, 0, 4 + n);
                out.flush();
                /* Note the Transport thread isn't running yet so we can
                 * read from the socket here.
                 */
                if (peekKey() == null) { /* try to read header */
                    throw new IOException("transport closed in negotiate");
                }
                final int size = Encdec.dec_uint16be(sbuf, 2) & 0xFFFF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

         * @return the namedPipeState
         */
        public int getNamedPipeState() {
            return this.namedPipeState;
        }
    
        /**
         * Gets the amount of data available to read from the pipe
         * @return the readDataAvailable
         */
        public int getReadDataAvailable() {
            return this.readDataAvailable;
        }
    
        /**
         * Gets the number of messages available in the pipe
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

     *
     * This class implements the TRANS_PEEK_NAMED_PIPE transaction which allows
     * reading data from a pipe without removing it, useful for checking if data
     * is available before performing a blocking read.
     */
    public class TransPeekNamedPipe extends SmbComTransaction {
    
        private final int fid;
    
        /**
         * Constructs a TransPeekNamedPipe request to check the status of a named pipe.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top