docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BitCounterTests

    Inheritance
    object
    BitCounterTests
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Netcode.EditorTests
    Assembly: Unity.Netcode.EditorTests.dll
    Syntax
    public class BitCounterTests

    Methods

    WhenCountingUsedBitsIn32BitValue_ResultMatchesHighBitSetPlusOne(int)

    Declaration
    [Test]
    public void WhenCountingUsedBitsIn32BitValue_ResultMatchesHighBitSetPlusOne(int highBit)
    Parameters
    Type Name Description
    int highBit

    WhenCountingUsedBitsIn64BitValue_ResultMatchesHighBitSetPlusOne(int)

    Declaration
    [Test]
    public void WhenCountingUsedBitsIn64BitValue_ResultMatchesHighBitSetPlusOne(int highBit)
    Parameters
    Type Name Description
    int highBit

    WhenCountingUsedBytesIn32BitValue_ResultMatchesHighBitSetOver8PlusOne(int)

    Declaration
    [Test]
    public void WhenCountingUsedBytesIn32BitValue_ResultMatchesHighBitSetOver8PlusOne(int highBit)
    Parameters
    Type Name Description
    int highBit

    WhenCountingUsedBytesIn64BitValue_ResultMatchesHighBitSetOver8PlusOne(int)

    Declaration
    [Test]
    public void WhenCountingUsedBytesIn64BitValue_ResultMatchesHighBitSetOver8PlusOne(int highBit)
    Parameters
    Type Name Description
    int highBit
    In This Article
    Back to top
    Copyright © 2025 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)