has accessed
获得
有 机会 获得
可以 访问
访问
接触
进入
享有
能够 得到
有 机会 接触
获取 calls
呼吁
叫
称之为
呼叫
打电话给
要求
电话
调用
称
请 call
呼吁
叫
称之为
呼叫
打电话给
要求
电话
调用
称
请
这样的话,如果有两个线程同时调用了 Singleton::getInstance,将只有其中之一会创建这个单例。 That way, if two threads call Singleton::getInstance simultaneously, only one of them will create the singleton. In the previous example, you called a function that you wrote yourself. 借助base关键字,我们也调用了 Base类的Info()方法。 With the help of the base keyword, we invoke the Info() method of the Base class too. 就在近期纽约证券交易所调用了 “48规则”,这能够帮助他们在面对一个大的下滑时改变规则。 Just recently the New York Stock Exchange invoked “Rule 48” which altered their rules in the face of a big decline. 在调用该方法之后,它们会自动等待到其它进程调用了 condition.notify()或condition.notifyAll()函数。 After calling this method, they automatically wait until some other process calls the condition. notify() or condition. notifyAll() function.
之后,我们调用了 second(),所以second()函数就被压入栈顶。 After it, we call second(), so the second() function is pushed to the top of the stack. Even if g is called once f is done running, it will be able to access and modify a. 最后,我们调用了 async函数,这个函数只是简单的生成了一个封装调用其他promise的promise。 Finally, we invoke the async function which simply spawns a promise which encapsulates the logic of invoking the other promises. 还可以进一步假设上面省略掉的定义中包含base属性而且调用了 原型链中高于它们的构造器。 Further assume that the definitions omitted here have the base property and call the constructor above them in the prototype chain. 单击该按钮时调用了StatelessSessionBean类中的sayHello方法,并再次调用了 init方法。 Clicking the button invoked the sayHello method in the StatelessSessionBean class and invoked the init method again. 你在命令行里调用了 Python解释器,然后你传递了你想让Python去执行的脚本名。 You called the Python interpreter on the command line, and you passed the name of the script you wanted Python to execute. 那时我们说过不必担心低效的clone调用了 ,因为将来可以对他们进行改进。 At the time, we said not to worry about the inefficient clone calls here because we would remove them in the future. 在<defs>中定义的元素不会在画布中渲染出来,除非你在文档的某个位置调用了 它们。 Elements defined inside a<defs> element are not rendered on the canvas except if you“call ” them somewhere in the document. 在这个例子中,我们在print语句中调用了 sort()方法。 In this example, we called the sort() method in the print statement. 对Primes对象的每一次迭代都调用了 __next__来生成下一个素数。 Every iteration of the Primes object calls __next__ to generate the next prime number. 需要注意,我们在target变量中存储了一个匿名函数,然后调用了 record函数。 Note that we store the anonymous function in the target variable, and then call the record function. 这本书的上半部分你打印了一些东西,而且调用了 函数,不过一切都是直线式进行的。 In the first half of this book you mostly just printed out things called functions, but everything was basically in a straight line. When h is applied to y, it calls f(x, y). 分析可以让你了解你的程序在哪个地方花了多少时间,以及哪些函数在被执行的过程中调用了 其它哪些函数。 Profiling allows you to learn where your program spent its time and which functions called which other functions while it was executing. 最下边的那个循环在每一个进程上调用了 join()方法,它将告诉Python等待进程结束。 The very last loop just calls the join() method on each process, which tells Python to wait for the process to terminate.
Display more examples
Results: 87 ,
Time: 0.0467