func twoFieldKey(v *[14]int32, fieldAdjustment uint64, keyIndex uint8) uint8 {
	off := int32(fieldAdjustment)
	n1 := magnitudeAwareKey(v[keyIndex]+off) << 4
	if n1 >= (12 << 4) {
		return n1
	}
	off = int32(fieldAdjustment >> 32)
	return (n1 | magnitudeAwareKey(v[keyIndex+1]+off))
}
// twoFieldKeyGonly is part of multikeyRadixSort and derives a key from two fields in 'v'.
// The order established by the keys is ascending but not total:
// fields with great values map to a low-resolution key.
// Fields must be non-negative.
//
// This is the Go-only implementation, available for benchmarks on architectures
// that otherwise used an optimized variant.
twoFieldKeyGonly is part of multikeyRadixSort and derives a key from two fields in 'v'.
The order established by the keys is ascending but not total:
fields with great values map to a low-resolution key.
Fields must be non-negative.

This is the Go-only implementation, available for benchmarks on architectures
that otherwise used an optimized variant.
// twoFieldKeyGonly is part of multikeyRadixSort and derives a key from two fields in ' v ' . // The order established by the keys is ascending but not total : // fields with great values map to a low - resolution key . // Fields must be non - negative . // // This is the Go - only implementation available for benchmarks on architectures // that otherwise used an optimized variant .
func twoFieldKey(v *[14]int32, fieldAdjustment uint64, keyIndex uint8) uint8 {
	off := int32(fieldAdjustment)
	n1 := magnitudeAwareKey(v[keyIndex]+off) << 4
	if n1 >= (12 << 4) {
		return n1
	}
	off = int32(fieldAdjustment >> 32)
	return (n1 | magnitudeAwareKey(v[keyIndex+1]+off))
}
func twoFieldKey ( v * [ 14 ] int32 , fieldAdjustment uint64 , keyIndex uint8 ) uint8 { off := int32 ( fieldAdjustment ) n1 := magnitudeAwareKey ( v [ keyIndex ] + off ) << 4 if n1 >= ( 12 << 4 ) { return n1 } off = int32 ( fieldAdjustment >> 32 ) return ( n1 | magnitudeAwareKey ( v [ keyIndex + 1 ] + off ) ) }
twoFieldKeyGonly is part of multikeyRadixSort and derives a key from two fields in 'v'.
twoFieldKeyGonly is part of multikeyRadixSort and derives a key from two fields in ' v ' .