HelenOS sources

seed              135 common/adt/checksum.c uint32_t compute_crc32_seed(uint8_t *data, size_t length, uint32_t seed)
seed              139 common/adt/checksum.c 	for (crc = ~seed; length > 0; length--)
seed               99 common/include/adt/hash.h static inline size_t hash_combine(size_t seed, size_t hash)
seed              105 common/include/adt/hash.h 	seed ^= hash + 0x9e3779b9 +
seed              106 common/include/adt/hash.h 	    ((seed << 5) | (seed >> (sizeof(size_t) * 8 - 5)));
seed              107 common/include/adt/hash.h 	return seed;
seed               44 kernel/arch/ppc32/src/mm/pht.c static unsigned int seed = 42;
seed              160 kernel/arch/ppc32/src/mm/pht.c 			i = RANDI(seed) % 8;
seed              135 kernel/generic/common/adt/checksum.c uint32_t compute_crc32_seed(uint8_t *data, size_t length, uint32_t seed)
seed              139 kernel/generic/common/adt/checksum.c 	for (crc = ~seed; length > 0; length--)
seed               99 kernel/generic/common/include/adt/hash.h static inline size_t hash_combine(size_t seed, size_t hash)
seed              105 kernel/generic/common/include/adt/hash.h 	seed ^= hash + 0x9e3779b9 +
seed              106 kernel/generic/common/include/adt/hash.h 	    ((seed << 5) | (seed >> (sizeof(size_t) * 8 - 5)));
seed              107 kernel/generic/common/include/adt/hash.h 	return seed;
seed              156 kernel/generic/include/macros.h #define RANDI(seed) \
seed              158 kernel/generic/include/macros.h 		(seed) = 1103515245 * (seed) + 12345; \
seed              159 kernel/generic/include/macros.h 		(seed); \
seed               45 kernel/test/synch/semaphore2.c static uint32_t seed = 0xdeadbeef;
seed               52 kernel/test/synch/semaphore2.c 	rc = seed % max;
seed               53 kernel/test/synch/semaphore2.c 	seed = (((seed << 2) ^ (seed >> 2)) * 487) + rc;
seed              135 uspace/lib/c/common/adt/checksum.c uint32_t compute_crc32_seed(uint8_t *data, size_t length, uint32_t seed)
seed              139 uspace/lib/c/common/adt/checksum.c 	for (crc = ~seed; length > 0; length--)
seed               99 uspace/lib/c/common/include/adt/hash.h static inline size_t hash_combine(size_t seed, size_t hash)
seed              105 uspace/lib/c/common/include/adt/hash.h 	seed ^= hash + 0x9e3779b9 +
seed              106 uspace/lib/c/common/include/adt/hash.h 	    ((seed << 5) | (seed >> (sizeof(size_t) * 8 - 5)));
seed              107 uspace/lib/c/common/include/adt/hash.h 	return seed;
seed               62 uspace/lib/c/generic/rndgen.c 	rndgen->seed = ts.tv_sec ^ ts.tv_nsec;
seed               88 uspace/lib/c/generic/rndgen.c 	rndgen->seed = (1366 * rndgen->seed + 150889) % 714025;
seed               90 uspace/lib/c/generic/rndgen.c 	*rb = rndgen->seed & 0xff;
seed               86 uspace/lib/c/generic/stdlib.c void srand(unsigned int seed)
seed               88 uspace/lib/c/generic/stdlib.c 	glbl_seed = seed % RAND_MAX;
seed               43 uspace/lib/c/include/rndgen.h 	unsigned int seed;
seed              107 uspace/lib/cpp/include/__bits/random.hpp                 seed(s);
seed              120 uspace/lib/cpp/include/__bits/random.hpp                 seed(q);
seed              277 uspace/lib/cpp/include/__bits/random.hpp                 seed(value);
seed              286 uspace/lib/cpp/include/__bits/random.hpp                 seed(q);
seed              459 uspace/lib/cpp/include/__bits/random.hpp                 seed(value);
seed              468 uspace/lib/cpp/include/__bits/random.hpp                 seed(q);
seed              674 uspace/lib/cpp/include/__bits/random.hpp                 engine_.seed();
seed              679 uspace/lib/cpp/include/__bits/random.hpp                 engine_.seed(s);
seed              687 uspace/lib/cpp/include/__bits/random.hpp                 engine_.seed(q);
seed              803 uspace/lib/cpp/include/__bits/random.hpp                 engine_.seed();
seed              808 uspace/lib/cpp/include/__bits/random.hpp                 engine_.seed(s);
seed              816 uspace/lib/cpp/include/__bits/random.hpp                 engine_.seed(q);
seed              914 uspace/lib/cpp/include/__bits/random.hpp                 engine_.seed();
seed              919 uspace/lib/cpp/include/__bits/random.hpp                 engine_.seed(s);
seed              927 uspace/lib/cpp/include/__bits/random.hpp                 engine_.seed(q);
seed              557 uspace/lib/ext4/include/ext4/types.h 	const uint32_t *seed;
seed              366 uspace/lib/ext4/src/directory_index.c 	hinfo->seed = ext4_superblock_get_hash_seed(sb);
seed             1009 uspace/lib/ext4/src/superblock.c void ext4_superblock_set_hash_seed(ext4_superblock_t *sb, const uint32_t *seed)
seed             1011 uspace/lib/ext4/src/superblock.c 	memcpy(sb->hash_seed, seed, sizeof(sb->hash_seed));
seed               99 uspace/lib/posix/include/common/adt/hash.h static inline size_t hash_combine(size_t seed, size_t hash)
seed              105 uspace/lib/posix/include/common/adt/hash.h 	seed ^= hash + 0x9e3779b9 +
seed              106 uspace/lib/posix/include/common/adt/hash.h 	    ((seed << 5) | (seed >> (sizeof(size_t) * 8 - 5)));
seed              107 uspace/lib/posix/include/common/adt/hash.h 	return seed;
seed               43 uspace/lib/posix/include/libc/rndgen.h 	unsigned int seed;
HelenOS homepage, sources at GitHub