Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for takeBuffer (0.2 sec)

  1. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/DefaultStreamHasher.java

            return doHash(inputStream, outputStream);
        }
    
        private HashCode doHash(InputStream inputStream, OutputStream outputStream) throws IOException {
            byte[] buffer = takeBuffer();
            try {
                PrimitiveHasher hasher = Hashing.newPrimitiveHasher();
                hasher.putHash(SIGNATURE);
                while (true) {
                    int nread = inputStream.read(buffer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top