Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for setInput (0.32 sec)

  1. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

         */
        private byte[] compressLZ77(byte[] data, int offset, int length) throws CIFSException {
            try {
                Deflater deflater = new Deflater(COMPRESSION_LEVEL, false);
                deflater.setInput(data, offset, length);
                deflater.finish();
    
                ByteArrayOutputStream baos = new ByteArrayOutputStream(length);
                byte[] buffer = new byte[1024];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            final Iterator<ImageReader> readers = ImageIO.getImageReaders(input);
            if (readers.hasNext()) {
                final ImageReader reader = readers.next();
                try {
                    reader.setInput(input);
                    final ImageReadParam param = reader.getDefaultReadParam();
                    final int width = reader.getWidth(0);
                    final int height = reader.getHeight(0);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(tree.getReceiveBufferSize()).thenReturn(4096);
    
            // Act: first calls construct streams, second calls return cached
            SmbPipeInputStream in1 = handle.getInput();
            SmbPipeInputStream in2 = handle.getInput();
            SmbPipeOutputStream out1 = handle.getOutput();
            SmbPipeOutputStream out2 = handle.getOutput();
    
            // Assert: same instances are returned subsequently
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            }
            log.trace("Pipe already open");
            return this.handle.acquire();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#getInput()
         */
        @Override
        public SmbPipeInputStream getInput() throws CIFSException {
    
            if (!this.open) {
                throw new SmbException("Already closed");
            }
    
            if (this.input != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

            newOutput = newOutputs;
        }
    
        /**
         * Gets the original input word.
         *
         * @return The original input word.
         */
        public String getInput() {
            return input;
        }
    
        /**
         * Gets the original output stem.
         *
         * @return The original output stem.
         */
        public String getOutput() {
            return output;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbPipeHandleTest.java

         * @throws CIFSException if an error occurs while getting the stream.
         */
        @Test
        public void testGetInputStream() throws CIFSException {
            assertEquals(mockInputStream, smbPipeHandle.getInput(), "getInput() should return the correct input stream.");
        }
    
        /**
         * Tests that the getter for the output stream returns the correct stream.
         * @throws CIFSException if an error occurs while getting the stream.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            assertTrue(target.isStale());
        }
    
        @Test
        @DisplayName("getInput and getOutput throw after close")
        void testGetInputOutputAndClosed() throws CIFSException {
            // After closing the handle, further calls throw
            target.close();
            CIFSException e1 = assertThrows(SmbException.class, target::getInput);
            assertTrue(e1.getMessage().contains("Already closed"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbPipeHandle.java

        /**
         * Gets the input stream for reading from this pipe.
         *
         * @return this pipe's input stream
         * @throws CIFSException if an error occurs getting the input stream
         */
        InputStream getInput() throws CIFSException;
    
        /**
         * Gets the output stream for writing to this pipe.
         *
         * @return this pipe's output stream
         * @throws CIFSException if an error occurs getting the output stream
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

        public void setNewInput(final String newInput) {
            this.newInput = newInput;
        }
    
        /**
         * Gets the original stopword.
         *
         * @return The original stopword.
         */
        public String getInput() {
            return input;
        }
    
        /**
         * Gets the value of the stopword.
         *
         * @return The stopword value, or an empty string if null.
         */
        public String getInputValue() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

         */
        public void setNewInput(final String newInput) {
            this.newInput = newInput;
        }
    
        /**
         * Gets the input value for this item.
         * @return the input value
         */
        public String getInput() {
            return input;
        }
    
        /**
         * Gets the input value or empty string if null.
         * @return the input value or empty string
         */
        public String getInputValue() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top