Searched refs:statsEvent (Results 1 – 2 of 2) sorted by relevance
47 final StatsEvent statsEvent = StatsEvent.newBuilder().usePooledBuffer().build(); in testNoFields() local51 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testNoFields()54 ByteBuffer.wrap(statsEvent.getBytes()).order(ByteOrder.LITTLE_ENDIAN); in testNoFields()82 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testNoFields()84 statsEvent.release(); in testNoFields()96 final StatsEvent statsEvent = StatsEvent.newBuilder() in testIntBooleanIntInt() local106 assertThat(statsEvent.getAtomId()).isEqualTo(expectedAtomId); in testIntBooleanIntInt()109 ByteBuffer.wrap(statsEvent.getBytes()).order(ByteOrder.LITTLE_ENDIAN); in testIntBooleanIntInt()153 assertThat(statsEvent.getNumBytes()).isEqualTo(buffer.position()); in testIntBooleanIntInt()155 statsEvent.release(); in testIntBooleanIntInt()[all …]
257 public static void write(@NonNull final StatsEvent statsEvent) { in write() argument258 writeImpl(statsEvent.getBytes(), statsEvent.getNumBytes(), statsEvent.getAtomId()); in write()259 statsEvent.release(); in write()