Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for getSize (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                                        bucketName, path, blob.getSize(), maxCachedContentSize, outputFile.getAbsolutePath());
                            }
                        } catch (final Exception e) {
                            logger.warn("Failed to write GCS object to temp file: bucket={}, path={}, size={}, tempFile={}", bucketName, path,
                                    blob.getSize(), outputFile != null ? outputFile.getAbsolutePath() : "null", e);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/storage/StorageItem.java

         */
        public boolean isDirectory() {
            return directory;
        }
    
        /**
         * Returns the size of the item in bytes.
         *
         * @return the item size
         */
        public long getSize() {
            return size;
        }
    
        /**
         * Returns the last modified timestamp.
         *
         * @return the last modified timestamp
         */
        public ZonedDateTime getLastModified() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                ZipArchiveEntry entry = null;
                long contentSize = 0;
                while ((entry = (ZipArchiveEntry) ais.getNextEntry()) != null) {
                    contentSize += entry.getSize();
                    if (maxContentSize != -1 && contentSize > maxContentSize) {
                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                TarArchiveEntry entry = null;
                long contentSize = 0;
                while ((entry = (TarArchiveEntry) ais.getNextEntry()) != null) {
                    contentSize += entry.getSize();
                    if (maxContentSize != -1 && contentSize > maxContentSize) {
                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                try {
                    if (!connected) {
                        connect();
                    }
                    final Blob blobObj = getBlob();
                    return blobObj != null ? blobObj.getSize() : -1;
                } catch (final Exception e) {
                    return -1;
                }
            }
    
            /**
             * Gets the content type of the GCS object.
             *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                    final StorageItem item = new StorageItem(name, prefix, isDirectory, isDirectory ? 0 : blob.getSize(),
                            isDirectory ? null : lastModified, encodeId(blobName));
    
                    if (isDirectory) {
                        items.add(item);
                    } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                responseData.setCharSet(Constants.UTF_8);
                responseData.setLastModified(file.getTimestamp().getTime());
    
                // check file size
                responseData.setContentLength(file.getSize());
                checkMaxContentLength(responseData);
    
                if (file.getUser() != null) {
                    responseData.addMetaData(FTP_FILE_USER, file.getUser());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    map.put("path", item.getPath());
                    map.put("name", item.getName());
                    map.put("hashCode", item.hashCode());
                    map.put("size", item.getSize());
                    map.put("directory", item.isDirectory());
                    if (!item.isDirectory()) {
                        map.put("lastModified", item.getLastModified());
                        fileList.add(map);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                return project.getFile();
            }
    
            // Get the matching artifact from the project
            Artifact projectArtifact = findMatchingArtifact(project, artifact);
            if (projectArtifact != null) {
                // If the artifact has been associated to a file, use it
                File packagedArtifactFile = projectArtifact.getFile();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            request.setIndex("test-index");
            request.setSize(20);
            request.setSeed("test-seed");
            request.setWindowSize(30);
            request.setQueryFreqThreshold(5);
    
            assertNotNull(request);
        }
    
        @Test
        public void test_addTag() throws Exception {
            indexQueryItems();
    
            PopularWordsResponse response = suggester.popularWords().setSize(10).addTag("tag1").execute().getResponse();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top