Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 337 for reusing (0.04 sec)

  1. src/main/java/org/codelibs/fess/util/InputStreamThread.java

     */
    public class InputStreamThread extends Thread {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(InputStreamThread.class);
    
        /** Buffered reader for reading from the input stream */
        private final BufferedReader br;
    
        /** Maximum buffer size constant */
        public static final int MAX_BUFFER_SIZE = 1000;
    
        /** List storing recent lines from the input stream */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        }
    
        @Test
        @DisplayName("Reading with zero-length array returns 0")
        void readZeroLengthArrayReturnsZero() throws IOException {
            // Create stream with a message containing data
            byte[] data = new byte[] { 1, 2 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(2), data));
            SocketInputStream sis = new SocketInputStream(in);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            // Test that readings respect max reading limit
            TestReadingConverterWithLimit limitConverter = new TestReadingConverterWithLimit();
            limitConverter.init();
    
            assertEquals(5, limitConverter.getMaxReadingNum());
    
            String text = "test";
            String field = "content";
    
            // Request more languages than max reading num
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

         * @return lease key
         */
        public Smb2LeaseKey requestDirectoryLease(String directoryPath, int requestedState, DirectoryCacheScope scope) {
            // Directory leasing requires SMB 3.0 or higher
            // MS-SMB2: Level 2 leasing (which includes directory leasing) is only supported in SMB 3.0+
            // We'll validate this when we actually need to use the session
    
            // Request base lease
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    String token = null;
                    String segmentation = null;
                    String reading = null;
                    String pos = null;
                    switch (values.length) {
                    case 4:
                        pos = values[3];
                    case 3:
                        reading = values[2];
                    case 2:
                        segmentation = values[1];
                    case 1:
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            int written = trans2FindNext2.writeDataWireFormat(buffer, 0);
    
            assertEquals(0, written);
        }
    
        @Test
        void testReadSetupWireFormat() {
            // Test setup wire format reading (should return 0)
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            byte[] buffer = new byte[10];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         * Creates an {@link java.io.InputStream} for reading bytes from a file on
         * an SMB server addressed by the <code>url</code> parameter. See {@link
         * jcifs.smb1.smb1.SmbFile} for a detailed description and examples of the smb
         * URL syntax.
         *
         * @param url An smb URL string representing the file to read from
         */
    
        /**
         * Creates an input stream for reading from the specified SMB URL
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertEquals(0, itemReadings.length);
        }
    
        @Test
        public void testToSuggestItemWithSingleReading() {
            // Test toSuggestItem with single reading
            String word = "single reading";
            float boost = 1.5f;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                }, this::asEditHtml);
            }
            if (form.segmentation != null && form.reading != null && form.segmentation.split(" ").length != form.reading.split(" ").length) {
                throwValidationError(messages -> {
                    messages.addErrorsInvalidKuromojiSegmentation("segmentation", form.segmentation, form.reading);
                }, this::asEditHtml);
            }
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.FileSystem
    import okio.Path
    import okio.Path.Companion.toOkioPath
    import okio.buffer
    import okio.source
    
    /**
     * Utilities for reading HPACK tests.
     */
    object HpackJsonUtil {
      @Suppress("unused")
      private val MOSHI =
        Moshi
          .Builder()
          .add(
            object : Any() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top