If a client can call a method or access a field, test it.
如果客户机能够调用方法或访问字段,那么就测试它。
These fall into three categories: method call transformations, field access transformations, and a new object transformation.
转换类型可分为三类:方法调用转换、字段访问转换和新对象转换。
Back in Part 2, I showed how reflection is many times slower than direct code for both field access and method calls.
在第2部分,我展示了无论是对于字段访问还是方法调用,反射都比直接代码慢很多倍。
For method calls, I tried the same three access variations as for field access, with the added variable of using no-argument methods versus passing and returning a value on the method calls.
在方法调用中,我试用了与字段接入相同的三种接入变量,并增加了使用无参数方法变量,而不是在方法调用中传递和返回一个值。
This flag allows the runtime to execute the type constructor method at any time it chooses, as long as the method executes before the first access to a static field for the type.
此标志使得运行库能够在任何时候执行类型构造函数方法,只要该方法在第一次访问该类型的静态字段之前执行即可。
Besides the field access time tests, I did the same sort of timing test for method calls.
除了字段接入时间测试之外,我还进行了相同的方法调用时间测试。
Reflection is much slower than direct code when used for field and method access.
当用于字段和方法接入时反射要远慢于直接代码。
The inner class code calls these static methods whenever it needs to access the mValue field or invoke the doStuff method in the outer class.
内部类会在外部类中任何需要访问mValue字段或调用doStuff方法的地方调用这些静态方法。
Second, given that this task class is a Runnable, the result of the array access needs to be assigned to the state field (and state needs to be used in an overriding toString method) to prevent DCE.
第二,既然这个任务类是Runnable,为了防止DCE,必须把数组访问的结果赋值给state字段(以及覆盖的toString方法中需要使用的state)。
The XForms model is part of the page's DOM, so you just use the document.getElementById() method, just like you would do to access an HTML div or an HTML input field.
XForms模型是页面DOM 的一部分,因此您只需使用document.getElementById()方法,正如您访问HTMLdiv或 HTML 输入字段那样。
The invention provides a multi-source access control method and a multi-source access control device for a register, and relates to the technical field of memory access.
本发明提供了一种寄存器多源访问控制方法和装置,涉及存储访问技术领域。
This exception is typically thrown when a field or method is deleted or renamed in one assembly, and the change is not reflected in a second assembly that is trying to access the missing member.
当一个程序集中的某个字段或方法被删除或重命名,而这一更改未反映在另一个尝试访问这个丢失的成员的程序集中时,通常会引发此异常。
While executing in your finalization method during domain unloading, you might want to access another object that is referenced by a static field and has a finalization method.
在域卸载过程中执行终止方法时,您可能需要访问另一个由静态字段引用并且有终止方法的对象。
Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to.
一个应用试图访问或修改某个域,或者调用不能访问的方法时抛出。
The field trip, as a method of qualitative research, is widely applied by Chinese and overseas scholars, and its key link is smooth access and ways of access to the spot.
田野调查作为一种定性研究方式,被中外学者广泛使用。而研究者能否顺利以及如何进入现场则是田野调查中异常关键的环节。
The invention discloses a multi-resistance state resistor random-access memory unit and a preparation method thereof, and belongs to the technical field of microelectronics.
本发明公开了一种多阻态电阻随机存储器单元及其制备方法,属于微电子技术领域。
The invention provides an organic resistive random access memory and a preparation method thereof, which belong to the technical field of very large scale integrated circuit.
本发明提供了一种有机阻变存储器及制备方法,属于超大规模集成电路技术领域。
The invention provides a polymorphic organic resistive random access memory and a preparation method, and belongs to the technical field of a super-large-scale integrated circuit.
本发明提供了一种有机阻变存储器及制备方法,属于超大规模集成电路技术领域。
Similar with traditional field sequential color LCOS microdisplay chip, it consists of three parts: row scan driver, data driver and pixel array. The main difference of them is the row access method.
与传统场序彩色LCOS微显芯片类似,该芯片的主要模块由行扫描驱动器、数据驱动器和象素驱动矩阵三大部分组成。
Similar with traditional field sequential color LCOS microdisplay chip, it consists of three parts: row scan driver, data driver and pixel array. The main difference of them is the row access method.
与传统场序彩色LCOS微显芯片类似,该芯片的主要模块由行扫描驱动器、数据驱动器和象素驱动矩阵三大部分组成。
应用推荐