Rails更喜欢清楚的代码而不是配置文件,而Ruby语言的动态性质在运行时生成了大部分管道代码。
Rails prefers explicit code instead of configuration files, and the dynamic nature of the Ruby language generates much of the plumbing code at runtime.
要完成这些工作需要有许多管道代码(Plumbing Code),因为对于CLR而言,byref声明需要有确切的类型……
There is a lot of plumbing code required to make this work because on the CLR side byref arguments need to be of exact type ...
清单4中的代码展示了在UNIX中使用指定管道的示例。
The code in Listing 4 shows an example of using a named pipe in UNIX.
构建管道的用途是异步地执行长时间运行的过程,这样的话,开发人员签入代码之后,不需要长时间等待反馈。
The purpose of a build pipeline is to execute longer-running processes, in essence, asynchronously, so that once someone has checked in code, they're not delayed in receiving feedback.
相同的管道结构使得为POWER4 所生成的处理器代码可以同样好地应用于基于 POWER5 处理器的系统。
The identical pipeline structure lets compiler optimizations targeted for POWER4 to work equally well on POWER5 processor-based systems.
代码的下一部分将通过vmstat命令创建一个管道,程序将在其中每秒读取一次数据。
The next section of code creates a pipe from the vmstat command, where the program will read data once per second.
下面的代码执行前面扩展的管道示例并把输出重定向到同一个文件(ps_out),但是追加到当前数据后面。
The following code executes the earlier extended pipeline example and redirects the output to the same file-ps_out-but appends to the current data.
使用该示例代码,您可以创建供 DB2LOAD命令使用的Windows管道。
The sample code lets you create a Windows pipe that can be used by the DB2 LOAD command.
完整语法的范围更加广泛,并且您可以使用它来创建更复杂和有趣的管道,包括那些可以从代码中创建的管道。
The full syntax is a bit bigger, and you can use it to create much more complex and interesting pipelines -- including the ones you create from your code.
上述代码会获得请求参数以及图像名称、在数据库中查找它并返回所有有关此图像的信息(由管道符|分隔),正如规范所规定的一样。
This basically grabs the request parameter with the image name, looks it up in the database, and returns all the information about that image, separated by pipes (| s), just like the spec said.
脚本的返回代码会指示是否允许数据块继续位于流中,也就是说,是使它流向管道还是跳过它。
The return code of the scripts will indicate if the chunk is allowed to continue in the flow, that is, going to the pipelines or is skipped.
看一下管道符前面的代码,它创建文件的字节流并发送到标准输出。
In looking at the previous code before the pipe, a byte stream of the files is created on the standard output.
例如,如果执行一个构建过程要花10分钟以上,那么可以创建一个构建管道,在某人将代码提交到存储库之后,它会运行一个初步的轻型构建。
For instance, if a build takes more than 10 minutes to execute, a build pipeline can be established so that after someone commits code into a repository, an initial, lightweight build is run.
使用清单3中的代码在Windows上创建一个指定管道(使用在Pipes . h头文件中声明并在Pipe . c代码中实现的本机方法。)
Use the code in Listing 3 to create a named pipe on Windows using the native methods declared in the Pipes.h header file and implemented in the pipe.c.
一旦创建,管道可以构建代码并编排从提交到交付的应用所需的工作。
Once created, pipelines can build code and orchestrate the work required to drive applications from commit to delivery.
我们从来不会遇到无法用管道胶带(ducttape)[1]、临时衣架(jury - riggedcoat hanger)或是一小撮代码(a pinch of code)[2]解决的问题。
We never met a problem we couldn't solve with some duct tape, a jury-rigged coat hanger, and a pinch of code.
这将允许更多的延迟隐藏和更少的指令管道摊位,和代码运行更快。
This allows more latency hiding and less instruction pipeline stalls, and the code runs faster as a result.
对异种数据库的转化采用数据管道技术,并给出部分代码实现。
It utilizes data pipeline technology to translate data between heterogeneous databases and gives part of codes.
如果调用代码捕获了异常,则管道使用者仍将看到错误,但不会有重复错误。
If the calling code does catch the exception, the pipe consumer will still see the error, but there will not be a duplicate error.
它也并不意味着所有的管道1961年以来有星期代码。
It also does not mean that all tubes made since 1961 have the week code.
它也并不意味着所有的管道1961年以来有星期代码。
It also does not mean that all tubes made since 1961 have the week code.
应用推荐