- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getCalculator (0.15 sec)
-
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java
assertEquals(4, algNames.size()); } @Test void emptySha1Calculator() { ChecksumAlgorithmService.ChecksumCalculator calculator = service.select("SHA-1").getCalculator(); calculator.update(ByteBuffer.allocate(0)); assertEquals("da39a3ee5e6b4b0d3255bfef95601890afd80709", calculator.checksum()); } @Test void calculateByte() throws IOException {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 11:31:00 UTC 2025 - 4.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
String getFileExtension(); /** * Each invocation of this method returns a new instance of calculator, never {@code null} value. */ @Nonnull ChecksumCalculator getCalculator(); } /** * The checksum calculator. */ interface ChecksumCalculator { /** * Updates the checksum algorithm inner state with input. *
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 6.4K bytes - Viewed (0)