在上面的例子中,我描述了一个单线程的进程读写磁盘的单个随机块的情况。
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.
当她走近大屏幕时,一组随机数字出现在屏幕上,罗妮的任务就是按正确的顺序来选择这些数字,如果她正确地完成所有的排序,她会获得一块无糖甜点做为奖励。
When she approached it a set of randomly positioned numbers appeared. Her task was to select each numeral in the correct order.
选择块的顺序是随机的,再次使用了List::Util::shuffle()。
Then I choose cells with choose_tile(). The order of tile picking is random, using List::Util::shuffle() again.
我们可以设置复杂规则来控制如何生成地形,但是现在,从简单的内容开始:向数组中添加四个最相邻的图像块的地形类型,然后再随机获取。
We can set up complex rules to govern how terrain is generated, but for now, start with something simple: Add the terrain types of the four closest tiles to the array before picking them randomly.
如果块不是地址被跟踪,除非任意性被限制,检查可能导致在内存上进行随机搜索。
Chunks are not otherwise tracked by address, so unless arbitrarily limited, checking might lead to random searches through memory.
该匿名块模拟为来自现有customer表的随机客户创建10个随机订单。
The anonymous block simulates the creation of 10 random orders for random customers from the existing customer table.
动态平均读写算法并不是随机使用可用的块,而是平均使用块,因此,每个块都获得了相同的使用机会。
Rather than randomly using blocks as they are available, dynamic wear-leveling algorithms attempt to evenly distribute the use of blocks so that each gets uniform use.
好吧,让我们先回想一下上周介绍过的,能产生1 ~10之间,或者1 ~ 100之间随机数的1,基本构建块。
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.
在第一个研究里,120名购物者在到达超市的时候被随机给到一小块苹果,一片饼干或是什么都没给。
In the first study, 120 shoppers were randomly given either a bit of apple, a piece of cookie or nothing at all when they arrived at the supermarket.
这些块大小不一的功能,往往是向联锁为单位,让随机自然石砌的感觉。
These blocks often feature irregular sizes that are made to interlock as a unit, giving the feel of random natural stonework.
其中一个班被随机定为实验班,采用语法辅助的词块法:语法意识提升活动加入了口语课堂教学活动。
One class randomly formed the experimental class receiving the grammar-assisted lexical approach, with grammar awareness-raising activities incorporated in speaking class.
以二维逻辑块地址为基础,对体全息数据存储文件系统空间分配的连续性进行了研究,提出了“顺序连续”和“随机连续”的概念。
By researching the continuity of file data-block allocation on two-dimensional logical block address, the concepts of "sequence continuity" and "stochastic continuity" were presented.
通常是幼小植丛多呈聚块分布,中等植丛趋向于均匀分布,大型植丛趋向于随机分布。
Generally, the young thicket showed block distribution, the middle thicket showed even distribution and old big thicket showed random distribution.
该方法使用伪随机(PN)序列时域相关进行信道粗估计,并在一个OFDM块内进行线性内插得到整个OFDM块内的信道细估计。
Coarse channel estimates are based on a time-domain correlation of a pseudo-random number (PN) sequence with linear interpolation for the fine channel estimates over an OFDM block.
随机周期长度偏差对准相位匹配波导中差频效率的影响要比随机占空比偏差的影响来得大,这与单块周期极化晶体中的情况类似。
With the same magnitude, random period error casts much larger effect on the conversion efficiency than random duty cycle error, which is similar with the case in bulk crystals.
使用该算法避免了对同一引用实例或是位于同一数据块上不同记录的重复读取,并将对磁盘的随机读取方式转变为按列表预取的读取方式。
It can avoid reading the same reference instance and records in the same data block repeatedly. Meanwhile it can convert random reading disk into doing by table.
提出了未来关于应用条件随机场构建汉语词法语块分析模型的初步构想。
This dissertation also discusses applying Conditional Random Fields to Chinese Chunk Parsing and our future works.
相反,正常的小鼠则只有1/3的正确选择率,这与从三块板子中随机选一的概率相同。
By contrast, normal mice only chose correctly one third of the time, the score that one would obtain by guessing randomly among the three panels.
基于随机不连续的切割空间块体拓扑识别的一般方法,块识别的斜坡和洞穴岩体进行了研究。
Based on general method of spatial block topological identification with stochastic discontinuities cutting, the block identification of slope and cavern rock mass is studied.
公司销售的所有仪器均随机免费配送备用电路板一块,电路板终身免费维修;
All sales of equipment were free distribution reserve a circuit board, circuit boards free maintenance for life;
把运动矢量场建模为高斯马尔科夫随机场,对丢失图像块的运动矢量采用最大后验概率方法恢复,其权值能够根据空间和时间信息而自适应选择。
The motion vectors of the damaged image macroblocks can be recovered adaptively by Maximum A Posteriori(MAP), and the weight is selected adaptively based o.
把运动矢量场建模为高斯马尔科夫随机场,对丢失图像块的运动矢量采用最大后验概率方法恢复,其权值能够根据空间和时间信息而自适应选择。
The motion vectors of the damaged image macroblocks can be recovered adaptively by Maximum A Posteriori(MAP), and the weight is selected adaptively based o.
应用推荐