195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
|
copy->_iVars = copy->_iVarsData.mutableItems;
copy->_allowsSwappableMemory = _allowsSwappableMemory;
copy->_calculated = _calculated;
return copy;
}
- (void)updateWithBuffer: (const void *)buffer_
length: (size_t)length
{
const unsigned char *buffer = buffer_;
if (_calculated)
@throw [OFHashAlreadyCalculatedException
exceptionWithObject: self];
|
|
<
|
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
|
copy->_iVars = copy->_iVarsData.mutableItems;
copy->_allowsSwappableMemory = _allowsSwappableMemory;
copy->_calculated = _calculated;
return copy;
}
- (void)updateWithBuffer: (const void *)buffer_ length: (size_t)length
{
const unsigned char *buffer = buffer_;
if (_calculated)
@throw [OFHashAlreadyCalculatedException
exceptionWithObject: self];
|