FMN7X4J24EYPOJNBUWM4NKGWSJTRV2DHCIBMPV2AXLZVVAMNOBKQC
if cursor.pointer == 0 {
debug!("Split root: {:?} {:?}", left.0.offset, right.0.offset);
if cursor.pointer > 0 {
let cur = cursor.current();
put = P::put(
txn,
cur.page,
cursor.pointer < cursor.first_rc_level,
cur.cursor.as_ref().unwrap(),
split_key,
split_value,
left.0.offset,
right.0.offset,
)?
} else {
Put::Ok(Ok { page, freed }) if cursor.pointer > 1 => {
debug!("put update");
cursor.pointer -= 1;
incr_descendants::<T, K, V, P>(txn, cursor, free, freed)?;
// update
let ref curs = cursor.current();
put = Put::Ok(P::update_left_child(
txn,
curs.page,
cursor.pointer < cursor.first_rc_level,
curs.cursor.as_ref().unwrap(),
page.0.offset,
)?)
}
s.binary_search_by(|&off| {
let off = u16::from_le(off);
let (k, v) = read::<T, K, V>(page.data.offset(off as isize));
if let Some(v0) = v0 {
if let Some(v0) = v0 {
s.binary_search_by(|&off| {
let off = u16::from_le(off);
let (k, v) = read::<T, K, V>(page.data.offset(off as isize));
s.binary_search_by(|&off| {
let off = u64::from_le(off) & 0xfff;
let (k, v) = read::<T, K, V>(page.data.offset(off as isize & 0xfff));
if let Some(v0) = v0 {
if let Some(v0) = v0 {
s.binary_search_by(|&off| {
let off = u64::from_le(off) & 0xfff;
let (k, v) = read::<T, K, V>(page.data.offset(off as isize & 0xfff));