示例#1
0
        public override System.Object Clone()
        {
            FSIndexInput clone = (FSIndexInput)base.Clone();

            clone.isClone = true;
            return(clone);
        }
示例#2
0
 public Descriptor(FSIndexInput enclosingInstance, System.IO.FileInfo file, System.IO.FileAccess mode)
     : base(new System.IO.FileStream(file.FullName, System.IO.FileMode.Open, mode, System.IO.FileShare.ReadWrite))
 {
     isOpen = true;
     length = file.Length;
 }
示例#3
0
			public Descriptor(FSIndexInput enclosingInstance, System.IO.FileInfo file, System.IO.FileAccess mode) 
                : base(new System.IO.FileStream(file.FullName, System.IO.FileMode.Open, mode, System.IO.FileShare.ReadWrite))
			{
				InitBlock(enclosingInstance);
			}
示例#4
0
			private void  InitBlock(FSIndexInput enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}
示例#5
0
            public Descriptor(FSIndexInput enclosingInstance, System.IO.FileInfo file, System.IO.FileAccess mode) 
                : base(new System.IO.FileStream(file.FullName, System.IO.FileMode.Open, mode, System.IO.FileShare.ReadWrite))
            {
				isOpen = true;
                length = file.Length;
			}
示例#6
0
 public Descriptor(FSIndexInput enclosingInstance, System.IO.FileInfo file, System.IO.FileAccess mode)
     : base(new System.IO.FileStream(file.FullName, System.IO.FileMode.Open, mode, System.IO.FileShare.ReadWrite))
 {
     InitBlock(enclosingInstance);
 }
示例#7
0
 private void  InitBlock(FSIndexInput enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }