When you call a function, what actually happens is that function gets its own chunk of memory that's identical in size to the data type that it expects.
当你调用一个函数,实际上发生的是函数得到了自己的内存块,它的大小与它期望的数据类型相同。
You may find you need to call a function in your Dojo widget from your Flex code.
您将会发现需要从Flex代码中的Dojo小部件内调用函数。
Listing 4 demonstrates the different ways to call a function bar in namespace Foo.
清单4演示了在名称空间foo内调用函数bar的不同方法。
When you want to change one of these attributes, you call a function that does so.
当你想改变这些属性之一时,你调用这样做的函数。
Which is how you call a function in Vimscript when you intend to ignore the return value.
这就是希望忽略返回值时,在Vimscript中调用函数的方式。
In the interactive interpreter, whenever you evaluate an expression or call a function.
在交互式命令行中,无论你是执行一条语句还是调用一个函数。
You want to call a function that takes no arguments, but don't want to use parentheses.
你想调用一个无参数的函数,但是你不想使用括号。
To call a function, you push first the function, then the arguments it will take (in order).
要调用一个函数,首先要push该函数,然后push该函数?带的参数(按顺序)。
The only thing you need to do to call a function is specify a value (somehow) for each required argument;
在调用函数的时候,你唯一需要做的就是以某种方式确定必须的参数。
This side file is really a file that holds binder instructions telling it the module it needs to call a function.
这个副文件实际上包含绑定器指令,它告诉绑定器需要使用哪个模块调用函数。
More concretely, you can think of a message as a request to call a function that belongs to a particular object.
具体地说,你可以把一个消息当作向一个特殊的对象发送一个执行特定函数的请求。
Another advantage is that if you reuse the code, it is more concise to call a function twice than to copy and paste the body!
另外一个好处是下次重复使用这段代码的时候,再次调用函数就可以了,这比复制粘贴函数体可方便多了。
The best way to know when a tag is loaded is to have the script that the tag returns call a function instead of simply loading data.
获悉标记何时加载的最好的方法是让标记返回的脚本调用函数而不是简单地加载数据。
To call a function and use its return value as part of a larger expression, simply name it and append a parenthesized argument list.
要调用函数并使用它的返回值作为语言表达式的一部分,只需要命名它并附加一个使用圆括号括起的参数列表。
It is also a reminder about how arguments and parameters work: when you call a function, the arguments are assigned to the parameters.
也能提醒实际参数和形式参数的使用过程:调用一个函数的时候,把实际参数的值赋给了形式参数。
For instance, if two threads both call a function, such as asctime (which USES a single static data area), they can produce surprising results.
例如,如果两个线程同时调用一个函数,如asctime(它使用一个静态的数据区),会产生不可思议的结果。
From inside my callback handler, I need to call a function I've defined in my script, but I need the function to execute in the main thread.
从我的回调函数里面,我需要调用一个函数在我的脚本定义的,但我需要的功能在主线程上执行。
Each time a timetick event occurs in FadeIn state, the handleEvent method will call a function that increases the opacity of the tooltip slightly.
每当在FadeIn状态下发生timetick事件时,handleEvent方法将调用一个函数,它略微增加工具提示的不透明度。
It's only when you call a function contained within the module that the AutoLoader steps in and then loads and compiles the code only for that function.
只有在调用autoloader加载的模块中包含的函数、然后为该函数加载并编译代码时,才会执行这项操作。
It's always better to call a function once with all the data it needs to process rather than to call it multiple times and to feed it data incrementally.
用函数需要处理的所有数据一次性调用函数,始终优于多次调用函数,并以增量的方式为其提供数据。
When we start talking to the library about something, we call a function called newsession that returns a void pointer (not an unusual way to organize things).
当我们开始与库交流时,我们调用一个名为 newsession 的函数,它会返回一个空指针(这是组织事情的惯用方法)。
However, to call a named template requires more XSLT instructions, while to call a function is more compact and can easily be embedded in an XPath expression.
但是调用命名模板需要更多的XSLT指令,调用函数则更紧凑而且很容易嵌入到XPath表达式中。
Well, if you want to call a function, it's like putting another tray on that stack of trays and that tray represents a chunk of memory that, that function can use.
嗯,如果你想调用一个函数,这就像把一个托盘放到另一个托盘上,托盘代表一块,函数可以使用的内存。
When a mouseout event occurs, your code will call a function that cancels the timer started earlier in this section, and then transitions back to Inactive state.
当发生mouseout事件时,代码调用一个函数,它会取消本节前面启动的计时器,然后转换回Inactive状态。
When a program needs a service performed, it can call a function to perform the service and then pick up where it left off when the function is finished running.
当一个程序要执行一项服务,它可以去调用一个函数执行这个服务,当函数完成后返回到调用处。
In other words, if you call a function that changes the value of an atom, then when that function returns, you are guaranteed that all threads will see the new value.
换句话说,如果调用了改变atom值的函数,那么当该函数结果返回时,可以确保所有的线程都能看到新值。
We execute a member function in much the same way as we do any function: To call a function, we follow the function name by the call operator (the "()" operator).
执行成员函数和执行其他函数相似:要调用函数,可将调用操作符(())放在函数名之后。
After we determine that a document is either being edited, or published, we call a function to verify the document is configured for Domino document Manager integration.
在确定文件正在编辑或正在发布以后,我们调用一个函数来验证该文档是否配置为进行DominoDocumentManager集成的。
Every time you call a function that can return an error, you need to be careful to check that your request produced the result you expected (or handle the error if it didn't).
每次您调用一个可以返回错误值的函数时,就必须小心地检查请求所生成的结果正是您所希望的(如果不是,就需要对错误进行处理)。
Every time you call a function that can return an error, you need to be careful to check that your request produced the result you expected (or handle the error if it didn't).
每次您调用一个可以返回错误值的函数时,就必须小心地检查请求所生成的结果正是您所希望的(如果不是,就需要对错误进行处理)。
应用推荐