Lines Matching refs:hash
35 $hash = $this->equivalence->hash($key);
37 if (!isset($this->table[$hash])) {
41 foreach ($this->table[$hash] as [$entryKey]) {
55 $hash = $this->equivalence->hash($key);
57 if (!isset($this->table[$hash])) {
61 foreach ($this->table[$hash] as [$entryKey, $entryValue]) {
75 $hash = $this->equivalence->hash($key);
77 if (!isset($this->table[$hash])) {
78 $this->table[$hash] = [];
81 foreach ($this->table[$hash] as $index => [$entryKey]) {
83 $this->table[$hash][$index] = [$key, $value];
89 $this->table[$hash][] = [$key, $value];
96 $hash = $this->equivalence->hash($key);
98 if (!isset($this->table[$hash])) {
102 foreach ($this->table[$hash] as $index => [$entryKey]) {
107 unset($this->table[$hash][$index]);
109 if (\count($this->table[$hash]) === 0) {
110 unset($this->table[$hash]);
131 foreach ($this->table as $hash => $bucket) {
132 if (!isset($other->table[$hash]) || \count($bucket) !== \count($other->table[$hash])) {
136 $otherBucket = $other->table[$hash];