/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/encoding/ |
H A D | IntEncoder.java | 48 protected OutputStream out = null; field in class:IntEncoder 72 if (out != null) { 73 out.close(); 109 public void reInit(OutputStream out) { argument 110 this.out = out;
|
H A D | VInt8IntEncoder.java | 54 out.write(value); 56 out.write(0x80 | (value >> 7)); 57 out.write(0x7F & value); 59 out.write(0x80 | (value >> 14)); 60 out.write(0x80 | (value >> 7)); 61 out.write(0x7F & value); 63 out.write(0x80 | (value >> 21)); 64 out.write(0x80 | (value >> 14)); 65 out.write(0x80 | (value >> 7)); 66 out [all...] |
H A D | SimpleIntEncoder.java | 41 out.write(value >>> 24); 42 out.write((value >> 16) & 0xFF); 43 out.write((value >> 8) & 0xFF); 44 out.write(value & 0xFF);
|
H A D | IntEncoderFilter.java | 54 public void reInit(OutputStream out) { argument 55 encoder.reInit(out);
|
H A D | ChunksIntEncoder.java | 78 out.write(indicator); 97 public void reInit(OutputStream out) { argument 98 encoder.reInit(out); 99 super.reInit(out);
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/noggit/ |
H A D | JSONUtil.java | 38 CharArr out = new CharArr(); 39 new TextSerializer().serialize(new JSONWriter(out), o); 40 return out.toString(); 46 public static void writeNumber(long number, CharArr out) { argument 47 out.write(Long.toString(number)); 50 public static void writeNumber(double number, CharArr out) { argument 51 out.write(Double.toString(number)); 54 public static void writeString(CharArr val, CharArr out) { argument 55 writeString(val.getArray(), val.getStart(), val.getEnd(), out); 58 public static void writeString(char[] val, int start, int end, CharArr out) { argument 64 writeString(CharSequence val, int start, int end, CharArr out) argument 70 writeStringPart(char[] val, int start, int end, CharArr out) argument 95 writeStringPart(CharSequence chars, int start, int end, CharArr out) argument 121 unicodeEscape(int ch, CharArr out) argument 130 writeNull(CharArr out) argument 134 writeBoolean(boolean val, CharArr out) argument [all...] |
H A D | JSONWriter.java | 31 // IDEA 1) have JSONParser.getString(JSONWriter out)? 39 final CharArr out; field in class:JSONWriter 41 JSONWriter(CharArr out) { argument 42 this.out = out; 46 JSONUtil.writeNull(out); 50 JSONUtil.writeString(str,0,str.length(),out); 54 JSONUtil.writeString(str,out); 58 out.write('"'); 62 JSONUtil.writeStringPart(partialStr.getArray(), partialStr.getStart(), partialStr.getEnd(), out); [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/servlet/ |
H A D | LogLevelSelection.java | 54 PrintWriter out = response.getWriter(); 55 out.write("<html><head>\n"); 56 out.write("<title>Solr Admin: JDK Log Level Selector</title>\n"); 57 out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"solr-admin.css\" />"); 58 out.write("</head><body>\n"); 59 out.write("<a href=\".\"><img border=\"0\" align=\"right\" height=\"78\" width=\"142\" src=\"solr_small.png\" alt=\"Solr\"></a>"); 60 out.write("<h1>JDK Log Level Selector</h1>"); 62 out.write("<p>Below is the complete JDK Log hierarchy with " + 70 out.write("<form method='POST'>\n"); 72 out [all...] |
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/ |
H A D | XML.java | 75 * @param out 78 public static void escapeCharData(String str, Writer out) throws IOException { argument 79 escape(str, out, chardata_escapes); 82 public static void escapeAttributeValue(String str, Writer out) throws IOException { argument 83 escape(str, out, attribute_escapes); 86 public static void escapeAttributeValue(char [] chars, int start, int length, Writer out) throws IOException { argument 87 escape(chars, start, length, out, attribute_escapes); 91 public final static void writeXML(Writer out, String tag, String val) throws IOException { argument 92 out.write('<'); 93 out 108 writeUnescapedXML(Writer out, String tag, String val, Object... attrs) argument 133 writeXML(Writer out, String tag, String val, Object... attrs) argument 158 writeXML(Writer out, String tag, String val, Map<String, String> attrs) argument 182 escape(char [] chars, int offset, int length, Writer out, String [] escapes) argument 196 escape(String str, Writer out, String[] escapes) argument [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/ |
H A D | TokenStreamToDot.java | 37 protected final PrintWriter out; field in class:TokenStreamToDot 42 public TokenStreamToDot(String inputText, TokenStream in, PrintWriter out) { argument 44 this.out = out; 95 //System.out.println("start=" + startOffset + " end=" + endOffset + " len=" + inputText.length()); 120 out.print(" " + fromNode + " -> " + toNode + " ["); 122 out.print(" label=\"" + label + "\""); 125 out.print(" style=\"" + style + "\""); 127 out.println("]"); 131 out [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | UnicodeUtil.java | 164 byte[] out = result.bytes; 167 if (out.length < maxLen) 168 out = result.bytes = new byte[ArrayUtil.oversize(maxLen, 1)]; 176 hash = 31*hash + (out[upto++] = (byte) code); 178 hash = 31*hash + (out[upto++] = (byte) (0xC0 | (code >> 6))); 179 hash = 31*hash + (out[upto++] = (byte)(0x80 | (code & 0x3F))); 181 hash = 31*hash + (out[upto++] = (byte)(0xE0 | (code >> 12))); 182 hash = 31*hash + (out[upto++] = (byte)(0x80 | ((code >> 6) & 0x3F))); 183 hash = 31*hash + (out[upto++] = (byte)(0x80 | (code & 0x3F))); 193 hash = 31*hash + (out[upt [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/tools/java/org/apache/lucene/analysis/ja/util/ |
H A D | DictionaryBuilder.java | 35 System.out.println("building tokeninfo dict..."); 41 System.out.println("done"); 43 System.out.print("building unknown word dict..."); 49 System.out.println("done"); 51 System.out.print("building connection costs..."); 55 System.out.println("done"); 74 System.out.println("dictionary builder"); 75 System.out.println(""); 76 System.out.println("dictionary format: " + format); 77 System.out [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/ |
H A D | Vint8.java | 109 * Encodes {@code number} to {@code out}. 110 * @param number The value to be written in encoded form, to {@code out}. 111 * @param out The output stream receiving the encoded bytes. 112 * @exception IOException If there is a problem writing to {@code out}. 114 public static void encode(int number, OutputStream out) throws IOException { argument 116 out.write(number); 118 out.write(0x80 | (number >> 7)); 119 out.write(0x7F & number); 121 out.write(0x80 | (number >> 14)); 122 out [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/ |
H A D | LockVerifyServer.java | 45 System.out.println("\nUsage: java org.apache.lucene.store.LockVerifyServer port\n"); 53 System.out.println("\nReady on port " + port + "..."); 60 OutputStream out = cs.getOutputStream(); 72 System.out.println(getTime(startTime) + " ERROR: id " + id + " got lock, but " + lockedID + " already holds the lock"); 78 System.out.println(getTime(startTime) + " ERROR: id " + id + " released the lock, but " + lockedID + " is the one holding the lock"); 84 System.out.print("."); 87 out.write(1); 89 out.write(0); 91 out.close();
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | FormatPostingsPositionsWriter.java | 31 final IndexOutput out; field in class:FormatPostingsPositionsWriter 43 out = parent.parent.parent.dir.createOutput(IndexFileNames.segmentFileName(parent.parent.parent.segment, IndexFileNames.PROX_EXTENSION)); 44 parent.skipListWriter.setProxOutput(out); 47 out = null; 56 assert out != null; 64 out.writeVInt((delta<<1)|1); 65 out.writeVInt(payloadLength); 67 out.writeVInt(delta << 1); 69 out.writeBytes(payload, payloadLength); 71 out [all...] |
H A D | FormatPostingsDocsWriter.java | 33 final IndexOutput out; field in class:FormatPostingsDocsWriter 47 out = parent.parent.dir.createOutput(IndexFileNames.segmentFileName(parent.parent.segment, IndexFileNames.FREQ_EXTENSION)); 55 skipListWriter.setFreqOutput(out); 61 IOUtils.closeWhileHandlingException(out); 84 throw new CorruptIndexException("docs out of order (" + docID + " <= " + lastDocID + " ) (out: " + out + ")"); 96 out.writeVInt(delta); 98 out.writeVInt((delta<<1) | 1); 100 out [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/ |
H A D | BCDUtils.java | 56 // out may refer to the same array if desired. 59 char[] out, int outend 73 if (val2=='+') { out[--wpos]=(char)val; break; } 74 if (val2=='-') { out[--wpos]=(char)val; neg=!neg; break; } 78 out[--wpos] = (char)val; 83 while (wpos<outend && out[wpos]==0) wpos++; 89 out[--wpos]=NEG_CHAR; 99 char[] out, int offset) 105 if (val== NEG_CHAR) { out[wpos++]='-'; continue; } 108 out[wpo 58 base10toBase100(char[] arr, int start, int end, char[] out, int outend ) argument 98 base100toBase10(char[] arr, int start, int end, char[] out, int offset) argument 185 base10toBase100SortableInt(char[] arr, int start, int end, char[] out, int outend ) argument 265 base100SortableIntToBase10(char[] arr, int start, int end, char[] out, int offset) argument 309 base10toBase10kSortableInt(char[] arr, int start, int end, char[] out, int outend ) argument 395 base10kSortableIntToBase10(char[] arr, int start, int end, char[] out, int offset) argument [all...] |
H A D | BoundedTreeSet.java | 60 boolean out = super.add(item); 62 return out; 66 boolean out = super.addAll(c); 68 return out;
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/update/ |
H A D | DocumentBuilderTest.java | 66 Document out = DocumentBuilder.toDocument( doc, core.getSchema() ); 67 assertNull( out.get( "name" ) ); 111 Document out = DocumentBuilder.toDocument( doc, core.getSchema() ); 112 assertNotNull( out.get( "home" ) );//contains the stored value and term vector, if there is one 113 assertNotNull( out.getFieldable( "home_0" + FieldType.POLY_FIELD_SEPARATOR + "double" ) ); 114 assertNotNull( out.getFieldable( "home_1" + FieldType.POLY_FIELD_SEPARATOR + "double" ) ); 126 Document out = DocumentBuilder.toDocument( doc, core.getSchema() ); 127 assertNotNull( out.get( "title_stringNoNorms" ) ); 128 assertTrue("title_stringNoNorms has the omitNorms attribute set to true, if the boost is different than 1.0, it will fail",1.0f == out.getField( "title_stringNoNorms" ).getBoost() ); 140 Document out [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestDoc.java | 93 * TODO: the original test used to print the segment contents to System.out 100 PrintWriter out = new PrintWriter(sw, true); 112 printSegment(out, si1); 115 printSegment(out, si2); 119 printSegment(out, siMerge); 122 printSegment(out, siMerge2); 125 printSegment(out, siMerge3); 128 out.close(); 132 //System.out.println(multiFileOutput); 135 out 211 printSegment(PrintWriter out, SegmentInfo si) argument [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestDoc.java | 100 * TODO: the original test used to print the segment contents to System.out 107 PrintWriter out = new PrintWriter(sw, true); 119 printSegment(out, si1); 122 printSegment(out, si2); 126 printSegment(out, siMerge); 129 printSegment(out, siMerge2); 132 printSegment(out, siMerge3); 135 out.close(); 138 //System.out.println(multiFileOutput); 141 out 217 printSegment(PrintWriter out, SegmentInfo si) argument [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/internal/csv/ |
H A D | CSVPrinter.java | 30 protected final Writer out; field in class:CSVPrinter 45 * @param out stream to which to print. 48 public CSVPrinter(Writer out, CSVStrategy strategy) { argument 49 this.out = out; 61 out.write(strategy.getPrinterNewline()); 66 out.flush(); 101 out.write(this.strategy.getCommentStart()); 102 out.write(' '); 113 out [all...] |
/lucene-3.6.0/solr/core/src/test/org/apache/solr/util/ |
H A D | SolrPluginUtilsTest.java | 177 Query out; 193 out = qp.parse(t); 194 assertNotNull(t+" sanity test gave back null", out); 195 assertTrue(t+" sanity test isn't TermQuery: " + out.getClass(), 196 out instanceof TermQuery); 199 ((TermQuery)out).getTerm().field()); 202 out = qp.parse(t); 203 assertNotNull(t+" sanity test gave back null", out); 204 assertTrue(t+" sanity test isn't TermQuery: " + out.getClass(), 205 out instanceo [all...] |
/lucene-3.6.0/lucene/contrib/icu/src/tools/java/org/apache/lucene/analysis/icu/ |
H A D | GenerateHTMLStripCharFilterSupplementaryMacros.java | 62 System.out.print(APACHE_LICENSE); 63 System.out.print("// Generated using ICU4J " + VersionInfo.ICU_VERSION.toString() + " on "); 64 System.out.println(DATE_FORMAT.format(new Date())); 65 System.out.println("// by " + GenerateHTMLStripCharFilterSupplementaryMacros.class.getName()); 66 System.out.print(NL + NL); 74 System.out.println(name + " = ("); 77 System.out.println("\t []"); 104 System.out.print( isFirst ? "\t " : "\t| "); 106 System.out.println(entry.getValue().getRegexEquivalent() + entry.getKey()); 108 System.out [all...] |
H A D | GenerateJFlexSupplementaryMacros.java | 76 System.out.print(APACHE_LICENSE); 77 System.out.print("// Generated using ICU4J " + VersionInfo.ICU_VERSION.toString() + " on "); 78 System.out.println(DATE_FORMAT.format(new Date())); 79 System.out.println("// by " + GenerateJFlexSupplementaryMacros.class.getName()); 80 System.out.print(NL + NL); 88 System.out.println(name + " = ("); 91 System.out.println("\t []"); 108 System.out.print( isFirst ? "\t " : "\t| "); 110 System.out.println("([\\u" + Integer.toHexString(c) + "]" + trail.getRegexEquivalent() + ")"); 112 System.out [all...] |