- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for ratio (0.01 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) -
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) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
|| height < getThumbnailHtmlImageMinHeightAsInteger().intValue()) { return false; } final float ratio = getThumbnailHtmlImageMaxAspectRatioAsDecimal().floatValue(); if ((float) width / (float) height > ratio || (float) height / (float) width > ratio) { return false; } return true; } String getHttpProxyHost();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
if divisibleSize < setCounts[len(setCounts)-1] { return divisibleSize } // Figure out largest value of total_drives_in_erasure_set which results // in least number of total_drives/total_drives_erasure_set ratio. prevD := divisibleSize / setCounts[0] for _, cnt := range setCounts { if divisibleSize%cnt == 0 { d := divisibleSize / cnt if d <= prevD { prevD = d setSize = cnt } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0)