Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for ratio (0.02 sec)

  1. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            assertArrayEquals(largeTestData, decompressed);
        }
    
        @Test
        @DisplayName("Test compression ratio estimation")
        public void testCompressionRatioEstimation() {
            double ratio = compressionService.estimateCompressionRatio(testData, CompressionService.COMPRESSION_LZ77);
            assertTrue(ratio >= 0.0 && ratio <= 1.0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. docs/erasure/storage-class/README.md

    Below is a list of data/parity drives and corresponding _approximate_ storage space usage on a 16 drive MinIO deployment. The field _storage
    usage ratio_ is simply the drive space used by the file after erasure-encoding, divided by actual file size.
    
    | Total Drives (N) | Data Drives (D) | Parity Drives (P) | Storage Usage Ratio |
    |------------------|-----------------|-------------------|---------------------|
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/compression/CompressionService.java

         */
        int[] getSupportedAlgorithms();
    
        /**
         * Estimates the compression ratio for the given data and algorithm.
         * This can be used to decide whether compression is worthwhile.
         *
         * @param data the data to analyze
         * @param algorithm the compression algorithm
         * @return estimated compression ratio (0.0 to 1.0, where 0.5 means 50% size reduction)
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                // Timing differences should be minimal (within tolerance)
                assertTrue(timingRatio < TIMING_TOLERANCE,
                        String.format(
                                "Timing attack vulnerability detected: timing ratio %.3f exceeds tolerance %.3f "
                                        + "(start: %d ns, middle: %d ns, end: %d ns)",
                                timingRatio, TIMING_TOLERANCE, timeStart, timeMiddle, timeEnd));
            } finally {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. tests/lru_test.go

    	for i := 0; i < 2*b.N; i++ {
    		if i%2 == 0 {
    			l.Add(trace[i], trace[i])
    		} else {
    			if _, ok := l.Get(trace[i]); ok {
    				hit++
    			} else {
    				miss++
    			}
    		}
    	}
    	b.Logf("hit: %d miss: %d ratio: %f", hit, miss, float64(hit)/float64(hit+miss))
    }
    
    func BenchmarkLRU_Freq_NoExpire(b *testing.B) {
    	l := lru.NewLRU[int64, int64](8192, nil, 0)
    
    	trace := make([]int64, b.N*2)
    	for i := 0; i < b.N*2; i++ {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      /** Returns the number of times {@link Cache} lookup methods have returned a cached value. */
      public long hitCount() {
        return hitCount;
      }
    
      /**
       * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
       * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate +
       * missRate =~ 1.0}.
       */
      public double hitRate() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheStats.java

      }
    
      /** Returns the number of times {@link Cache} lookup methods have returned a cached value. */
      public long hitCount() {
        return hitCount;
      }
    
      /**
       * Returns the ratio of cache requests which were hits. This is defined as {@code hitCount /
       * requestCount}, or {@code 1.0} when {@code requestCount == 0}. Note that {@code hitRate +
       * missRate =~ 1.0}.
       */
      public double hitRate() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        public void setReadAsTextIfFailed(final boolean readAsTextIfFailed) {
            this.readAsTextIfFailed = readAsTextIfFailed;
        }
    
        /**
         * Sets the maximum compression ratio.
         * @param maxCompressionRatio The max compression ratio.
         */
        public void setMaxCompressionRatio(final long maxCompressionRatio) {
            this.maxCompressionRatio = maxCompressionRatio;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  9. src/main/assemblies/files/generate-thumbnail

      rm -f ${tmp_png_prefix}*png
    elif [[ x"${cmd_type}" = "xsvg" ]] ; then
      check_command rsvg-convert
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      rsvg-convert -w 100 -h 100 --keep-aspect-ratio "${target_file}" -o "${output_file}"
    elif [[ x"${cmd_type}" = "ximage" ]] ; then
      im_cmd=$(get_imagemagick_cmd)
      if [[ -z "${im_cmd}" ]] ; then
        echo "ImageMagick (convert or magick) does not exist."
        exit 1
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            a full-time Guava team member. [Feedback](https://stackoverflow.com/a/4543114) from our
            users indicates that they really appreciate Guava's high power-to-weight ratio. It's
            important to us to keep Guava as easy to use and understand as we can. That means boiling
            features down to compact but powerful abstractions, and controlling feature bloat carefully.
    
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top