⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 swarm.collections.memberslot.protocol.html

📁 set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用描述的最为完备的指南性文档。从这里可以获得最细致的平台说明。
💻 HTML
字号:
<HTML><HEAD><TITLE>MemberSlot</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.53"><LINKREL="HOME"TITLE="Documentation Set for Swarm 2.1.1"HREF="set.html"><LINKREL="UP"TITLE="Collections Library"HREF="swarm.collections.sgml.reference.html"><LINKREL="PREVIOUS"TITLE="MemberBlock"HREF="swarm.collections.memberblock.protocol.html"><LINKREL="NEXT"TITLE="Offsets"HREF="swarm.collections.offsets.protocol.html"></HEAD><BODYCLASS="REFENTRY"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Documentation Set for Swarm 2.1.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="swarm.collections.memberblock.protocol.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Reference II. Collections Library</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.collections.offsets.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.COLLECTIONS.MEMBERSLOT.PROTOCOL">MemberSlot</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN7536"></A><H2>Name</H2>MemberSlot&nbsp;--&nbsp; Allocation in member/key for fast setMember:/setKey:</DIV><DIVCLASS="REFSECT1"><ANAME="AEN7539"></A><H2>Description</H2><P> The MemberSlot option indicates that space has been reserved within each member that allows it to contain a link directly to its position in the enumeration for a collection.  If such space has been reserved, special messages can be used that rapidly position an index directly to the member.  Operations to remove members are also much faster.</P><P> The value of MemberSlot specifies the offset in bytes from the start of each member where the space for its position link has been reserved.  </P><P> The offset of the position link from the start of a member may be either positive or negative, in the range of -2048 to +2047.  The default value of MemberSlot is UnknownOffset (a large negative value), which specifies that no slot for an internal position link is available within each member.</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN7544"></A><H2>Protocols adopted by MemberSlot</H2><P>None</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN7547"></A><H2>Methods</H2><P>None</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN7550"></A><H2>Typedefs</H2><P></P><UL><LI><P>dupmember_t<PRE>struct { void *memberData[2]; id owner; }</PRE></P></LI><LI><P>member_t<PRE>struct memberData { void *memberData[2]; }</PRE></P></LI></UL></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="swarm.collections.memberblock.protocol.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.collections.offsets.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">MemberBlock</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.collections.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Offsets</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -