Download for Windows Premium
Publicidade
into a function

Tradução de "into a function" em chinês

Não foi possível encontrar esta entrada. Mostrando resultados aproximados. Verifique a ortografia ou proponha a adição deste termo ao dicionário.
到一个方法
This thread has called into a function that cannot be displayed.
此线程调用了无法显示的函数。
First let's turn the old texture creation code into a function
首先让我们把以前创建纹理的代码写到一个方法里
If the function or procedure is able to assign values to its parameters, only its local variable is assigned-that is, anything passed into a function call is unchanged in the caller's scope when the function returns.
如果函数或过程能把值赋给它的形式参数,则被赋值的只是局部拷贝 - 就是说,在函数返回后调用者作用域里的曾传给函数的任何东西都不会变。
In an reference variable is passed into a function, the function works on the original copy (instead of a clone copy in pass-by-value).
C语言中函数的原型申明是被建议的,但调用处后面的函数的确可以不申明。
Then we put together the requesting and error-handling code into a function that fetches the url and treats any non-200 status as an error. That's convenient, because we often need such logic.
然后我们把请求和错误处理代码放到一个方法,该方法会 fetch url,并且把任何非 200 状态的响应当成一种错误。这很方便,因为我们经常需要这样的逻辑。
Let's make the code that defines a rectangle into a function so we can call it for different sized rectangles. While we're at it we'll make the color settable.
让我们来定义一个可以生成矩形的方法,这样我们就可以调用它定义形状不一的多个矩形。 同时我们需要矩形的颜色是可设置的。
The compiler's preprocessor will, when using PHP 5.3 transform this into a function like this
编译器的预处理器会使用 PHP 5.3 将此转换为如下函数:
First let's change the code that loads an image into a function. It's pretty straightforward. It creates a new Image object, sets the URL to load, and sets a callback to be called when the image finishes loading.
首先修改加载单个图像的方法,非常简单, 先创建一个新的 Image 对象,设置加载的url,然后设置回调函数在图像加载完成后调用。
But new Function allows to turn any string into a function. For example, we can receive a new function from a server and then execute it
但是 new Function 允许我们把字符串变为函数,所以现在我们完全可以从服务器获取并执行一个新的函数:
The Node model works well if your main performance problem is I/O. However, its achilles heel is that you can go into a function that is handling an HTTP request and put in CPU-intensive code and bring every connection to a crawl if you're not careful.
如果你主要的性能问题在于I/O,那么Node模型能很好地工作。然而,它的阿喀琉斯之踵(译者注:来自希腊神话,表示致命的弱点)是如果不小心的话,你可能会在某个函数里处理HTTP请求并放置CPU密集型代码,最后使得每个连接慢得如蜗牛。
"Promisification" is a long word for a simple's the conversion of a function that accepts a callback into a function that returns a promise.
"Promisification" 是用于一个简单转换的一个长单词。它指将一个接受回调的函数转换为一个返回 promise 的函数。
Não foram achados resultados para esta acepção.
Assine o Premium para desbloquear milhões de exemplos de tradução, salvar e aprender vocabulário sem limites e usar o serviço sem anúncios.

Sinônimos e analogias para "into a function" em inglês

Palavra e Expressão do Dia
Imagem do dia
tree stump: base of a tree left after cutting
Descubra o significado
Publicidade

Resultados: 11. Exatos: 11. Tempo de resposta: 189 ms.