Searched refs:memoizedSerializedSize (Results 1 – 4 of 4) sorted by relevance
111 int memoizedSerializedSize = getMemoizedSerializedSize(); in getSerializedSize() local112 if (memoizedSerializedSize == -1) { in getSerializedSize()113 memoizedSerializedSize = schema.getSerializedSize(this); in getSerializedSize()114 setMemoizedSerializedSize(memoizedSerializedSize); in getSerializedSize()116 return memoizedSerializedSize; in getSerializedSize()
92 private int memoizedSerializedSize = -1; field in UnknownFieldSetLite243 int size = memoizedSerializedSize; in getSerializedSizeAsMessageSet()256 memoizedSerializedSize = size; in getSerializedSizeAsMessageSet()267 int size = memoizedSerializedSize; in getSerializedSize()299 memoizedSerializedSize = size; in getSerializedSize()
69 protected int memoizedSerializedSize = -1; field in GeneratedMessageLite256 return memoizedSerializedSize; in getMemoizedSerializedSize()261 memoizedSerializedSize = size; in setMemoizedSerializedSize()271 if (memoizedSerializedSize == -1) { in getSerializedSize()272 memoizedSerializedSize = Protobuf.getInstance().schemaFor(this).getSerializedSize(this); in getSerializedSize()274 return memoizedSerializedSize; in getSerializedSize()
183 message.memoizedSerializedSize = -1; in testMemoization()186 assertEquals(size, message.memoizedSerializedSize); in testMemoization()