Esempio n. 1
0
 /// <summary>
 /// Sets the clock component for mId to v.
 /// Here, v is an epoch, not a simple long.
 /// Requires: exclusive access to this.
 /// </summary>
 public void SetComponent(ulong mID, long v)
 {
     Debug.Assert((long)mID == Epoch.MId(v), $"{mID} != {Epoch.MId(v)}");
     this.EnsureCapacity((long)mID + 1);
     this.Values[mID] = v;
 }
Esempio n. 2
0
 ///<summary>
 /// Sets the clock component for mId to v.
 /// Here, v is an epoch, not a simple long.
 /// Requires: exclusive access to this.
 ///</summary>
 public void SetComponent(ulong mID, long v)
 {
     Debug.Assert((long)mID == Epoch.MId(v));
     EnsureCapacity((long)mID + 1);
     Values[mID] = v;
 }