Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for SetInput (0.12 sec)

  1. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

         */
        private byte[] compressLZ77(byte[] data, int offset, int length) throws CIFSException {
            try {
                Deflater deflater = new Deflater(COMPRESSION_LEVEL, false);
                deflater.setInput(data, offset, length);
                deflater.finish();
    
                ByteArrayOutputStream baos = new ByteArrayOutputStream(length);
                byte[] buffer = new byte[1024];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

        if (input_shape.num_dims == InferenceContext::kUnknownRank) {
          c.SetInput(i, c.UnknownShape());
          continue;
        }
        dims.reserve(input_shape.num_dims);
        for (int j = 0; j < input_shape.num_dims; ++j) {
          dims.push_back(c.MakeDim(input_shape.dims[j]));
        }
        c.SetInput(i, c.MakeShape(dims));
      }
    
      // TODO(bgogul): Handle input_tensors_as_shapes.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            final Iterator<ImageReader> readers = ImageIO.getImageReaders(input);
            if (readers.hasNext()) {
                final ImageReader reader = readers.next();
                try {
                    reader.setInput(input);
                    final ImageReadParam param = reader.getDefaultReadParam();
                    final int width = reader.getWidth(0);
                    final int height = reader.getHeight(0);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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/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)
  10. src/test/java/jcifs/SmbPipeHandleTest.java

         * @throws CIFSException if an error occurs while getting the stream.
         */
        @Test
        public void testGetInputStream() throws CIFSException {
            assertEquals(mockInputStream, smbPipeHandle.getInput(), "getInput() should return the correct input stream.");
        }
    
        /**
         * Tests that the getter for the output stream returns the correct stream.
         * @throws CIFSException if an error occurs while getting the stream.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top