- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getSha1 (0.06 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java
byte[] fileBytes = Files.readAllBytes(shaFile.toPath()); String expectedSha = new String(fileBytes, StandardCharsets.UTF_8).trim(); String sha = getSha1(jar); if (expectedSha.equals(sha) == false) { final String exceptionMessage = String.format( Locale.ROOT, "SHA has changed! Expected %s for %s but got %s."
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 26 12:16:14 GMT 2021 - 14.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
} /** * Returns the {@code char} value whose big-endian representation is stored in the first 2 bytes * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getChar()}. For example, the * input byte array {@code {0x54, 0x32}} would yield the {@code char} value {@code '\\u5432'}. * * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much moreCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0)