/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/ |
H A D | Vint8.java | 139 * Encodes {@code number} into {@code dest}, starting at offset {@code start} from 140 * the beginning of the array. This method assumes {@code dest} is large enough to 143 * @param dest The destination array. 147 public static int encode(int number, byte[] dest, int start) { argument 149 dest[start] = (byte) number; 152 dest[start] = (byte) (0x80 | ((number & 0x3F80) >> 7)); 153 dest[start + 1] = (byte) (number & 0x7F); 156 dest[start] = (byte) (0x80 | ((number & 0x1FC000) >> 14)); 157 dest[start + 1] = (byte) (0x80 | ((number & 0x3F80) >> 7)); 158 dest[star [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/ |
H A D | DebugComponent.java | 148 Object merge(Object source, Object dest, Set<String> exclude) { argument 149 if (source == null) return dest; 150 if (dest == null) { 152 dest = source instanceof SimpleOrderedMap ? new SimpleOrderedMap() : new NamedList(); 158 if (dest instanceof Collection) { 160 ((Collection)dest).addAll((Collection)source); 162 ((Collection)dest).add(source); 164 return dest; 166 if (dest instanceof Number) { 167 if (source instanceof Double || dest instanceo [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/ |
H A D | MockIndexInput.java | 39 protected void readInternal(byte[] dest, int destOffset, int len) { argument 47 System.arraycopy(buffer, bufferOffset, dest, destOffset, bytesToCopy);
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/index/ |
H A D | MockIndexInput.java | 34 protected void readInternal(byte[] dest, int destOffset, int len) { argument 42 System.arraycopy(buffer, bufferOffset, dest, destOffset, bytesToCopy);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/ |
H A D | Directory.java | 214 * file name <i>dest</i>. 226 * <b>NOTE:</b> this method does not check whether <i>dest<i> exist and will 229 public void copy(Directory to, String src, String dest) throws IOException { argument 234 os = to.createOutput(dest); 245 * Copy contents of a directory src to a directory dest. If a file in src 246 * already exists in dest then the one in dest will be blindly overwritten. 256 * @param dest destination directory 267 * src.copy(dest, file, file); 273 public static void copy(Directory src, Directory dest, boolea argument [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/ |
H A D | Diff.java | 101 * dest</tt>. 103 * @param dest Destination string 106 public static void apply(StringBuilder dest, CharSequence diff) { argument 113 int pos = dest.length() - 1; 127 dest.setCharAt(pos, param); 138 dest.delete(pos, o + 1); 141 dest.insert(pos += 1, param);
|
/lucene-3.6.0/lucene/contrib/benchmark/src/test/org/apache/lucene/benchmark/ |
H A D | BenchmarkTestCase.java | 56 OutputStream dest = new FileOutputStream(new File(getWorkDir(), resourceName)); 61 dest.write(buffer, 0, len); 65 dest.close();
|
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/analysis/icu/ |
H A D | ICUTransformFilter.java | 135 public void copy(int start, int limit, int dest) { argument 138 replace(dest, dest, text, 0, limit - start);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/ |
H A D | SimplePostTool.java | 347 * Pipes everything from the source to the dest. If dest is null, 350 private static void pipe(InputStream source, OutputStream dest) throws IOException { argument 354 if (null != dest) dest.write(buf, 0, read); 356 if (null != dest) dest.flush();
|
/lucene-3.6.0/lucene/contrib/highlighter/src/java/org/apache/lucene/search/vectorhighlight/ |
H A D | FieldQuery.java | 173 * Check if src and dest have overlapped part and if it is, create PhraseQueries and add expandQueries. 175 * ex1) src="a b", dest="c d" => no overlap 176 * ex2) src="a b", dest="a b c" => no overlap 177 * ex3) src="a b", dest="b c" => overlap; expandQueries={"a b c"} 178 * ex4) src="a b c", dest="b c d" => overlap; expandQueries={"a b c d"} 179 * ex5) src="a b c", dest="b c" => no overlap 180 * ex6) src="a b c", dest="b" => no overlap 181 * ex7) src="a a a a", dest="a a a" => overlap; 183 * ex8) src="a b c d", dest="b c" => no overlap 185 private void checkOverlap( Collection<Query> expandQueries, Term[] src, Term[] dest, in argument [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/ |
H A D | IndexSchema.java | 656 String dest = DOMUtil.getAttr(attrs,"dest", "copyField definition"); 664 + source + " to " + dest + " as integer. The whole field will be copied."); 668 registerCopyField(source, dest, maxCharsInt); 806 public void registerCopyField( String source, String dest ) 808 registerCopyField(source, dest, CopyField.UNLIMITED); 820 public void registerCopyField( String source, String dest, int maxChars ) argument 823 boolean destIsPattern = isWildCard(dest); 825 log.debug("copyField source='"+source+"' dest='"+dest [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestIndexFileDeleter.java | 220 public void copyFile(Directory dir, String src, String dest) throws IOException { argument 222 IndexOutput out = dir.createOutput(dest);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestIndexFileDeleter.java | 220 public void copyFile(Directory dir, String src, String dest) throws IOException { argument 222 IndexOutput out = dir.createOutput(dest);
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/ |
H A D | MockDirectoryWrapper.java | 770 public synchronized void copy(Directory to, String src, String dest) throws IOException { argument 772 delegate.copy(to, src, dest);
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/ |
H A D | MockDirectoryWrapper.java | 671 public synchronized void copy(Directory to, String src, String dest) throws IOException { argument 673 delegate.copy(to, src, dest);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/ |
H A D | CoreContainer.java | 798 /** Copies a src file to a dest file: 801 public static void fileCopy(File src, File dest) throws IOException { argument 809 fos = new FileOutputStream(dest);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | ValueSourceParser.java | 113 private static void alias(String source, String dest) { argument 114 standardValueSourceParsers.put(dest, standardValueSourceParsers.get(source));
|