/** * @param okey original key * @param akey key to actually store * @param vfrag 0 or ENTRY_FRAGMENTED */ private void copyToLeafEntry(byte[] okey, byte[] akey, int vfrag, byte[] value, int entryLoc) { final /*P*/ byte[] page = mPage; int vloc = okey == akey ? encodeNormalKey(akey, page, entryLoc) : encodeFragmentedKey(akey, page, entryLoc); copyToLeafValue(page, vfrag, value, vloc); }
/** * @param okey original key * @param akey key to actually store * @param vfrag 0 or ENTRY_FRAGMENTED */ private void copyToLeafEntry(byte[] okey, byte[] akey, int vfrag, byte[] value, int entryLoc) { final /*P*/ byte[] page = mPage; int vloc = okey == akey ? encodeNormalKey(akey, page, entryLoc) : encodeFragmentedKey(akey, page, entryLoc); copyToLeafValue(page, vfrag, value, vloc); }
/** * @param okey original key * @param akey key to actually store * @param vfrag 0 or ENTRY_FRAGMENTED */ private void copyToLeafEntry(byte[] okey, byte[] akey, int vfrag, byte[] value, int entryLoc) { final /*P*/ byte[] page = mPage; int vloc = okey == akey ? encodeNormalKey(akey, page, entryLoc) : encodeFragmentedKey(akey, page, entryLoc); copyToLeafValue(page, vfrag, value, vloc); }
garbage(garbage() + loc + len - copyToLeafValue (page, vfrag, value, valueHeaderLoc) - valueLen); entryLoc = isOriginal ? encodeNormalKey(akey, page, entryLoc) : encodeFragmentedKey(akey, page, entryLoc); copyToLeafValue(page, vfrag, value, entryLoc); return; entryLoc = isOriginal ? encodeNormalKey(akey, page, entryLoc) : encodeFragmentedKey(akey, page, entryLoc); copyToLeafValue(page, vfrag, value, entryLoc); return; copyToLeafValue(page, vfrag, value, entryLoc + keyLen); p_shortPutLE(page, pos, entryLoc);
garbage(garbage() + loc + len - copyToLeafValue (page, vfrag, value, valueHeaderLoc) - valueLen); entryLoc = isOriginal ? encodeNormalKey(akey, page, entryLoc) : encodeFragmentedKey(akey, page, entryLoc); copyToLeafValue(page, vfrag, value, entryLoc); return; entryLoc = isOriginal ? encodeNormalKey(akey, page, entryLoc) : encodeFragmentedKey(akey, page, entryLoc); copyToLeafValue(page, vfrag, value, entryLoc); return; copyToLeafValue(page, vfrag, value, entryLoc + keyLen); p_shortPutLE(page, pos, entryLoc);
garbage(garbage() + loc + len - copyToLeafValue (page, vfrag, value, valueHeaderLoc) - valueLen); entryLoc = isOriginal ? encodeNormalKey(akey, page, entryLoc) : encodeFragmentedKey(akey, page, entryLoc); copyToLeafValue(page, vfrag, value, entryLoc); return; entryLoc = isOriginal ? encodeNormalKey(akey, page, entryLoc) : encodeFragmentedKey(akey, page, entryLoc); copyToLeafValue(page, vfrag, value, entryLoc); return; copyToLeafValue(page, vfrag, value, entryLoc + keyLen); p_shortPutLE(page, pos, entryLoc);