20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#include <string.h>
#include <assert.h>
#import "OFURL.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFAutoreleasePool.h"
#import "OFExceptions.h"
#import "macros.h"
#define ADD_STR_HASH(str) \
h = [str hash]; \
OF_HASH_ADD(hash, h >> 24); \
OF_HASH_ADD(hash, (h >> 16) & 0xFF); \
OF_HASH_ADD(hash, (h >> 8) & 0xFF); \
|
>
>
>
|
>
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#include <string.h>
#include <assert.h>
#import "OFURL.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFAutoreleasePool.h"
#import "OFInvalidArgumentException.h"
#import "OFInvalidFormatException.h"
#import "OFOutOfMemoryException.h"
#import "macros.h"
#define ADD_STR_HASH(str) \
h = [str hash]; \
OF_HASH_ADD(hash, h >> 24); \
OF_HASH_ADD(hash, (h >> 16) & 0xFF); \
OF_HASH_ADD(hash, (h >> 8) & 0xFF); \
|