OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:random_val
(Results
1 - 2
of
2
) sorted by relevancy
/src/bin/sh/
var.c
1630
static intmax_t
random_val
= 0;
local in function:get_random
1655
random_val
= (getpid()<<3) ^ time((time_t *)0);
1660
n = read(fd,&
random_val
,sizeof
random_val
);
1661
} while (n != sizeof
random_val
);
1667
random_val
= strtoimax(vp->text+vp->name_len+1,NULL,0);
1669
srandom((long)
random_val
);
1673
random_val
= (
random_val
+ 1) & 0x7FFF; /* 15 bit "random" numbers */
1675
random_val
= (random() >> 5) & 0x7FFF
[
all
...]
var.c
1630
static intmax_t
random_val
= 0;
local in function:get_random
1655
random_val
= (getpid()<<3) ^ time((time_t *)0);
1660
n = read(fd,&
random_val
,sizeof
random_val
);
1661
} while (n != sizeof
random_val
);
1667
random_val
= strtoimax(vp->text+vp->name_len+1,NULL,0);
1669
srandom((long)
random_val
);
1673
random_val
= (
random_val
+ 1) & 0x7FFF; /* 15 bit "random" numbers */
1675
random_val
= (random() >> 5) & 0x7FFF
[
all
...]
Completed in 26 milliseconds
Indexes created Wed Oct 01 18:09:54 GMT 2025