/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/ |
H A D | FastCharStream.java | 27 byte[] buffer = null; field in class:FastCharStream 32 int tokenStart = 0; // offset in buffer 33 int bufferStart = 0; // position in file of buffer 45 return (char) buffer[bufferPosition++]; 51 if (tokenStart == 0) { // token won't fit in buffer 52 if (buffer == null) { // first time: alloc buffer 53 buffer = new byte[2048]; 54 } else if (bufferLength == buffer.length) { // grow buffer [all...] |
H A D | SimpleCharStream.java | 27 protected char[] buffer; field in class:SimpleCharStream 41 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 42 System.arraycopy(buffer, 0, newbuffer, 44 buffer = newbuffer; 58 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 59 buffer = newbuffer; 107 if ((i = inputStream.read(buffer, maxNextCharInd, 184 return buffer[bufpos]; 190 char c = buffer[bufpos]; 245 buffer [all...] |
/opengrok/test/org/opensolaris/opengrok/history/ |
H A D | SCCSgetTest.java | 108 byte[] buffer = new byte[8192]; 111 while ((nr = in.read(buffer, 0, buffer.length)) != -1) { 112 out.write(buffer, 0, nr); 139 byte[] buffer = new byte[32 * 1024]; 142 while ((len = in.read(buffer)) != -1) { 144 out.write(buffer, 0, len);
|
H A D | MercurialRepositoryTest.java | 233 byte[] buffer = new byte[1024]; 241 while ((len = input.read(buffer)) > 0) { 242 str += new String(buffer, 0, len); 275 byte[] buffer = new byte[1024]; 284 int len = input.read(buffer); 286 String str = new String(buffer, 0, len);
|
/opengrok/test/org/opensolaris/opengrok/analysis/haskell/ |
H A D | HaskellXrefTest.java | 90 byte buffer[] = new byte[8192]; 93 numBytesRead = expectedInputStream.read(buffer, 0, buffer.length); 95 expectedOutputSteam.write(buffer, 0, numBytesRead);
|
/opengrok/src/org/opensolaris/opengrok/search/ |
H A D | Summary.java | 100 StringBuilder buffer = new StringBuilder(); 102 buffer.append(fragments.get(i)); 104 return buffer.toString();
|
/opengrok/test/org/opensolaris/opengrok/analysis/php/ |
H A D | PhpXrefTest.java | 115 byte buffer[] = new byte[8192]; 118 read = exp.read(buffer, 0, buffer.length); 120 baosExp.write(buffer, 0, read);
|
/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | RCSget.java | 92 public int read(byte[] buffer, int pos, int len) throws IOException { argument 93 return stream.read(buffer, pos, len);
|
H A D | ClearCaseHistoryParser.java | 130 * @param buffer The string to be parsed 132 * @throws IOException if we fail to parse the buffer 134 History parse(String buffer) throws IOException { argument 135 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
|
H A D | BazaarHistoryParser.java | 185 * @param buffer The string to be parsed 187 * @throws IOException if we fail to parse the buffer 189 History parse(String buffer) throws IOException { argument 191 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
|
H A D | CVSHistoryParser.java | 184 * @param buffer The string to be parsed 186 * @throws IOException if we fail to parse the buffer 188 History parse(String buffer) throws IOException { argument 189 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
|
H A D | SSCMHistoryParser.java | 167 * @param buffer The string to be parsed 169 * @throws IOException if we fail to parse the buffer 171 History parse(String buffer) throws IOException { argument 172 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
|
H A D | GitHistoryParser.java | 176 * @param buffer The string to be parsed 178 * @throws IOException if we fail to parse the buffer 180 History parse(String buffer) throws IOException { argument 182 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
|
H A D | MonotoneRepository.java | 84 byte[] buffer = new byte[32 * 1024]; 88 while ((len = in.read(buffer)) != -1) { 90 out.write(buffer, 0, len);
|
H A D | BazaarRepository.java | 118 byte[] buffer = new byte[32 * 1024]; 122 while ((len = in.read(buffer)) != -1) { 124 out.write(buffer, 0, len);
|
H A D | CVSRepository.java | 225 byte[] buffer = new byte[32 * 1024]; 229 while ((len = in.read(buffer)) != -1) { 231 out.write(buffer, 0, len);
|
H A D | SubversionHistoryParser.java | 196 * @param buffer The string to be parsed 198 * @throws IOException if we fail to parse the buffer 200 History parse(String buffer) throws IOException { argument 202 processStream(new ByteArrayInputStream(buffer.getBytes("UTF-8")));
|
H A D | GitRepository.java | 251 byte[] buffer = new byte[8192]; 265 while ((len = in.read(buffer)) != -1) { 268 output.write(buffer, 0, len); 277 while ((len = in.read(buffer)) != -1) { 279 output.write(buffer, 0, len);
|
H A D | MercurialRepository.java | 226 byte[] buffer = new byte[32 * 1024]; 230 while ((len = in.read(buffer)) != -1) { 232 out.write(buffer, 0, len);
|
/opengrok/test/org/opensolaris/opengrok/analysis/ |
H A D | TextAnalyzerTest.java | 76 byte[] buffer = new byte[]{(byte) 239, (byte) 187, (byte) 191, 'h', 'e', 'l', 'l', 'o'}; 78 getStreamSource(buffer), null);
|
/opengrok/src/org/opensolaris/opengrok/search/context/ |
H A D | Context.java | 58 private char[] buffer; field in class:Context 86 buffer = new char[MAXFILEREAD]; 242 charsRead = in.read(buffer); 251 if (buffer[i] == '\n') { 265 tokens.reInit(buffer, charsRead, out, urlPrefixE + pathE + "#", matchingTags, scopes);
|
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/query/ |
H A D | Query.java | 76 StringBuffer buffer = new StringBuffer(); 78 buffer.append(tmp); 81 List<Hit> resultList = parseJSON(buffer.toString());
|
/opengrok/src/org/opensolaris/opengrok/util/ |
H A D | Executor.java | 358 byte[] buffer = new byte[8092]; 361 while ((len = in.read(buffer)) != -1) { 363 bytes.write(buffer, 0, len);
|
/opengrok/test/org/opensolaris/opengrok/web/ |
H A D | DirectoryListingTest.java | 81 byte[] buffer = new byte[size]; 82 out.write(buffer);
|
/opengrok/.mvn/wrapper/ |
H A D | maven-wrapper.jar | org/apache/maven/wrapper/BootstrapMainStarter.class BootstrapMainStarter.java package org.apache.maven.wrapper public ... |