public static void set (Address start, int len, int v) throws InlinePragma { if (Assert.VERIFY_ASSERTIONS) Assert._assert((len & (BYTES_IN_WORD-1)) == 0 && (start.toInt() & (BYTES_IN_WORD-1)) == 0); for (int i=0; i < len; i += BYTES_IN_WORD) start.store(Word.fromInt(v), Offset.fromInt(i));
public static void set(Address start, int bytes, int value) throws InlinePragma { if (Assert.VERIFY_ASSERTIONS) { assertAligned(start.toInt()); assertAligned(bytes); } Address end = start.add(bytes); for (Address addr = start; addr.LT(end); addr = addr.add(BYTES_IN_INT)) addr.store(value);
  public static void set (Address start, int len, int v) throws InlinePragma {    if (Assert.VERIFY_ASSERTIONS)      Assert._assert((len & (BYTES_IN_WORD-1)) == 0                     && (start.toInt() & (BYTES_IN_WORD-1)) == 0);    for (int i=0; i < len; i += BYTES_IN_WORD)       start.store(Word.fromInt(v), Offset.fromInt(i));  }