代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/151484/12204692
~pas mc_about.~pas
unit MC_About;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Buttons;
type
TAbout = class(TForm)
Image1: TImage;
www.eeworm.com/read/151484/12205668
pas mc_about.pas
unit MC_About;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Buttons;
type
TAbout = class(TForm)
Image1: TImage;
www.eeworm.com/read/253533/12216789
txt 10.1.txt
Listing 10.1 Drawing Randomly Sized Rectangles with Random Colors
private void Form1_Click(object sender, System.EventArgs e)
{
Random randNum = new Random( DateTime.Now.Millisecond );
int width =
www.eeworm.com/read/253533/12216808
txt 15.1.txt
Listing 15.1 Creating a TcpListener
static void Main(string[] args)
{
Random rand = new Random( DateTime.Now.Millisecond );
int curRandom;
try
{
// listen on port 2003
TcpListener tcpl = new T
www.eeworm.com/read/253533/12216831
txt 17.3.txt
Listing 17.3 Creating a Web Service Method
[WebMethod( Description=”Generates a list of numbers between
Min and Max with or without duplicates” )]
public int[] GenerateNumbers(int Count, int Min, i
www.eeworm.com/read/150914/12245429
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/150914/12245434
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/150914/12245452
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/150914/12245593
java statistics.java
//: c11:Statistics.java
// Simple demonstration of HashMap.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import java.util.
www.eeworm.com/read/150914/12246373
out logginglevels.out
com level: SEVERE
%% .* LoggingLevels logMessages
SEVERE: test : severe
%% .* LoggingLevels logMessages
INFO: random : info
individual loggers set to FINEST
%% .* LoggingLevels logMessages
INFO