Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 468 for reading4 (0.05 sec)

  1. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

        protected void setUp() throws Exception {
            file1 = File.createTempFile("kuromoji_", ".txt");
            FileUtil.write(
                    file1.getAbsolutePath(),
                    "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3"
                            .getBytes(Constants.UTF_8));
        }
    
        @Override
        protected void tearDown() throws Exception {
            file1.delete();
        }
        */
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

        }
    
        @Test
        public void testMultipleReadingsConversion() {
            // Test conversion of multiple readings to SuggestItem format
            String word = "multi reading";
            float boost = 1.0f;
            List<String> readings = Arrays.asList("reading1", "reading2", "reading3", "reading4", "reading5");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[][] readings = { { "reading1" }, { "reading2" } };
            String[] fields = { "field1", "field2" };
            String[] tags = { "tag1", "tag2" };
            String[] roles = { "role1", "role2" };
            String[] languages = { "en", "ja" };
            SuggestItem.Kind kind = SuggestItem.Kind.QUERY;
    
            SuggestItem item = new SuggestItem(text, readings, fields, 100L, 50L, 1.5f, tags, roles, languages, kind);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            String field = "content";
    
            List<String> readings1 = converter1.convert(text, field, "en");
            List<String> readings2 = converter2.convert(text, field, "ja");
    
            assertNotNull(readings1);
            assertNotNull(readings2);
            assertEquals("TEST", readings1.get(0));
            assertEquals("TEST", readings2.get(0));
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/util/SMBUtil.java

         * @param srcIndex the starting index in the source array
         * @return the 64-bit integer value
         */
        public static long readInt8(final byte[] src, final int srcIndex) {
            return (readInt4(src, srcIndex) & 0xFFFFFFFFL) + ((long) readInt4(src, srcIndex + 4) << 32);
        }
    
        /**
         * Writes a 64-bit integer value to a byte array in little-endian format
         * @param val the value to write
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            byte[] buffer = new byte[512];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
            assertEquals(sid, SMBUtil.readInt2(buffer, 0));
            assertEquals(batchCount, SMBUtil.readInt2(buffer, 2));
            assertEquals(resumeKey, SMBUtil.readInt4(buffer, 6));
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertEquals(0, SMBUtil.readInt4(buffer, headerStart + 32)); // Channel
                assertEquals(500, SMBUtil.readInt4(buffer, headerStart + 36)); // Remaining bytes
                assertEquals(0, SMBUtil.readInt2(buffer, headerStart + 40)); // WriteChannelInfoOffset
                assertEquals(0, SMBUtil.readInt2(buffer, headerStart + 42)); // WriteChannelInfoLength
                assertEquals(0x01, SMBUtil.readInt4(buffer, headerStart + 44)); // Write flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Verify token length
            assertEquals(TEST_TOKEN.length, SMBUtil.readInt2(buffer, bodyOffset + 14));
    
            // Verify previous session ID
            assertEquals(TEST_PREVIOUS_SESSION_ID, SMBUtil.readInt8(buffer, bodyOffset + 16));
    
            // Verify token content at the security buffer offset
            int securityBufferOffset = SMBUtil.readInt2(buffer, bodyOffset + 12);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertEquals(0, SMBUtil.readInt4(buffer, 0));
    
            // NameOffset field (2 bytes) - should be 16 (after header)
            assertEquals(16, SMBUtil.readInt2(buffer, 4));
    
            // NameLength field (2 bytes) - should be 4 for "RqLs"
            assertEquals(4, SMBUtil.readInt2(buffer, 6));
    
            // Reserved field (2 bytes) - should be 0
            assertEquals(0, SMBUtil.readInt2(buffer, 8));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                    int cci = createContextStart;
                    next = SMBUtil.readInt4(buffer, cci);
                    cci += 4;
    
                    final int nameOffset = SMBUtil.readInt2(buffer, cci);
                    final int nameLength = SMBUtil.readInt2(buffer, cci + 2);
                    cci += 4;
    
                    final int dataOffset = SMBUtil.readInt2(buffer, cci + 2);
                    cci += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top