<label>This is a commercial package!</label>
</div>
- <a class="console" href="console.html">
+ <a class="console" href="http://cydia.saurik.com/purpose/console/">
<img class="icon" src="console.png"/>
- <label>This is a console application!</label>
+ <label>This is a console package!</label>
</a>
<a id="application">
<div id="description"></div>
<a class="homepage" id="homepage-href">
+ <img class="icon" src="web.png"/>
<label>More Information</label>
</a>
</fieldset>
[invocation getReturnValue:&item.key];
}
+ static const size_t width = 32;
static const size_t bits = 11;
static const size_t slots = 1 << bits;
- static const size_t passes = (32 + (bits - 1)) / bits;
+ static const size_t passes = (width + (bits - 1)) / bits;
size_t *hist(new size_t[slots]);
for (size_t i(0); i != count; ++i) {
uint32_t key(lhs[i].key);
key >>= pass * bits;
- key &= _not(uint32_t) >> 32 - bits;
+ key &= _not(uint32_t) >> width - bits;
++hist[key];
}
for (size_t i(0); i != count; ++i) {
uint32_t key(lhs[i].key);
key >>= pass * bits;
- key &= _not(uint32_t) >> 32 - bits;
+ key &= _not(uint32_t) >> width - bits;
rhs[hist[key]++] = lhs[i];
}
return;
_UISwitchSlider *slider([cell control]);
- // XXX: this is just weird
BOOL value([slider value] != 0);
NSMutableDictionary *metadata([package_ metadata]);
before = [number boolValue];
else
before = NO;
- NSLog(@"%@:%@ %@:%@ : %u:%u", cell, slider, name_, key, value, before);
if (value != before) {
[metadata setObject:[NSNumber numberWithBool:value] forKey:key];
Changed_ = true;
- //[delegate_ performSelector:@selector(updateData) withObject:nil afterDelay:0];
[delegate_ updateData];
}
}