コード例 #1
0
 public bool ContainsKey(ulong key)
 {
     if (partitioned)
     {
         int partition = (int)(key >> keyBaseShift);
         return(dictionaryPartitions[partition].ContainsKey(key));
     }
     else
     {
         return(dictionary.ContainsKey(key));
     }
 }
コード例 #2
0
 public bool ContainsKey(ulong key)
 {
     if (partitioned)
     {
         int partIdx = (int)(key >> keyBaseShift);
         return(pmers[partIdx].ContainsKey(key));
     }
     else
     {
         return(mers.ContainsKey(key));
     }
 }