2 writes to active
System.ServiceModel (2)
System\ServiceModel\Channels\PeerFlooder.cs (2)
688this.active = 0; 803active = (active + 1) % (buckets);
9 references to active
System.ServiceModel (9)
System\ServiceModel\Channels\PeerFlooder.cs (9)
713tables[active].Add(key, false); 761if (tables[(active + i) % buckets].TryGetValue(key, out flooded)) 765tables[(active + i) % buckets][key] = true; 772tables[active].Add(key, true); 786if (tables[(active + i) % buckets].ContainsKey(key)) 791cache = (int)((active + buckets - i) % buckets); 803active = (active + 1) % (buckets); 804tables[active] = NewCache(tables[active].Count);