// Swap implements swapping of two elements in the heap. This is a part of standard
// heap interface and should never be called directly.
17455
func (h *heapData) Swap(i, j int) {
	h.queue[i], h.queue[j] = h.queue[j], h.queue[i]
	item := h.items[h.queue[i]]
	item.index = i
	item = h.items[h.queue[j]]
	item.index = j
}
1124979
func (t list) Swap(a, b int) {
	t[a], t[b] = t[b], t[a]
}
813458
func (err Error) Swap(i, j int) {
	err.Errors[i], err.Errors[j] = err.Errors[j], err.Errors[i]
}
1363543
func (p *pathHeap) Swap(i, j int) {
	p.paths[i], p.paths[j] = p.paths[j], p.paths[i]
}
744809
func (s UintSlice) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
241346
func (s Uint32Slice) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
636504
func (s checkpointSorter) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
74180
func (vs VersionSlice) Swap(i, j int) {
	s1 := vs[i]
	vs[i] = vs[j]
	vs[j] = s1
}
232663
func (sra ShardReferenceArray) Swap(i, j int) {
	sra[i], sra[j] = sra[j], sra[i]
}
1211391
func (s *summary) Swap(i, j int) {
	s.means[i], s.means[j] = s.means[j], s.means[i]
	s.counts[i], s.counts[j] = s.counts[j], s.counts[i]
}
1193427
func (slice Sessions) Swap(i, j int) {
	s := slice[i]
	slice[i] = slice[j]
	slice[j] = s
}
13914
func (e eventlist) Swap(i, j int) {
	e[i], e[j] = e[j], e[i]
}
1174088
func (i *Uint64) Swap(n uint64) uint64 {
	return atomic.SwapUint64(&i.v, n)
}
993637
func (s bulkFetchDataSorter) Swap(i, j int) {
	s[i], s[j] = s[j], s[i]
}
852222
func (d *distanceHeap) Swap(i, j int) {
	d.nodes[i], d.nodes[j] = d.nodes[j], d.nodes[i]
}
588517
func (u uintSlice) Swap(i, j int64) {
	u[i], u[j] = u[j], u[i]
}
631464
func (n *datacenterSorter) Swap(i, j int) {
	n.Names[i], n.Names[j] = n.Names[j], n.Names[i]
	n.Vec[i], n.Vec[j] = n.Vec[j], n.Vec[i]
}