To populate the table, we create a small function: AddCompletion .
为了填充该表,我们创建了一个小函数:AddCompletion 。
Before moving on to the next phase, it makes sense to write a small function that tells you who the current user is already following.
在进入下一个阶段之前,还需要编写一个小函数,该函数将返回当前用户正在追随的用户。
The first step before reusing anything, even a small function, is to check its documentation to see if there's a security warning about it.
开始重用任何组件之前,即使是很小的一个函数,我们要执行的第一个步骤都是检查这个组件的文档,从而了解其中是否提及了安全性警告。
This may seem tedious and a bit of overkill for such a small function, but the value of the comments to a novice shell scripter or someone just looking at the function can be invaluable.
对于这么小的函数,这似乎太麻烦了,甚至有点过分,但是对于shell脚本编程新手和阅读这个函数的人员而言,注释是非常有价值的。
For small files this is a perfectly acceptable function, but as the file size increases so do the problems.
对于小文件而言,这是一个很好用的函数,但随着文件大小增大就会出现问题。
Because you can put these probes anywhere to indicate the start and end of a operation, they can span multiple functions, or only a small fragment of a given function.
因为可以把这些探测放在任何地方以表示操作的开始和结束,所以它们可以跨多个函数,也可以只覆盖函数中的一小部分。
Every HTML page turns into a small PHP script with a skimpy line with the date function tucked in somewhere.
每个HTML页面都变成一个只有有限几行的小php脚本,日期函数隐藏在某个地方。
Form and function: Organs grow from small cell clusters.
形式和功能:由小的细胞簇生成的器官。
If it is small enough, then its wave function will also spread out over a space large enough for it to penetrate more than one slit simultaneously.
如果它足够小,那么它的波函数也会穿越对它足够大的空间而传播,在同一时刻穿过一个以上的缝隙。
That is one of the many reasons why I prefer the paradigm of placing as much core function into modules as possible, and having scripts be little more than small wrappers around these modules.
这就是我为什么喜欢尽可能多地将核心函数放入模块的模式,而将脚本只作为这些模块的小型封装器的多个原因之一。
The discussion is taking place at both the local and global levels How small can a fragment of an ecosystem be and still function in all its richness and thus be considered preserved?
关于这个问题的辩论在局部和全球范围两个层面上同时展开:生态系统的一小部分可以小到何种程度仍能维持其完整、丰富的功能,从而可以认为是受到了保护呢?
Antagonists tend to be small molecules that bind irreversibly to the receptor preventing its normal function, while agonists may be small or large molecules (e.g. peptide or protein hormones).
抑制剂一般是小分子,他们不可逆转地结合在受体上阻碍其正常功能,而兴奋剂可以是小或大分子。
Using closures serves the same purpose in this situation as it would outside of a class: to contain a specific function to be bound within a small scope.
在这种情况下使用闭包与在类外部使用闭包实现的目的相同:包含在小范围内绑定的特定函数。
Limiting the maximum number of live variables: this is typically achieved by keeping expressions simple and small, and not using too many variables in a function.
限制活变量的最大数目:通常可以使用简单小巧的表达式,在函数内部不使用太多的变量。
For this example, in which the database query only returns the rows of a single table, you might just write a small PHP function to wrap each column in an XML tag.
在本例中,数据库查询只返回单个表的行,您也许要编写一个php小函数对XML标记中的每一列进行打包。
It is a slow function, which is why I use it only now that a small number of albums are left.
这是个比较慢的函数,所以我只在此时剩余唱片不多的情况下用它。
By inserting electrodes into one or more of the Chambers of the heart, via a large vein, it is possible to mimic its function by applying small electrical shocks at regular intervals.
把电极通入一个或多个心房或心室,并使导入一条大静脉,就可以通过有规律的小幅电击模拟窦房结发挥作用。
"Other social networking tools make selective sharing within small groups difficult," she added, taking what appears to be a jab at Facebook's recent grouping function.
“其他的社交网络工具都很难在小群体里进行分别分享”,针对“脸谱”最近的群组功能,她补充道。
The Advanced Search function brings up a small, more select list of granters and is simple to specify.
高级搜索功能能提供范围更小的,经过进一步选择过的基金资助者的名单,也更易于细分归类。
Each function is relatively small, but all together, the functions serve to hide a lot of annoying details.
每个函数都相当小,但是它们隐藏了大量烦人的细节。
The memory loss and decline in mental performance associated with the disease occur in people when this protein forms small lumps in the brain. They eventually lead to a complete loss of function.
当这种蛋白质在人脑中形成小块斑点时,就会使人记忆丧失,精神活动退化,最终导致大脑功能完全丧失。
Moodiness, which imposes a small cost on the relationship, may function as both an alarm bell and as an assessment device to test the strength of the bond.
情绪多变,会给爱情带来一些小损害,既是爱情的警钟尤其到测试爱情的强度的作用。
It needs just the right amount of it at all times to function best, so it's not surprising that it's very sensitive to even very small differences in the amount of blood sugar available.
它总是需要合适量的糖来维持功能稳定,这就不惊讶了,大脑对血糖微弱的变动非常敏感。
The material also has small spheres of porous silicon embedded in it. Their function is twofold.
该材料内嵌入小多孔硅球体,有双重作用。
Another small support function simply parses out index values if they are given within a (pseudo -) XPath. I will not bother reproducing that here.
另一个小型支持函数仅仅从(伪)xpath表达式中解析出索引值,这里就不再重复了。
The initrd function allows you to create a small Linux kernel with drivers compiled as loadable modules.
initrd函数让我们可以创建一个小型的Linux内核,其中包括作为可加载模块编译的驱动程序。
Kprobes allow developers to write small kernel modules to run code at the start of a function (jprobe), the end of a function (kretprobe), or at any address (kprobe).
开发人员可以用kprobes编写小的内核模块,从而在函数的开头(jprobe)、函数的结尾(kretprobe)或在任何位置(kprobe)运行代码。
This function returns zero on success. In general, the get_user and put_user functions are faster than their block copy counterparts and should be used if small types are moved.
成功时该函数返回0,一般情况下,get_user和put_user函数比它们的块复制副本要快一些,如果是小类型被移动的话,应该用它们。
This function returns zero on success. In general, the get_user and put_user functions are faster than their block copy counterparts and should be used if small types are moved.
成功时该函数返回0,一般情况下,get_user和put_user函数比它们的块复制副本要快一些,如果是小类型被移动的话,应该用它们。
应用推荐