MCPcopy Index your code
hub / github.com/java-native-access/jna / testShareMemory

Method testShareMemory

test/com/sun/jna/MemoryTest.java:64–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 }
63
64 public void testShareMemory() {
65 Memory base = new Memory(8);
66 Pointer shared = base.share(0);
67 assertNotSame("Memory share should return a different object", base, shared);
68 }
69
70 public void testSharedMemoryBounds() {
71 Memory base = new Memory(16);

Callers

nothing calls this directly

Calls 1

shareMethod · 0.95

Tested by

no test coverage detected