Fork me on GitHub
  • API

    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
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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 © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.