代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/125688/6025462
c random.c
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm
www.eeworm.com/read/125688/6025901
c random.c
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permi
www.eeworm.com/read/125688/6026503
h random.h
/*
* random.h -- A strong random number generator
*
*
* Version 0.95, last modified 18-Oct-95
*
* Copyright Theodore Ts'o, 1994, 1995. All rights reserved.
*
* Redistribution and use in sour
www.eeworm.com/read/125688/6026550
c random.c
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm
www.eeworm.com/read/125280/6031515
h random.h
#ifndef _LINUX_RANDOM_H
#define _LINUX_RANDOM_H
#include
__inline void get_random_bytes(void* buf, int nbytes)
{
__u8* pBuf = (__u8*)buf;
while (nbytes-- > 0)
www.eeworm.com/read/125133/6032816
idel random.idel
\ Minimal Standard Random Number Generator
\ Park & Miller, CACM 31(10), Oct 1988, 32 bit integer version.
\ better constants, as proposed by Park.
\ Adapted from the Scheme version by Ozan Yigit modi
www.eeworm.com/read/125133/6032880
idel random.idel
def 0 1 main
3000000 rands
rand u. '\n' emit
0 ;
def 1 0 rands
{ n --
n if rand { _ -- } n 1 - rands then } ;
#include "../tests/random.idel"
#include "../tests/udot.idel"
www.eeworm.com/read/125133/6032895
times random.times
Thu Jan 31 20:29:39 PST 2002
real 5.68
user 4.34
sys 0.01
Thu Jan 31 20:55:13 PST 2002
real 4.15
user 4.12
sys 0.00
Fri Feb 1 01:18:34 PST 2002
real 4.14
user 4.12
sys 0.03
Fri Feb 1 01:19:12 PST 20
www.eeworm.com/read/125133/6032991
idel random.idel
\ Minimal Standard Random Number Generator
\ Park & Miller, CACM 31(10), Oct 1988, 32 bit integer version.
\ better constants, as proposed by Park.
\ Adapted from the Scheme version by Ozan Yigit modi