internal override unsafe Int64 GetTotalLength() { if (this.m_isInput) { return(DryadLinqNative.GetExpectedLength(this.m_vertexInfo, this.m_portNum)); } else { throw new NotImplementedException(); } }
internal Int64 GetInputSize() { Int64 totalSize = 0; for (UInt32 i = 0; i < this.m_numberOfInputs; i++) { Int64 channelSize = DryadLinqNative.GetExpectedLength(this.NativeHandle, i); if (channelSize == -1) { return(-1); } totalSize += channelSize; } return(totalSize); }