在上面的例子中,我描述了一个单线程的进程读写磁盘的单个随机块的情况。
In the example above I described a single-threaded process reading or writing a single random block on a disk.
回想一下我们上周介绍的非常基本的构建块,它允许您获取1到10或1或100之间的随机数。
Recall that very basic building block we introduced last week which allowed you to grab a random number between 1 and 10 or 1 or a hundred.
只是一些随机的四字节的内存块,在这里是可以使用的,但是我可以在那里放置东西。
It's just some random chunk of four bytes that happens to be available at this point in time, but I can put something there.
Well, recall that very basic building block we introduced 1 last week which allowed you to grab a random number between 1 and 10 or 1 or a hundred.
好吧,让我们先回想一下上周介绍过的,能产生1~10之间,或者1~100之间随机数的1,基本构建块。
It's just some random chunk of four bytes that happens to be available at this point in time, but I can put something there.
只是一些随机的四字节的内存块,在这里是可以使用的,但是我可以在那里放置东西。
应用推荐