Invention Grant
US07769785B2 System and method for interfacing index based and iterator based application programming interfaces
有权
用于基于索引和基于迭代器的应用程序编程接口的系统和方法
- Patent Title: System and method for interfacing index based and iterator based application programming interfaces
- Patent Title (中): 用于基于索引和基于迭代器的应用程序编程接口的系统和方法
-
Application No.: US11172077Application Date: 2005-06-29
-
Publication No.: US07769785B2Publication Date: 2010-08-03
- Inventor: Mark S. Day , Donald J. Brady , Deric S. Horn
- Applicant: Mark S. Day , Donald J. Brady , Deric S. Horn
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Blakely, Sokoloff, Taylor & Zafman LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
A system and method for interfacing index based and iterator based file management routines. In general, the disclosed system maintains an iterator cache having multiple iterators. Each active iterator is associated with a most recently used directory entry. Upon receiving an index based request, the iterator closest to the index based request is identified. If the index based request is closer to the top of the directory than it is to the closest active iterator, the directory entries are sequentially examined beginning at the top of the directory with the first entry. Otherwise, the system deternines whether the index based request is located above or below the closest iterator. If the index based request is above the closest iterator, the system steps backward beginning with the directory entry associated with the closest iterator until the directory entry associated with the index based request is located. If the closest iterator is located below the closest iterator, the system steps forward through the directory entries beginning with the directory entry associated with the closest iterator until the requested directory entry is located.
Public/Granted literature
- US20050240716A1 System and method for interfacing index based and interator based application programming interfaces Public/Granted day:2005-10-27
Information query