Category : objective-c

I have a code similar to below code A.mm – (void)Foo { const unsigned long long dataLen = 0; // In a particular case dataLen is 0 NSMutableData* data = [NSMutableData dataWithLength:dataLen]; b->TestGetData(data.mutableBytes, data.length); } B.cpp void B::TestGetData(void* data, unsigned long long dataLength) { memset(data, 0, (size_t)dataLength); std::string reqBody = ""; // in a particular ..

Read more

Create an index table with 13 locations for given data using EICH method. (Note that, Address Factor will be taken as 70% – round result to integer if necessary). Use H(key)=key MOD tablesize. After creating table please find and write total number of probes to find all elements in the table. Keys: 36, 37, 79, ..

Read more