原级:typecast
现在分词:typecasting
过去分词:typecast
\u0039\u0031\u0031\u67E5\u8BE2\u00B7\u82F1\u8BED\u5355\u8BCD
过去式:typecast
1. Sequel typecasts data when it is retrieved from the database, while ActiveRecord delays typecasting until use.
Sequel执行类型转换是在从数据库获取数据时就进行转换,而ActiveRecord直到使用数据时才延迟进行转换。
2. In arrays, this was very specific, as arrays are strongly typed an int [] can only contain ints and therefore there are no typecasts in the loop.
在数组中,类型非常明确,因为类型是强类型的,int[]只能包含整数,所以在循环中没有类型转换。
3. Once we have that resource we can create different resource views to bind that texture to different stages in the graphics pipeline with different formats: as a render target to render to, as a depth stencil buffer that will receive depth information, or as a texture resource. Where C typecasts allow a memory chunk to be used in a different manner, so do Direct3D 10 resource views.
一旦我们拥有那个资源,我们可以创建不同的资源视图来以不同的格式绑定材质到图形管道的不同阶段:以一个渲染目标来渲染,以一个深度模版缓冲接收深度信息,或以一个材质资源。C语言类型转换允许以不同的方式使用一个内存块,Direct3D 10资源视图也一样。