亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? hashedassociativecontainer.html

?? STL_doc
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<TD VAlign=top><tt>a.resize(n)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top><tt>void</tt></TD></tr></table><h3>Expression semantics</h3><Table border><TR><TH>Name</TH><TH>Expression</TH><TH>Precondition</TH><TH>Semantics</TH><TH>Postcondition</TH></TR><TR><TD VAlign=top>Default constructor</TD><TD VAlign=top><pre>X()X a;</pre></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Creates an empty container, using <tt>hasher()</tt> as the hash function   and <tt>key_equal()</tt> as the key equality function.</TD><TD VAlign=top>The size of the container is <tt>0</tt>.  The bucket count is an   unspecified default value.  The hash function is <tt>hasher()</tt>, and   the key equality function is <tt>key_equal()</tt>.</TD></TR><TR><TD VAlign=top>Constructor with bucket count</TD><TD VAlign=top><pre>X(n)X a(n);</pre></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Creates an empty container with at least <tt>n</tt> buckets, using   <tt>hasher()</tt> as the hash function and <tt>key_equal()</tt> as the key    equality function.</TD><TD VAlign=top>The size of the container is <tt>0</tt>.  The bucket count is   greater than or equal to <tt>n</tt>.  The hash function is <tt>hasher()</tt>, and   the key equality function is <tt>key_equal()</tt>.</TD></TR><TR><TD VAlign=top>Constructor with hash function</TD><TD VAlign=top><pre>X(n, h)X a(n, h);</pre></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Creates an empty container with at least <tt>n</tt> buckets, using   <tt>h</tt> as the hash function and <tt>key_equal()</tt> as the key    equality function.</TD><TD VAlign=top>The size of the container is <tt>0</tt>.  The bucket count is   greater than or equal to <tt>n</tt>.  The hash function is <tt>h</tt>, and   the key equality function is <tt>key_equal()</tt>.</TD></TR><TR><TD VAlign=top>Constructor with key equal</TD><TD VAlign=top><pre>X(n, h, k)X a(n, h, k);</pre></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Creates an empty container with at least <tt>n</tt> buckets, using   <tt>h</tt> as the hash function and <tt>k</tt> as the key    equality function.</TD><TD VAlign=top>The size of the container is <tt>0</tt>.  The bucket count is   greater than or equal to <tt>n</tt>.  The hash function is <tt>h</tt>, and   the key equality function is <tt>k</tt>.</TD></TR><TR><TD VAlign=top>Hash function</TD><TD VAlign=top><tt>a.hash_funct()</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Returns the hash function used by <tt>a</tt>.</TD><TD VAlign=top>&nbsp;</TD></TR><TR><TD VAlign=top>Key equal</TD><TD VAlign=top><tt>a.key_eq()</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Returns the key equal function used by <tt>a</tt>.</TD><TD VAlign=top>&nbsp;</TD></TR><TR><TD VAlign=top>Erase key</TD><TD VAlign=top><tt>a.erase(k)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Destroys all elements whose key is the same as <tt>k</tt>, and removes   them from <tt>a</tt>.  <A href="#2">[2]</A>  The return value is the number of elements that   were erased, <i>i.e.</i> the old value of <tt>a.count(k)</tt>.</TD><TD VAlign=top><tt>a.size()</tt> is decremented by <tt>a.count(k)</tt>.   <tt>a</tt> contains no elements with key <tt>k</tt>.  </TD></TR><TR><TD VAlign=top>Erase element</TD><TD VAlign=top><tt>a.erase(p)</tt></TD><TD VAlign=top><tt>p</tt> is a dereferenceable iterator in <tt>a</tt>.</TD><TD VAlign=top>Destroys the element pointed to by <tt>p</tt>, and removes it from <tt>a</tt>.</TD><TD VAlign=top><tt>a.size()</tt> is decremented by 1.</TD></TR><TR><TD VAlign=top>Erase range</TD><TD VAlign=top><tt>a.erase(p, q)</tt></TD><TD VAlign=top><tt>[p, q)</tt> is a valid range in <tt>a</tt>.</TD><TD VAlign=top>Destroys the elements in the range <tt>[p,q)</tt> and removes them from   <tt>a</tt>. </TD><TD VAlign=top><tt>a.size()</tt> is decremented by the distance from <tt>i</tt> to <tt>j</tt>.</TD></TR><TR><TD VAlign=top>Find</TD><TD VAlign=top><tt>a.find(k)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Returns an iterator pointing to an element whose key is the same   as <tt>k</tt>, or <tt>a.end()</tt> if no such element exists.</TD><TD VAlign=top>Either the return value is <tt>a.end()</tt>, or else the return value has   a key that is the same as <tt>k</tt>.</TD></TR><TR><TD VAlign=top>Count</TD><TD VAlign=top><tt>a.count(k)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Returns the number of elements in <tt>a</tt> whose keys are the same as <tt>k</tt>.</TD><TD VAlign=top>&nbsp;</TD></TR><TR><TD VAlign=top>Equal range</TD><TD VAlign=top><tt>a.equal_range(k)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Returns a pair <tt>P</tt> such that <tt>[P.first, P.second)</tt> is a range   containing all elements in <tt>a</tt> whose keys are the same as <tt>k</tt>. <A href="#3">[3]</A>   If no elements have the same key as <tt>k</tt>, the return value is an empty   range.</TD><TD VAlign=top>The distance between <tt>P.first</tt> and <tt>P.second</tt> is equal to   <tt>a.count(k)</tt>.  If <tt>p</tt> is a dereferenceable iterator in <tt>a</tt>, then   either <tt>a</tt> lies in the range <tt>[P.first, P.second)</tt>, or else   <tt>*a</tt> has a key that is not the same as <tt>k</tt>.</TD></TR><TR><TD VAlign=top>Bucket count</TD><TD VAlign=top><tt>a.bucket_count()</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Returns the number of buckets in <tt>a</tt>.</TD><TD VAlign=top>&nbsp;</TD></TR><TR><TD VAlign=top>Resize</TD><TD VAlign=top><tt>a.resize(n)</tt></TD><TD VAlign=top>&nbsp;</TD><TD VAlign=top>Increases the bucket count of <tt>a</tt>.</TD><TD VAlign=top>The bucket count of <tt>a</tt> will be at least <tt>n</tt>.  All iterators pointing   to element in <tt>a</tt> will remain valid. <A href="#3">[3]</A></TD></tr></table><h3>Complexity guarantees</h3>The default constructor, constructor with bucket count,constructor with hash function, and constructor with key equal, are all amortized constant time.<P>Hash Function and Key Equal are amortized constant time.<P>Average complexity for Erase Key is <tt>O(count(k))</tt>.  Worst case islinear in the size of the container.<P>Erase Element is amortized constant time.<P>Average complexity for Erase Range is <tt>O(N)</tt>, where <tt>N</tt> is the lengthof the range being erased.  Worse case is linear in the size of thecontainer.<P>Average complexity for Find is constant time.  Worst case is linear inthe size of the container.<P>Average complexity for Equal Range is <tt>O(count(k))</tt>.  Worst case islinear in the size of the container.<P>Average complexity for Count is <tt>O(count(k))</tt>.  Worst case is linearin the size of the container.<P>Bucket Count is amortized constant time.<P>Resize is linear in the size of the container.<h3>Invariants</h3><h3>Models</h3><UL><LI><tt><A href="hash_set.html">hash_set</A></tt><LI><tt><A href="hash_map.html">hash_map</A></tt><LI><tt><A href="hash_multiset.html">hash_multiset</A></tt><LI><tt><A href="hash_multimap.html">hash_multimap</A></tt></UL><h3>Notes</h3><P><A name="1">[1]</A>There is an extensive literature dealing with hash tables.  See,for example, section 6.4 of Knuth.  (D. E. Knuth, <i>The Art of ComputerProgramming.  Volume 3: Sorting and Searching</i>.Addison-Wesley, 1975.)<P><A name="2">[2]</A>If the hash function is poor (that is, if many different keys hashto the same value) then this will hurt performance.  The worstcase is where every key hashes to the same value; in this case, run-timecomplexity of most Hashed Associative Container operations will belinear in the size of the container.<P><A name="3">[3]</A>Resizing does not invalidate iterators; however, it does notnecessarily preserve the ordering relation between iterators.That is, if <tt>i</tt> and <tt>j</tt> are iterators that point into a Hashed Associative Container such that <tt>i</tt> comes immediatelybefore <tt>j</tt>, then there is no guarantee that <tt>i</tt> will still comeimmediately before <tt>j</tt> after the container is resized.  The onlyguarantee about about the ordering of elements is the contiguousstorage invariant: elements with the same key are always adjacentto each other.<h3>See also</h3><A href="AssociativeContainer.html">Associative Container</A>, <A href="SortedAssociativeContainer.html">Sorted Associative Container</A>,<A href="UniqueHashedAssociativeContainer.html">Unique Hashed Associative Container</A>, <A href="MultipleHashedAssociativeContainer.html">Multiple Hashed Associative Container</A>, <!--start footer--> <HR SIZE="6"><A href="http://www.sgi.com/"><IMG SRC="surf.gif" HEIGHT="54" WIDTH="54"         ALT="[Silicon Surf]"></A><A HREF="index.html"><IMG SRC="stl_home.gif"         HEIGHT="54" WIDTH="54" ALT="[STL Home]"></A><BR><FONT SIZE="-2"><A href="http://www.sgi.com/Misc/sgi_info.html" TARGET="_top">Copyright &copy; 1999 Silicon Graphics, Inc.</A> All Rights Reserved.</FONT><FONT SIZE="-3"><a href="http://www.sgi.com/Misc/external.list.html" TARGET="_top">TrademarkInformation</A></FONT><P></BODY></HTML> 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频免费在线观看| 久久免费的精品国产v∧| 91尤物视频在线观看| 色综合久久久网| 欧美日韩一区二区不卡| 7777精品伊人久久久大香线蕉的| 欧美三级午夜理伦三级中视频| 欧美日韩国产乱码电影| 久久一二三国产| 亚洲一区二区三区视频在线播放| 日日夜夜一区二区| 国产一区二区三区av电影| 成人动漫在线一区| 日韩一区二区三免费高清| 欧美经典三级视频一区二区三区| 精品久久久三级丝袜| 亚洲精品va在线观看| 国产美女娇喘av呻吟久久| 日本高清成人免费播放| 欧美精品第1页| 蜜臀av国产精品久久久久| youjizz久久| 久久影视一区二区| 另类小说综合欧美亚洲| 欧美亚洲禁片免费| 亚洲欧美自拍偷拍色图| 精品一区二区三区久久久| 欧洲视频一区二区| 中文字幕一区视频| 国产精品911| 欧美α欧美αv大片| 奇米综合一区二区三区精品视频| 色视频欧美一区二区三区| 国产精品久久久久影院亚瑟| 国产乱国产乱300精品| 日韩欧美一区电影| 老鸭窝一区二区久久精品| 欧美日韩国产小视频在线观看| 亚洲影院免费观看| 欧美日韩精品福利| 日韩av午夜在线观看| 欧美日韩国产精品成人| 蜜臀91精品一区二区三区| 日韩欧美一区二区免费| 国产麻豆精品95视频| 亚洲猫色日本管| 欧美久久一二区| 丰满亚洲少妇av| 亚洲网友自拍偷拍| 久久久久久亚洲综合影院红桃| 国产精品小仙女| 亚洲一区在线电影| 欧美不卡123| 在线视频中文字幕一区二区| 亚洲不卡一区二区三区| 久久嫩草精品久久久精品| 不卡的电影网站| 青青草国产精品97视觉盛宴| 国产精品天天看| 欧美在线三级电影| 国产精品77777| 日韩av一区二区在线影视| 日韩伦理电影网| 精品国产不卡一区二区三区| 一本大道久久a久久综合| 国产最新精品精品你懂的| 午夜免费久久看| 亚洲精品国产第一综合99久久| 欧美va亚洲va在线观看蝴蝶网| 一本大道久久精品懂色aⅴ| 国产精品91xxx| 韩国三级中文字幕hd久久精品| 亚洲国产一区二区视频| 中文字幕一区二区三| 亚洲欧洲日韩一区二区三区| 久久精品一区八戒影视| 欧美va亚洲va香蕉在线| 欧美精品高清视频| 欧美日韩精品是欧美日韩精品| 欧美专区日韩专区| 色欧美片视频在线观看在线视频| 大胆亚洲人体视频| 高清在线不卡av| 97精品国产露脸对白| 色综合久久六月婷婷中文字幕| 成人听书哪个软件好| eeuss鲁片一区二区三区| 97久久人人超碰| 欧美日韩dvd在线观看| 91精品婷婷国产综合久久性色| 91精品国产综合久久久久| 精品日韩99亚洲| 国产精品久久久爽爽爽麻豆色哟哟| 亚洲视频一区二区在线观看| 亚洲成人免费电影| 国产一区二区在线观看免费| 国产成人免费高清| 在线看国产日韩| 精品国产91洋老外米糕| 中文字幕一区二区三区四区| 午夜电影一区二区三区| 国产九色精品成人porny | 国产精品小仙女| 色综合久久88色综合天天 | 中文字幕一区免费在线观看| 一区二区欧美国产| 国产在线精品一区二区三区不卡| 色综合久久久久综合99| 精品国产一区二区三区忘忧草 | 国产精品一二三四区| 欧美三级一区二区| 国产精品久久久久久亚洲毛片| 天天色 色综合| 欧美综合一区二区三区| 国产日韩视频一区二区三区| 亚洲成av人影院| 欧美性受xxxx黑人xyx性爽| 国产精品女人毛片| 国内精品自线一区二区三区视频| 欧美亚洲国产bt| 亚洲精品久久嫩草网站秘色| 99免费精品视频| 国产欧美精品国产国产专区 | 久久先锋影音av鲁色资源| 午夜亚洲福利老司机| 在线观看亚洲一区| 性欧美疯狂xxxxbbbb| 在线看日本不卡| 亚洲午夜私人影院| 欧美精品精品一区| 狠狠色综合色综合网络| 欧美成人在线直播| 国产精品资源在线| 1区2区3区欧美| 欧美午夜电影在线播放| 午夜精品免费在线观看| 日韩欧美中文字幕一区| 久久99久久99精品免视看婷婷| 精品欧美乱码久久久久久1区2区| 狠狠色伊人亚洲综合成人| 久久久久久久久久久久电影 | 综合亚洲深深色噜噜狠狠网站| 91丨porny丨蝌蚪视频| 亚洲va欧美va天堂v国产综合| 91精品国产高清一区二区三区蜜臀| 久久精工是国产品牌吗| 国产视频一区在线观看 | 亚洲精品乱码久久久久久| 精品少妇一区二区三区日产乱码 | 国产精品久久久久久久第一福利| 在线观看日韩一区| 国产经典欧美精品| 日韩精品亚洲专区| 中文字幕五月欧美| 日韩视频一区在线观看| www.av精品| 精品无人码麻豆乱码1区2区 | 欧美日韩不卡一区二区| eeuss国产一区二区三区| 麻豆国产欧美一区二区三区| 亚洲精品免费在线| 国产精品久久久久久久久免费相片 | 国产精品久久久久久久久果冻传媒| 8x8x8国产精品| 久久久久九九视频| www国产亚洲精品久久麻豆| 91精品久久久久久久99蜜桃| 色综合中文字幕| 色悠久久久久综合欧美99| 国产乱国产乱300精品| 国产成人午夜视频| 国产一区二区福利视频| 久久国产精品第一页| 另类的小说在线视频另类成人小视频在线| 亚洲精品免费在线观看| 亚洲欧美日韩电影| 一区二区三区在线视频免费| 一区二区三区欧美久久| 亚洲午夜久久久久久久久电影网 | 大桥未久av一区二区三区中文| 国产98色在线|日韩| 成人一级黄色片| 色婷婷综合激情| 欧美一级日韩免费不卡| 国产色产综合产在线视频| 亚洲私人影院在线观看| 亚洲综合激情网| 美脚の诱脚舐め脚责91| 国产成人超碰人人澡人人澡| 不卡免费追剧大全电视剧网站| 91在线国产观看| 91精品午夜视频| 国产精品二三区| 激情文学综合插| 色www精品视频在线观看| 欧美一区午夜视频在线观看| 中文字幕亚洲成人| 紧缚捆绑精品一区二区| 欧美午夜精品免费| 亚洲欧洲日韩av|