The reason I like this code is because it is simple to use (only 1 line), and gives you some control over your own namespace.
我喜欢该代码的原因是它简单易用(只有1行),并且能够让您在某种程度上控制自己的名称空间。
This simple piece of code sets up a connection with the specified server on the specified port, then sends the text passed to it on the command line on to the server.
这段简单的代码将在指定的端口设置与指定服务器的连接,然后将命令行中传递给它的文本发送到服务器上。
For example, a probe can represent something as simple as invoking a system call or more complicated interactions such as a particular line of code being executed.
例如,探针可以表示简单的系统调用,也可以表示更加复杂的交互,比如执行特定的代码行。
But developing the line of code that changes the page is simple, and variations of the code can be tested until it works perfectly.
但是开发能更改页面的代码很简单,而且还可以对代码进行测试直到它能很好地工作为止。
Improving the performance of this loop is very simple and doesn't even require an additional line of code (see Listing 9).
提高循环性能的方法很简单,甚至不需多加一行代码(见清单9)。
In fact, for 4 of them, it's as simple as changing one line of code.
事实上,其中4个步骤仅需修改一行代码。
If instead the preceding code did not contain line 2 and if you used a second button with an Open page simple action to go to page2, the computed field would come back empty.
如果上述代码中不包含第二行内容,并且使用带有简单操作Openpage的第二个按钮以转到page2,那么computed字段将返回空值。
Simple access to the parts within an Open XML document, relative to other existing APIs (example: one line of code to retrieve or replace a part).
简化对OpenXML文档中各种部件、以及其它现有API的访问(例如:可以通过一行代码获得或替换一个部件)。
This was done by simple substitution of the arguments passed to STRCMP into a line of assembly code.
这个过程只是将传递到strcmp的参数替换到一行汇编代码中。
Now, there's a cost-effective means of seeing how usable your pages are: Userfly, a simple way to test your site's usability for free - with one line of code.
现在有了一个更好的办法测试网页的可用性,Userfly,你可以用它免费测试你的网站可用性,并且只需要一行代码。
Note that it can have zero or one values, so you cannot use simple databinding to show the result. Instead, you can write one line of code in the Page_Load to determine the value, and then print it.
注意,Employee可以有零个或多个值,因此无法使用简单的数据绑定来显示结果。
This usually resembles Listing 4 in code, which shows a simple XML parse, using a command-line argument as the filename of the XML document to parse.
这些代码通常与清单4类似,其中展示了一个简单的XML解析,使用命令行参数作为要解析的 XML文档的文件名。
In a simple command-line script, I favor the brevity of the code in Listing 19.
对于一个简单的命令行脚本中,我欣赏清单19中的代码的简洁性。
Using this technique, a simple 10-line matrix multiply routine could expand to hundreds of lines of code that performs on the order of magnitudes better.
通过使用这种技术,10行的矩阵相乘例程可以展开成数百行代码,性能可以提高几个数量级。
You can complete the simple windows application by just adding a single line of code to the Load event of the form to fill the DataAdapter using the DataSet.
可以通过仅将单行代码添加到窗体的Load事件并使用DataSet填充DataAdapter来完成简单的Windows应用程序。
As a result, implementing the new validation scheme should be fairly simple: I won't need to change a single line of the code that USES the User interface.
因此,实现新的验证方案应当会非常简单:对于使用User接口的代码,我一行也不用修改。
Some existing one-line wrapper functions -- like children(), text(), and attributes() -- make the code look a bit nicer, but are themselves extremely simple filters.
某些已有的单行包装器函数,如children()、text()和attributes(),让代码看起来很美观,但这只是极其简单的过滤器。
If Internet Explorer isn't your browser of choice or you write code for non-Microsoft browsers, then you need different code. In fact, this is the really simple line of code you saw back in Listing 1.
如果选择的浏览器不是InternetExplorer,或者为非Microsoft浏览器编写代码,就需要使用不同的代码。
This is a straight line cutting code, simple and easy. their input and can cut the rectangular coordinates and linear coordinates.
这是一个实现直线裁剪的代码,简单好用,并能自己输入裁剪矩形的坐标和直线的坐标。
This is a straight line cutting code, simple and easy. their input and can cut the rectangular coordinates and linear coordinates.
这是一个实现直线裁剪的代码,简单好用,并能自己输入裁剪矩形的坐标和直线的坐标。
应用推荐