处理这种情况有两种 可能的技术: 先发送长度,然后再发送数据项; 在数据项后面发送一个标记值(sentinel value),标记数据项的结束。 HTTP不能预先约定标记值,这是因为传送的数据 项包括图形图像,图像可以包含任意的八位组序 列。
基于16个网页-相关网页
1)sentinel-controlled loops: 循环结构常 用来读入和处理大量数据,一个标志值 (sentinel value)标志着没有数据要处理 了。循环在读到结束标志值时结束。
基于12个网页-相关网页
... 哨兵值。当循环的判断条件是一个符合判断的时候,你可以通过简化判断来节省代码运行时间。如果该循环是一个查找循环,简化方法之一就是使用一个哨兵值(sentinel value),你可以把它放到循环范围的末尾,从而保证循环一定能够中止。 (Page.623)把最忙的循环放到最内层。
基于4个网页-相关网页
以上来源于: WordNet
Now, I mentioned this other sentinel value a while back.
现在,我刚才提到了这个标记值。
Objective To explore the distribution of sentinel lymph node (SLN) and discuss the clinical applied value in early gastric antral cancer.
目的研究胃窦癌前哨淋巴结分布规律并探讨其在早期胃窦癌手术治疗中的临床应用价值。
Objective To explore the value of sentinel lymph node in predicting the axillary lymph node metastasis in breast cancer.
目的探讨前哨淋巴结对乳腺癌腋淋巴结状态的预测价值。
Right, so there's that special sentinel value that's back slash zero, which we'll start to see more explicitly now.
对的,这里有一个特殊的值“反斜杠0“,我们等下会更了解它。
Now, I mentioned this other sentinel value a while back.
现在,我刚才提到了这个标记值。
So it does that for us so that you can get away with just knowing the address of the first byte and it will make sure that you know when to stop by including the special value so, in fact, get the string if you type in a three-letter word, we allocate four bytes no matter what because we need an additional byte 0 for this special sentinel value back slash zero at the very end.
它为我们做了这些事情,这样我们就可以,通过第一个字节的地址,它还可以通过包含一个特殊的值,来保证在哪里停止,如果你输入了一个三个字母的单词,就可以获得那个字符串,不管怎样,我们分配四个字节,因为我们在末端需要一个额外的字节,来保存这个特殊的标志值--反斜杠。
应用推荐