Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/questdb/questdb
/ swap
Method
swap
core/src/main/java/io/questdb/std/LongSort.java:524–528 ·
view source on GitHub ↗
(LongVec vec, int a, int b)
Source
from the content-addressed store, hash-verified
522
}
523
524
private
static
void
swap(LongVec vec,
int
a,
int
b) {
525
long tmp = vec.getQuick(a);
526
vec.setQuick(a, vec.getQuick(b));
527
vec.setQuick(b, tmp);
528
}
529
}
Callers
1
sort
Method · 0.95
Calls
2
getQuick
Method · 0.65
setQuick
Method · 0.65
Tested by
no test coverage detected