C# (CSharp) Lucene.Net.Util OfflineSorter.ByteSequencesWriter - 4개의 예제가 발견되었습니다. 이것들은 오픈소스 프로젝트에서 추출된 C# (CSharp)의 Lucene.Net.Util.OfflineSorter.ByteSequencesWriter에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.
/// Convenience constant for megabytes /// Convenience constant for gigabytes /// Minimum recommended buffer size for sorting. /// /// Absolute minimum required buffer size for sorting. /// /// Maximum number of temporary files before doing an intermediate merge. /// /// A bit more descriptive unit for constructors. /// /// Creates a BufferSize in MB. The given /// values must be > 0 and < 2048. /// /// Approximately half of the currently available free heap, but no less /// than #ABSOLUTE_MIN_SORT_BUFFER_SIZE. However if current heap allocation /// is insufficient or if there is a large portion of unallocated heap-space available /// for sorting consult with max allowed heap size. /// /// Sort info (debugging mostly). /// /// number of temporary files created when merging partitions /// number of partition merges /// number of lines of data read /// time spent merging sorted partitions (in milliseconds) /// time spent sorting data (in milliseconds) /// total time spent (in milliseconds) /// time spent in i/o read (in milliseconds) /// read buffer size (in bytes) /// create a new SortInfo (with empty statistics) for debugging /// Default comparator: sorts in binary (codepoint) order /// Defaults constructor. /// /// Defaults constructor with a custom comparator. /// /// All-details constructor. /// /// Sort input to output, explicit hint for the buffer size. The amount of allocated /// memory may deviate from the hint (may be smaller or larger). /// /// Returns the default temporary directory. By default, the System's temp folder. If not accessible /// or not available, an IOException is thrown /// /// Copies one file to another. /// /// Sort a single partition in-memory. /// Merge a list of sorted temporary files (partitions) into an output file /// Read in a single partition of data Utility class to emit length-prefixed byte[] entries to an output stream for sorting. Complementary to ByteSequencesReader.