我在这儿写了一个小函数。
支持HTML中调用函数的是两个小函数。
Supporting the functions called in the HTML are a couple small support functions. Listing 4 looks at them.
这是一个用常量2来乘以一个整数的小函数。
It is a simple function in Pascal with multiplies an integer with the constant 2.
把函数分解成小函数当然会带来大量的小函数。
Breaking methods up into smaller ones obviously leads to lots of smaller methods.
开始,你可能会发现使用大量小函数更加困难。
Initially, you may find it more difficult to work with code with lots of methods.
经常遇到的对于小函数的抵抗是它会降低系统性能。
One oft-repeated resistance to short methods is that it can degrade performance in your system.
如果要测试这个小函数,惟一的方法是检查数据库中的posts表。
If you test this little function, the only way you know that it works is by checking the posts table in the database.
主要讨论了高阶齐次线性微分方程解取小函数的点的收敛指数。
In this paper, we investigate the problem of the convergence of zeros of the solution of higher order linear differential equation to small order of growth function.
为了填充该表,我们创建了一个小函数:AddCompletion 。
To populate the table, we create a small function: AddCompletion .
主要讨论了高阶齐次线性微分方程解取小函数的点的收敛指数。
The Exponential Convergence and Boundedness of the Solutions for Functional Differential Equations;
函数preg_split和preg_grep是优秀的小函数。
The functions preg_split and preg_grep are great little functions.
在初始的学习曲线之后,小函数使得你更容易理解一个类要做什么。
After the initial learning curve, smaller methods make it far easier to understand what a class does.
本节包含很多小函数,每个函数负责在实现拖放功能时处理一些烦人的重复工作。
This section contains a lot of small functions, each of which takes care of a bit of the annoying boilerplate that usually comes with implementing drag-and-drop functions.
采用权分担值的思想讨论了整函数关于微分多项式分担一个小函数的唯一性问题。
Using the idea of weighted sharing, deal with the uniqueness problems on entire functions concerning differential polynomials.
本文证明了与三个CM公共小函数有关的一个亚纯函数的唯一性定理,改进了R。
In this paper, we have proved a Unicity theorem concerning three distinct small functions Shared CM, which improves the results given by r.
在进入下一个阶段之前,还需要编写一个小函数,该函数将返回当前用户正在追随的用户。
Before moving on to the next phase, it makes sense to write a small function that tells you who the current user is already following.
关于性能的规则总是:先让它跑起来,然后让它正确(比如小函数),然后让它快起来(优化)。
The rule of performance is always: make it run, make it right (e. g. small methods), make it fast (optimize).
在本例中,数据库查询只返回单个表的行,您也许要编写一个php小函数对XML标记中的每一列进行打包。
For this example, in which the database query only returns the rows of a single table, you might just write a small PHP function to wrap each column in an XML tag.
这个函数是在所生成的解析器检测到语法错误时调用的,它又会调用一个小函数printerror,后者会打印增强的错误消息。
This function is called when the generated parser detects a syntax error, invoking in turn the trivial function PrintError , which prints enhanced error messages.
纯洁性也有利于测试,尤其当程序的结构是由许多小函数嵌合而成的时候;比如Haskell的纯洁性就有效地降低了通过QuickCheck(译注:Haskell开源测试框架)进行测试的难度。
Purity also facilitates testing, for instance through QuickCheck, especially if the program is structured around a lot of small functions combined together.
每个HTML页面都变成一个只有有限几行的小php脚本,日期函数隐藏在某个地方。
Every HTML page turns into a small PHP script with a skimpy line with the date function tucked in somewhere.
如果它足够小,那么它的波函数也会穿越对它足够大的空间而传播,在同一时刻穿过一个以上的缝隙。
If it is small enough, then its wave function will also spread out over a space large enough for it to penetrate more than one slit simultaneously.
它提供的教程以说明性的小案例研究的形式介绍了这些函数。
It also comes with a tutorial that introduces these functions in the context of illustrative mini case studies.
每个函数都相当小,但是它们隐藏了大量烦人的细节。
Each function is relatively small, but all together, the functions serve to hide a lot of annoying details.
还可以展开跟踪中的条目(单击名称左边的向右小箭头),查看函数的形式参数的值。
You can also expand an entry in a backtrace — click the little right arrow to the left of the name — to see the values of the function's formal arguments.
现在,我有一个叫做单元测试股票,的测试程序,called,unit,test,stock。,我一开始没把它当成函数,我写了几行小代码。后来我发现我太笨了,因为我会用上很多次这段语句。
So, I now have this unit test program unit test stock I originally did not make it a function, I had it in-line, and I realized that was really stupid, because I wanted to do it a lot of times.
file函数使导入一个小ascii文本文件变得非常容易,但不要将它用于很大的文件。
The file function makes it a snap to import a short ASCII text file, but don't use it on very large files.
本系列的 使用脚本编写 Vim 编辑器,第 3 部分:内置列表用一个在指定文本周围生成评论框的小例子,解释了Vimscript 的variadic函数参数。
The third article in this series explained Vimscript's variadic function arguments with a small example that generated comment boxes around a specified text.
我们把它简称为,两个指定的量子数n和,它是半径小r的函数。
R And we abbreviate that by calling it r, l by two quantum numbers, and an l as a function of little r, radius.
顺便说下在这儿我有个小恶作剧,在这个函数中,我使用了raw,input方法。
I'm doing a little trick by the way, I'm using raw input in my function here as a just a way to stop the display.
应用推荐