MCPcopy Index your code
hub / github.com/questdb/questdb / memcpy

Method memcpy

core/src/main/java/io/questdb/std/Vect.java:181–189  ·  view source on GitHub ↗
(long dst, long src, long len)

Source from the content-addressed store, hash-verified

179 public static native int maxShort(long pLong, long count);
180
181 public static void memcpy(long dst, long src, long len) {
182 // the split length was determined experimentally
183 // using 'MemCopyBenchmark' bench
184 if (len < 4096) {
185 Unsafe.copyMemory(src, dst, len);
186 } else {
187 memcpy0(src, dst, len);
188 }
189 }
190
191 public static boolean memeq(long a, long b, long len) {
192 // the split length was determined experimentally

Callers 15

parseMeasurementMethod · 0.95
assertThatMethod · 0.95
testSortABMethod · 0.95
putNonAsciiMethod · 0.95
parseMethodMethod · 0.95
deflateMethod · 0.95
putNonAsciiMethod · 0.95

Calls 2

copyMemoryMethod · 0.95
memcpy0Method · 0.95

Tested by 8

parseMeasurementMethod · 0.76
assertThatMethod · 0.76
testSortABMethod · 0.76
computeNextMethod · 0.76