Can you pass a fixed-size array as a GLSL function parameter?
你可以通过一个固定大小的数组作为GLSL函数参数吗?
Type and Length is fix size array, for instance, Type is 2 bytes, Length is 2 or 4 bytes.
类型和长度都是固定长度的字段,比如,类型一般是2个字节,长度一般是2个或者4个字节。
Another useful addition is the SplFixedArray class, which, as the name implies, is a fixed-size array implementation.
另一个有用的补充是splfixedarray类,顾名思义,这是一个固定大小的数组实现。
This error arises in an unsafe code section that contains a fixed-size array declaration similar to a field declaration.
在包含与字段声明相似的固定大小的数组声明的不安全代码段中,会发生此错误。
Aiming at improving the precision of acoustic passive localization by small size array, we first derived eqs. 1 through 3 to describe the relation between time delay and target location.
根据声测被动定位对声学基阵提出的要求,给出了当基阵尺寸较小的情况下,影响声测被动定位精度的关键因素。
If you have a SAN or another type of storage array, you should try to create your arrays of equal size and type.
如果您使用了SAN或者其他类型的存储阵列,那么您应该尝试在创建阵列时使它们具有相同的大小和类型。
Striping size refers to the amount of data written to one drive before moving to the next drive within the array.
分段大小指的是在移到该阵列里的下一驱动器之前写入一个驱动器的数据总量。
If the maximum possible size of the array is deemed too big, DB2 only allocates enough space to hold the initial value, and possibly extra space to allow for some growth.
如果阵列的最大可能大小被视为太大,则DB 2只分配足够的空间来存放初始值,并可能分配额外空间来允许一些增长。
This guarantees that no reallocation is necessary regardless of how many elements are added to the array later on and regardless of the size of those elements.
这可以保证稍后无论多少元素添加到阵列,也无论那些元素的大小,都没有必要重新分配。
When you declare an array type, the size of the array is not specified.
当您建立一个数组类型时,数组的大小并不确定。
In this section, you will learn how to make an attribute a three-dimensional array of size [10] [20] [30].
在本节中,您将会学到如何为一个大小为[10][20][30]的三维数组定义属性。
By including the size in the type, a compile-time checker can symbolically analyze the accesses to the array to ensure that no accesses are done outside the bounds of the array.
通过在该类型中包括数组大小,编译时间检测器可以象征性地分析数组的存取,确保所有存取都在数组范围内进行。
We also define a macro INBUFSIZ, which is the size of a character array used as a buffer while reading the input.
我们还定义了宏inbufsiz,它是在读取输入时用作缓冲区的字符数组的大小。
An array of 72 to 96 cameras, depending on the size of the set, hang around the perimeter of a sound stage and are configured in a grid.
根据场景的大小布置一个由72到96台摄像机组成的摄像机矩阵悬挂在场景的周边组成网格。
The next step is to calculate the size of the array that will hold all the bytes of the INTEGER structure.
下一步是计算将要包含INTEGER结构的所有字节的数组的大小。
I can then use built-in aggregate functions on the array to get the size and sum of those days overdue and compute an average.
然后我可以使用内置的聚合函数来获取过期天数的大小和总和并计算平均值。
Because the API call requested 30 entries, the item array size is 30.
由于API调用请求30条,条目数组大小就是30。
This speedup is due to the fact that the array is a fixed size, not a variable-sized one like the default PHP one is, and that non-numeric indexes are not allowed.
造成这种速度优势的原因是数组是固定大小的,而默认的PHP 数组是可变大小的,并且不允许非数值型索引。
The sequential thresholds chosen here range from 500K (the size of the array, meaning effectively no parallelism) down to 50.
此处选择的顺序阙值范围从 500K(数组的大小,表示没有并行性)到50。
The canonical example of dependent types is that of an array type parameterized by the size of the array.
从属类型的标准实例是数组大小参数化的数组。
POP(), for instance, could be implemented as a FETCH() of the last element, followed by STORESIZE(FETCHSIZE()-1) (setting the size of the array to be one less, effectively removing the last element).
例如,可以这样实现POP() :对最后一个元素使用FETCH() ,然后使用STORESIZE(FETCHSIZE()-1) (将数组的大小减去 1,实际除去了最后一个元素)。
When the Database creates this file, it sets its size to 16 KB and allocates the first Chunk in the array to buffer.
当Database创建这个文件时,它将其大小设为16KB,并分配数组中的第一个Chunk来进行缓冲。
The stylesheet computes the array size with the count function.
样式表使用count函数计算数组大小。
Each leaf is the same size, which simplifies the calculation to find any particular element of the array and also makes it easier for the collector to find a suitable free space to allocate each leaf.
每一个leaf大小相同,这样简化了查找数组中特定元素的计算,并使收集器更容易查找到合适的自由空间来分配每个leaf。
And, the only thing I do with the types array is take its size, so I can add any type of object that has a size.
而我唯一用到types数组的地方是取它的大小,这样我可以添加任意类型的有大小的对象。
A hash index is often implemented using an array where each element in the array is a hash bucket with a fixed size, as is depicted in Figure 1.
hash索引常常使用一个数组来实现,数组中的每个元素是一个有固定大小的hashbucket,如图1所示。
In this example, an array is created of spinlock_t with a size of LOCK_COUNT.
在这个示例中,spinlock_t创建一个大小为lock_count的数组。
The connector also allows users to specify the array size to use the Teradata array operation feature.
连接器还允许用户指定数组大小使用teradata数组操作特性。
The capacity of a slice s is the size of the array from s [0] to the end of the array, and is returned by the cap built-in function.
切片s的容量是数组从s[0]到数组尾端的大小,并由内建的cap函数返回。
The implant consists of a tiny panel, 3 by 3.1 mm in size, containing a 38 by 40 array of 1,500 light-sensitive microphotodiodes.
这个被植入的薄片,大小是3乘3.1毫米,由一组38乘40的1500个光敏微成像二极管组成。
应用推荐