jdk/src/java.base/share/classes/java/util/zip/Adler32.java
changeset 32649 2ee9017c7597
parent 32637 ac873eaac862
child 45434 4582657c7260
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   125     @Override
   125     @Override
   126     public long getValue() {
   126     public long getValue() {
   127         return (long)adler & 0xffffffffL;
   127         return (long)adler & 0xffffffffL;
   128     }
   128     }
   129 
   129 
   130     private native static int update(int adler, int b);
   130     private static native int update(int adler, int b);
   131 
   131 
   132     @HotSpotIntrinsicCandidate
   132     @HotSpotIntrinsicCandidate
   133     private native static int updateBytes(int adler, byte[] b, int off,
   133     private static native int updateBytes(int adler, byte[] b, int off,
   134                                           int len);
   134                                           int len);
   135     @HotSpotIntrinsicCandidate
   135     @HotSpotIntrinsicCandidate
   136     private native static int updateByteBuffer(int adler, long addr,
   136     private static native int updateByteBuffer(int adler, long addr,
   137                                                int off, int len);
   137                                                int off, int len);
   138 }
   138 }