Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 216 for printer (1.6 sec)

  1. src/main/java/org/codelibs/core/io/WriterUtil.java

    import java.io.OutputStreamWriter;
    import java.io.Writer;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility class for {@link Writer} operations.
     *
     * @author koichik
     */
    public abstract class WriterUtil {
    
        /**
         * Do not instantiate.
         */
        protected WriterUtil() {
        }
    
        /**
         * Creates a {@link Writer} to output to a stream with the specified encoding.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/CopyUtil.java

        }
    
        /**
         * Wraps the writer with a {@link BufferedWriter} if necessary.
         *
         * @param writer the writer
         * @return the wrapped writer
         */
        protected static Writer wrap(final Writer writer) {
            if (writer instanceof BufferedWriter) {
                return writer;
            }
            if (writer instanceof StringWriter) {
                return writer;
            }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertTrue(provider.getMaxMessageSize() > 0, "Max message size should be positive");
    
            System.out.println("Selected RDMA provider: " + provider.getProviderName());
            System.out.println("Supported capabilities: " + provider.getSupportedCapabilities());
            System.out.println("Max message size: " + provider.getMaxMessageSize());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                assertEquals(6, entry.name.maximum_length);
            }
    
            @Test
            @DisplayName("Should decode entry with null buffer pointer")
            void testDecodeNullBufferPointer() throws NdrException {
                // Given: Mocked buffer data with null pointer
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 0); // idx, _name_bufferp = 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
            for (final Indexed<String> indexed : indexed(list)) {
                System.out.println(indexed.getIndex());
                System.out.println(indexed.getElement());
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachLineIterator() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

            /** True if the changes have been committed. */
            protected boolean isCommit = false;
    
            /** The new file. */
            protected File newFile;
    
            /** The writer for the new file. */
            protected Writer writer;
    
            /** The item to be added or updated. */
            protected KuromojiItem item;
    
            /**
             * Constructs a new Kuromoji updater.
             *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    }
                    result = (NbtAddress) TAB.get(name);
                }
            } catch (final FileNotFoundException fnfe) {
                if (LogStream.level > 1) {
                    log.println("lmhosts file: " + FILENAME);
                    fnfe.printStackTrace(log);
                }
            } catch (final IOException ioe) {
                if (LogStream.level > 0) {
                    ioe.printStackTrace(log);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                assertTrue(w.isReady(), "WriterThread should be ready");
    
                // Submit a write that will throw inside the writer thread
                w.write(payload, payload.length, out);
    
                // Give the writer thread time to process and set exception
                w.wait(100);
            }
    
            // Wait a bit more to ensure exception is captured
            Thread.sleep(100);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

    import org.codelibs.fess.suggest.index.contents.querylog.QueryLogReader;
    import org.codelibs.fess.suggest.index.writer.SuggestIndexWriter;
    import org.codelibs.fess.suggest.index.writer.SuggestWriter;
    import org.codelibs.fess.suggest.index.writer.SuggestWriterResult;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameServicePacketTest.java

            int written = packet.writeResourceRecordWireFormat(dst, 0);
            assertEquals(12, written); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 0 (rData)
    
            assertEquals((byte) 0xC0, dst[0]); // Pointer
            assertEquals((byte) 0x0C, dst[1]);
            assertEquals((byte) 0x00, dst[2]); // recordType high byte
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top