public static void InitialUpdater(AdId *key, Input *input, NumClicks *value) { NumClicks.Copy(&input->numClicks, value); }
public static int InitialValueLength(AdId *key, Input *input) { return(NumClicks.GetLength(default(NumClicks *))); }
public static void ConcurrentWriter(AdId *key, NumClicks *src, NumClicks *dst) { NumClicks.AcquireWriteLock(dst); NumClicks.Copy(src, dst); NumClicks.ReleaseWriteLock(dst); }
public static void SingleWriter(AdId *key, NumClicks *src, NumClicks *dst) { NumClicks.Copy(src, dst); }
public static void ConcurrentReader(AdId *key, Input *input, NumClicks *value, Output *dst) { NumClicks.AcquireReadLock(value); NumClicks.Copy(value, (NumClicks *)dst); NumClicks.ReleaseReadLock(value); }
public static void SingleReader(AdId *key, Input *input, NumClicks *value, Output *dst) { NumClicks.Copy(value, (NumClicks *)dst); }