经修改的操作系统通过泛虚拟的hypervisor所支持的“超级调用(hypercalls)”直接与硬件打交道。
Modified operating systems use the "hypercalls" supported by the paravirtualized hypervisor to interface directly with the hardware.
调用进程的有效用户ID必须是超级用户,或者可以与该信号量集的创建者或所有者匹配的用户。
The effective user ID of the calling process must be that of the super-user or match the creator or owner of the semaphore set.
在我们希望允许类继承类型参数时立即出现的紧迫问题是要决定我们能调用什么样的超级构造函数?
An immediate and pressing problem that arises as soon as we want to allow for classes that extend a type parameter is to decide what super-constructors are we able to call?
因此,当类型参数t用作泛型类的超类时,T的注释确切地告知我们可以调用哪些超级构造函数。
Thus, when a type parameter t is used as the superclass of a generic class, the annotation on t tells us exactly what super-constructors we can call.
通常,通过查找超类并确保存在匹配的超级构造函数,类型检查器确保这些超级构造函数调用会成功。
Normally, the type checker ensures that these super-constructor calls will succeed by looking up the superclass and making sure that a matching super-constructor exists.
而且请注意,类型检查器甚至不能检查是否每个mixin实例化都会产生有效的超级构造函数调用。
Also notice that the type checker can't even check that every instantiation of a mixin will result in valid super-constructor calls.
除非我们知道将类型参数t实例化为JSplitPanes的一切方法,否则我们不能知道在Scrollable中调用的超级构造函数是否有效。
We can't know whether the super-constructors called in Scrollable are valid unless we know all the ways in which type parameter t is instantiated for JSplitPanes.
我们还有一个超级强大的异步api,它可以保证同步的网络调用以及异步调用的并行性及可伸缩性。
We also have a powerful new asynchronous API, which gives you all of the guarantees of synchronous network calls along with the parallelism and scalability of asynchronous ones. For example.
如果我把超级构造函数调用从类文件吗?
What happens if I remove the super constructor call from class file?
没有必要在第二函数调用[超级初始化],假设这些都在同一班,我推断出由于你的评论。
There is no need to call [super init] in the second function, assuming these are both on the same class, which I inferred due to your comment.
没有必要在第二函数调用[超级初始化],假设这些都在同一班,我推断出由于你的评论。
There is no need to call [super init] in the second function, assuming these are both on the same class, which I inferred due to your comment.
应用推荐