代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/417108/11003439
py maketree.py
#! /usr/bin/python2.2
# Copyright (C) 2002 by Martin Pool
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public Licens
www.eeworm.com/read/271086/11008482
pas itmunit.pas
unit ItmUnit;
interface
uses
Windows, Classes, SysUtils, Grobal2;
type
TItemUnit = class
private
function GetRandomRange(nCount, nRate: Integer): Integer;
public
m_ItemNameL
www.eeworm.com/read/416320/11033310
htm the art of error correcting coding siso decoding.htm
The Art of Error Correcting Coding: SISO d
www.eeworm.com/read/470834/6901017
java bomberrandint.java
/**
* File: BomberRandInt.java
* Copyright: Copyright (c) 2001
* @author Sammy Leong
* @version 1.0
*/
/**
* This class generates random integers within a given range by crea
www.eeworm.com/read/470596/6904729
cpp rand32.cpp
#include "rand32.h"
// I AM CONVINCED THIS IS SUFFICIENTLY RANDOM
int randOnRange(int low, int high) {
if(high-low+1>0) return rand() % (high-low+1) + low;
else return low;
}
// I AM CONV
www.eeworm.com/read/470209/6915049
c 92.c
/* 在BC31下编译 */
/* compile under Borland C++ 3.1 */
#include
#include
#define Alpha 3.90
double initvalue();
double random(void)/*返回一个(0,1)之间的随机数*/
{
static doub
www.eeworm.com/read/470033/6923243
c puttext.c
#include
#include
#include
#include
#include
#include
void main(void)
{
char buffer[128];
int row, column;
clr
www.eeworm.com/read/470033/6923401
c puttext.c
#include
#include
#include
#include
#include
#include
void main(void)
{
char buffer[128];
int row, column;
clr
www.eeworm.com/read/469532/6929851
java shapes2.java
// Demonstrating a general path
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.awt.geom.*;
public class Shapes2 extends JFrame {
public Shapes2()
{
www.eeworm.com/read/467324/7009871
m ip_05_07.m
% MATLAB script for Illustrated Problem 7, Chapter 5.
echo on
n0=random('norm',0,0.5,100,1);
n1=random('norm',0,0.5,100,1);
n2=random('norm',0,0.5,100,1);
n3=random('norm',0,0.5,100,1);
x1=1.+n0