代码搜索:random
找到约 10,000 项符合「random」的源代码
代码结果 10,000
www.eeworm.com/read/183260/9173867
sql random.sql
REM Random.sql
REM Chapter 9, Oracle9i PL/SQL Programming by Scott Urman
REM This package contains an initialization section.
CREATE OR REPLACE PACKAGE Random AS
-- Random number generator. U
www.eeworm.com/read/379595/9192371
f random.f
!===========================================================================
! RCS: $Id: random.F,v 1.1 1997/07/24 11:11:09 kresse Exp $
!
! This random number generator originally appeared in Toward
www.eeworm.com/read/182195/9212404
cpp random.cpp
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
www.eeworm.com/read/182121/9216458
h random.h
// -*-c++-*-
/***************************************************************************
random.h
Random Number Generator
www.eeworm.com/read/378375/9233481
class random.class
www.eeworm.com/read/181335/9258864
c random.c
www.eeworm.com/read/181335/9258892
h random.h
www.eeworm.com/read/377832/9260717
h random.h
#ifndef RANDOM_H
#define RANDOM_H
const unsigned long maxshort=65536L;
const unsigned long multiplier=1194211693L;
const unsigned long adder=12345L;
class RandomNumber
{
public:
RandomNumber(
www.eeworm.com/read/377832/9260722
cpp random.cpp
#include "random.h"
#include
#include
RandomNumber::RandomNumber(unsigned long s/* =0 */)
{//产生种子
if (s==0)
{//用系统时间产生种子
randSeed=time(0);
}
else
{
randSeed=s;/
www.eeworm.com/read/377683/9265751
c random.c
/*
** 2001 September 15
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiven