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

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

?? tree.mdoc

?? package of develop dns
?? MDOC
字號:
.\" $Id: tree.mdoc,v 1.1.2.1.10.1 2004/03/09 08:33:44 marka Exp $.\".\" Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC").\" Copyright (c) 1995-1999 by Internet Software Consortium.\".\" Permission to use, copy, modify, and distribute this software for any.\" purpose with or without fee is hereby granted, provided that the above.\" copyright notice and this permission notice appear in all copies..\".\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF.\" MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT.\" OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE..\".Dd April 5, 1994.Dt TREE 3.Os BSD 4.Sh NAME.Nm tree_init ,.Nm tree_mung ,.Nm tree_srch ,.Nm tree_add ,.Nm tree_delete ,.Nm tree_trav.Nd balanced binary tree routines.Sh SYNOPSIS.Ft void.Fn tree_init "void **tree".Ft void *.Fn tree_srch "void **tree" "int (*compare)()" "void *data".Ft void.Fn tree_add "void **tree" "int (*compare)()" \"void *data" "void (*del_uar)()".Ft int.Fn tree_delete "void **tree" "int (*compare)()" \"void *data" "void (*del_uar)()".Ft int.Fn tree_trav "void **tree" "int (*trav_uar)()".Ft void.Fn tree_mung "void **tree" "void (*del_uar)()".Sh DESCRIPTIONThese functions create and manipulate a balanced binary (AVL) tree.  Each nodeof the tree contains the expected left & right subtree pointers, a short intbalance indicator, and a pointer to the user data.  On a 32 bit system, thismeans an overhead of 4+4+2+4 bytes per node (or, on a RISC or otherwisealignment constrained system with implied padding, 4+4+4+4 bytes per node).There is no key data type enforced by this package; a caller suppliedcompare routine is used to compare user data blocks..PpBalanced binary trees are very fast on searches and replacements, but have amoderately high cost for additions and deletions.  If your application does alot more searches and replacements than it does additions and deletions, thebalanced (AVL) binary tree is a good choice for a data structure..Pp.Fn Tree_initcreates an empty tree and binds it to.Dq Fa tree(which for this and all other routines in this package should be declared asa pointer to void or int, and passed by reference), which can then be used byother routines in this package.  Note that more than one.Dq Fa treevariable can exist at once; thus multiple trees can be manipulatedsimultaneously..Pp.Fn Tree_srchsearches a tree for a specific node and returns either.Fa NULLif no node was found, or the value of the user data pointer if the nodewas found..Fn compareis the address of a function to compare two user data blocks.  This routineshould work much the way .Xr strcmp 3does; in fact,.Xr strcmpcould be used if the user data was a \s-2NUL\s+2 terminated string..Dq Fa Datais the address of a user data block to be used by.Fn compareas the search criteria.  The tree is searched for a node where.Fn comparereturns 0..Pp.Fn Tree_addinserts or replaces a node in the specified tree.  The tree specified by.Dq Fa treeis searched as in.Fn tree_srch ,and if a node is found to match.Dq Fa data ,then the.Fn del_uarfunction, if non\-\s-2NULL\s+2, is called with the address of the user datablock for the node (this routine should deallocate any dynamic memory whichis referenced exclusively by the node); the user data pointer for the nodeis then replaced by the value of.Dq Fa data .If no node is found to match, a new node is added (which may or may notcause a transparent rebalance operation), with a user data pointer equal to.Dq Fa data .A rebalance may or may not occur, depending on where the node is addedand what the rest of the tree looks like..Fn Tree_addwill return the.Dq Fa datapointer unless catastrophe occurs in which case it will return \s-2NULL\s+2..Pp.Fn Tree_deletedeletes a node from.Dq Fa tree .A rebalance may or may not occur, depending on where the node is removed fromand what the rest of the tree looks like..Fn Tree_deletereturns TRUE if a node was deleted, FALSE otherwise..Pp.Fn Tree_travtraverses all of.Dq Fa tree ,calling.Fn trav_uarwith the address of each user data block.  If.Fn trav_uarreturns FALSE at any time,.Fn tree_travwill immediately return FALSE to its caller.  Otherwise all nodes will be reached and.Fn tree_travwill return TRUE..Pp.Fn Tree_mungdeletes every node in.Dq Fa tree ,calling.Fn del_uar(if it is not \s-2NULL\s+2) with the user data address from each node (see.Fn tree_addand.Fn tree_deleteabove).  The tree is left in the same state that.Fn tree_initleaves it in \- i.e., empty..Sh BUGSShould have a way for the caller to specify application-specific.Xr mallocand.Xr freefunctions to be used internally when allocating meta data..Sh AUTHORPaul Vixie, converted and augumented from Modula\-2 examples in.Dq Algorithms & Data Structures ,Niklaus Wirth, Prentice\-Hall, ISBN 0\-13\-022005\-1.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲男人的天堂av| 国产丝袜欧美中文另类| 亚洲综合成人网| 69久久夜色精品国产69蝌蚪网| 亚洲自拍都市欧美小说| 欧美疯狂做受xxxx富婆| 欧美96一区二区免费视频| 欧美一二区视频| 国产成人在线色| 综合久久国产九一剧情麻豆| 在线影院国内精品| 日韩精品一级二级| 久久久久久久久岛国免费| 99在线精品观看| 亚洲综合激情另类小说区| 日韩欧美视频在线| 成人美女在线观看| 亚洲成av人片www| 欧美草草影院在线视频| 风间由美一区二区三区在线观看| 一区免费观看视频| 欧美一区二区三区免费大片| 国产99久久久久| 午夜精品久久久久久久| www久久久久| 欧美亚洲国产一区二区三区| 经典三级视频一区| 亚洲精品国产高清久久伦理二区| 欧美一区二区三区思思人| 成人免费看的视频| 美脚の诱脚舐め脚责91| 亚洲婷婷综合色高清在线| 欧美一区二区三区喷汁尤物| 成人动漫一区二区在线| 琪琪久久久久日韩精品| 亚洲欧洲韩国日本视频 | 成人在线视频一区| 亚洲成人动漫在线免费观看| 国产日韩欧美激情| 在线综合视频播放| 91小视频在线| 国产在线播放一区| 五月激情综合网| 亚洲少妇中出一区| 亚洲国产精品国自产拍av| 欧美一级夜夜爽| 91网站在线播放| 美国毛片一区二区| 亚洲午夜视频在线| 日韩伦理电影网| 欧美国产一区在线| www久久精品| 欧美成人a∨高清免费观看| 欧美日韩免费电影| 欧美丝袜自拍制服另类| 99精品黄色片免费大全| 成人免费高清在线| 国产91高潮流白浆在线麻豆| 蜜桃一区二区三区在线| 日韩黄色在线观看| 亚洲国产精品综合小说图片区| 国产精品大尺度| 国产精品网曝门| 久久蜜臀精品av| 久久免费午夜影院| 久久综合九色综合欧美就去吻 | 日韩欧美一区在线| 欧美日韩一区三区| 欧美特级限制片免费在线观看| 色哟哟国产精品| 色视频成人在线观看免| 色婷婷激情一区二区三区| 97久久精品人人做人人爽50路| 成人小视频免费观看| 风间由美一区二区av101| 国产成人av福利| 粉嫩欧美一区二区三区高清影视| 国内精品久久久久影院薰衣草| 极品少妇xxxx精品少妇| 激情文学综合丁香| 狠狠色综合色综合网络| 国产精品一区二区你懂的| 粉嫩欧美一区二区三区高清影视 | 亚洲国产精品天堂| 视频一区视频二区在线观看| 日本一区中文字幕| 国产在线精品一区二区三区不卡 | 日韩经典中文字幕一区| 免播放器亚洲一区| 精品综合久久久久久8888| 国产精品亚洲第一区在线暖暖韩国| 国产福利不卡视频| 97精品电影院| 欧美午夜免费电影| 日韩欧美成人午夜| 国产精品免费免费| 亚洲国产精品久久久男人的天堂| 日韩精彩视频在线观看| 国产一区二区三区观看| caoporen国产精品视频| 欧美亚洲一区二区三区四区| 欧美刺激午夜性久久久久久久 | 91亚洲精品久久久蜜桃| 欧美午夜理伦三级在线观看| 欧美一区二区三区在线看| 久久久蜜臀国产一区二区| 中文字幕综合网| 五月婷婷激情综合网| 国产一区二区三区精品欧美日韩一区二区三区 | 一本一道久久a久久精品综合蜜臀| 色88888久久久久久影院按摩| 91精品国产高清一区二区三区 | 欧美一级生活片| 欧美激情在线观看视频免费| 亚洲午夜免费电影| 久久草av在线| 91在线视频播放地址| 91精品国产综合久久久久久久久久 | 一二三四区精品视频| 久久99精品一区二区三区| 97久久超碰国产精品| 日韩一区二区精品在线观看| 中文字幕av一区二区三区免费看 | 韩国精品主播一区二区在线观看 | 久久精品99久久久| 91亚洲精品乱码久久久久久蜜桃| 7777精品伊人久久久大香线蕉的| 国产亚洲欧美一区在线观看| 午夜精品一区二区三区电影天堂 | 亚洲一区二区三区精品在线| 精品制服美女丁香| 欧美在线观看你懂的| 久久精品亚洲乱码伦伦中文 | 久久免费偷拍视频| 日韩精品视频网| 日本道色综合久久| 中文字幕精品一区二区精品绿巨人| 污片在线观看一区二区| 色综合久久中文字幕| 久久蜜桃av一区精品变态类天堂| 天天综合网 天天综合色| proumb性欧美在线观看| 欧美大片在线观看一区二区| 亚洲综合清纯丝袜自拍| 99久久国产免费看| 国产日产欧美一区| 美女脱光内衣内裤视频久久影院| 色婷婷一区二区| 国产精品久久99| 国产一区二区三区蝌蚪| 欧美成人精品1314www| 日韩精品国产欧美| 欧美精品日韩精品| 一区二区三区四区亚洲| 色94色欧美sute亚洲线路二| 日韩理论在线观看| 99视频一区二区| 国产精品美女久久久久久| 国产成人精品亚洲777人妖| 精品理论电影在线观看 | 欧美日韩国产美| 亚洲一区影音先锋| 日本韩国精品一区二区在线观看| 亚洲色图丝袜美腿| 色屁屁一区二区| 一区二区三区中文免费| 在线观看欧美黄色| 亚洲国产精品久久不卡毛片| 色悠悠久久综合| 亚洲宅男天堂在线观看无病毒| 日本高清不卡一区| 亚洲国产视频网站| 欧美日韩国产欧美日美国产精品| 首页国产丝袜综合| 精品国产污污免费网站入口 | 欧美videos大乳护士334| 蜜臀久久99精品久久久久宅男| 欧美一区二区三区的| 国产主播一区二区三区| 欧美国产精品专区| 色94色欧美sute亚洲线路一久| 亚洲一区二区3| 欧美高清dvd| 国内外精品视频| 国产欧美精品一区aⅴ影院| 99精品视频在线免费观看| 亚洲国产精品一区二区久久| 欧美一区二区三区视频在线| 精品一区二区三区视频| 国产精品美女久久久久久2018 | 亚洲精品一线二线三线| 成人午夜私人影院| 亚洲综合无码一区二区| 91精品国产高清一区二区三区 | 一区二区成人在线| 欧美一区二区三区色| www..com久久爱| 欧美96一区二区免费视频| 欧美激情一区二区三区四区| 欧美性色综合网|