146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
- (void)intersectSet: (OFSet*)set
{
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
size_t count = [self count];
id *cArray;
cArray = [self allocMemoryForNItems: count
withSize: sizeof(id)];
@try {
OFEnumerator *enumerator = [self objectEnumerator];
id object;
size_t i = 0;
while ((object = [enumerator nextObject]) != nil) {
|
|
|
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
- (void)intersectSet: (OFSet*)set
{
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
size_t count = [self count];
id *cArray;
cArray = [self allocMemoryForNItems: count
ofSize: sizeof(id)];
@try {
OFEnumerator *enumerator = [self objectEnumerator];
id object;
size_t i = 0;
while ((object = [enumerator nextObject]) != nil) {
|