Smalltalk/X WebserverDocumentation of class 'LongIntegerArray': | |
Class: LongIntegerArrayInheritance:Object | +--Collection | +--SequenceableCollection | +--ArrayedCollection | +--UninterpretedBytes | +--AbstractNumberVector | +--UnboxedIntegerArray | +--LongIntegerArray
Description:LongIntegerArrays store 64bit unsigned integers in the range 0..16rFFFFFFFFFFFFFFFF. In contrast to normal arrays (which store pointers to their elements), longIntegerArrays store the values in a dense & compact way. Since the representation fits the underlying C-language systems representation of unsigned longlong's, this is also useful to pass bulk data to c primitive code. (the system makes certain, that the first longlong is aligned as required) LongIntegerArrays can be used as literals i.e. you can enter LongIntegerArray-constants as: #u64( element1 element2 .... elementN ) #s64( element1 element2 .... elementN ) for example: #u64(1 2 3 4 5 6 7 8) #s64(1 2 3 4 -1 -2 -3 -4) Aliased as UInt64Array. [memory requirements:] OBJ-HEADER + (size * 8) [caveat:] should probably be renamed to UInt64Array (there is an alias named 'UInt64Array', but when inspected, it presents itself as LongIntegerArray) Class protocol:queries
|
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:16:16 GMT |