代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/226299/14482149
java primes.java
package coreservlets;
import java.math.BigInteger;
/** A few utilities to generate a large random BigInteger,
* and find the next prime number above a given BigInteger.
*
* Taken from Core
www.eeworm.com/read/125348/14497289
pas lightspd.pas
unit LightSpd;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, ExtCtrls ;
type
PStar =^TStar;
TStar =record
C, {color}
X,Y, {center X
www.eeworm.com/read/125156/14511631
cpp utils.cpp
#include "StdAfx.h"
#include "utils.h"
int CGlobals::WIN_WIDTH = 800;
int CGlobals::WIN_HEIGHT = 600;
double CGlobals::EPSILON = 0.005;
long CGlobals::INFINITY=999999;
double CGlobals::PI= 3
www.eeworm.com/read/124972/14521640
java randombounds.java
//: c03:RandomBounds.java
// Does Math.random() produce 0.0 and 1.0?
// {RunByHand}
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRigh
www.eeworm.com/read/124968/14521769
java arraynew.java
//: c04:ArrayNew.java
// Creating arrays with new.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import com.bruceeckel.simp
www.eeworm.com/read/124968/14521783
java arrayclassobj.java
//: c04:ArrayClassObj.java
// Creating an array of nonprimitive objects.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
impo
www.eeworm.com/read/124933/14524207
cpp 6_59.cpp
#include
#include
#include
const unsigned long maxshort=65536L;
const unsigned long multiplier=1194211693L;
const unsigned long adder=12345;
class RandomNumber
www.eeworm.com/read/124933/14524236
cpp 6_60.cpp
#include
#include
#include
const unsigned long maxshort=65536L;
const unsigned long multiplier=1194211693L;
const unsigned long adder=12345;
class RandomNumber