TAILIEUCHUNG - HandBooks Professional Java-C-Scrip-SQL part 141

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 141', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | ---- ---- - Quantum Data -Quantum Offset - -- ------ - ------ -------- 11510NYBaldwinSteve Heller ---------------------------- 333333333222222222211111111110000000000 876543210987654321098765432109876543210 Note that we set the offset value of the deleted item equal to the offset of the item before it so that its length can be calculated as zero. Now let us add a new street address of 123 Main Street . After this change our data structures look like those in Figure itemref3. Sample IRA item index and data after field change Figure itemref3 - Quantum Item Index Number Number ---- Item 0 3 1 Reference 1 3 2 - - Array 2 3 3 - -- IRA 3 3 4 - -- - 4 3 5 - -- - - ---- - - Item Offset Type Index 1 1 1 12 - VARSTRING 0 -- 1 1 1 1 2 27 VARSTRING 1 ---- Item 3 -34 VARSTRING 2 ------- Index 4 -36 VARSTRING 3 for 5 - - -41 VARSTRING 4 Quantum 6 38 UNUSED 0 3 7 38 UNUSED 0 8 38 UNUSED 0 9 38 UNUSED 0 10 38 UNUSED 0 - ------------- _ ---------- --- - - - ----- ---------- ------- Quantum 11510NYBaldwin123 Main StreetSteve Heller Data --------------------------- - - Quantum 443333333333222222222211111111110000000000 Offset 109876543210987654321098765432109876543210 - This is the actual mechanism used to change the value of an item we delete the old item and add the new one. Of course an item that increases in size may no longer fit in the same quantum in which case we have to move it to a different quantum. Keeping track of such changes is not difficult as long as we always use the standard method of finding the address of an item look it up in the IRA to get its quantum number and item number then use its quantum number and item number to look it up in the item index. This allows us to move the item to a new quantum and change only its entries in the IRA and affected item indexes. For example if an item was originally in quantum 3 but now no longer fits there we might move it to quantum 6. In order to do this we first delete it from quantum 3 and then add it to quantum 6. As .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.