- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for countUniqueBytes (0.33 seconds)
-
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 compressionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0)