Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for WORD (0.04 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item = new StopwordsItem(123, "word");
            assertEquals("StopwordsItem [id=123, inputs=word, newInputs=null]", item.toString());
    
            item.setNewInput("updated");
            assertEquals("StopwordsItem [id=123, inputs=word, newInputs=updated]", item.toString());
    
            item.setNewInput("");
            assertEquals("StopwordsItem [id=123, inputs=word, newInputs=]", item.toString());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        }
    
        public void test_equals() {
            // Test equals method
            ProtwordsItem item1 = new ProtwordsItem(1, "word");
            ProtwordsItem item2 = new ProtwordsItem(2, "word");
            ProtwordsItem item3 = new ProtwordsItem(1, "different");
            ProtwordsItem item4 = new ProtwordsItem(1, "word");
    
            // Same object
            assertTrue(item1.equals(item1));
    
            // Same input, different id
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            String content = "word\\n1\n" + // word + n + 1
                    "word\\\n"; // word + (nothing after backslash)
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.reload(null, is);
    
            assertEquals(2, stopwordsFile.stopwordsItemList.size());
            // The content creates two lines: "word\n1" and "word\"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            PhraseQuery.Builder builder = new PhraseQuery.Builder();
            String[] words = { "this", "is", "a", "very", "long", "phrase", "query" };
            for (String word : words) {
                builder.add(new Term(Constants.DEFAULT_FIELD, word));
            }
            PhraseQuery phraseQuery = builder.build();
    
            QueryContext context = new QueryContext("test", false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    
    /**
     * Unit tests for {@link SmbComFindClose2}.
     * The class is intentionally tiny – the tests mainly verify that the
     * parameter word (the session identifier) is written in little‑endian form
     * and that the {@code toString} helper contains the expected values.
     *
     * <p>The tests also exercise edge cases such as negative (wrap‑around) session
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            if (this.isPrimary) {
                this.isPrimary = false;
    
                // primarySetupOffset
                // SMB_COM_TRANSACTION: 61 = 32 SMB header + 1 (word count) + 28 (fixed words)
                // SMB_COM_NT_TRANSACTION: 69 = 32 SMB header + 1 (word count) + 38 (fixed words)
                this.parameterOffset = this.primarySetupOffset;
    
                // 2* setupCount
                this.parameterOffset += this.setupCount * 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            assertEquals(4, list.size());
            assertEquals("test1", list.get(0).getInput());
            assertEquals("日本語", list.get(1).getInput());
            assertEquals("word with spaces", list.get(2).getInput());
            assertEquals("	tab	word	", list.get(3).getInput());
        }
    
        // Helper method to write content to test file
        private void writeTestFile(String content) throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        int writeString(final String str, final byte[] dst, int dstIndex, final boolean useUnicode) {
            final int start = dstIndex;
    
            try {
                if (useUnicode) {
                    // Unicode requires word alignment
                    if ((dstIndex - headerStart) % 2 != 0) {
                        dst[dstIndex++] = (byte) '\0';
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            assertEquals(sampleTimeMillis + serverTimeZoneOffset, response.getLastWriteTime());
            assertEquals(1024, response.getSize());
        }
    
        /**
         * Test of readParameterWordsWireFormat method with zero word count.
         */
        @Test
        public void testReadParameterWordsWireFormatWithZeroWordCount() {
            byte[] buffer = new byte[20];
            response.wordCount = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. docs/bigdata/README.md

    file: org.apache.spark.rdd.RDD[String] = s3a://testbucket/testdata MapPartitionsRDD[1] at textFile at <console>:24
    
    scala> val counts = file.flatMap(line => line.split(" ")).map(word => (word, 1)).reduceByKey(_ + _)
    counts: org.apache.spark.rdd.RDD[(String, Int)] = ShuffledRDD[4] at reduceByKey at <console>:25
    
    scala> counts.saveAsTextFile("s3a://testbucket/wordcount")
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top