Пример #1
0
 internal MMapIndexInput(MMapDirectory outerInstance, string resourceDescription, FileStream fc)
     : base(resourceDescription, null, fc.Length, outerInstance.chunkSizePower, true)
 {
     this.outerInstance = outerInstance;
     this.fc = fc ?? throw new ArgumentNullException("fc");
     this.SetBuffers(outerInstance.Map(this, fc, 0, fc.Length));
 }
Пример #2
0
 public IndexInputSlicerAnonymousInnerClassHelper(MMapDirectory outerInstance, MMapIndexInput full)
 {
     this.outerInstance = outerInstance;
     this.full = full;
 }
Пример #3
0
 internal MMapIndexInput(MMapDirectory outerInstance, string resourceDescription, FileStream fc)
     : base(resourceDescription, null, fc.Length, outerInstance.chunkSizePower, true)
 {
     this.fc = fc ?? throw new ArgumentNullException(nameof(fc)); // LUCENENET specific - changed from IllegalArgumentException to ArgumentNullException (.NET convention)
     this.SetBuffers(outerInstance.Map(this, fc, 0, fc.Length));
 }