代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/448443/1689858
c random.c
/* random.c - random number generation package */
/* Copyright 1994 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/*
* Copyright (c) 1983 Regents of the University of California.
* All ri
www.eeworm.com/read/447907/1692401
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/447367/1704985
c random.c
/******************************************************************************
* *
* **********
www.eeworm.com/read/447366/1705119
c random.c
/******************************************************************************
* *
* **********
www.eeworm.com/read/447364/1705217
c random.c
/******************************************************************************
* *
* **********
www.eeworm.com/read/447363/1705316
c random.c
/******************************************************************************
* *
* **********
www.eeworm.com/read/443652/1738776
c random.c
/* linear congruential generator. Generator x[n+1] = a * x[n] mod m */
#define RAND_INT(l,h) (((int)(random() * ((double)(h)-(l)+1))) + (l))
int random (void); /* return the next random num
www.eeworm.com/read/442656/1755703
py random.py
from m5 import *
class Random(ParamContext):
type = 'Random'
seed = Param.UInt32(1, "seed to random number generator");
www.eeworm.com/read/440906/1784789
java random.java
/* Random.java -- a pseudo-random number generator
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; yo