MCPcopy Create free account
hub / github.com/grpc/grpc-java / codeEncode

Method codeEncode

api/src/jmh/java/io/grpc/StatusBenchmark.java:77–82  ·  view source on GitHub ↗

Javadoc comment.

()

Source from the content-addressed store, hash-verified

75 * Javadoc comment.
76 */
77 @Benchmark
78 @BenchmarkMode(Mode.SampleTime)
79 @OutputTimeUnit(TimeUnit.NANOSECONDS)
80 public byte[] codeEncode() {
81 return Status.CODE_KEY.toBytes(Status.DATA_LOSS);
82 }
83
84 /**
85 * Javadoc comment.

Callers

nothing calls this directly

Calls 1

toBytesMethod · 0.65

Tested by

no test coverage detected