Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,544 for inte (2.97 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

    import jakarta.annotation.Resource;
    
    /**
     * TextTransformer is a class that transforms a ResponseData object into a ResultData object containing the extracted text content.
     * It uses an Extractor to extract the text from the response body based on the MIME type.
     * The extracted text is then converted into a byte array using the specified charset encoding.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should calculate size for various lock counts")
            @ValueSource(ints = { 0, 1, 2, 5, 10, 20, 50, 100 })
            void testSizeWithVariousLockCounts(int lockCount) {
                Smb2Lock[] locks = new Smb2Lock[lockCount];
                for (int i = 0; i < lockCount; i++) {
                    locks[i] = new Smb2Lock(i * 100L, 100L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK);
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                    data.putValue(key, ((Integer) value).toString());
                } else if (value instanceof Address[]) {
                    final int size = ((Address[]) value).length;
                    final String[] values = new String[size];
                    for (int i = 0; i < size; i++) {
                        final Address address = ((Address[]) value)[i];
                        values[i] = getDecodeText(address.toString());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

        /**
         * The maximum size of the client factory list.
         */
        protected int maxClientFactorySize = 10000;
    
        /**
         * Registers a CrawlerClientFactory with this creator.
         * All existing client mappings will be loaded into the new factory.
         * @param crawlerClientFactory The CrawlerClientFactory to register.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

    import java.io.IOException;
    import java.util.List;
    
    /**
     * Interface for converting text into its reading form.
     */
    public interface ReadingConverter {
    
        /**
         * Returns the maximum number of readings.
         *
         * @return the maximum number of readings, default is 10.
         */
        default int getMaxReadingNum() {
            return 10;
        }
    
        /**
         * Initializes the converter.
         *
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Prepare test data with maximum int values
            byte[] buffer = new byte[22];
            int idFileSystem = Integer.MAX_VALUE;
            int sectPerAlloc = 100;
            int alloc = Integer.MAX_VALUE / 200;
            int free = Integer.MAX_VALUE / 200;
            int bytesPerSect = 512;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

             * @return the priority length
             */
            private static int calculatePriorityLength(final String pattern) {
                // For priority, we count the pattern length, treating * as having length 0
                // and $ as having length 1
                int length = 0;
                for (int i = 0; i < pattern.length(); i++) {
                    final char c = pattern.charAt(i);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            Smb2LogoffRequest req = newRequest();
            int base = Smb2Constants.SMB2_HEADER_LENGTH + 4; // structure size
            int expected = ((base + 7) / 8) * 8; // expected 8-byte alignment
    
            // Act
            int actual = req.size();
    
            // Assert
            assertEquals(expected, actual, "size() must be 8-byte aligned");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 5 })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         *
         * @param boundary the alignment boundary
         * @return the number of bytes added for alignment
         */
        public int align(final int boundary) {
            final int m = boundary - 1;
            final int i = index - start;
            final int n = (i + m & ~m) - i;
            advance(n);
            return n;
        }
    
        /**
         * Encodes a small integer (1 byte) in NDR format.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

                this.byteCount = bytes.length;
            }
    
            @Override
            int writeParameterWordsWireFormat(byte[] dst, int dstIndex) {
                System.arraycopy(paramWords, 0, dst, dstIndex, paramWords.length);
                return paramWords.length;
            }
    
            @Override
            int writeBytesWireFormat(byte[] dst, int dstIndex) {
                System.arraycopy(bytes, 0, dst, dstIndex, bytes.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top