Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 106 for Bucket (0.06 seconds)

  1. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

            try {
                final Bucket existingBucket = storage.get(bucket);
                if (existingBucket == null) {
                    storage.create(BucketInfo.newBuilder(bucket).build());
                    logger.info("Created storage bucket: {}", bucket);
                }
            } catch (final Exception e) {
                logger.warn("Failed to ensure bucket exists: {}", bucket, e);
            }
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            assertTrue(protocolHelper.isValidFileProtocol("s3://bucket/path/to/file"));
            assertTrue(protocolHelper.isValidFileProtocol("gcs://bucket/path/to/file"));
            assertTrue(protocolHelper.isValidFileProtocol("s3://my-bucket/"));
            assertTrue(protocolHelper.isValidFileProtocol("gcs://my-bucket/folder/document.pdf"));
    
            assertFalse(protocolHelper.isValidWebProtocol("s3://bucket/path"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                s3Client.headBucket(request);
            } catch (final NoSuchBucketException e) {
                try {
                    final CreateBucketRequest createRequest = CreateBucketRequest.builder().bucket(bucket).build();
                    s3Client.createBucket(createRequest);
                    logger.info("Created storage bucket: {}", bucket);
                } catch (final Exception e1) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java

            // Various GCS bucket and path formats
            assertEquals("gcs://bucket/", wizardAction.convertCrawlingPath("gcs://bucket/"));
            assertEquals("gcs://my-bucket/", wizardAction.convertCrawlingPath("gcs://my-bucket/"));
            assertEquals("gcs://bucket.with.dots/path", wizardAction.convertCrawlingPath("gcs://bucket.with.dots/path"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            url = "s3://my-bucket/path/to/file";
            exp = "my-bucket";
            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "gcs://my-bucket/path/to/file";
            exp = "my-bucket";
            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "s3://bucket-with-dashes/file";
            exp = "bucket-with-dashes";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                    }
                }
            }
        }
    
        /**
         * Parses a GCS path into bucket name and object path components.
         * @param path the GCS path to parse (format: bucket/object/path)
         * @return an array containing the bucket name and object path
         * @throws CrawlingAccessException if the path format is invalid
         */
        protected String[] parsePath(final String path) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/go/GoActionTest.java

            assertTrue(goAction.isFileSystemPath("s3://my-bucket-name/deep/nested/path/file.txt"));
            assertTrue(goAction.isFileSystemPath("s3://bucket-with-dashes/file"));
        }
    
        @Test
        public void test_isFileSystemPath_gcs_protocol() {
            assertTrue(goAction.isFileSystemPath("gcs://bucket/path/to/file.txt"));
            assertTrue(goAction.isFileSystemPath("gcs://my-bucket/folder/document.pdf"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. internal/lru/lru.go

    	// expirable options
    	mu   sync.RWMutex
    	ttl  time.Duration
    	done chan struct{}
    
    	// buckets for expiration
    	buckets []bucket[K, V]
    	// uint8 because it's number between 0 and numBuckets
    	nextCleanupBucket uint8
    }
    
    // bucket is a container for holding entries to be expired
    type bucket[K comparable, V any] struct {
    	entries     map[K]*Entry[K, V]
    	newestEntry time.Time
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

                entry = entry.successorInValueSet) {
              int bucket = entry.smearedValueHash & mask;
              entry.nextInValueBucket = hashTable[bucket];
              hashTable[bucket] = entry;
            }
          }
        }
    
        @CanIgnoreReturnValue
        @Override
        public boolean remove(@Nullable Object o) {
          int smearedHash = smearedHash(o);
          int bucket = smearedHash & mask();
          ValueEntry<K, V> prev = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/LinkedHashMultimap.java

                entry = entry.successorInValueSet) {
              int bucket = entry.smearedValueHash & mask;
              entry.nextInValueBucket = hashTable[bucket];
              hashTable[bucket] = entry;
            }
          }
        }
    
        @CanIgnoreReturnValue
        @Override
        public boolean remove(@Nullable Object o) {
          int smearedHash = smearedHash(o);
          int bucket = smearedHash & mask();
          ValueEntry<K, V> prev = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 20K bytes
    - Click Count (0)
Back to Top