Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for maxCount (0.08 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler.addUrl(url);
                crawler.getCrawlerContext().setMaxAccessCount(maxCount);
                crawler.getCrawlerContext().setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
                dataService.delete(sessionId);
            } finally {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler.addUrl(url);
                crawler.crawlerContext.setMaxAccessCount(maxCount);
                crawler.crawlerContext.setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
                dataService.delete(sessionId);
            } finally {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler.addUrl(url);
                crawler.crawlerContext.setMaxAccessCount(maxCount);
                crawler.crawlerContext.setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
                dataService.delete(sessionId);
            } finally {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/format-erasure_test.go

    	for _, hash := range formatHashes {
    		if hash == "" {
    			continue
    		}
    		formatCountMap[hash]++
    	}
    
    	maxHash := ""
    	maxCount := 0
    	for hash, count := range formatCountMap {
    		if count > maxCount {
    			maxCount = count
    			maxHash = hash
    		}
    	}
    
    	if maxCount < len(formats)/2 {
    		return nil, errErasureReadQuorum
    	}
    
    	for i, hash := range formatHashes {
    		if hash == maxHash {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. .idea/inspectionProfiles/Gradle.xml

            <constraint name="ParameterType" within="" contains="" />
            <constraint name="Parameter" minCount="0" maxCount="2147483647" within="" contains="" />
            <constraint name="Base" regexp="ServiceRegistrationProvider" withinHierarchy="true" within="" contains="" />
            <constraint name="Annotation" regexp="Provides" maxCount="2147483647" within="" contains="" />
          </searchConfiguration>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 26 21:49:47 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                crawlerContext.setMaxDepth(depth);
    
                // max count
                final long maxCount = webConfig.getMaxAccessCount() != null ? webConfig.getMaxAccessCount() : maxAccessCount;
                crawlerContext.setMaxAccessCount(maxCount);
    
                webConfig.initializeClientFactory(() -> crawler.getClientFactory());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils.go

    func reduceQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, quorum int, quorumErr error) error {
    	if contextCanceled(ctx) {
    		return context.Canceled
    	}
    	maxCount, maxErr := reduceErrs(errs, ignoredErrs)
    	if maxCount >= quorum {
    		return maxErr
    	}
    	return quorumErr
    }
    
    // reduceReadQuorumErrs behaves like reduceErrs but only for returning
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    	for _, hash := range metaHashes {
    		if hash == "" {
    			continue
    		}
    		metaHashCountMap[hash]++
    	}
    
    	maxHash := ""
    	maxCount := 0
    	for hash, count := range metaHashCountMap {
    		if count > maxCount {
    			maxCount = count
    			maxHash = hash
    		}
    	}
    
    	if maxCount < quorum {
    		return FileInfo{}, InsufficientReadQuorum{Err: errErasureReadQuorum, Type: RQInconsistentMeta}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashTestUtils.java

          int diff = 0x0; // bitset for output bits with different values
          int count = 0;
          // originally was 2 * Math.log(...), making it try more times to avoid flakiness issues
          int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1);
          while (same != 0xffffffff || diff != 0xffffffff) {
            int key1 = rand.nextInt();
            // flip input bit for key2
            int key2 = key1 ^ (1 << i);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    			continue
    		}
    		formatCountMap[format.Drives()]++
    	}
    
    	maxDrives := 0
    	maxCount := 0
    	for drives, count := range formatCountMap {
    		if count > maxCount {
    			maxCount = count
    			maxDrives = drives
    		}
    	}
    
    	if maxDrives == 0 {
    		return nil, errErasureReadQuorum
    	}
    
    	if maxCount < len(formats)/2 {
    		return nil, errErasureReadQuorum
    	}
    
    	for i, format := range formats {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top