Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for HashCode128 (0.24 sec)

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

                }
                if (o == null || o.getClass() != HashCode128.class) {
                    return false;
                }
    
                HashCode128 other = (HashCode128) o;
    
                return bits1 == other.bits1 && bits2 == other.bits2;
            }
    
            @Override
            public int compareTo(HashCode o) {
                if (o.getClass() != HashCode128.class) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 19:25:07 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashCodeTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.hash
    
    import org.gradle.internal.hash.HashCode.ByteArrayBackedHashCode
    import org.gradle.internal.hash.HashCode.HashCode128
    import spock.lang.Specification
    
    class HashCodeTest extends Specification {
        def "can parse hex string #input"() {
            def hash = HashCode.fromString(input)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/testFixtures/groovy/org/gradle/internal/hash/TestHashCodes.groovy

    class TestHashCodes {
        /**
         * Create a 128-bit {@link HashCode} using the given value.
         * The higher 64 bits are set to {@code 0}.
         */
        static HashCode hashCodeFrom(long value) {
            return new HashCode.HashCode128(value, 0)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 906 bytes
    - Viewed (0)
Back to top