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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? hashedassociativecontainer.html

?? ISO_C++:C++_STL開發(fā)文檔
?? HTML
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
<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> 

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美日韩另类视频免费观看| 亚洲成av人片一区二区梦乃| 国产 欧美在线| 韩国精品免费视频| 成人午夜私人影院| 高清shemale亚洲人妖| 蜜臀精品久久久久久蜜臀| 亚洲图片另类小说| 亚洲精品一卡二卡| 国产精品久久久久久亚洲伦| 午夜激情一区二区| 国产.欧美.日韩| 亚洲免费高清视频在线| 午夜精品在线看| 国产福利一区二区三区视频在线 | 国产99一区视频免费 | 亚洲综合一二三区| 麻豆视频观看网址久久| gogo大胆日本视频一区| 欧美高清性hdvideosex| 国产精品久久久久永久免费观看| 亚洲午夜久久久| 粉嫩欧美一区二区三区高清影视| 欧美色图一区二区三区| 久久精品人人做人人爽人人| 一区二区三区91| 国产**成人网毛片九色| 91麻豆精品久久久久蜜臀| 国产精品免费久久久久| 老司机午夜精品| 欧美日韩成人综合天天影院 | 成人手机在线视频| 日韩三级视频中文字幕| 日韩伦理av电影| 国产一区二区按摩在线观看| 欧美三级乱人伦电影| 国产精品网站在线观看| 精品在线你懂的| 欧美日韩一区二区不卡| 亚洲欧洲国产专区| 韩国av一区二区| 69久久夜色精品国产69蝌蚪网| 1024成人网色www| 国产精品一区二区久久不卡| 在线播放中文一区| 亚洲精品视频免费观看| 国产suv一区二区三区88区| 欧美一区二区三区视频免费播放| 国内久久婷婷综合| 欧美日韩的一区二区| 伊人开心综合网| 91丨porny丨蝌蚪视频| 国产欧美一二三区| 国产福利电影一区二区三区| 精品久久久久久久久久久院品网| 天天综合日日夜夜精品| 欧美系列亚洲系列| 亚洲女女做受ⅹxx高潮| 99久久精品免费观看| 欧美激情在线观看视频免费| 国产真实乱偷精品视频免| 日韩一级视频免费观看在线| 性做久久久久久久久| 欧美亚一区二区| 亚洲在线视频免费观看| 日本久久一区二区三区| 亚洲美女电影在线| 91免费看片在线观看| 亚洲欧洲日本在线| 96av麻豆蜜桃一区二区| 中文字幕av在线一区二区三区| 国产传媒一区在线| 国产人伦精品一区二区| 成人网页在线观看| 中文字幕一区二区三区色视频| 成人av免费在线播放| 综合色天天鬼久久鬼色| 在线中文字幕不卡| 亚洲图片有声小说| 欧美女孩性生活视频| 天天综合色天天综合| 日韩一区二区三区在线观看| 精品一区免费av| 久久久久久97三级| www.亚洲精品| 一区二区三区美女| 91精品国产91久久久久久一区二区| 日韩精品乱码av一区二区| 欧美mv日韩mv国产网站app| 国产经典欧美精品| 一区精品在线播放| 欧美在线啊v一区| 日韩高清不卡在线| 久久尤物电影视频在线观看| 成人影视亚洲图片在线| 亚洲精品大片www| 337p亚洲精品色噜噜狠狠| 久久99这里只有精品| 欧美国产成人在线| 91成人免费在线| 日本三级韩国三级欧美三级| 久久亚洲精品国产精品紫薇| 成人小视频在线| 成人国产免费视频| 亚洲一线二线三线久久久| 91精品国产91久久久久久一区二区| 精品一区二区三区日韩| 中文欧美字幕免费| 欧美另类一区二区三区| 国产精品一区二区91| 亚洲女人****多毛耸耸8| 91麻豆精品91久久久久同性| 国产在线精品一区二区| 亚洲精品日韩一| 日韩欧美你懂的| 91丝袜呻吟高潮美腿白嫩在线观看| 亚洲国产一区在线观看| 亚洲精品一区二区在线观看| 99视频精品全部免费在线| 日一区二区三区| 中文字幕成人av| 日本高清不卡一区| 国产在线播放一区| 一区二区三区精品| 久久久天堂av| 欧美午夜一区二区三区免费大片| 国内成+人亚洲+欧美+综合在线| 中文在线免费一区三区高中清不卡| 91福利精品视频| 国产麻豆精品在线| 亚洲1区2区3区视频| 日本一区二区综合亚洲| 精品视频色一区| av亚洲精华国产精华精华 | 2024国产精品| 欧美午夜片在线看| 国产成人精品免费看| 天堂久久久久va久久久久| 国产精品成人免费精品自在线观看| 欧美一区二区三区啪啪| 一本大道久久精品懂色aⅴ| 狠狠色丁香久久婷婷综合_中| 亚洲欧美日韩中文播放| 国产丝袜美腿一区二区三区| 制服丝袜一区二区三区| 一本久久综合亚洲鲁鲁五月天 | 日本一区二区免费在线| 91精品国产91热久久久做人人| 91猫先生在线| 懂色av一区二区三区免费观看| 美腿丝袜亚洲综合| 亚洲一二三专区| 亚洲色图欧洲色图婷婷| 亚洲国产精华液网站w| 精品乱码亚洲一区二区不卡| 欧美日韩国产美女| 色94色欧美sute亚洲13| jizz一区二区| 丁香一区二区三区| 色先锋资源久久综合| 岛国精品在线播放| 国产麻豆午夜三级精品| 裸体在线国模精品偷拍| 婷婷成人综合网| 一区二区三区四区av| 中文字幕中文字幕一区二区| 久久久一区二区三区捆绑**| 欧美电影免费观看完整版| 欧美一区二区在线免费观看| 欧美性猛片xxxx免费看久爱| 99久久99久久久精品齐齐| 成人国产在线观看| 成人一级视频在线观看| 国产精品资源网| 国产精品影视天天线| 激情综合色播激情啊| 久久精品久久久精品美女| 蜜桃视频一区二区| 久久不见久久见免费视频7| 美女免费视频一区二区| 男女视频一区二区| 美女爽到高潮91| 看电影不卡的网站| 国内精品免费在线观看| 国产在线精品国自产拍免费| 国内成人自拍视频| 国产一区二区三区美女| 国产福利视频一区二区三区| 成人在线视频一区| 91最新地址在线播放| 色婷婷精品久久二区二区蜜臀av| 99re亚洲国产精品| 色先锋久久av资源部| 欧美日韩mp4| 日韩视频免费观看高清在线视频| 精品国产髙清在线看国产毛片| 精品日本一线二线三线不卡| 久久久亚洲精华液精华液精华液| 国产欧美一区二区三区在线看蜜臀| 中文字幕中文字幕在线一区|