170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
- (unsigned long)hash
{
unsigned long hash;
OFHashInit(&hash);
OFHashAdd(&hash, (uint8_t)_type);
OFHashAddHash(&hash, _data.hash);
OFHashFinalize(&hash);
return hash;
}
- (id)copy
{
return [self retain];
}
@end
|
|
|
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
- (unsigned long)hash
{
unsigned long hash;
OFHashInit(&hash);
OFHashAddByte(&hash, (uint8_t)_type);
OFHashAddHash(&hash, _data.hash);
OFHashFinalize(&hash);
return hash;
}
- (id)copy
{
return [self retain];
}
@end
|