代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6242817
c random.c
/* Copyright (c) 1979 Regents of the University of California */
static char sccsid[] = "@(#)RANDOM.c 1.4 1/10/83";
#include "h00vars.h"
extern long RAND();
double
RANDOM()
{
double d;
long l;
www.eeworm.com/read/101082/6245525
3 random.3
.\" SCCSID: @(#)random.3 8.2 1/28/91
.TH random 3
.SH Name
random, srandom, initstate, setstate \- better random number generator; routines for changing generators
.SH Syntax
.nf
.B long random()
.PP
www.eeworm.com/read/101082/6247409
3 random.3
.\" SCCSID: @(#)random.3 8.2 1/28/91
.TH random 3
.SH Name
random, srandom, initstate, setstate \- better random number generator; routines for changing generators
.SH Syntax
.nf
.B long random()
.PP
www.eeworm.com/read/101082/6251198
c random.c
#ifndef lint
static char *sccsid = "@(#)random.c 4.1 (ULTRIX) 7/17/90";
#endif lint
/************************************************************************
* *
* Copyright (c) 1988, 198
www.eeworm.com/read/101082/6251697
c random.c
#ifndef lint
static char sccsid[] = "@(#)random.c 5.1 (Berkeley) 11/25/87";
#endif /* not lint */
static long rntb[32] = {
3, 0x9a319039, 0x32d9c024, 0x9b663182, 0x5da1f342,
0xde3b81e0, 0
www.eeworm.com/read/101066/6256695
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/100285/6270918
c random.c
/* $Id: random.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */
#include
#include /* for pow() prototype */
#include
#include "config.h"
#include "rusagestub.h"
long
random
www.eeworm.com/read/100285/6271974
out random.out
QUERY: SELECT count(*) FROM onek;
count
-----
1000
(1 row)
QUERY: SELECT count(*) AS random INTO RANDOM_TBL
FROM onek WHERE oidrand(onek.oid, 10);
QUERY: INSERT INTO RANDOM_TBL (random)
SELECT c
www.eeworm.com/read/100285/6272024
sql random.sql
--
-- test the random function
--
-- count the number of tuples originally
SELECT count(*) FROM onek;
-- select roughly 1/10 of the tuples
-- Assume that the "onek" table has 1000 tuples
-- and try
www.eeworm.com/read/492458/6279278