MCPcopy Create free account
hub / github.com/alibaba/MNN / TestExtendedBuffer

Method TestExtendedBuffer

3rd_party/flatbuffers/tests/JavaTest.java:138–144  ·  view source on GitHub ↗
(ByteBuffer bb)

Source from the content-addressed store, hash-verified

136 // this method checks additional fields not present in the binary buffer read from file
137 // these new tests are performed on top of the regular tests
138 static void TestExtendedBuffer(ByteBuffer bb) {
139 TestBuffer(bb);
140
141 Monster monster = Monster.getRootAsMonster(bb);
142
143 TestEq(monster.testhashu32Fnv1(), Integer.MAX_VALUE + 1L);
144 }
145
146 static void TestNamespaceNesting() {
147 // reference / manipulate these to verify compilation

Callers 2

mainMethod · 0.95
TestBuilderBasicsMethod · 0.95

Calls 4

TestBufferMethod · 0.95
getRootAsMonsterMethod · 0.95
TestEqMethod · 0.95
testhashu32Fnv1Method · 0.95

Tested by

no test coverage detected