/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/config/ |
H A D | NumberDateFormat.java | 49 FieldPosition pos) { 50 return dateFormat.format(new Date((long) number), toAppendTo, pos); 55 FieldPosition pos) { 56 return dateFormat.format(new Date(number), toAppendTo, pos); 67 FieldPosition pos) { 68 return dateFormat.format(number, toAppendTo, pos); 48 format(double number, StringBuffer toAppendTo, FieldPosition pos) argument 54 format(long number, StringBuffer toAppendTo, FieldPosition pos) argument 66 format(Object number, StringBuffer toAppendTo, FieldPosition pos) argument
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/ |
H A D | TestTermFreqIterator.java | 129 private static int asIntInternal(BytesRef b, int pos) { argument 130 return ((b.bytes[pos++] & 0xFF) << 24) | ((b.bytes[pos++] & 0xFF) << 16) 131 | ((b.bytes[pos++] & 0xFF) << 8) | (b.bytes[pos] & 0xFF);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/ |
H A D | ByteArrayDataOutput.java | 31 private int pos; field in class:ByteArrayDataOutput 52 pos = offset; 57 return pos; 62 assert pos < limit; 63 bytes[pos++] = b; 68 assert pos + length <= limit; 69 System.arraycopy(b, offset, bytes, pos, length); 70 pos += length;
|
H A D | IndexInput.java | 86 public abstract void seek(long pos) throws IOException; argument
|
H A D | IndexOutput.java | 45 public abstract void seek(long pos) throws IOException; argument
|
H A D | ChecksumIndexInput.java | 69 public void seek(long pos) { argument
|
H A D | ChecksumIndexOutput.java | 70 public void seek(long pos) { argument 87 final long pos = main.getFilePointer(); 90 main.seek(pos);
|
H A D | BufferedIndexOutput.java | 67 int pos = 0; // position in the input data 69 while (pos < length) { 70 pieceLength = (length - pos < bytesLeft) ? length - pos : bytesLeft; 71 System.arraycopy(b, pos + offset, buffer, bufferPosition, pieceLength); 72 pos += pieceLength; 129 public void seek(long pos) throws IOException { argument 131 bufferStart = pos;
|
H A D | ByteArrayDataInput.java | 31 private int pos; field in class:ByteArrayDataInput 51 return pos; 56 pos = offset; 61 return pos == limit; 65 pos += count; 70 return (short) (((bytes[pos++] & 0xFF) << 8) | (bytes[pos++] & 0xFF)); 75 return ((bytes[pos++] & 0xFF) << 24) | ((bytes[pos++] & 0xFF) << 16) 76 | ((bytes[pos [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/ |
H A D | MockIndexInput.java | 61 protected void seekInternal(long pos) { argument 62 pointer = (int) pos;
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/index/ |
H A D | MockIndexInput.java | 56 protected void seekInternal(long pos) { argument 57 pointer = (int) pos;
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/cjk/ |
H A D | CJKWidthFilter.java | 102 private static boolean combine(char text[], int pos, char ch) { argument 103 final char prev = text[pos-1]; 105 text[pos-1] += (ch == 0xFF9F) 108 return text[pos-1] != prev;
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/util/ |
H A D | StemmerUtil.java | 82 * @param pos Position of character to delete 86 public static int delete(char s[], int pos, int len) { argument 87 if (pos < len) 88 System.arraycopy(s, pos + 1, s, pos, len - pos - 1); 97 * @param pos Position of character to delete 102 public static int deleteN(char s[], int pos, int len, int nChars) { argument 105 len = delete(s, pos, len);
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/ |
H A D | Vint8.java | 76 this.pos = initialPosition; 81 public int pos; field in class:Vint8.Position 177 * Decodes a 32-bit integer from {@code bytes}, beginning at offset {@code pos.pos}. 178 * The decoded value is returned, and {@code pos.pos} is incremented by the number of 181 * @param pos On entry, the starting position in the array; on return, one greater 185 public static int decode(byte[] bytes, Position pos) { argument 188 byte first = bytes[pos.pos]; [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | RollingCharBuffer.java | 58 /* Absolute position read. NOTE: pos must not jump 63 public int get(int pos) throws IOException { argument 64 //System.out.println(" get pos=" + pos + " nextPos=" + nextPos + " count=" + count); 65 if (pos == nextPos) { 92 assert pos < nextPos; 95 assert nextPos - pos <= count: "nextPos=" + nextPos + " pos=" + pos + " count=" + count; 97 final int index = getIndex(pos); 103 inBounds(int pos) argument 107 getIndex(int pos) argument 140 freeBefore(int pos) argument [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/tr/ |
H A D | TurkishLowerCaseFilter.java | 101 private boolean isBeforeDot(char s[], int pos, int len) { argument 102 for (int i = pos; i < len;) { 118 private int delete(char s[], int pos, int len) { argument 119 if (pos < len) 120 System.arraycopy(s, pos + 1, s, pos, len - pos - 1);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | DocSetCollector.java | 32 int pos=0; field in class:DocSetCollector 59 if (pos < scratch.length) { 60 scratch[pos]=doc; 68 pos++; 72 if (pos<=scratch.length) { 74 return new SortedIntDocSet(scratch, pos); 78 return new BitDocSet(bits,pos);
|
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/store/ |
H A D | NativePosixUtil.java | 40 public static native long pread(FileDescriptor fd, long pos, ByteBuffer byteBuf) throws IOException; argument
|
H A D | WindowsDirectory.cpp | 96 * The read is positioned at pos. 103 (JNIEnv *env, jclass ignored, jlong fd, jbyteArray bytes, jint offset, jint length, jlong pos) 108 io.Offset = (DWORD) (pos & 0xFFFFFFFF); 109 io.OffsetHigh = (DWORD) ((pos >> 0x20) & 0x7FFFFFFF); 102 Java_org_apache_lucene_store_WindowsDirectory_read(JNIEnv *env, jclass ignored, jlong fd, jbyteArray bytes, jint offset, jint length, jlong pos) argument
|
H A D | WindowsDirectory.java | 107 protected void seekInternal(long pos) throws IOException { argument 135 /** Reads data from a file at pos into bytes */ 136 private static native int read(long fd, byte bytes[], int offset, int length, long pos) throws IOException; argument
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestPositionIncrement.java | 106 TermPositions pos = searcher.getIndexReader().termPositions(new Term("field", "1")); 107 pos.next(); 109 assertEquals(0, pos.nextPosition()); 111 pos = searcher.getIndexReader().termPositions(new Term("field", "2")); 112 pos.next(); 114 assertEquals(2, pos.nextPosition()); 313 sawZero |= s.equals("pos: 0"); 335 int pos; field in class:PayloadFilter 346 pos = 0; 356 payloadAttr.setPayload(new Payload(("pos [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/ |
H A D | MockIndexOutputWrapper.java | 139 public void seek(long pos) throws IOException { argument 140 delegate.seek(pos);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestPositionIncrement.java | 106 TermPositions pos = searcher.getIndexReader().termPositions(new Term("field", "1")); 107 pos.next(); 109 assertEquals(0, pos.nextPosition()); 111 pos = searcher.getIndexReader().termPositions(new Term("field", "2")); 112 pos.next(); 114 assertEquals(2, pos.nextPosition()); 313 sawZero |= s.equals("pos: 0"); 335 int pos; field in class:PayloadFilter 346 pos = 0; 356 payloadAttr.setPayload(new Payload(("pos [all...] |
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/ |
H A D | MockIndexOutputWrapper.java | 139 public void seek(long pos) throws IOException { argument 140 delegate.seek(pos);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/in/ |
H A D | IndicNormalizer.java | 261 char text[], int pos, int len) { 262 if (pos + 1 >= len) /* need at least 2 chars! */ 265 final int ch1 = text[pos + 1] - sd.base; 266 final Character.UnicodeBlock block1 = Character.UnicodeBlock.of(text[pos + 1]); 272 if (pos + 2 < len) { 273 ch2 = text[pos + 2] - sd.base; 274 Character.UnicodeBlock block2 = Character.UnicodeBlock.of(text[pos + 2]); 275 if (text[pos + 2] == '\u200D') // ZWJ 284 text[pos] = (char) (sd.base + decompositions[i][3]); 285 len = delete(text, pos 260 compose(int ch0, Character.UnicodeBlock block0, ScriptData sd, char text[], int pos, int len) argument [all...] |