uniq(读做“unique”),扫描列表,比较列表中的相邻元素,以去除任何重复项。
Uniq (pronounced "unique") scans a list, comparing adjacent elements in the list and removing any duplicates. For instance, suppose you have this list.
如果由于一些原因这没有发生,把你的代码与列表1中的进行比较,确保你的所有命令都是正确的。
If for some reason this isn't the case, compare your code with Listing 1 to make sure you have all the correct commands.
要验证两个数据库中是否都存在新文档,您可以重用清单27 中的代码,该代码比较两个数据库的文档列表。
To verify that the new documents exist in both databases, you can reuse the code from Listing 27 that compares the document lists of two databases.
这一次,所有客户感兴趣的内容都将对照一张已知主题列表来解析和比较。
This time, all customer interests will be parsed and compared against a list of known subjects.
目标服务器接收请求,检索gss令牌,提取服务器标识,对其进行身份验证,并与受信任的服务器标识列表进行比较。
The target server receives the request, retrieves the GSS token, extracts the server identity, authenticates it, and compares it to the list of trusted servers' identities.
该函数带有两个参数——第一个参数是要排序的HTML选择列表,第二个参数是比较函数。
This function takes two parameters — the first is the HTML select list to sort, and the second is the comparison function.
目标服务器接收请求,检索gss令牌,提取服务器标识,并与受信任的服务器标识列表进行比较。
The target server receives the request, retrieves the GSS token, extracts the server identity and compares it to the list of trusted server identities.
同样,您会想到首先填充一个比较键列表,然后进行排序,而不是进行内联排序。
Again, you're driven to the idea of first filling a list of comparison keys and then sorting, rather than sorting inline.
两个基线之间的比较,不仅产生了从一个基线变到另一个基线发生变化的文件列表,而且也产生了发生变化的活动列表!
This comparison between baselines produces not only a list of files that have changed from one baseline to the next, but also a list of activities!
在访问列表中的数据时,除了考虑这些因素外,还有一个方面比较重要。
Besides these considerations it's also important to be smart when accessing data in the list.
如果你问自己希望多快能够获得一个比较令人满意的排名,而回答是“现在!”那么,让我们停止做SEO的关键字研究转而开始建立一个伟大的PPC活动列表。
When asking yourself how quickly you need to achieve a quality rank, and the answer is "NOW!" then stop doing keyword research for SEO and start building out lists for a great PPC campaign.
此外,如果维护了可信的接受方名称列表,那么可以比较已签名证书的接受方,看看它是否匹配可信列表中的接受方。
Furthermore, if a list of trusted subject names is maintained, the subject of signing certificate can be compared to see if it matches any subject in the trusted list.
另外一些人选择将可能比较频繁变更版本的组件—例如代码列表—放入单独的架构文档中。
Others choose to put components that might be versioned more frequently-for example, code lists-into a separate schema document.
如果情况比较简单,那么通过一个媒体文件列表开始播放一个简单的脚本就够了。
If the situation were simpler, then a straightforward script playing from a list of media files is enough.
当选项的数量比较多,页面空间有限,并且可以对选项列表有逻辑的进行归类,分成更小的,内容数量基本一致的内容块.
Use when the number of options is large, the space is constrained, and the list of items can be logically grouped into smaller, roughly equal sized chunks.
向供应商索要一份其提供的功能的列表,并将其与您自己所需的功能的列表进行比较。
Ask for a list of the capabilities each offers and compare that against your own required capabilities list.
如果使用这个比较器来排序,那么意味着最终列表没有被正确排序。
If the comparator is used for sorting, that can mean the list isn't sorted correctly in the end.
列表与元组相似,但是元组只能在比较中使用,而列表允许执行的操作更多。
Lists and tuples are similar, but whereas a tuple can only be used in a comparison, lists allow a wider variety of manipulation operations to be performed.
下面是在开发过程开始时一些比较常见的问题的列表(听起来挺熟?)
Here's a list of the questions more commonly asked at the beginning of a development process (sound familiar?)
case语句的工作方式与传统编程语言中的对应结构相似。它将其参数与列表中的每个模式比较;当找到匹配项时,则执行对应的代码。
The case statement works like its counterparts in traditional programming languages: It compares its argument to each pattern in a list; when a match is found, the corresponding code executes.
在将每个客户的兴趣与customer. properties文件中的主题列表比较之后,很明显客户兴趣有些重叠之处。
After comparing the interests of each customer to the subject list in the customer.properties file, it's apparent that there is some overlap in customer interests.
这种情况下各个浏览器依据自己的DOCTYPE规则列表来触发怪异模式,参照这个浏览器比较图表。
Therefore each browser has its own list with doctypes that trigger quirks mode. See this browser comparison chart for an overview of these lists.
现在,比较每个列表的第一个元素,2要比3小,所以2应该是合并后列表的,下一个元素,然后你们就知道了。
Now, compare the first element in each of these lists. Two is less than three, so two ought to be the next element of the list.
对于批、CICS和IMS连接,确定哪些用户或组需要处于已经定义了的配置文件的访问列表中比较简单。
Determining which users or groups need to be in the access list of the profiles that have been defined, for batch, CICS, and IMS connections is straightforward.
它是字段名称、类型和可选附加信息(如大小、nullable)的列表,这些可选附加信息会使名称变得比较复杂。
It's the list of field names, types, and optional additional information (like the size, nullable, etc.) that adds some complexity.
如果你觉得事情不是这样的,那么就比较一下专有产品和开源产品的讨论列表吧。
If you think that's not the case, compare the discussion lists for proprietary products with open source products.
在比较大的列表中,您需要一些高效检索信息的方法。
In more extensive lists, you need some way of retrieving the information efficiently.
攻击者破坏加密的惟一方法是将一个非常长的字符串列表与您的加密密码进行比较,每次比较一个,直到找到匹配项。
The only way an attacker can break your encryption is to compare a very long list of strings to your encrypted password, one at a time, until a match is made.
例如,若需要保存一个用户所提交值的列表,以便与新值比较,那么在客户机而不是服务器上存储这些数据会比较经济。
For example, if you need to keep a listing of user-submitted values for comparison with newer values, it is economical to keep the data on the client and not the server.
例如,若需要保存一个用户所提交值的列表,以便与新值比较,那么在客户机而不是服务器上存储这些数据会比较经济。
For example, if you need to keep a listing of user-submitted values for comparison with newer values, it is economical to keep the data on the client and not the server.
应用推荐