- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for ratio (0.02 sec)
-
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
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 Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 5.9K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
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 Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.7K bytes - Viewed (0) -
docs/compression/README.md
> export MINIO_COMPRESSION_MIME_TYPES="*" > ``` ### 3. Compression + Encryption Combining encryption and compression is not safe in all setups. This is particularly so if the compression ratio of your content reveals information about it. See [CRIME TLS](https://en.wikipedia.org/wiki/CRIME) as an example of this. Therefore, compression is disabled when encrypting by default, and must be enabled separately.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
if (width < TABLET_WIDTH) { float ratio = (float) width / (float) TABLET_WIDTH; if (ratio < 0.5) { ratio = 0.5f; } highlightInfo.fragmentSize((int) (highlightInfo.getFragmentSize() * ratio)); } } /** * Gets the URL link for a document with proper protocol handling.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
// In practice, this would be more sophisticated int uniqueBytes = countUniqueBytes(data); double entropy = (double) uniqueBytes / 256.0; // Estimate compression ratio based on entropy // Lower entropy = better compression return 0.3 + (entropy * 0.6); // Range from 30% to 90% } @Override public int getMinCompressionSize() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0)