Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for 1000KB (0.06 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            long _10_gigabytes = 10L * 1000L * 1000L * 1000L;
            assertEquals("10 GB", format.format(_10_gigabytes));
    
            long _15_gigabytes = 15L * 1000L * 1000L * 1000L;
            assertEquals("15 GB", format.format(_15_gigabytes));
    
            long _1000_gigabytes = 1000L * 1000L * 1000L * 1000L;
            assertEquals("1000 GB", format.format(_1000_gigabytes));
        }
    
        @Test
        void testSizeWithSelectedScaleUnit() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. Makefile

    test-iam: install-race ## verify IAM (external IDP, etcd backends)
    	@echo "Running tests for IAM (external IDP, etcd backends)"
    	@MINIO_API_REQUESTS_MAX=10000 CGO_ENABLED=0 go test -timeout 15m -tags kqueue,dev -v -run TestIAM* ./cmd
    	@echo "Running tests for IAM (external IDP, etcd backends) with -race"
    	@MINIO_API_REQUESTS_MAX=10000 GORACE=history_size=7 CGO_ENABLED=1 go test -timeout 15m -race -tags kqueue,dev -v -run TestIAM* ./cmd
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/warm-backend-minio.go

    )
    
    type warmBackendMinIO struct {
    	warmBackendS3
    }
    
    var _ WarmBackend = (*warmBackendMinIO)(nil)
    
    const (
    	maxMultipartPutObjectSize = 1024 * 1024 * 1024 * 1024 * 5
    	maxPartsCount             = 10000
    	maxPartSize               = 1024 * 1024 * 1024 * 5
    	minPartSize               = 1024 * 1024 * 128 // chosen by us to be optimal for HDDs
    )
    
    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java

        @Test
        void testFormatDuration() {
            assertEquals("0.001 s", CLIReportingUtils.formatDuration(1));
            assertEquals("0.999 s", CLIReportingUtils.formatDuration(1000 - 1));
            assertEquals("1.000 s", CLIReportingUtils.formatDuration(1000));
            assertEquals("59.999 s", CLIReportingUtils.formatDuration(60 * 1000 - 1));
            assertEquals("01:00 min", CLIReportingUtils.formatDuration(60 * 1000));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

                if (duration > 0) {
                    DecimalFormat format = new DecimalFormat("0.0", new DecimalFormatSymbols(Locale.ENGLISH));
                    double kbPerSec = (contentLength / 1024.0) / (duration / 1000.0);
                    throughput = " at " + format.format(kbPerSec) + " KB/sec";
                }
    
                println(
                        "transferSucceeded",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            long duration = System.currentTimeMillis() - resource.getTransferStartTime();
            if (duration > 0L) {
                double bytesPerSecond = contentLength / (duration / 1000.0);
                message.append(" at ");
                format.format(message, (long) bytesPerSecond);
                message.append("/s");
            }
    
            message.append(')').resetStyle();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        protected LoadingCache<String, List<Pattern>> excludeFilterCache;
    
        protected int filterCacheExpireAfterWrite = 10; // 10sec
    
        protected int maxLoadSize = 10000;
    
        public OpenSearchUrlFilterService(final OpenSearchCrawlerConfig crawlerConfig) {
            index = crawlerConfig.getFilterIndex();
            setNumberOfShards(crawlerConfig.getFilterShards());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class ComparatorDelegationOverheadBenchmark {
      private final Integer[][] inputArrays = new Integer[0x100][];
    
      @Param({"10000"})
      int n;
    
      @BeforeExperiment
      void setUp() throws Exception {
        Random rng = new Random();
        for (int i = 0; i < 0x100; i++) {
          Integer[] array = new Integer[n];
          for (int j = 0; j < n; j++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

                @Override
                public String symbol() {
                    return "B";
                }
            },
            KILOBYTE {
                @Override
                public long bytes() {
                    return 1000L;
                }
    
                @Override
                public String symbol() {
                    return "kB";
                }
            },
            MEGABYTE {
                @Override
                public long bytes() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @Override
        public SampleElements<Entry<String, Collection<Integer>>> samples() {
          return new SampleElements<>(
              mapEntry("one", collectionOf(10000)),
              mapEntry("two", collectionOf(-2000)),
              mapEntry("three", collectionOf(300)),
              mapEntry("four", collectionOf(-40)),
              mapEntry("five", collectionOf(5)));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top