Show / Hide Table of Contents

    Class BytesRefHash.DirectBytesStartArray

    A simple BytesRefHash.BytesStartArray that tracks memory allocation using a private Counter instance.

    Inheritance
    System.Object
    BytesRefHash.BytesStartArray
    BytesRefHash.DirectBytesStartArray
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public class DirectBytesStartArray : BytesRefHash.BytesStartArray

    Constructors

    | Improve this Doc View Source

    DirectBytesStartArray(Int32)

    Declaration
    public DirectBytesStartArray(int initSize)
    Parameters
    Type Name Description
    System.Int32 initSize
    | Improve this Doc View Source

    DirectBytesStartArray(Int32, Counter)

    Declaration
    public DirectBytesStartArray(int initSize, Counter counter)
    Parameters
    Type Name Description
    System.Int32 initSize
    Counter counter

    Fields

    | Improve this Doc View Source

    m_initSize

    Declaration
    protected readonly int m_initSize
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    BytesUsed()

    Declaration
    public override Counter BytesUsed()
    Returns
    Type Description
    Counter
    Overrides
    BytesRefHash.BytesStartArray.BytesUsed()
    | Improve this Doc View Source

    Clear()

    Declaration
    public override int[] Clear()
    Returns
    Type Description
    System.Int32[]
    Overrides
    BytesRefHash.BytesStartArray.Clear()
    | Improve this Doc View Source

    Grow()

    Declaration
    public override int[] Grow()
    Returns
    Type Description
    System.Int32[]
    Overrides
    BytesRefHash.BytesStartArray.Grow()
    | Improve this Doc View Source

    Init()

    Declaration
    public override int[] Init()
    Returns
    Type Description
    System.Int32[]
    Overrides
    BytesRefHash.BytesStartArray.Init()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)