代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/376627/9311516
c 编随机数.c
/*自编随机数*/
#include"sys\types.h"
#include"sys\timeb.h"
#include
#define ALPHA 3.95 /*宏定义ALPHA值为3.95*/
double init_value(void);
double random(void);
void main()
{
float rdn
www.eeworm.com/read/179831/9335582
cpp gasample.cpp
// gasample.cpp : Defines the entry point for the console application.
//
#include "StdAfx.h"
#include
#include "malloc.h"
#include
#include "stdlib.h"
/* 全局变量 */
struct ind
www.eeworm.com/read/179480/9354191
asm miner.asm
;API routines
:installmessage "installmessage"
:say "say"
:move "move"
:random "random"
:mutter "mutter"
:main
push &handler
push &installmessage
api
push &mutterthread
push sys_
www.eeworm.com/read/179480/9354206
asm shea.asm
;API routines
:installmessage "installmessage"
:say "say"
:move "move"
:random "random"
:mutter "mutter"
:main
push &handler
push &installmessage
api
push &mutterthread
push sys_
www.eeworm.com/read/179216/9364939
cpp gasample.cpp
// gasample.cpp : Defines the entry point for the console application.
//
//#include "StdAfx.h"
#include
#include "malloc.h"
#include
#include "stdlib.h"
/* 全局变量 */
struct i
www.eeworm.com/read/179036/9377594
c line.c
/****************************************************************************
* 文件名:line.c
* 功能:MiniGUI应用例子。
* 创建一个主窗口,并在窗口中间画出随机颜色、随机长度和随机角度
* 的50根直线。
************************************
www.eeworm.com/read/374481/9403132
doc ga.doc
#include
#include
#include
#include "graph.c"
/* 全局变量 */
struct individual /* 个体*/
{
unsigned *chrom; /* 染色体 */
www.eeworm.com/read/177785/9432084
java db.java
/**
* 实现数据库的操作,维护
*/
import java.sql.*;
import java.math.*;
/**
* @author Jimmy
* 对KFC至少随机生成800个连锁店信息;
* 对KFC至少随机生成10万个顾客信息;
* 对KFC至少随机生成200万条订单记录,每张订单随机生成多条订单项记
*
*/
publ
www.eeworm.com/read/373690/9442897
m generate_randperm.m
% Generate a random permutation surrogate
%
% H0: signal is IID noise
%
% set random seed using rand('seed',s)
%
% Usage: Xs = generate_randperm (X)
function Xs = generate_randperm(X)
if (
www.eeworm.com/read/373369/9460104
java raggedarray.java
//: arrays/RaggedArray.java
import java.util.*;
public class RaggedArray {
public static void main(String[] args) {
Random rand = new Random(47);
// 3-D array with varied-length vecto