Lines Matching refs:hash
44 $hash = $this->equivalence->hash($value);
46 if (!isset($this->table[$hash])) {
50 foreach ($this->table[$hash] as $entry) {
61 $hash = $this->equivalence->hash($value);
63 if (!isset($this->table[$hash])) {
64 $this->table[$hash] = [];
67 foreach ($this->table[$hash] as $index => $entry) {
73 $this->table[$hash][] = $value;
82 $hash = $this->equivalence->hash($value);
84 if (!isset($this->table[$hash])) {
88 foreach ($this->table[$hash] as $index => $entry) {
109 $hash = $this->equivalence->hash($value);
111 if (!isset($this->table[$hash])) {
112 $this->table[$hash] = [];
115 foreach ($this->table[$hash] as $index => $entry) {
121 $this->table[$hash][] = $value;
130 $hash = $this->equivalence->hash($value);
132 if (!isset($this->table[$hash])) {
136 foreach ($this->table[$hash] as $index => $entry) {
141 unset($this->table[$hash][$index]);
143 if (\count($this->table[$hash]) === 0) {
144 unset($this->table[$hash]);
165 foreach ($this->table as $hash => $bucket) {
166 if (!isset($other->table[$hash]) || \count($bucket) !== \count($other->table[$hash])) {
170 $otherBucket = $other->table[$hash];