docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Hash32

    Hash32(uint)

    Hashes using constants generated from a program that maximizes the avalanche effect, independence of output bit changes, and the probability of a change in each output bit if any input bit is changed. Source: https://github.com/h2database/h2database/blob/master/h2/src/test/org/h2/test/store/CalculateHashConstant.java

    Declaration
    public static uint Hash32(uint x)
    Parameters
    Type Name Description
    uint x

    Unsigned integer to hash

    Returns
    Type Description
    uint

    The calculated hash value

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)