Searched defs:io (Results 1 - 3 of 3) sorted by relevance

/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/
H A DWindowsDirectory.cpp34 ioex = env->FindClass("java/io/IOException");
105 OVERLAPPED io = { 0 }; local
108 io.Offset = (DWORD) (pos & 0xFFFFFFFF);
109 io.OffsetHigh = (DWORD) ((pos >> 0x20) & 0x7FFFFFFF);
119 if (ReadFile((HANDLE) fd, &buffer, length, &numRead, &io)) {
129 if (!ReadFile((HANDLE) fd, (void *)(buffer+offset), length, &numRead, &io)) {
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/util/
H A DSlowRAMDirectory.java20 import java.io.IOException;
133 private IndexOutput io; field in class:SlowRAMDirectory.SlowIndexOutput
136 public SlowIndexOutput(IndexOutput io) { argument
137 this.io = io;
147 io.writeByte(b);
157 io.writeBytes(b, offset, length);
160 @Override public void close() throws IOException { io.close(); }
161 @Override public void flush() throws IOException { io.flush(); }
162 @Override public long getFilePointer() { return io
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DFSDirectory.java20 import java.io.File;
21 import java.io.FileNotFoundException;
22 import java.io.FilenameFilter;
23 import java.io.IOException;
24 import java.io.RandomAccessFile;
46 * implementation using java.io.RandomAccessFile.
53 * FileChannel's positional io when reading to avoid
319 protected void onIndexOutputClosed(FSIndexOutput io) { argument
320 staleFiles.add(io.name);

Completed in 51 milliseconds