equal
deleted
inserted
replaced
1 |
|
2 import java.util.zip.CRC32C; |
|
3 |
|
4 /* |
1 /* |
5 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
6 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
7 * |
4 * |
8 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
22 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
23 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
24 * questions. |
21 * questions. |
25 */ |
22 */ |
26 |
23 |
|
24 import java.util.zip.CRC32C; |
|
25 |
27 /** |
26 /** |
28 * @test @summary Check that CRC-32C returns the expected CRC value for the |
27 * @test @summary Check that CRC-32C returns the expected CRC value for the |
29 * string 123456789 |
28 * string 123456789 |
30 * http://reveng.sourceforge.net/crc-catalogue/all.htm#crc.cat.crc-32c |
29 * http://reveng.sourceforge.net/crc-catalogue/all.htm#crc.cat.crc-32c |
31 * @build ChecksumBase |
30 * @build ChecksumBase |