Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for get_input (0.06 sec)

  1. configure.py

    def is_ppc64le():
      return platform.machine() == 'ppc64le'
    
    
    def is_s390x():
      return platform.machine() == 's390x'
    
    
    def is_cygwin():
      return platform.system().startswith('CYGWIN_NT')
    
    
    def get_input(question):
      try:
        try:
          answer = raw_input(question)
        except NameError:
          answer = input(question)  # pylint: disable=bad-builtin
      except EOFError:
        answer = ''
      return answer
    
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        }
    
        public void test_getInput() {
            // Test getInput method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            assertEquals("test", item1.getInput());
    
            StopwordsItem item2 = new StopwordsItem(2, "");
            assertEquals("", item2.getInput());
    
            StopwordsItem item3 = new StopwordsItem(3, null);
            assertNull(item3.getInput());
        }
    
        public void test_getInputValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            assertEquals("b2", itemList.get(1).getInputs()[1]);
            assertEquals("B1", itemList.get(1).getOutputs()[0]);
            assertFalse(itemList.get(1).isUpdated());
    
            assertEquals(1, itemList.get(2).getInputs().length);
            assertEquals(2, itemList.get(2).getOutputs().length);
            assertEquals("c1", itemList.get(2).getInputs()[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertEquals(1, synonymItem.getId());
            assertEquals(2, synonymItem.getInputs().length);
            assertEquals("a", synonymItem.getInputs()[0]);
            assertEquals("A", synonymItem.getInputs()[1]);
            assertEquals(2, synonymItem.getOutputs().length);
            assertEquals("b", synonymItem.getOutputs()[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5K bytes
    - Viewed (1)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            assertEquals(3, stopwordsFile.stopwordsItemList.size());
            assertEquals("word1", stopwordsFile.stopwordsItemList.get(0).getInput());
            assertEquals("word2", stopwordsFile.stopwordsItemList.get(1).getInput());
            assertEquals("word3", stopwordsFile.stopwordsItemList.get(2).getInput());
        }
    
        public void test_reload_withEscapedCharacters() {
            String content = "word\\\\1\n" + // word\1
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        }
    
        public void test_getInput() {
            // Test getInput method
            ProtwordsItem item1 = new ProtwordsItem(1, "word1");
            assertEquals("word1", item1.getInput());
    
            ProtwordsItem item2 = new ProtwordsItem(2, "");
            assertEquals("", item2.getInput());
    
            ProtwordsItem item3 = new ProtwordsItem(3, null);
            assertNull(item3.getInput());
        }
    
        public void test_getInputValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("a", item.getInputs()[0]);
    
            // NewInputs not sorted yet
            assertEquals("9", item.getNewInputs()[0]);
    
            // Call sort
            item.sort();
    
            // Both should be sorted
            assertEquals("a", item.getInputs()[0]);
            assertEquals("m", item.getInputs()[1]);
            assertEquals("z", item.getInputs()[2]);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top