Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char *namepart[] = {
- "en" , "la" , "can", "be" ,
- "and", "phi", "eth", "ol" ,
- "ve" , "ho" , "a" , "lia",
- "an" , "ar" , "ur" , "mi" ,
- "in" , "ti" , "qu" , "so" ,
- "ed" , "ess", "ex" , "io" ,
- "ce" , "ze" , "fa" , "ay" ,
- "wa" , "da" , "ack", "gre"
- };
- unsigned int _rotl(const unsigned int value, int shift);
- unsigned int _rotr(const unsigned int value, int shift);
- int main() {
- unsigned int cx = 5909;
- unsigned int cy = 5412;
- int i = 0;
- cx += i;
- cy += cx;
- cx = _rotl (cx, 3);
- cx += cy;
- cy = _rotl (cy, 5);
- cy += cx;
- cy = _rotl (cy, 4);
- cx = _rotl (cx, i);
- cx += cy;
- return 0;
- }
- unsigned int _rotl(const unsigned int value, int shift) {
- if ((shift &= sizeof(value)*8 - 1) == 0)
- return value;
- return (value << shift) | (value >> (sizeof(value)*8 - shift));
- }
- unsigned int _rotr(const unsigned int value, int shift) {
- if ((shift &= sizeof(value)*8 - 1) == 0)
- return value;
- return (value >> shift) | (value << (sizeof(value)*8 - shift));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement