Show / Hide Table of Contents

    Class Int32BlockPool.DirectAllocator

    A simple Int32BlockPool.Allocator that never recycles.

    Inheritance
    System.Object
    Int32BlockPool.Allocator
    Int32BlockPool.DirectAllocator
    Inherited Members
    Int32BlockPool.Allocator.m_blockSize
    Int32BlockPool.Allocator.GetInt32Block()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class DirectAllocator : Int32BlockPool.Allocator

    Constructors

    | Improve this Doc View Source

    DirectAllocator()

    Creates a new Int32BlockPool.DirectAllocator with a default block size

    Declaration
    public DirectAllocator()

    Methods

    | Improve this Doc View Source

    RecycleInt32Blocks(Int32[][], Int32, Int32)

    NOTE: This was recycleIntBlocks() in Lucene

    Declaration
    public override void RecycleInt32Blocks(int[][] blocks, int start, int end)
    Parameters
    Type Name Description
    System.Int32[][] blocks
    System.Int32 start
    System.Int32 end
    Overrides
    Int32BlockPool.Allocator.RecycleInt32Blocks(Int32[][], Int32, Int32)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)