代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/309349/13673675
h rand.h
/* RAND.H - Interface to random number generation procedures. */
/* Copyright (c) 1995, 2000, 2001 by Radford M. Neal
*
* Permission is granted for anyone to copy, use, modify, or distribute this
www.eeworm.com/read/308670/13696777
c die.c
#include
#include
#define DIE \
fprintf(stderr, "Fatal Error:Abort\n");exit(8);
int main() {
/* a random value for testing */
int value;
value = 1;
www.eeworm.com/read/308173/13706693
py pythonrandom.py
import sys
import random
random.seed()
while (True):
str = raw_input()
if (str.find("check_status") != -1):
sys.__stdout__.write("ready")
elif (str.find("beetlemove") != -
www.eeworm.com/read/308173/13706695
java javarandom.java
import java.io.*;
import java.util.Random;
public class JavaRandom {
public static void main(String[] args) throws IOException {
Random rand = new Random();
String str;
BufferedReader
www.eeworm.com/read/307616/13718888
cpp soln4_5.cpp
// Soln4_5.cpp : main project file.
#include "stdafx.h"
using namespace System;
int main(array ^args)
{
Random^ generator = gcnew Random;
int number = generator->Next
www.eeworm.com/read/307553/13720482
cs img.aspx.cs
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System
www.eeworm.com/read/307313/13724315
h newran.h
// newran.h ------------------------------------------------------------
// NEWRAN02B - 22 July 2002
#ifndef NEWRAN_LIB
#define NEWRAN_LIB 0
//******************* utilities and definitions ********
www.eeworm.com/read/306591/13741579
bak accountmanagerimpl.java.bak
package Bank;
import java.util.*;
public class AccountManagerImpl
extends Bank.AccountManagerPOA
{
protected Hashtable accountList; // 该帐户管理员所负责的帐户清单
public AccountManagerImpl(){
accountList =
www.eeworm.com/read/306591/13741598
java accountmanagerimpl.java
package Bank;
import java.util.*;
public class AccountManagerImpl
extends AccountManagerPOA
{
protected Hashtable accountList; // 该帐户管理员所负责的帐户清单
public AccountManagerImpl(){
accountList = new H