首页> 外国专利> System and method for interfacing index based and iterator based application programming interfaces

System and method for interfacing index based and iterator based application programming interfaces

机译:用于基于索引和基于迭代器的应用程序编程接口接口的系统和方法

摘要

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 determines 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.
机译:一种用于连接基于索引和基于迭代器的文件管理例程的系统和方法。通常,所公开的系统维护具有多个迭代器的迭代器高速缓存。每个活动的迭代器都与最近使用的目录条目关联。在接收到基于索引的请求时,标识最接近基于索引的请求的迭代器。如果基于索引的请求比最接近的活动迭代器更接近目录的顶部,那么将从目录的顶部开始以第一个条目开始顺序检查目录条目。否则,系统确定基于索引的请求是位于最接近的迭代器之上还是之下。如果基于索引的请求位于最接近的迭代器之上,则系统将从与最接近的迭代器关联的目录条目开始向后退,直到找到与基于索引的请求关联的目录条目。如果最接近的迭代器位于最接近的迭代器下方,则系统会逐步浏览目录条目,从与最接近的迭代器关联的目录条目开始,直到找到请求的目录条目。

著录项

  • 公开/公告号US6591268B2

    专利类型

  • 公开/公告日2003-07-08

    原文格式PDF

  • 申请/专利权人 APPLE COMPUTER INC.;

    申请/专利号US20020082426

  • 发明设计人 DONALD J. BRADY;DERIC S. HORN;MARK S. DAY;

    申请日2002-02-22

  • 分类号G06F173/00;

  • 国家 US

  • 入库时间 2022-08-22 00:04:13

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号