140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
- (instancetype)init
{
self = [super init];
@try {
_iVarsData = [[OFSecureData alloc]
initWithCount: sizeof(*_iVars)];
_iVars = [_iVarsData items];
[self of_resetState];
} @catch (id e) {
[self release];
@throw e;
}
|
|
|
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
- (instancetype)init
{
self = [super init];
@try {
_iVarsData = [[OFSecureData alloc]
initWithCount: sizeof(*_iVars)];
_iVars = _iVarsData.mutableItems;
[self of_resetState];
} @catch (id e) {
[self release];
@throw e;
}
|
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
}
- (id)copy
{
OFMD5Hash *copy = [[OFMD5Hash alloc] of_init];
copy->_iVarsData = [_iVarsData copy];
copy->_iVars = [copy->_iVarsData items];
copy->_calculated = _calculated;
return copy;
}
- (void)of_resetState
{
|
|
|
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
}
- (id)copy
{
OFMD5Hash *copy = [[OFMD5Hash alloc] of_init];
copy->_iVarsData = [_iVarsData copy];
copy->_iVars = copy->_iVarsData.mutableItems;
copy->_calculated = _calculated;
return copy;
}
- (void)of_resetState
{
|