Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 811 for sizi (0.16 sec)

  1. src/test/java/jcifs/smb1/util/HexdumpTest.java

        @DisplayName("Should handle various data sizes in hexdump")
        void testHexdumpVariousSizes(int size) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            PrintStream ps = new PrintStream(baos);
    
            byte[] data = createTestData(size);
            Hexdump.hexdump(ps, data, 0, size);
            String output = baos.toString();
    
            assertNotNull(output);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSize() throws Exception {
            assertThat(map.size(), equalTo(3));
            map.put("3", "test3");
            assertThat(map.size(), equalTo(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
            assertThat(map.isEmpty(), is(not(true)));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

            if (kuromojiItemList == null) {
                reload(null);
            }
    
            if (offset >= kuromojiItemList.size() || offset < 0) {
                return new PagingList<>(Collections.<KuromojiItem> emptyList(), offset, size, kuromojiItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > kuromojiItemList.size()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                FileUtil.deleteInBackground(tempFile);
            }
    
            return new ExtractData(buf.toString().trim());
        }
    
        /**
         * Sets the maximum content size for extraction.
         *
         * @param maxContentSize the maximum content size to set (-1 for no limit)
         */
        public void setMaxContentSize(final long maxContentSize) {
            this.maxContentSize = maxContentSize;
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            @Test
            @DisplayName("Should read valid structure with size 4")
            void testReadBytesWireFormatValid() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 2;
                SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4
                SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved field
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

                } else {
                    logger.info("{} is not available.", componentName);
                }
            }
        }
    
        /**
         * Sets the maximum client factory size.
         * @param maxClientFactorySize The maximum size.
         */
        public void setMaxClientFactorySize(final int maxClientFactorySize) {
            if (maxClientFactorySize <= 0) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/BufferCache.java

         * @throws IllegalStateException if buffer size exceeds maximum allowed
         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
            if (buf != null) {
                queueSize.decrementAndGet();
                return buf;
            }
    
            // Validate buffer size to prevent overflow
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                return new PagingList<>(Collections.<CharMappingItem> emptyList(), offset, size, mappingItemList.size());
            }
    
            int toIndex = offset + size;
            if (toIndex > mappingItemList.size()) {
                toIndex = mappingItemList.size();
            }
    
            return new PagingList<>(mappingItemList.subList(offset, toIndex), offset, size, mappingItemList.size());
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            final Set<String> set = new HashSet<String>();
            traverser.forEach((ClassHandler) (packageName, shortClassName) -> set.add(ClassUtil.concatName(packageName, shortClassName)));
            assertThat(set.size() > 0, is(true));
            assertThat(set.contains(DummyTest.class.getName()), is(true));
            assertThat(set.contains(TraverserUtilTest.class.getName()), is(true));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    throw new IOException("transport closed in negotiate");
                }
                final int size = Encdec.dec_uint16be(sbuf, 2) & 0xFFFF;
                if (size < 33 || 4 + size > sbuf.length) {
                    throw new IOException("Invalid payload size: " + size);
                }
                readn(in, sbuf, 4 + 32, size - 32);
                resp.decode(sbuf, 4);
    
                if (LogStream.level >= 4) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top