Esempio n. 1
0
        public virtual void AssignSubArray(uint[] memorypos, MultiDimArray buffer, uint[] bufferpos, uint[] count)
        {
            MultiDimArray mema = this;
            MultiDimArray memb = buffer;

            MultiDimArray_CalculateCopyIndicesIter iter = MultiDimArray_CalculateCopyIndicesIter.BeginIter(mema.Dims, memorypos, memb.Dims, bufferpos, count);

            uint indexa;
            uint indexb;
            uint len;

            while (iter.Next(out indexa, out indexb, out len))
            {
                Array.Copy(memb.Array_, (long)indexb, mema.Array_, (long)indexa, (long)len);
            }
        }
Esempio n. 2
0
 public virtual object PackMultiDimArray(MultiDimArray multiDimArray)
 {
     return(ServiceDef.PackMultiDimArray(multiDimArray));
 }
Esempio n. 3
0
 public virtual object PackMultiDimArray(MultiDimArray multiDimArray)
 {
     return(node.PackMultiDimArray(multiDimArray));
 }