Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for setSizes (0.1 sec)

  1. cmd/endpoint-ellipses.go

    }
    
    // isValidSetSize - checks whether given count is a valid set size for erasure coding.
    var isValidSetSize = func(count uint64) bool {
    	return (count >= setSizes[0] && count <= setSizes[len(setSizes)-1])
    }
    
    func commonSetDriveCount(divisibleSize uint64, setCounts []uint64) (setSize uint64) {
    	// prefers setCounts to be sorted for optimal behavior.
    	if divisibleSize < setCounts[len(setCounts)-1] {
    		return divisibleSize
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

        }
    
        public PopularWordsRequestBuilder setIndex(final String index) {
            request.setIndex(index);
            return this;
        }
    
        public PopularWordsRequestBuilder setSize(final int size) {
            request.setSize(size);
            return this;
        }
    
        public PopularWordsRequestBuilder addTag(final String tag) {
            request.addTag(tag);
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

        }
    
        public SuggestRequestBuilder setIndex(final String index) {
            request.setIndex(index);
            return this;
        }
    
        public SuggestRequestBuilder setSize(final int size) {
            request.setSize(size);
            return this;
        }
    
        public SuggestRequestBuilder setQuery(final String query) {
            request.setQuery(query);
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

          throw new SkipThisScenarioException();
        }
    
        Random rng = new Random();
        for (int i = 0; i < 0x1000; i++) {
          double setSize = rng.nextDouble();
          if (setSize < emptySetProportion) {
            sets[i] = ImmutableSet.of();
          } else if (setSize < emptySetProportion + singletonSetProportion) {
            sets[i] = ImmutableSet.of(PRESENT);
          } else {
            sets[i] = ImmutableSet.of(PRESENT, new Object());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. docs/debugging/reorder-disks/main.go

    	if err != nil {
    		log.Fatal(err)
    	}
    
    	setSize := len(format.XL.Sets[0])
    
    	expectedDisksName := make(map[string]string)
    	actualDisksName := make(map[string]string)
    
    	// Calculate the set/disk index
    	for _, disk := range localDisks {
    		expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.path
    		format, err := getFormatJSON(disk.path)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            final SearchRequestBuilder builder = client.prepareSearch(index);
    
            if (skipDuplicateWords) {
                builder.setSize(size * 2);
            } else {
                builder.setSize(size);
            }
    
            // set query.
            final QueryBuilder q = buildQuery(query, fields);
    
            // set function score
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
            urlQueueService.delete("sessionId");
            assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

        private int queryFreqThreshold = 10;
    
        private final List<String> excludeWords = new ArrayList<>();
    
        public void setIndex(final String index) {
            this.index = index;
        }
    
        public void setSize(final int size) {
            this.size = size;
        }
    
        public void setSeed(final String seed) {
            this.seed = seed;
        }
    
        public void setWindowSize(final int windowSize) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                    if (scrollId == null) {
                        final SearchRequestBuilder builder = client.prepareSearch().setIndices(indexName).setScroll(settings.getScrollTimeout())
                                .setQuery(queryBuilder).setSize(scrollSize);
                        for (final SortBuilder<?> sortBuilder : sortList) {
                            builder.addSort(sortBuilder);
                        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      private void verifyTableSize(int inputSize, int setSize, int tableSize) {
        Builder<Integer> builder = ImmutableSet.builder();
        for (int i = 0; i < inputSize; i++) {
          builder.add(i % setSize);
        }
        ImmutableSet<Integer> set = builder.build();
        assertTrue(set instanceof RegularImmutableSet);
        assertEquals(
            "Input size " + inputSize + " and set size " + setSize,
            tableSize,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top