Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,029 for Size (0.03 sec)

  1. cmd/bitrot.go

    		return bw.Sum(nil)
    	}
    	return nil
    }
    
    // Returns the size of the file with bitrot protection
    func bitrotShardFileSize(size int64, shardSize int64, algo BitrotAlgorithm) int64 {
    	if algo != HighwayHash256S {
    		return size
    	}
    	return ceilFrac(size, shardSize)*int64(algo.New().Size()) + size
    }
    
    // bitrotVerify a single stream of data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            qrList = new QueryResponseList(null, 0, 20, 0) {
                @Override
                public int size() {
                    return 20;
                }
            };
            qrList.allRecordCount = 20;
            qrList.calculatePageInfo();
            pnList = qrList.getPageNumberList();
            assertEquals(1, pnList.size());
            assertEquals("1", pnList.get(0));
    
            qrList = new QueryResponseList(null, 0, 20, 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	}
    
    	putObjectTar := func(reader io.Reader, info os.FileInfo, object string) error {
    		size := info.Size()
    
    		metadata := map[string]string{
    			xhttp.AmzStorageClass: sc, // save same storage-class as incoming stream.
    		}
    
    		actualSize := size
    		var idxCb func() []byte
    		if isCompressible(r.Header, object) && size > minCompressibleSize {
    			// Storing the compression metadata.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val inflater = MessageInflater(false)
    
        val goldenValue = "Hello deflate!".repeat(100).encodeUtf8()
    
        val deflated = deflater.deflate(goldenValue)
        assertThat(deflated.size).isLessThan(goldenValue.size)
        val inflated = inflater.inflate(deflated)
    
        assertThat(inflated).isEqualTo(goldenValue)
      }
    
      @Test fun `inflate deflate empty message`() {
        val deflater = MessageDeflater(false)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       *     size}
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size, int position) {
        checkPositionIndex(position, size);
        this.size = size;
        this.position = position;
      }
    
      @Override
      public final boolean hasNext() {
        return position < size;
      }
    
      @Override
      @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        int numGoodQueries = (int) (numQueries * hitRate + 0.5);
    
        // add good queries
        int size = elementsInSet.size();
        if (size > 0) {
          int minCopiesOfEachGoodQuery = numGoodQueries / size;
          int extras = numGoodQueries % size;
    
          for (int i = 0; i < minCopiesOfEachGoodQuery; i++) {
            queryList.addAll(elementsInSet);
          }
          List<Element> tmp = Lists.newArrayList(elementsInSet);
          shuffle(tmp, random);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/archive/tar/tar_test.go

    		wantValid:    true,
    		wantInverted: []sparseEntry{{0, 5000}},
    	}, {
    		in: []sparseEntry{{1, 0}}, size: 0,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{-1, 0}}, size: 100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{0, -1}}, size: 100,
    		wantValid: false,
    	}, {
    		in: []sparseEntry{{0, 0}}, size: -100,
    		wantValid: false,
    	}, {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableList.java

      // The first `size` elements are non-null.
      @VisibleForTesting final transient @Nullable Object[] array;
      private final transient int size;
    
      RegularImmutableList(@Nullable Object[] array, int size) {
        this.array = array;
        this.size = size;
      }
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
      boolean isPartialView() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            c = entries.get(2);
          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapFirst() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

        @CustomSize(maxKey = "form.admin.max.input.size")
        public String urls;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String includedUrls;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String excludedUrls;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String includedDocUrls;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String excludedDocUrls;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top