MCPcopy Index your code
hub / github.com/google/brotli / isDirect

Method isDirect

java/org/brotli/dec/Utils.java:118–120  ·  view source on GitHub ↗
(ByteBuffer src)

Source from the content-addressed store, hash-verified

116 }
117
118 static int isDirect(ByteBuffer src) {
119 return src.isDirect() ? 1 : 0;
120 }
121
122 // Crazy pills factory: code compiled for JDK8 does not work on JRE9.
123 static void flipBuffer(Buffer buffer) {

Callers 5

setDataMethod · 0.95
setDictionaryDataMethod · 0.80
attachDictionaryMethod · 0.80
prepareDictionaryMethod · 0.80
attachDictionaryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected