mass replaced all methods to pascal case

This commit is contained in:
Tahir Akhlaq 2016-06-14 21:29:10 +01:00
parent ed0a0a58f7
commit 24f55139dd
179 changed files with 1585 additions and 1585 deletions

View file

@ -25,14 +25,14 @@ namespace FFXIVClassic.Common
_buckets = new element[_capacity][];
}
public uint hash(ulong key)
public uint Hash(ulong key)
{
return (uint)(key % _capacity);
}
public void Add(ulong key, T value)
{
uint hsh = hash(key);
uint hsh = Hash(key);
element[] e;
if (_buckets[hsh] == null)
_buckets[hsh] = e = new element[1];
@ -53,7 +53,7 @@ namespace FFXIVClassic.Common
public T Get(ulong key)
{
uint hsh = hash(key);
uint hsh = Hash(key);
element[] e = _buckets[hsh];
if (e == null) return default(T);
foreach (var f in e)
@ -64,7 +64,7 @@ namespace FFXIVClassic.Common
public bool Has(ulong key)
{
uint hsh = hash(key);
uint hsh = Hash(key);
element[] e = _buckets[hsh];
if (e == null) return false;
foreach (var f in e)
@ -104,14 +104,14 @@ namespace FFXIVClassic.Common
_buckets = new element[_capacity][];
}
public uint hash(uint key)
public uint Hash(uint key)
{
return (uint)(key % _capacity);
}
public void Add(uint key, T value)
{
uint hsh = hash(key);
uint hsh = Hash(key);
element[] e;
if (_buckets[hsh] == null)
_buckets[hsh] = e = new element[1];
@ -132,7 +132,7 @@ namespace FFXIVClassic.Common
public T Get(uint key)
{
uint hsh = hash(key);
uint hsh = Hash(key);
element[] e = _buckets[hsh];
if (e == null) return default(T);
foreach (var f in e)