Searched refs:initialCapacity (Results 1 – 6 of 6) sorted by relevance
36 private final int initialCapacity; field in TFastFramedTransport.Factory43 public Factory(int initialCapacity) { in Factory() argument44 this(initialCapacity, TConfiguration.DEFAULT_MAX_FRAME_SIZE); in Factory()47 public Factory(int initialCapacity, int maxLength) { in Factory() argument48 this.initialCapacity = initialCapacity; in Factory()54 return new TFastFramedTransport(trans, initialCapacity, maxLength); in getTransport()
43 TConfiguration config, int initialCapacity, int frontReserve) throws TTransportException { in AutoExpandingBufferWriteTransport() argument45 if (initialCapacity < 1) { in AutoExpandingBufferWriteTransport()48 if (frontReserve < 0 || initialCapacity < frontReserve) { in AutoExpandingBufferWriteTransport()51 this.buf = new AutoExpandingBuffer(initialCapacity); in AutoExpandingBufferWriteTransport()
32 public AutoExpandingBuffer(int initialCapacity) { in AutoExpandingBuffer() argument33 this.array = new byte[initialCapacity]; in AutoExpandingBuffer()
31 public AutoExpandingBufferReadTransport(TConfiguration config, int initialCapacity) in AutoExpandingBufferReadTransport() argument34 this.buf = new AutoExpandingBuffer(initialCapacity); in AutoExpandingBufferReadTransport()
35 public ShortStack(int initialCapacity) { in ShortStack() argument36 vector = new short[initialCapacity]; in ShortStack()
34 public TMemoryBufferTransport(TConfiguration config, int initialCapacity = 2048) in TMemoryBufferTransport() argument37 Bytes = new byte[initialCapacity]; in TMemoryBufferTransport()