在覆盖函数时,这常常提供一个好起点。
This usually provides a good starting point as to what function to override.
利用算例分析了用这种方法计算的两套覆盖函数的收敛率。
Convergence rates are also studied with examples and they are approximately equal in the NMM and the conventional FEM analyses for both material cases.
该方法基于单位分解(PU)框架,定义了带分析信息的增强覆盖函数,建立场量函数的近似公式表达。
Under the framework of partition of unit (PU) in the method, enrichment cover functions with the known analyzed information were defined, and the formulation of approximate field function was built.
因为可以把这些探测放在任何地方以表示操作的开始和结束,所以它们可以跨多个函数,也可以只覆盖函数中的一小部分。
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.
将本地列定义为DATE类型比较方便,因为这样可以允许涉及DATE文字但是不需要覆盖函数(对性能有影响)的谓词。
Defining the local column as DATE is convenient because it allows predicates that involve DATE literals, but does not require casting functions (which tend to impact performance).
还可以更进一步,可以在这个覆盖函数中定义一个文件名,从而让Drupal使用一个模板文件定义这个列表的显示,见清单10。
Taking this one step further, we can tell Drupal to use a template file to define the presentation of this list by defining the file name within this overriding function, as shown in Listing 10.
从而能够进行高覆盖和可变性的函数测试。
This allows for a higher degree of coverage and variability of functional testing.
最后,如果覆盖或过载成员函数并更改其同步,则也应该写明原因。
Finally, if you override or overload a member function and change its synchronization, you should also document why.
只要从生成的c中复制并粘贴相关函数,添加有魔力的覆盖行并编辑该代码,直到它如您所愿。
Simply copy and paste the relevant function from the generated c, add the magic override line, and edit the code until it does what you want.
虽然还有一些遍历函数没有提到,但这里覆盖了大多数常见的需求。
Though there are other traversal methods, those discussed here cover most of the typical needs.
在下一小节,我们将了解如何在名称空间内覆盖内部函数。
In the next section, we see how we can even override internal functions in a namespace.
这正是文件名的意义所在:该文件主要包含手工覆盖的包装器函数。
This is where the name for the file makes sense: this file mainly contains manually overridden wrapper functions.
覆盖现有的主题函数是主题定制的另一个重要方面。
Overriding existing theme functions is another important part of theme customization.
在覆盖的函数中,我们在链接列表外边加上DIV元素并返回产生的字符串。
In the overriding function, we are wrapping the DIV element around the delimited list of links and returning the resulting string.
所以,通过使用图6所示的流程,我们应该能够使用phptemplate_links函数覆盖它。
So, using the flow as described in Figure 6, we should be able to override this using a function called phptemplate_links.
很多可覆盖的函数都会处理用户授权,比如登录、设置cookie以及发送不同事件的通知。
Many of the overridable functions deal with user authorization, such as logging in, setting cookies, and notification of different events.
正如前面所解释的,可以使用主题目录中的template . php文件覆盖主题函数。
As explained earlier, we can use the template.php file in the theme directory to override theme functions.
除了添加过滤器和动作外,还可以覆盖WordPress内的函数。
In addition to adding filters and actions, you can override functions in WordPress.
在这个脚本标签中,我们还要通过覆盖response和displayjsonobj函数来向用户显示查询结果。
Within this script tag, we also override response and displayJSONobj functions to display query result to users.
在清单2中,要覆盖它,需要将它设置为等同于能接受单一参数的函数,名为event。
In Listing 2, to override this, set it equal to a function that accepts a single parameter called event.
当运行pc _ select时,它会搜索所有的覆盖率文件,并识别执行每一个更改函数的覆盖率文件。
When pc_select runs, it searches all the coverage files, and identifies each coverage file that exercises any function that was modified.
还可以使用.theme文件,在其中可以覆盖任何PHP主题函数。
You could also use a.theme file in which you can override any PHP theme functions.
除了前面描述的hook(包括action和filter)之外,另一个修改WordPress行为的插件编写方法是覆盖WordPress函数。
Besides the hooks (actions and filters) described above, another way for a plugin to modify WordPress's behavior is to override WordPress functions.
要启用被禁用了的节点函数,只需覆盖onClick以针对禁用节点返回。
To disable the disabled nodes function, we will simply override the onClick to return for the disabled nodes.
代码非常简单,只需要覆盖compare()函数。
The code is very simple; you simply override the compare() function.
函数名加上函数的覆盖率信息
The name of the function plus the coverage information for the function
覆盖的函数均在WordPress主目录中的pluggable.php文件内定义。
The functions you can override are defined in the pluggable.php file in your WordPress home directory.
图12:您为您所指定的函数得到覆盖率信息。
Figure 12: you get coverage information for the function you specify.
在您运行脚本时,您为您所指定的函数得到覆盖率信息,如图12所示。
When you run the script, you get coverage information for the function you specify, as shown in Figure 12.
在实际中,此函数可用于以下情况:公司希望知道其业务中心(点轮廓)5000米(或任何其他数字)范围内的服务覆盖情况。
In practice, this function can be used in such case in which a company may want to know the service coverage within 5000 (or any other number) meters of its business centers (point features).
应用推荐