MCPcopy Create free account
hub / github.com/BaseXdb/basex / bufferSize

Method bufferSize

basex-core/src/main/java/org/basex/data/Data.java:952–957  ·  view source on GitHub ↗

Tries to resize the update buffer. @param size number of table entries @return success flag

(final int size)

Source from the content-addressed store, hash-verified

950 * @return success flag
951 */
952 private boolean bufferSize(final int size) {
953 final int bs = size << IO.NODEPOWER;
954 if(bs < 0) return false;
955 buffer = new byte[bs];
956 return true;
957 }
958
959 /**
960 * Adds a document to the internal update buffer.

Callers 2

replaceMethod · 0.95
insertMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected