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

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 146', 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ả | The next function we ll cover MainObj ectArray Set Figure is the counterpart to Get. The MainObjectArray Set function from quantum Figure codelist newquant. 13 This function takes two arguments the element number in the main object array and the quantum number of that object s big pointer quantum. After checking that the element number is valid it calculates the block number and element number in which the desired entry will be found then calls the MainObj ectBlock Set function for the m_BlockPtr variable of the appropriate block in the main object array. Finally if the entry being stored is equal to NoObject and the element number of this element is less than the current lowest free object then we update that variable to indicate that we should start looking at this place in the main object array the next time we are searching for a free object. The MainObjectArray FindAvailableObject Function The next function we ll cover MainObjectArray FindAvailableObject Figure is used to find an available entry in the main object array when we want to create a new object. The MainObjectArray FindAvailableObject function from quantum Figure codelist This isn t terribly complicated either. It searches the main object list block by block starting with the entry corresponding to the last known value of the lowest free object variable and continuing until it finds an empty entry . one whose value is NoObject . Once it finds such an entry it calculates the corresponding element number in the main object array and returns it as the result after storing it in the lowest free object The MainObjectArray GetModifiableElement Function The next function we ll cover MainObjectArray GetModifiableElement Figure newquant. 15 is used to retrieve a ModifiableElement value from a main object. The MainObjectArray GetModifiableElementfunction from quantum Figure codelist .

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.