Searched refs:fileLength (Results 1 - 25 of 33) sorted by relevance

12

/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/
H A DDirectIOLinuxDirectory.java95 private long fileLength; field in class:DirectIOLinuxDirectory.DirectIOLinuxIndexOutput
151 if (limit > fileLength) {
153 fileLength = limit;
203 return fileLength;
214 //System.out.println("direct close set len=" + fileLength + " vs " + channel.size() + " path=" + path);
215 channel.truncate(fileLength);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DFileSwitchDirectory.java159 public long fileLength(String name) throws IOException { method in class:FileSwitchDirectory
160 return getDirectory(name).fileLength(name);
H A DNRTCachingDirectory.java207 public synchronized long fileLength(String name) throws IOException { method in class:NRTCachingDirectory
209 return cache.fileLength(name);
211 return delegate.fileLength(name);
H A DDirectory.java96 public abstract long fileLength(String name) throws IOException; method in class:Directory
H A DRAMDirectory.java175 public final long fileLength(String name) throws IOException { method in class:RAMDirectory
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestCrashCausesCorruptIndex.java223 public long fileLength(String name) throws IOException { method in class:TestCrashCausesCorruptIndex.CrashAfterCreateOutput
224 return realDirectory.fileLength(name);
H A DTestFieldInfos.java55 assertTrue(dir.fileLength(name) > 0);
H A DTestIndexWriterForceMerge.java147 startDiskUsage += dir.fileLength(files[i]);
149 System.out.println(files[i] + ": " + dir.fileLength(files[i]));
H A DTestIndexWriterOnDiskFull.java167 inputDiskUsage += dirs[i].fileLength(files[j]);
208 startDiskUsage += startDir.fileLength(files[i]);
H A DTestTermInfosReaderIndex.java79 long tiiFileLength = directory.fileLength(segmentFileName);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestFieldInfos.java55 assertTrue(dir.fileLength(name) > 0);
H A DTestIndexWriterForceMerge.java147 startDiskUsage += dir.fileLength(files[i]);
149 System.out.println(files[i] + ": " + dir.fileLength(files[i]));
H A DTestIndexWriterOnDiskFull.java167 inputDiskUsage += dirs[i].fileLength(files[j]);
208 startDiskUsage += startDir.fileLength(files[i]);
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/
H A DCompoundFileExtractor.java90 long len = cfr.fileLength(files[i]);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java186 size += delegate.fileLength(file);
215 long length = fileLength(name);
228 out.setLength(fileLength(name)/2);
635 public synchronized long fileLength(String name) throws IOException { method in class:MockDirectoryWrapper
637 return delegate.fileLength(name);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DCompoundFileWriter.java185 totalSize += fe.dir.fileLength(fe.file);
H A DCompoundFileReader.java212 public long fileLength(String name) throws IOException { method in class:CompoundFileReader
H A DTermInfosReader.java116 index = new TermInfosReaderIndex(indexEnum, indexDivisor, dir.fileLength(indexFileName), totalIndexInterval);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/store/
H A DTestCopyBytes.java61 assertEquals(size, dir.fileLength("test"));
H A DTestDirectory.java67 assertEquals(1, d2.fileLength(fname));
H A DTestBufferedIndexInput.java376 public long fileLength(String name) throws IOException { method in class:TestBufferedIndexInput.MockFSDirectory
377 return dir.fileLength(name);
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java192 size += delegate.fileLength(file);
224 long length = fileLength(name);
734 public synchronized long fileLength(String name) throws IOException { method in class:MockDirectoryWrapper
736 return delegate.fileLength(name);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/store/
H A DTestCopyBytes.java61 assertEquals(size, dir.fileLength("test"));
H A DTestDirectory.java67 assertEquals(1, d2.fileLength(fname));
H A DTestBufferedIndexInput.java376 public long fileLength(String name) throws IOException { method in class:TestBufferedIndexInput.MockFSDirectory
377 return dir.fileLength(name);

Completed in 2338 milliseconds

12