MCPcopy Create free account
hub / github.com/ReadyTalk/avian / replace

Method replace

classpath/java/lang/Class.java:66–75  ·  view source on GitHub ↗
(int a, int b, byte[] s, int offset,
                                int length)

Source from the content-addressed store, hash-verified

64 }
65
66 private static byte[] replace(int a, int b, byte[] s, int offset,
67 int length)
68 {
69 byte[] array = new byte[length];
70 for (int i = 0; i < length; ++i) {
71 byte c = s[i];
72 array[i] = (byte) (c == a ? b : c);
73 }
74 return array;
75 }
76
77 public String getName() {
78 return getName(vmClass);

Callers 1

getNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected