代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/458682/7291313
sh random-test.sh
#!/bin/bash
# How random is RANDOM?
RANDOM=$$ # Reseed the random number generator using script process ID.
PIPS=6 # A die has 6 pips.
MAXTHROWS=600 # Increase this if you have noth
www.eeworm.com/read/458682/7291335
sh random-between.sh
#!/bin/bash
# random-between.sh
# Random number between two specified values.
# Script by Bill Gradwohl, with minor modifications by the document author.
# Used with permission.
randomBetween() {
www.eeworm.com/read/458682/7291392
sh seeding-random.sh
#!/bin/bash
# seeding-random.sh: Seeding the RANDOM variable.
MAXCOUNT=25 # How many numbers to generate.
random_numbers ()
{
count=0
while [ "$count" -lt "$MAXCOUNT" ]
do
number=$RANDOM
e
www.eeworm.com/read/458682/7291421
sh random2.sh
#!/bin/bash
# random2.sh: Returns a pseudorandom number in the range 0 - 1.
# Uses the awk rand() function.
AWKSCRIPT=' { srand(); print rand() } '
# Command(s) / parameters passed to awk
www.eeworm.com/read/457469/7325189
vi random average.vi
www.eeworm.com/read/456603/7343879
v random_tp.v
`timescale 10ns/1ns
module random_tp;
integer data;
integer i;
parameter delay=10;
initial $monitor($time,,,"data=%b",data);
initial
begin
for(i=0; i
www.eeworm.com/read/454423/7391431
m random_binary.m
% File: random_binary.m
%
%
function [x, bits] = random_binary(nbits,nsamples)
% This function genrates a random binary waveform of length nbits
% sampled at a rate of nsamples/bit.
x = zeros(1
www.eeworm.com/read/451547/7461928
m random_dd.m
%RANDOM_DD Random one-class classifier
%
% W = RANDOM_DD(A,FRACREJ)
%
% This is the trivial one-class classifier, randomly assigning labels
% and rejecting FRACREJ of the data objects. This pr
www.eeworm.com/read/450595/7480696
bak random.c.bak
/******************************************************************************
* *
* **********