@Test public void testSetMemory() throws Exception { long adr = Uns.allocate(7777 + 130); try { for (byte b = 0; b < 13; b++) for (int offset = 0; offset < 10; offset += 13) { Uns.setMemory(adr, offset, 7777, b); for (int off = 0; off < 7777; off++) assertEquals(unsafe.getByte(adr + offset), b); } } finally { Uns.free(adr); } }
static void setMemory(long address, long offset, long len, byte val) { validate(address, offset, len); unsafe.setMemory(address + offset, len, val); }
Uns { static void setMemory(long address, long offset, long len, byte val) { validate(address, offset, len); unsafe.setMemory(address + offset, len, val); } }
Uns { static void setMemory(long address, long offset, long len, byte val) { validate(address, offset, len); unsafe.setMemory(address + offset, len, val); } private  Uns(); }
Uns { static void setMemory(long address, long offset, long len, byte val) { validate(address, offset, len); unsafe.setMemory(address + offset, len, val); } private  Uns();  }
Uns { static void setMemory(long address, long offset, long len, byte val) { validate(address, offset, len); unsafe.setMemory(address + offset, len, val); } private  Uns();   }