MCPcopy
hub / github.com/arduino/Arduino / size

Method size

app/src/processing/app/helpers/CircularBuffer.java:66–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 public int size() {
67 if (end == -1) {
68 return 0;
69 }
70
71 return (end - start + capacity) % capacity + 1;
72 }
73
74 public int capacity() {
75 return capacity;

Callers 15

getMethod · 0.95
minMethod · 0.95
maxMethod · 0.95
toBytesMethod · 0.80
saveHexMethod · 0.80
execMethod · 0.80
executeUploadCommandMethod · 0.80
waitForUploadPortMethod · 0.80
burnBootloaderMethod · 0.80
mergeMethod · 0.80
parseArgsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected