Lines Matching defs:count
650 public override int Read(byte[] buffer, int offset, int count)
652 return base.Read(buffer, offset, Math.Min(count, blockSize));
883 int count = Int32.MaxValue / serializedMessage.Length;
885 // our big serialized message 'count' times.
886 using (RepeatingMemoryStream stream = new RepeatingMemoryStream(serializedMessage, count))
897 int count = Int32.MaxValue / serializedMessage.Length;
899 count++;
901 // our big serialized message 'count' times.
902 using (RepeatingMemoryStream stream = new RepeatingMemoryStream(serializedMessage, count))
936 public override int Read(byte[] buffer, int offset, int count)
943 while (numBytesCopiedTotal < count && index < maxIterations)
945 int numBytesToCopy = Math.Min(bytes.Length - (int)Position, count);
949 count -= numBytesCopiedTotal;