Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for bytes (0.08 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                }
                return statObject;
            }
    
            /**
             * Gets the content length of the storage object.
             *
             * @return The content length in bytes, or -1 if unavailable
             */
            @Override
            public long getContentLengthLong() {
                if (minioClient == null) {
                    return -1;
                }
                try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                if (expand) {
                    queue.add(synonym);
                }
    
                // enqueue synonyms
                bytesReader.reset(synonym.output.bytes, synonym.output.offset, synonym.output.length);
                final int code = bytesReader.readVInt();
                final int count = code >>> 1;
                for (int i = 0; i < count; i++) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <_comment>PRONOM fmt-473</_comment>
        <_comment>First byte and 53rd byte are the same -- the length of the name.</_comment>
        <_comment>Based on TIKA-2469, we've added a heuristic/wild guess that the first 10 chars</_comment>
        <_comment>after the length byte should be \x00 or a non-control character.</_comment>
        <magic priority="80">
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Mar 13 08:18:01 UTC 2025
    - 320.1K bytes
    - Viewed (2)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java

        protected IDTYPE id;
    
        /** The name of the transformer associated with this access result data. */
        protected String transformerName;
    
        /** The data as a byte array. */
        protected byte[] data;
    
        /** The encoding used for the access result data. */
        protected String encoding;
    
        /**
         * Constructs a new AccessResultDataImpl instance.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultData.java

        /**
         * Retrieves the data as a byte array.
         *
         * @return a byte array containing the data.
         */
        byte[] getData();
    
        /**
         * Retrieves the data as a String.
         *
         * @return the data in String format.
         */
        String getDataAsString();
    
        /**
         * Sets the data for this AccessResultData instance.
         *
         * @param data the byte array containing the data to be set
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.2K bytes
    - Viewed (10)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResultDataTest.java

            }
        }
    
        public void test_setSerializer() {
            // ## Arrange ##
            final ResultData resultData = new ResultData();
            final Function<Object, byte[]> serializer = new Function<Object, byte[]>() {
                @Override
                public byte[] apply(Object t) {
                    return t.toString().getBytes();
                }
            };
    
            // ## Act ##
            resultData.setSerializer(serializer);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

        /**
         * Set the serializer.
         * @param serializer the serializer function to convert raw data to byte array
         */
        public void setSerializer(final Function<Object, byte[]> serializer) {
            this.serializer = serializer;
        }
    
        /**
         * Get the data.
         * @return data
         */
        public byte[] getData() {
            if (data == null) {
                if (serializer == null || rawData == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

     * stores it as a byte array in the ResultData, and provides a method to retrieve this data
     * as a ByteArrayInputStream.
     * </p>
     *
     * <p>
     * The transform method takes a ResponseData object, checks if it has a response body,
     * and then reads the body into a byte array. This byte array is then set as the data
     * in the ResultData object.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                                throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
                                        + " byte) is over " + maxLength + " byte. The url is " + filePath);
                            }
                        }
                    } else {
                        // Forbidden
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                        if (logger.isInfoEnabled()) {
                            final byte[] bs = outStream.toByteArray();
                            if (bs.length != 0) {
                                logger.info(new String(bs, outputEncoding));
                            }
                        }
                        if (logger.isWarnEnabled()) {
                            final byte[] bs = errStream.toByteArray();
                            if (bs.length != 0) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top