- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for countUniqueBytes (0.08 sec)
-
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
return 1.0; } // Simple heuristic based on data entropy // 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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0)