C# 클래스 MS.Internal.Xml.Cache.XPathDocumentBuilder.NodePageFactory

Allocates pages of nodes for the XPathDocumentBuilder. The initial pages and arrays are fairly small. As each page fills, a new page that is twice as big is allocated. The max size of a page is 65536 nodes, since XPathNode indexes are 16-bits.
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0

공개 메소드들

메소드 설명
AllocateSlot ( XPathNode &page, int &idx ) : void

Allocate the next slot in the current node page. Return a reference to the page and the index of the allocated slot.

Init ( int initialPageSize ) : void

Allocates and returns the initial node page.

메소드 상세

AllocateSlot() 공개 메소드

Allocate the next slot in the current node page. Return a reference to the page and the index of the allocated slot.
public AllocateSlot ( XPathNode &page, int &idx ) : void
page XPathNode
idx int
리턴 void

Init() 공개 메소드

Allocates and returns the initial node page.
public Init ( int initialPageSize ) : void
initialPageSize int
리턴 void