Differences From Artifact [a124a729d9]:
- File src/OFDictionary.m — part of check-in [fc35094306] at 2009-04-25 18:59:24 on branch trunk — Add reference for static linking. (user: js, size: 3159) [annotate] [blame] [check-ins using]
To Artifact [a34c760d2b]:
- File
src/OFDictionary.m
— part of check-in
[e959fed010]
at
2009-04-26 12:44:20
on branch trunk
— A few renames in OFObject.
getMemWithSize: -> allocWithSize:
getMemForNItems:ofSize: -> allocNItems:withSize:
resizeMem:toNItems:ofSize: -> resizeMem:toNItems:withSize: (user: js, size: 3143) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
34 35 36 37 38 39 40 | - init { self = [super init]; size = 4096; @try { | | | | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | - init { self = [super init]; size = 4096; @try { data = [self allocNItems: size withSize: sizeof(OFList*)]; } @catch (OFException *e) { [self free]; @throw e; } memset(data, 0, size); return self; |
︙ | ︙ | |||
60 61 62 63 64 65 66 | newWithClass: c andSelector: _cmd]; } size = (size_t)1 << hashsize; @try { | | | | 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | newWithClass: c andSelector: _cmd]; } size = (size_t)1 << hashsize; @try { data = [self allocNItems: size withSize: sizeof(OFList*)]; } @catch (OFException *e) { [self free]; @throw e; } memset(data, 0, size); return self; |
︙ | ︙ |