单词 | snippet |
释义 |
复数:snippets n. extract,piece,bit,scrap 例句释义: 一小条,一则,一小段,片段,片断,小片 1. Is it a large document, like an aircraft manual, or a small snippet of data, like a response code? 数据是大文档(比如飞机的操作手册),还是小的数据片段(比如响应编码)? www.ibm.com 2. Knowing about a particular instant or partial time snippet can be useful, but it's also often useful to be able to express spans of time. 了解特定的时刻或是某个局部时间片段将非常有用,但是如果能够表达一段时间跨度的话,通常也很有用。 www.ibm.com 3. Click the name of the snippet you want, and the code is inserted into the editor, ready for you to modify as needed. 单击所需代码段的名称,代码便会插入到编辑器中,供您根据需要进行修改。 msdn2.microsoft.com 4. A snippet of the Action class code shown in Listing 1 illustrates how the Model service is called from the Action class. 清单1中所示的一小段Action类代码说明了如何从Action类中调用模型服务。 www.ibm.com 5. Take 'Humpty Dumpty sat on a. . . ' Even this snippet of a nursery rhyme reveals how much languages can differ from one another. 光看“蛋头先生坐头……”这句儿歌就能说明各种语言之间会有多大程度的差别。 chinese.wsj.com 6. Arnold's snippet of information, however dry, might have fed her pride if she had not felt temporarily quenched. 若不是当时她感到有如泼了瓢冷水似地心灰意懒,那么阿诺德的这段介绍,无论多么枯燥乏味,她也会引以为荣的。 tr.bab.la 7. You do less of that in a world where everything is a snippet, everything is an instant message, everything is an alert. 在一个一切都是只言片语、一切都是短信、一切都是提示信号的世界里,你很少做这种深度阅读。 www.bing.com 8. This section shows the code snippet to make a plug-in, which can be used for debugging the previous sample application. 本节给出一个插件的代码片段,此插件用于调试前面的示例应用程序。 www.ibm.com 9. Allows you to navigate to the desired snippet on your local drive or server, and add it to an existing code snippet folder . 使您可以定位到本地驱动器或服务器上所需的代码段文件夹,然后将其包含到文件夹列表中。 www.bing.com 10. The above snippet specifies, like the earlier code samples, all the members of a cluster in the provider_url property. 像之前的代码示例一样,上述代码片段指定provider_url属性中一个集群的所有成员。 www.ibm.com 1. The general purpose of the visual snippet editor is to add nodes to a diagram to perform the required work. 可视代码片段编辑器通常用于向一个关系图中添加节点,以执行所要求的工作。 www.ibm.com 2. When you know the name of the snippet you want to insert, you can do so by typing its shortcut followed by the TAB key. 如果您知道要插入的代码段的名称,则可以通过在键入其快捷键后按Tab键来完成插入。 msdn2.microsoft.com 3. Of course, wits. xml is the name of the file containing all the incident reports, of which a snippet was shown in Listing 1. 当然,wits.xml是包含所有事件报告的文件的名称,清单1中显示了它的一个片段。 www.ibm.com 4. This syntax is not identical to the corresponding XML snippet in the task model TEL file; at least the namespaces differ. 此语法与任务模型TEL文件中的对应XML代码片段并不完全相同;至少命名空间不同。 www.ibm.com 5. These variables are the internal objects used by the snippet to which you need to assign a corresponding value. 这些变量是代码片段使用的内部对象,您需要向其分配相应的值。 www-128.ibm.com 6. All in all, the procedure outlined above in a short snippet of code mirrors what is usually performed in a standard X application. 总而言之,上面对这段代码片段的简短分析就说明了在标准的X应用程序中通常要执行哪些操作。 www.ibm.com 7. This text specifies the code, along with the literals and objects, that you can use when this code snippet is inserted into a project. 此文本用于指定在将此代码段插入到项目中时可以使用的代码以及文本和对象。 msdn2.microsoft.com 8. The result of executing the above snippet of code will look something like this. 上面的片段执行结果将会类似这样的。 blog.csdn.net 9. This next code snippet displays the subject of each response document in a prompt box for the user to select any combination. 下一代码段在提示框中显示每个回复文档的主题,以便于用户选择任何组合。 www.ibm.com 10. Lastly, we check to see if the file is actually a directory. (See the code snippet below. ) If it is, we recurse into it. 最后,我们查看一下文件是否确实是一个目录。(请看下面的代码片断。)如果是,我们再递归进入。 www.mscto.com 1. Since the initial release of Snippets feature, important updates have been made to the serverLocatorMgr. jar file. 由于这是首次发布Snippet特性,对serverLocatorMgr.jar文件做了一些重要的更新。 www.ibm.com 2. All this happens in parallel on hundreds of snippet processors, depending on the model of the appliance. 根据设备的模型,所有这些操作都是由数百个snippet处理器并行执行的。 www.ibm.com 3. The basic business process originally only consists of a receive node, a human task, a snippet, and a reply activity. 基础业务流程最初仅由一个接收节点、一个人工任务和一个回复活动构成。 www.ibm.com 4. To do this you will be asked to upload an HTML file to your site or to add a short code snippet to your homepage. 在这之前你先要将一个HTML文件上传到网站的服务器上,或者在主页的代码中加入一小段代码标识。 blog.sina.com.cn 5. At this point, any editable fields in the code snippet are highlighted in yellow, and the first editable field is selected automatically. 此时,代码段中的任何可编辑字段都将突出显示为黄色,并自动选择第一个可编辑字段。 msdn2.microsoft.com 6. Let's take a look at how you can accomplish both in a code snippet, iterating through each selected element and return the jQuery object. 让我们看看如何在代码片段中实现迭代每个选定元素并返回jQuery对象。 www.ibm.com 7. Each search result entry contains the page title, size, word count, namespace (more on this later), and a snippet of page content. 每个搜索结果条目包含页面标题、大小、字数、名称空间(稍后详细介绍)、以及页面内容的片段。 www.ibm.com 8. If they're looking for a snippet of information on a page or are engrossed in content, they won't be distracted by the ads on the side. 如果他们在一个页面中寻找一个信息片段或者专心的看内容,他们是不会被旁边的广告扰乱的。 blog.sina.com.cn 9. Results from each snippet processor are assembled to produce a subresult for the entire snippet. 每个snippet处理器的结果被组合在一起,生成整个snippet的子结果。 www.ibm.com 10. Clicking on the Validate Sample button brings up the validate dialog and a sample XML snippet. 单击ValidateSample按钮将打开验证对话框和XML示例片断。 www.ibm.com 1. Once a response has been received the session ID can be extracted from the XML document as shown in the code snippet below. 收到响应后,可以从XML文档提取会话ID,如下面的代码段所示 www.ibm.com 2. With the Snippet Editor, new code snippets can be created and existing ones edited to match the tasks and coding styles of each team. 通过代码段编辑器,可以创建或修改现有代码段,适用于开发任务和编码风格。 www.infoq.com 3. It can be anything with a Web URL and representation, not just a snippet of text. 它可以是带一个WebURL和内容表示的任何东西,而不仅仅是文本片段。 www.ibm.com 4. You also received an introduction on the basics of the DES authentication process and examined a code snippet of a Secure RPC application. 您还了解了有关DES身份验证过程的基本内容,并研究了安全RPC应用程序的代码片段。 www.ibm.com 5. Snip -It Pro, the Ultimate Snippet Manager makes you more productive by allowing you to easily organize, find and share your code library. 26下载剪断它,终极片段Manager使你更加让您轻松组织,查找和共享您的代码库。 kondishenprom.info 6. A Staff Activity allows human interaction with your workflow, while a Java Snippet lets you add Java code to your business process. 人可以通过StaffActivity与工作流进行交互,而JavaSnippet则可以让您向业务流程添加Java代码。 www.ibm.com 7. To generate a new version of that process, you add another human task after the old human task and modify the existing snippet. 为了生成新版流程,您可以在旧人工任务之后添加另一个人工任务、并修改现有片段。 www.ibm.com 8. In the snippet above, it looks as though the script is using an undefined variable named "alertConfigService, " but this is not the case. 在上面的代码片段中,好像脚本使用了未定义的变量“alertConfigService”,但事实并非如此。 www.ibm.com 9. They support linked fields, so altering a variable name in one place will cause it to be altered throughout the snippet. 它支持字段链接,因此当修改某一处参数名称的时候就会同时更新整个代码块。 www.infoq.com 10. A snippet of code for creating a custom parameter and associating it with a consumer reference is shown in Listing 14. 清单14显示了用于创建自定义参数并将其与使用者引用关联的代码片段。 www.ibm.com 1. The text value of the Default element represents the literal or object when the code snippet is inserted into a project. 将代码段插入到项目中时,Default元素的文本值表示文本或对象。 msdn2.microsoft.com 2. Let's put it all together and conclude by looking at a snippet of an actual, real-world grammar. 让我们通过研究实际语法的一个代码片段来进行组合和总结。 www.ibm.com 3. The event is a click, which is handled by an observer (the element), and processed by a handler (the snippet of JavaScript). 这是一个单击事件,由一个观察者(元素)接收,一个处理程序(JavaScript片段)处理。 www.ibm.com 4. I would like to thank Christopher Chung for his invaluable help and support and contribution of the code snippet for this article. 感谢ChristopherChung提供的非常宝贵的帮助,以及为本文中代码片断所做的贡献。 www-128.ibm.com 5. The lengthy code snippet shown in Listing 6 uses a recursion technique inspired by the PHP open source community (see Resources). 清单6中这段长长的代码片段采用了PHP开放源码社区(请参阅参考资料)提出的递归技术。 www.ibm.com 6. As you can see from the snippet of javadoc in Figure 4, there are three possible ways to call activateMBean . 您可在图4中的javadoc的片断中看到,调用activateMBean的可能的方式有三种。 www.ibm.com 7. When you generate a key, Google is nice enough to provide you with a snippet of code that can get you up and running. 生成键时,使用Google就足以提供运行良好的代码片段。 www.ibm.com 8. All three kind of parentheses are semantically equivalent and are shown in the snippet below. 三种括号在语义上等价,如下面的代码段所示。 www.ibm.com 9. Readers should read its documentation to find more on the module details, but the general feel is well represented in this snippet. 读者应当阅读有关文档来获得关于这个模块的更多细节,但是这个代码片段很好地体现了它的整体风格。 www.ibm.com 10. Add text to a title element with the writeCharacters(String text) method, as shown in the following code snippet. 用writeCharacters(Stringtext)方法将文本添加到title元素中,如下面代码片段所示。 www.ibm.com 1. We see a tragic snippet on the six o'clock news and wonder how things can go so dreadfully wrong in a life filled with material affluence? 我们在六点早报中看到这个悲惨片段,非常渴望知道:物质条件充裕的生活中,怎么会发生如此可怕的事情? dict.kekenet.com 2. To protect yourself against such an attack, read the snippet file carefully before inserting the snippet, and download from sites you trust. 为了避免遭受这类攻击,请仔细阅读程式码片段档案后再插入程式码片段,并从信任的网站下载。 technet.microsoft.com 3. Mr Sattin does not use this particular snippet, but he makes the point. 作者没有直接引用原话,不过点出了这段趣事。 www.ecocn.org 4. The following snippet of shell code creates a complete set of configuration files for the various resolutions you want to support. 下面的shell代码片段为希望支持的各种分辨率创建一整套配置文件。 www.ibm.com 5. The Web resource you associate with a target doesn't just need to be a short snippet of text, as in simple comments. 与目标相关联的Web资源不一定非是简短的文本片段(比如评论)。 www.ibm.com 6. This code snippet will return true if the sender address has the word Markham in it. 如果发送人地址中包含Markham这个词,上面的代码片段将返回true。 www-128.ibm.com 7. Specifies that the code snippet is a method body, and therefore, must be inserted inside a method declaration. 指定代码段为方法体,因此必须插入到方法声明中。 msdn2.microsoft.com 8. You can add a snippet as you did before to print some debug statements to the console. 您可以像以前那样添加一个片段来将调试语句打印到控制台。 www.ibm.com 9. The code snippet in Listing 5, repeated from above, shows one such specification to define a simple callback for a typical custom module. 清单5中的代码片段显示一个菜单规范,它为一个典型的定制模块定义了回调函数。 www.ibm.com 10. In the editor, place the cursor at the point in your code where you want to include the snippet. 在编辑器中,将光标放置在需要包含代码片段的代码中的某个位置。 www.ibm.com 1. Reduces the TypeName parameter to its simplest form in the context in which the snippet was invoked. 在已调用该代码段的上下文中将TypeName参数缩减为其最简单的形式。 msdn2.microsoft.com 2. Specifies that the code snippet is a type, and therefore, must be inserted inside a class, module, or namespace. 指定代码段为类型,因此必须插入到类、模块或命名空间中。 msdn2.microsoft.com 3. The crossover preserver the snippet of effective genes, and a moving window is used to fasten the algorithm convergence. 该算子通过判断父代的城市是否相邻来保存有效基因片断,通过加入一个移动的窗口来加快算法收敛。 ceaj.org 4. Examine the WSDL file to ensure the address matches your server as shown in the code snippet below. 检查WSDL文件,确保地址与服务器匹配,如下面的代码片段所示。 www.ibm.com 5. These references may have been downloaded to your computer from where you downloaded the snippet. 这些引用也可能是从您下载代码段的位置下载到您的计算机中的。 msdn2.microsoft.com 6. The sub-process partner link may be set in a Java snippet or in an assign statement. 可以在Java代码片段或一条赋值语句中设置子流程合作伙伴链接。 www.ibm.com 7. The processor core on each snippet processor configures the FPGAs with parameters contained in the query snippet and sets up a data stream. 每个snippet处理器上的处理器内核使用查询snippet中包含的参数配置FPGA并建立一个数据流。 www.ibm.com 8. Answer: A Visual Snippet for adding two numbers of type "double" already exists in the Visual Snippets folder as shown in Figure 1. 答:VisualSnippet文件夹中已经存在两个类型为“double”的数求和的VisualSnippet,如图1所示。 www.ibm.com 9. In the next steps, you create another snippet activity to create the file name for the output file. 在下面的步骤中,您要创建另一个代码片断活动,以创建输出文件的文件名。 www.ibm.com 10. This snippet sets the cookie called userid as well as the expire date to be 30 days from the current date. 这段代码设置cookieuserid,并将expire日期设置为自当前日期之后30天。 www.ibm.com 1. The following code snippet is a typical content of such a helper file. 下面一小段代码是这种帮助文件的典型内容。 www.cnblogs.com 2. This text specifies the ToolTip description to be associated with the object or literal in the code snippet. 此文本指定要与代码段中的对象或文本关联的ToolTip说明。 msdn2.microsoft.com 3. Unlike the other two plans, this plan also defines a connection URL as shown in the snippet. 与另两个计划不同,这个计划还定义一个连接URL。 www.ibm.com 4. We have used some standard snippets included with Lift, but let's take a look at creating a custom snippet. 我们使用了Lift包含的一些标准片段,下面看看如何创建定制的片段。 www.ibm.com 5. A partial, or partial time snippet as I'll refer to it in this article, is just that: a partial snippet of time. 一个局部时间,正如我将在本文中将其称为局部时间片段一样,它指的是时间的一部分片段。 www.ibm.com 6. To ease maintainability, the snippet of code below builds the part of the link missing from the default WebSphere Portal relative URLs. 为了使维护简单,以下代码片段构建了缺省的WebSpherePortal相对URL所缺少的链接部分。 www.ibm.com 7. Specifies that the code snippet is a method, and therefore, must be inserted inside a class or module. 指定代码段为方法,因此必须插入到类或模块中。 msdn2.microsoft.com 8. The following code snippet contains a literal with an ID element value of SQL and an object with an ID element value of Connection. 下面的代码段包含一个ID元素值为SQL的文本,以及一个ID元素值为Connection的对象。 msdn2.microsoft.com 9. Enter the snippet of XML code shown in listing 1 at the end of the install. xml file, before the tag. 在install.xml文件最后的标记之前输入清单1中显示的XML代码片段。 www.ibm.com 10. The last line of the previous code snippet makes the application visible. 上面代码中的最后一行使应用程序是可见的。 www.ibm.com 1. Alternatively, you can type the name of the code snippet, and then press TAB or ENTER. 或者,您也可以输入程式码片段的名称,然后按TAB或ENTER键。 technet.microsoft.com 2. Returns the name of the class that contains the inserted snippet. 返回包含已插入代码段的类的名称。 msdn2.microsoft.com 3. Maybe we can teach design sense or at least, design appreciation by bombarding people with examples. . here's a good snippet of code. . 我们可以尝试教授“设计感觉”,至少我们可以通过大量的案例教会人们如何鉴别一个设计的好坏,就像这样:这段代码很棒…… www.bing.com 4. In Georgia, Ms. Martin heard a snippet of the rant while driving between two houses she was cleaning. 在佐治亚州,马丁在开车去打扫房屋的路上听到桑塔利做出呼吁的片断。 chinese.wsj.com 5. For the past several years, OpenNTF has maintained a set of projects and a code snippet repository. 多年以后,OpenNTF一直在维护一个项目集合和一个代码段存储库。 www.ibm.com 6. Each track, each snippet of bird song, each frozen seed-pod, is an affirmation of life, a defiance to the cold, a promise. 每一个足迹,每一声鸟鸣,每一粒冰冻的种子,都是对生命的一种肯定,对寒冷的一种抗拒,也是一个希望。 blog.sina.com.cn 7. Ms. Hayes-Beaty said when told what that snippet of code reveals about her. "The profile is eerily correct. " 当知道这一小段代码所泄漏的关于她的信息时,比蒂小姐感叹道,“这份个人资料真是出奇的准确。” select.yeeyan.org 8. From the output (an HTML snippet), you can easily see how to reformat this into a news feed or incorporate it into an Ajax application! 从输出(一个HTML片段)中,很容易看到如何将这个文档重新格式化为一个新闻提要,或者将它并入到一个Ajax应用程序中! www.ibm.com 9. Type the first few characters of the shortcut name for the snippet in the Code Editor, followed by a question mark and TAB. 在“代码编辑器”中键入代码段的快捷键名称的头几个字符,然后键入一个问号并按Tab键。 msdn2.microsoft.com 10. In this code snippet, the constant ACRONYM_LIST is the key used to get and set the data in the preference store. 在这个代码片段中,常量ACRONYM_LIST是用于获取和设置首选存储中的数据的关键字。 www.ibm.com 1. This text specifies the default value of the literal or object that fills the fields of the code snippet that you can edit. 此文本指定用于填充代码段中可编辑字段的文本或对象的默认值。 www.kuenglish.info 2. SurroundsWith: allows the code snippet to be placed around a selected piece of code. SurroundsWith:允许将此代码段放置在一段选定的代码周围。 msdn2.microsoft.com 3. The code snippet below shows a simple example using these artifacts to invoke the echo Web service in a J2EE container environment. 下面的代码片断显示了一个简单的在J2EE容器环境中使用这些构件去引用那个echoWeb服务的例子。 www.ibm.com 4. You might also see a Rich Snippet displayed with a thumbnail of the poster, as in Figure 6. 您还可以看到显示海报缩略图的RichSnippet,如图6中所示。 www.ibm.com 5. Google's testing tool is under very active development; the display of the Rich Snippet for the same markup changes over time. Google的测试工具正在积极开发之中,随着时间的推移,用于相同标记的RichSnippet显示可能会发生变化。 www.ibm.com 6. As shown in the XML snippet on the right, only the required data is collected if we use an XML data model. 如右边的XML片段所示,如果使用XML数据模型,那么只收集必需的数据。 www.ibm.com 7. Contains the literals and objects of a code snippet that you can edit. 包含代码段的可编辑文本和对象。 msdn2.microsoft.com 8. In the Snippets view in the lower left of the workspace, click on the specific drawer containing the target Web service snippet. 在工作区左下角中的Snippets视图中,单击包含目标Web服务代码片段的某个特定抽屉。 www-128.ibm.com 9. Application Developer adds a Snippets view that contains several compartments for the types of snippets that can be invoked. ApplicationDeveloper添加了Snippet视图,这种视图包括几个间隔,这样就可以调用多种类型的代码片段。 www.ibm.com 10. As this snippet shows, you could use a scripted bean to select a different implementation based on a system property. 如这段代码所示,可以通过用脚本编写的bean根据系统属性选择不同的实现。 www.ibm.com 1. Scroll down to the body section of helloworldapp. html, and drag Tree from the Snippet pane to the edit pane. 向下滚动至helloworldapp.html的主体部分,并将Tree从Snippet窗格拖到编辑窗格中。 www.ibm.com 2. This snippet of JavaScript code assigns an abbreviated version of the JSON data to the JavaScript variable weather. 上述JavaScript代码片段将缩减后的JSON数据赋给JavaScript变量weather。 www.ibm.com 3. From various snippet archives to entire class databases, PHP developers are really spoilt for choice when it comes to reusing existing code. 从多中小的文档到整个数据库类,php开发者需要的时候可以随意的选择重用现有的代码。 www.bing.com 4. The example in Listing 1 uses those variables in the following code snippet to tell Fop the page layout wanted for the document. 清单1中的示例使用下列代码片段中的那些变量来告诉Fop文档所需的页面布局。 www.ibm.com 5. The Code Editor recognizes a snippet as a unit separate from your surrounding code until you close the source-code file. “代码编辑器”可以将一个代码段识别为与周围的代码分开的单元,直到您关闭源代码文件为止。 msdn2.microsoft.com 6. As a final step in the BPEL process creation, add a simple Java snippet node to log an exit message. 在BPEL流程创建中,最后一步是添加一个简单的Java代码段节点以记录退出消息。 www.ibm.com 7. In the Visual Snippet Editor, first create input and output variables of type "int" as shown in Figure 5. 在VisualSnippetEditor中,首先创建类型为“int”的输入和输出变量,如图5所示。 www.ibm.com 8. A visual snippet diagram also supports the conditional execution of code groups, which you create by adding a conditional control structure. 可视代码片段关系图也支持代码组的条件执行,可以通过添加条件控制结构来创建。 www.ibm.com 9. Method, the EJB snippet support will be utilized to help populate this method body. 方法类似,EJB片断支持将被用于建立方法体。 www-128.ibm.com 10. Specifies the default value of the literal or object for an IntelliSense Code Snippet. 为IntelliSense代码段指定文本或对象的默认值。 msdn2.microsoft.com 1. Listing 9 shows a Java snippet that illustrates how to call procedure find_customers from a JDBC application. 清单9显示了Java片段,该片段说明如何从JDBC应用程序调用过程find_customers。 www.ibm.com 2. OK. The code snippet is now available for insertion into the code editor. 现在就可以将该代码段插入到代码编辑器中了。 msdn2.microsoft.com 3. In just this small snippet of our design SQD, we have almost as many messages as the entire analysis sequence diagram. 在这一个小片段的设计序列图上,我们就碰到了几乎跟整个分析序列图一样多的信息。 www.ibm.com 4. Begin typing the shortcut for the code snippet that you want to add to your code. 首先为要添加到代码中的代码段键入快捷方式。 msdn2.microsoft.com 5. In the Business Process Editor, add a Java snippet: select the Snippet activity and change the default Java snippet name to Log Input. 在业务流程编辑器中,添加一个Java代码段:选择Snippet活动并将缺省的Java代码段名更改为LogInput。 www.ibm.com 6. Create a new human task within the process selecting the same interface, and optionally add a snippet after the human task. 在选择同一接口的流程内创建一个新人工任务,然后可以在人工任务之后添加一个片段。 www.ibm.com 7. The following example is a snippet of the code generated from the control above when it is converted to a template. 下面的示例是上述控件在转换为模板时生成的代码段。 msdn2.microsoft.com 8. The snippet shown in Listing 7 is somewhat similar to the frame examples shown above. 清单7中所示的代码片段与前面所给出的框架示例有些相似。 www.ibm.com 9. For a complete list of supported functions, see Code Snippet Functions. 有关受支持函数的完整列表,请参见CodeSnippetFunctions。 msdn2.microsoft.com 10. The following code snippet gets the size buffer required for populating information for all the configured interfaces. 下面的代码段可以获取用来填充所有配置接口的信息所需的缓冲区大小。 www.ibm.com 1. You can choose an icon to notify viewers of your work and then grab the HTML snippet to add to your page. 可以选择一个图标来告知您作品的查看者,然后再将这段HTML代码片段添加到页面。 www.ibm.com 2. Before you use a downloaded code snippet, determine the trustworthiness of the code outside of Visual Studio. 使用下载的代码段之前,请在VisualStudio外确定代码的可信度。 msdn2.microsoft.com 3. Visiting the JSconsole site, the user types in ": listen" and gets a snippet of Javascript code with a hardcoded GUID. 在访问JSConsole的网站的时候,用户输入“:listen”来获得带有GUID的一段JavaScript代码。 www.infoq.com 4. Another important function, called from the previous snippet, is the widget initialization callback. 前面的代码片断中调用的另一个重要函数是控件初始化的回调函数。 www.ibm.com 5. Listing 2 provides a basic code snippet that enables you to access the MySQL database created with the code from Listing 1. 清单2提供了一个基本的代码片段,借此,就能访问用清单1中的代码所创建的这个MySQL数据库。 www.ibm.com 6. You need to add it as an include, as shown in the code snippet from PurchaseOrder. jsp in listing 5. 需要将其作为一个include添加,如清单5中的PurchaseOrder.jsp代码片段所示。 www.ibm.com 7. Specifies the name of the snippet author. 指定代码段的作者姓名。 msdn2.microsoft.com 8. The above snippet of Java code sets up a query to retrieve the PID of an item. 上面的Java代码片段建立了一个查询来检索条目的PID。 www-128.ibm.com 9. An encoded version of the preceding snippet is shown in Listing 2. 上述代码段的编码版本如清单2所示。 www.ibm.com 10. Specifies whether or not you can edit the literal after the code snippet is inserted. 指定在代码段插入后是否可以编辑文本。 msdn2.microsoft.com 1. The code snippet shown in listing 15 locates the Flex application and triggers the receiveData function. 清单15中的代码找到Flex应用程序并触发receiveData函数。 www.ibm.com 2. Expansion: allows the code snippet to be inserted at the cursor. Expansion:允许将代码段插入到光标处。 msdn2.microsoft.com 3. The code snippet below shows how to run config service in a standalone JVM outside of the server. 下面的代码片断展示了如何在服务器外独立的JVM中运行配置服务。 www.ibm.com 4. The update indicator array is initialized to -7 as shown in the Figure 5 code snippet from the RPG HANDLE_UPDATE sub-procedure. 图5中的来自RPGHANDLE_UPDATE子过程的代码段显示,更新指示符数组被初始化为-7。 www.ibm.com 5. Command wraps the XML snippet around the selected text. 命令使用XML代码段将所选文本环绕起来。 msdn2.microsoft.com 6. See "DSACLS Command Syntax Snippets" for a complete list of the snippet text file names. 若要查看片段文本文件名称的完整列表,请参阅“DSACLS命令语法片段”。 technet.microsoft.com 7. Undefined variables in a snippet should be highlighted. 代码段中的未定义变量应突出显示。 msdn2.microsoft.com 8. This indicates that the code snippet can be inserted at the cursor. 它指示可以将此代码段插入到光标处。 msdn2.microsoft.com 9. Type the shortcut for the code snippet that you want to add to your code. 输入要加入至程式码的程式码片段快速键。 technet.microsoft.com 10. This means LINQPad is useful for any code snippet needing simple testing, e. g. , tricky numeric format strings or Regex matching. 这也意味着对于要进行简单测试的任何简短代码,LINQPad非常有用,例如:棘手的数字格式字符串或者匹配正则表达式。 www.infoq.com 1. Only HTTP POST is supported from a form, as shown in the JSP snippet below (Listing 9). 只有HTTPPOST受到表单的支持,如下面(清单9)所示的JSP代码片段。 www.ibm.com 2. The code snippet shown in listing 2 loads the form fields with instance values. 清单2中展示的代码片段使用实例值加载表单字段。 www.ibm.com 3. The bindInfoWindowHtml method provides the HTML snippet to be displayed in the Info window when the user clicks the marker. bindInfoWindowHtml方法提供了用户单击标记时在Info窗口内显示的HTML文件片段。 www.ibm.com 4. This image here is created from a snippet of Beethoven's ninth symphony playing through a cymatic device. 这幅图片是通过演奏Beethoven的第九交响曲片段得到的。 www.ted.com 5. Once a code snippet has been chosen, the text of the code snippet is inserted automatically at the cursor position. 一旦选定某个代码段,该代码段的文本就会自动插入光标所在位置。 msdn2.microsoft.com 6. The business process also has a snippet component, which you can use to raise a fault and to demonstrate a global transaction rollback. 业务流程也有一个代码段组件,您可以用它来引发一个故障并演示一个全局事务回滚。 www.ibm.com 7. NOTE: In Eclipse, you can use the menu choice Source - Organize Imports to add the needed import statements after pasting a code snippet. 注意:在Eclipse中,在粘帖代码片段之后,可以使用Source-OrganizeImports菜单选项来添加所需的重要声明。 www.ibm.com 8. You also saw how to use the visual snippet editor to add more detailed logic to a state machine. 您还了解到如何使用可视代码片段编辑器向状态机中添加更多详细逻辑。 www.ibm.com 9. The secret of flu-proofing chicken flocks is an artificial gene that contains a snippet of genetic material from the H5N1 flu virus. 防流感鸡群的秘密在于它们被注射了一种从H5N1流感病毒中提取的基因片段。 www.bing.com 10. The last line of the code snippet saves the session. 上面代码段的最后一行代码将保存会话。 www.ibm.com 1. Note that the snippet then replaces the request message in the incoming SMO with the response message. 请注意,然后代码段使用响应消息替换了传入SMO中的请求消息。 www.ibm.com 2. The Code Snippet Inserter highlights the closest match to a code snippet name. 代码段插入器将突出显示与代码段名称最接近的匹配项。 msdn2.microsoft.com 3. The Code Snippets Manager displays the code snippet name stored in the Author element of the code snippet. 代码段管理器显示存储在代码段的Author元素中的代码段名称。 msdn2.microsoft.com 4. Listing 10 shows the code snippet for the two user preferences that you want to surface later in the edit view. 清单10显示了您随后要在编辑视图中使用的两个用户首选项的代码片段。 www.ibm.com 5. A portion of the AddressStore class is shown in the following code snippet. 下面的代码片段显示了一部分AddressStore类。 www.ibm.com 6. Listing 1 explores a function snippet that performs a socket send (sending data through a socket). 清单1探究一个函数片断,它完成套接字send操作(通过套接字发送数据)。 www.ibm.com 7. Specifies the shortcut text used to insert the snippet. 指定用于插入代码段的快捷方式文本。 msdn2.microsoft.com 8. The code snippet shown in Listing 5 is the entry function into the xml2json converter. 清单5中的代码片段是xml2json转换器的入口函数。 www.ibm.com 9. Continuing from the previous code snippet, you can pass text to the Lotus Symphony document using LotusScript. 从前面的代码段继续,您可以使用LotusScript传递文本到LotusSymphony文档。 www.ibm.com 10. Contains the references, imports, declarations, and code for the code snippet. 包含用于代码段的引用、导入、声明和代码。 msdn2.microsoft.com 1. AndroidManifest. xml snippet: This file is the application deployment descriptor for Android applications. xml片段:该文件是Android应用程序的应用程序部署描述符。 www.ibm.com 2. This HTML snippet also hard-codes the type of widget -- a radio button, in this case -- that will be displayed in the user interface. 该HTML片段还“硬编码”将在用户界面中显示的窗口控件的类型(本例中是单选按钮)。 www.ibm.com 3. After the optimizer has done its work, the compiler converts the query plan into executable code segments called snippets. 优化器完成工作后,编译器将把查询计划转换为可执行的代码段,称为snippet。 www.ibm.com 4. The code snippet shown in Listing 7 is a test driver that exercises the xml2json converter logic. 清单7中的代码片段是一个用于执行xml2json转换器逻辑的测试驱动程序。 www.ibm.com 5. The code snippet below allocates the Application object and its base class objects, but under the covers, CoCreateInstance gets called. 下面的代码片段分配Application对象和它的基类对象,但实际上是进行CoCreateInstance调用。 msdn2.microsoft.com 6. A snippet of the rename node handler is shown in Listing 33. rename节点处理程序的代码片段如清单33所示。 www.ibm.com 7. The following snippet shows the interface of a session-scoped service. 以下代码片段显示了会话范围内的服务的接口。 www.ibm.com 8. Add a Declarations element as a child of the Snippet element. 添加一个Declarations元素作为Snippet元素的子级。 msdn2.microsoft.com 9. In the above code snippet, the compiler will warn you about the not exported base class and the not exported class of the data member. 在上面的代码片断,编译器会警告你没有导出基类和类的数据成员。 blog.sina.com.cn 10. The text value of the Default element specifies the default value of the literal when you insert the code snippet. Default元素的文本值指定插入代码段时文本的默认值。 msdn2.microsoft.com 1. The code snippet in listing 3 adds another tab to the place tab row as shown in figure 7. 清单3就是在位置标签行上增加一个标签的代码段,如图7所示。 www.ibm.com 2. The snippet is actually part of a 350-plus-line method that was shown to have 41 distinct paths. 该代码片段实际上是一个350多行的方法的一部分,该方法展示了41条不同的路径。 www.ibm.com 3. Select the existing folder that you want to place the imported code snippet into. 选择导入的代码段将要放入其中的现有文件夹。 msdn2.microsoft.com 4. WebSphere Integration Developer provides a visual snippet editor for defining custom behavior without having to write Java programs. WebSphereIntegrationDeveloper提供了一个可视代码片段编辑器,可以用来在不必编写Java程序的情况下定义自定义行为。 www.ibm.com 5. Parse the incoming CIM-XML response and extract the XML snippet corresponding to each OperatingSystem instance. 解析所得的CIM-XML响应,并提取对应于每个OperatingSystem实例的XML片断。 www-128.ibm.com 6. in the code snippet picker , the snippet is located in file system - processing drives , folders , and files. 在代码段选择器中,代码段位于“文件系统-处理驱动器、文件夹和文件”内。 www.ichacha.net 7. The snippet will also automatically add any project references or import statements needed. 另外,代码段还会自动添加项目引用和(命名空间)声明。 www.infoq.com 8. The corresponding code snippet is shown in Listing 2 below. 对应的代码片段如以下的清单2所示。 www.ibm.com 9. However, some unique changes take place when using the EJB snippet wizard to refer to an EJB within another enterprise application. 但是,使用EJB代码片向导引用另一个企业应用程序内的EJB时,就会发生一些特别的变化。 www.ibm.com 10. Before we dive in to the state machine concepts, we'll take a quick look at the visual snippet editor. 有深入介绍状态机概念之前,首先来快速介绍一下可视代码片段编辑器。 www.ibm.com 1. He then copied a snippet of JavaScript to that user's profile to continue the hack. 然后复制JavaScript片段到查看过他资料的用户账号上,继续传递。 blog.sina.com.cn 2. Defines the literal fields of the code snippet that you can edit. 定义代码段的可编辑文本字段。 msdn2.microsoft.com 3. The isComplete flag will be set to false and a log message will be written in the Java Snippet step below. 这样会将isComplete标志设置为false并且会在以下JavaSnippet步骤中写入一条日志消息。 www.ibm.com 4. Note : you can also use a Linked CSE to host the search results on your site , but that requires another code snippet . 请注意:您也可以使用链接的自定义搜索引擎将搜索结果存储在您的网站上,但这样做需要另一段代码。 www.bing.com 5. The SetupLocalVariables Java snippet prepares the local variables that are needed inside the event handler. SetupLocalVariablesJava代码片段准备事件处理程序内所需的局部变量。 www.ibm.com 6. You can create a join condition using Java code, a visual snippet, or selecting from a list of simple choices. 您可以使用Java代码、可视代码片段,或从简单的选择列表中进行选择来创建联接条件。 www.ibm.com 7. Drag the shippingComplete variable from the Variables section of the visual snippet editor to the canvas. 将shippingComplete变量从可视代码片段编辑器的Variables部分拖到画布。 www.ibm.com 8. Many useful XML snippets are also provided, including a snippet for building new code snippets. 还提供了许多有用的XML代码段,包括用于生成新代码段的代码段。 msdn2.microsoft.com 9. Defines the object fields of the code snippet that you can edit. 定义代码段的可编辑对象字段。 msdn2.microsoft.com 10. Listing 1 is a snippet from a RELAX NG schema that you might construct for this purpose. 清单1是来自一个RELAXNG模式的片段,您也许会构造这样的模式。 www-128.ibm.com 1. In the previous snippet, the phrase bash commands makes bash execute a list of commands found in the file tellme. 在前面的片段中,短语bashcommands告诉bash执行在文件tellme中找到的命令列表。 www.ibm.com 2. In tests, volunteers accurately judged a stranger's strength after hearing a brief snippet of speech. 在试验中,志愿者们在倾听过陌生人的简短发言后,就准确的判断出他的力量。 www.crazyenglish.org 3. It shows how you can replace element wildcards from the schema snippet in Listing 15 with an open content. 清单展示了如何用一个开放内容取代清单15中模式片段中的元素通配符。 www.ibm.com 4. Our batch file, shown in the following code snippet, is named wsdl2java. bat, and it resides in the working directory. 以下代码片段显示了名为wsdl2java.bat的批处理文件,它存在于工作目录中。 www.ibm.com 5. You can also use a Java snippet to implement simple business logic that does not involve the external Web services. 您也可以使用Java片断来执行简单的业务逻辑,而无需调用外部Web服务。 www.ibm.com 6. The ToolTip text is displayed when the mouse hovers over the literal or object after the code snippet has been inserted. 插入代码段后,当鼠标悬停于文本或对象上方时,便会显示工具提示文本。 msdn2.microsoft.com 7. The stripped-down code in this snippet is for demonstration purposes only; it will not compile. 此代码片段中的详细代码只是用于演示目的;将无法对其进行编译。 www.ibm.com 8. The corresponding code snippet is shown in Listing 6. 对应的代码片段如清单6所示。 www.ibm.com 9. A Java Snippet allows you to enter Java code. JavaSnippet允许用户输入Java代码。 www-128.ibm.com 10. Defines the literals of the code snippet that you can edit. 定义代码段的可编辑文本。 msdn2.microsoft.com 1. Finally, code snippet (4) inserts the payload from the original response into the response message structure. 最后,代码段(4)将原始响应的负载插入到响应消息结构中。 www.ibm.com 2. Specifies general information about the IntelliSense Code Snippet. 指定有关IntelliSense代码段的常规信息。 msdn2.microsoft.com 3. The following code snippet initializes a connection to a CM library server. 下面的代码片段初始化到一个CM库服务器的一个连接。 www.ibm.com 4. Listing 9: Global application extra-ctx. xml file snippet containing localization of annotation services. 清单9:Global应用的extra-ctx.xml文件片段,包含注解服务的本地化内容。 www.infoq.com 5. Continuing from the previous code snippet, you can pass text to Microsoft Word using LotusScript. 继续上面的代码片段,使用LotusScript向MicrosoftWord传递文本。 www.ibm.com 6. This snippet actually encodes HTML characters as HTML entity references. 这段代码实际上是将HTML符号编码为HTML实体引用。 www.ibm.com 7. Listing 2 shows a snippet of the Connectors. log file with an exception. 清单2给出Connectors.log文件的片段,其中包含一个异常。 www.ibm.com 8. A control structure node causes branching or looping within your visual snippet logic. 控制结构节点在可视代码片段逻辑中产生分支或循环。 www.ibm.com 9. Listing 3 shows a snippet from the monitor model that defines the inbound event parts, filter condition and correlation expression. 清单3显示摘自监视模型的代码片段,定义了入站事件部分、筛选条件和相关性表达式。 www.ibm.com 10. The variable comma in the code snippet below is needed to ensure that a comma is inserted before each field except for the very first field. 下方代码片段中的变量comma是必需的,除了首字段之外,要确保每个字段前面都插入了一个逗号。 www.ibm.com 1. The snippet shown in Listing 20 shows how to read from the internal private store. 清单20中的代码片段展示了如何从内部私有存储器读取数据。 www.ibm.com 2. The second statement of the preceding snippet registers an array of UpdatePanel controls with the client framework. 上述代码段的第二个语句向客户端框架注册了一组UpdatePanel控件。 blog.163.com 3. Locate the. Snippet file for the snippet that you want to edit. 查找要编辑的代码段的.snippet文件。 msdn2.microsoft.com 4. The following snippet shows the Java interface for a local service. 以下代码片段显示了本地服务的Java接口。 www.ibm.com 5. The first snippet in Listing 1 shows the common put-if-absent idiom -- if an entry does not already exist in the Map, add it. 清单1中第一片段展示了公用的put-if-absent语句块――如果一个条目不在Map中,那么添加这个条目。 www.ibm.com 6. Listing 2 is a snippet of an Ant script that demonstrates the junit task to execute a batch of unit tests. 清单2是一个Ant脚本片段,介绍了执行一批单元测试的junit任务。 www.ibm.com 7. Note that the preceding snippet assumes you're calling from within a CWnd-derived object. 注意前面的代码段假设你是从CWnd派生对象中调用。 blog.163.com 8. The Value property contains the literal code for this snippet expression. Value属性包含此小块表达式的原义代码。 msdn2.microsoft.com 9. If there are no SnippetTypes elements, the code snippet is always valid. 如果没有SnippetTypes元素,代码段将一直有效。 msdn2.microsoft.com 10. This code example is also available as an IntelliSense code snippet. 此代码示例也可用作IntelliSense代码段。 msdn2.microsoft.com 1. No two literals or objects in the same code snippet can have the same text value in their ID elements. 在同一代码段中,不能存在两个具有相同ID元素文本值的文本或对象。 msdn2.microsoft.com 2. The Imports element is used to group the necessary Imports statements for the code snippet. Imports元素用于对代码段的必要Imports语句进行分组。 msdn2.microsoft.com 3. The HTML below is a snippet of the code for a skin. 下面的HTML是皮肤代码的片断。 www-128.ibm.com 4. Code-snippet tasks range from creating a custom exception, to sending an e-mail message, to drawing a circle. 代码段任务的范围包括创建自定义异常、发送电子邮件消息以及绘制圆形等任务。 msdn2.microsoft.com 5. Listing 7 shows a snippet of the enumeration code from the gadget XML definition of the user preference for color. 清单7显示了来自用户颜色首选项的小部件XML定义的枚举代码片段。 www.ibm.com 6. Remember the brief snippet regarding how we are learning more about what aerobic exercise does for us earlier in this article? 记得在本文开始时提到为什么要了解有氧训练对我们的影响吗? bbs.ipaobu.com.cn 7. The References element is used to group the necessary references for the code snippet. References元素用于对代码段的必要引用进行分组。 msdn2.microsoft.com 8. The snippet will generate a console application popup, and Notepad will appear. 该代码片段将生成一个弹出式控制台应用程序,并且将显示记事本。 archive.cnblogs.com 9. It will also appear in the Visual Snippet folder as shown in Figure 4. 同时还出现在VisualSnippet文件夹中,如图4所示。 www.ibm.com 10. Of course this snippet would not compile by itself, but that is where Snippet Compiler comes into play. 当然该代码片段本身无法编译,而这正是SnippetCompiler的用武之地。 archive.cnblogs.com 1. The snippet below places the key on the top left corner, and sets a box around it. 下面的代码片段将关键字放在了左上角,并在它周围设置了一个框。 www.ibm.com 2. One item in this code snippet that should raise some eyebrows is the reference to the ServiceLocatorManager class. 代码片断中有一项应该增加一些内容,这是对ServiceLocatorManager类的引用。 www.ibm.com 3. The snippet should look familiar, albeit with small differences. 虽然有一些小差异,但是这个片段看起来应该很熟悉。 www.ibm.com 4. In the Snippet Compiler I would start by creating a new file which creates a small console application. 在SnippetCompiler中,我将通过新建一个能够创建小型控制台应用程序的文件开始。 unixlzx.blog.163.com 5. To manage your code snippet folders, select Code Snippets Manager from the Tools menu. 若要管理代码段文件夹,请在“工具”菜单中选择“代码段管理器”。 msdn2.microsoft.com 6. We have summarized each feature of the visual snippet editor. 前面已经总结了可视代码片段编辑器的每个特性。 www.ibm.com 7. Since there is no first class tooling in the Business Object Map editor for static relationships, you need to write a snippet. 由于在BusinessObjectMap编辑器中不存在用于静态关系的一流工具,所以您需要编写一个代码片段。 www.ibm.com 8. The snippet in Listing 3 shows an example of a typical incarnation of the onreadystatechange callback function. 清单3中的代码片段显示了onreadystatechange回调函数的典型实例化示例。 www.ibm.com 9. The snippet next extracts the payload of the request message. 接下来的代码段提取了请求消息的负载。 www.ibm.com 10. These women have typically more aggressive forms of breast cancer, and they use a snippet of the HER-2 protein to act as a vaccine. . . 这些妇女一般有较恶性的乳腺癌,而且他们使用HER-2蛋白的片断作为疫苗… zhaidou.com 1. To this snippet we want to add support for the 4th type of logon data, the trusted environment variable, in this example REMOTE_USER. 我们希望在这段代码中添加对第四类登录数据(可信的环境变量,在此示例中是REMOTE_USER)的支持。 www.ibm.com 2. From the Edit menu, select IntelliSense and then select the Insert Snippet command. 从“编辑”菜单中选择“IntelliSense”,然后选择“插入代码段”命令。 msdn2.microsoft.com 3. Listing 3 shows the code snippet for testing whether the portlet is navigated to Edit mode. 清单3显示了一个代码片段,用于测试是否将portlet导航到Edit模式。 www.ibm.com 4. For example, a code snippet to draw a line on a form has values for the color, location, and length of the line. 例如,用来在窗体上绘制一条直线的代码段有直线的颜色、位置和长度这些值。 msdn2.microsoft.com 5. A Java snippet is similar to an empty or an assign activity in that it is short-lived. Java片断因为是短期的活动,所以它与空活动或者分配活动相类似。 www-128.ibm.com 6. When you add a snippet to your code, the inserted snippet code has one or more replacement points highlighted in the code. 将代码段添加到代码中后,插入的代码段代码在代码中有一个或多个突出显示的替换点。 msdn2.microsoft.com 7. Listing 6 is a snippet of a script that executes an XSLT transform. 清单6是一个执行XSLT转换的脚本片段。 www.ibm.com 8. We examine code snippets for each agent, explaining what each snippet is doing. 我们研究每个代理的代码片段,解释每个片段所做的工作。 www.ibm.com 9. The first field holds the EJB reference name for the EJB reference that was selected in the EJB snippet wizard. 第一个字段包含了EJB代码片段向导里选中的EJB引用的名称。 www.ibm.com 10. Figure 5 shows the dialog box in which you can select a visual snippet; in this case, the endsWith method of the Java string class. 图5显示了可以在其中选择一个可视代码片段的对话框,在本例中,选择了Java字符串类的endsWith方法。 www.ibm.com |
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。