66 if (hashCode.Length < 20)
70 uint
a = (uint)((hashCode[3] << 24) | (hashCode[2] << 16) | (hashCode[1] << 8) | hashCode[0]);
71 ushort num = (ushort)((hashCode[5] << 8) | hashCode[4]);
72 ushort
num2 = (ushort)((hashCode[7] << 8) | hashCode[6]);
75 byte f = hashCode[10];
76 byte g = hashCode[11];
77 byte h = hashCode[12];
78 byte i = hashCode[13];
79 byte j = hashCode[14];
80 byte k = hashCode[15];
82 b = (byte)((
b & 0
x3Fu) | 0x80
u);
83 Guid guid =
new Guid((
int)
a, (
short)num, (
short)
num2,
b, e, f, g,
h, i,
j,
k);
84 uint
stamp = 0x80000000
u | (uint)((hashCode[19] << 24) | (hashCode[18] << 16) | (hashCode[17] << 8) | hashCode[16]);
119 return left.
Equals(right);
124 return !left.
Equals(right);
static int Combine(int newKey, int currentKey)
static ? byte[] DangerousGetUnderlyingArray(ImmutableArray< byte > array)
static string UnexpectedArrayLength
static string Format(string resourceFormat, object p1)
static string HashTooShort
static unsafe DateTime UtcNow
override int GetHashCode()
override bool Equals([NotNullWhen(true)] object? obj)
static BlobContentId FromHash(ImmutableArray< byte > hashCode)
BlobContentId(Guid guid, uint stamp)
static bool operator==(BlobContentId left, BlobContentId right)
override int GetHashCode()
static bool operator!=(BlobContentId left, BlobContentId right)
BlobContentId(ImmutableArray< byte > id)
static Func< IEnumerable< Blob >, BlobContentId > GetTimeBasedProvider()
bool Equals(BlobContentId other)
static BlobContentId FromHash(byte[] hashCode)
unsafe BlobContentId(byte[] id)