Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 87 for getDisk (0.06 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                return bean;
            }
            return null;
        }
    
        protected <T> List<T> getList(final Class<T> clazz, final String sessionId, final QueryBuilder queryBuilder, final Integer from,
                final Integer size, final SortBuilder<?>... sortBuilders) {
            return getList(clazz, builder -> {
                if (StringUtil.isNotBlank(sessionId)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    	if err != nil {
    		t.Fatalf("Failed to make a bucket %v", err)
    	}
    
    	object := "object"
    	data := bytes.Repeat([]byte("a"), smallFileThreshold*32)
    	z := obj.(*erasureServerPools)
    
    	erasureDisks, err := z.GetDisks(0, 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for i, test := range testCases {
    		test := test
    		t.Run(fmt.Sprintf("case-%d", i), func(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

                    .build(new CacheLoader<String, List<Pattern>>() {
    
                        @Override
                        public List<Pattern> load(final String key) {
                            return getList(OpenSearchUrlFilter.class, key, QueryBuilders.termQuery(FILTER_TYPE, type), null, maxLoadSize, null)
                                    .stream().map(f -> Pattern.compile(f.getUrl())).collect(Collectors.toList());
                        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileLocationTest.java

            public String getDomain () {
                return null;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#getLink()
             */
            @Override
            public String getLink () {
                return null;
            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#getShare()
             */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    	dryRun := opts.DryRun
    	scanMode := opts.ScanMode
    
    	storageDisks := er.getDisks()
    	storageEndpoints := er.getEndpoints()
    
    	defer func() {
    		er.auditHealObject(ctx, bucket, object, versionID, result, err)
    	}()
    
    	if globalTrace.NumSubscribers(madmin.TraceHealing) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            return get(OpenSearchAccessResult.class, sessionId, url);
        }
    
        @Override
        public List<OpenSearchAccessResult> getAccessResultList(final String url, final boolean hasData) {
            return getList(OpenSearchAccessResult.class, builder -> builder.setQuery(QueryBuilders.termQuery(URL, url)));
        }
    
        public List<OpenSearchAccessResult> getAccessResultList(final Consumer<SearchRequestBuilder> callback) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    		copy(eps, s.endpoints.Endpoints[setIndex*s.setDriveCount:setIndex*s.setDriveCount+s.setDriveCount])
    		return eps
    	}
    }
    
    // GetDisks returns a closure for a given set, which provides list of disks per set.
    func (s *erasureSets) GetDisks(setIndex int) func() []StorageAPI {
    	return func() []StorageAPI {
    		s.erasureDisksMu.RLock()
    		defer s.erasureDisksMu.RUnlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  8. cmd/erasure-metadata-utils_test.go

    	testShuffleDisks(t, z)
    }
    
    // Test shuffleDisks which returns shuffled slice of disks for their actual distribution.
    func testShuffleDisks(t *testing.T, z *erasureServerPools) {
    	disks := z.serverPools[0].GetDisks(0)()
    	distribution := []int{16, 14, 12, 10, 8, 6, 4, 2, 1, 3, 5, 7, 9, 11, 13, 15}
    	shuffledDisks := shuffleDisks(disks, distribution)
    	// From the "distribution" above you can notice that:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            requestBody.put("q", "CodeLibs");
    
            final String response = checkMethodBase(requestBody).get("/api/admin/searchlist/docs").asString();
            final List<Map<String, Object>> results = JsonPath.from(response).getList("response.docs");
            return results;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                crawlingQueue.poll();
            }
            crawlingQueue.add(urlQueue);
            return urlQueue;
        }
    
        protected List<OpenSearchUrlQueue> fetchUrlQueueList(final String sessionId) {
            return getList(OpenSearchUrlQueue.class, sessionId, null, 0, pollingFetchSize,
                    SortBuilders.fieldSort(OpenSearchUrlQueue.WEIGHT).order(SortOrder.DESC),
                    SortBuilders.fieldSort(CREATE_TIME).order(SortOrder.ASC));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top