Searched defs:dest (Results 1 - 17 of 17) sorted by relevance

/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/
H A DMockIndexInput.java39 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 DMockIndexInput.java34 protected void readInternal(byte[] dest, int destOffset, int len) { argument
42 System.arraycopy(buffer, bufferOffset, dest, destOffset, bytesToCopy);
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/
H A DVint8.java139 * 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/lucene/core/src/test/org/apache/lucene/index/
H A DTestIndexFileDeleter.java220 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 DTestIndexFileDeleter.java220 public void copyFile(Directory dir, String src, String dest) throws IOException { argument
222 IndexOutput out = dir.createOutput(dest);
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/
H A DDiff.java101 * 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/solr/core/src/java/org/apache/solr/handler/component/
H A DDebugComponent.java148 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/solr/solrj/src/java/org/apache/solr/common/util/
H A DStrUtils.java267 public static void partialURLEncodeVal(Appendable dest, String val) throws IOException { argument
271 dest.append('%');
272 if (ch < 0x10) dest.append('0');
273 dest.append(Integer.toHexString(ch));
276 case ' ': dest.append('+'); break;
277 case '&': dest.append("%26"); break;
278 case '%': dest.append("%25"); break;
279 case '=': dest.append("%3D"); break;
280 case '+': dest.append("%2B"); break;
281 default : dest
[all...]
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/analysis/icu/
H A DICUTransformFilter.java135 public void copy(int start, int limit, int dest) { argument
138 replace(dest, dest, text, 0, limit - start);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DDirectory.java214 * 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/highlighter/src/java/org/apache/lucene/search/vectorhighlight/
H A DFieldQuery.java173 * 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/search/
H A DValueSourceParser.java113 private static void alias(String source, String dest) { argument
114 standardValueSourceParsers.put(dest, standardValueSourceParsers.get(source));
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DSimplePostTool.java347 * 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/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java770 public synchronized void copy(Directory to, String src, String dest) throws IOException { argument
772 delegate.copy(to, src, dest);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/
H A DCoreContainer.java798 /** 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/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java671 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/schema/
H A DIndexSchema.java656 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...]

Completed in 532 milliseconds