/javamail/mail/src/main/java/com/sun/mail/iap/ |
H A D | ByteArray.java | 47 * count of bytes. 55 private int count; // count of bytes field in class:ByteArray 62 * @param count number of bytes in byte array 64 public ByteArray(byte[] b, int start, int count) { argument 67 this.count = count; 93 * @return a new byte array with the bytes from start for count 96 byte[] b = new byte[count]; 97 System.arraycopy(bytes, start, b, 0, count); 125 setCount(int count) argument [all...] |
H A D | Response.java | 201 public void skip(int count) { argument 202 index += count; 459 int count = 0; 461 count = ASCIIUtility.parseInt(buffer, start, index); 468 index = start + count; // position index to beyond the literal 471 return ASCIIUtility.toString(buffer, start, start + count); 473 return new ByteArray(buffer, start, count);
|
/javamail/mail/src/main/java/com/sun/mail/util/ |
H A D | BASE64EncoderStream.java | 59 private int count = 0; // number of bytes that have been output field in class:BASE64EncoderStream 125 int blen = ((bytesPerLine - count) / 4) * 3; 135 count = 0; 150 count += outlen; 202 if (count > 0 && !noCRLF) { 231 // increment count 232 count += osize; 235 if (count >= bytesPerLine) { 238 count = 0;
|
H A D | QPEncoderStream.java | 55 private int count = 0; // number of bytes that have been output field in class:QPEncoderStream 173 count = 0; 184 if ((count += 3) > bytesPerLine) { 188 count = 3; // set the next line's length 194 if (++count > bytesPerLine) { 198 count = 1; // set the next line's length
|
/javamail/mail/src/main/java/com/sun/mail/imap/ |
H A D | MessageCache.java | 382 * Add count messages to the cache. 385 * @param count the number of messges 388 public void addMessages(int count, int newSeqNum) { argument 390 logger.fine("add " + count + " messages"); 392 ensureCapacity(size + count, newSeqNum);
|
/javamail/mail/src/main/java/com/sun/mail/util/logging/ |
H A D | CollectorFormatter.java | 117 private long count;
field in class:CollectorFormatter 238 * <li>{@code count} the total number of log records
240 * <li>{@code remaining} the count minus one.
244 * <li>{@code normal messages} the count minus the thrown.
247 * {@linkplain #format consumed} by this formatter. If the count is zero
255 * {@linkplain #format consumed} by this formatter. If the count is zero
292 * This prints the count ({@code {3}}) followed by the date and time of the
301 * This prints the count ({@code {3}}) and then chooses the format based on
387 if (++count != 1L) {
413 count [all...] |
H A D | DurationFilter.java | 108 private long count;
field in class:DurationFilter 168 c = this.count;
174 if (c != other.count || p != other.peak || s != other.start) {
266 clone.count = 0L; //Reset the filter state.
284 c = count;
309 if (count > 0L) { //If not saturated.
314 //Under the rate if the count has not been reached.
315 if (count != records) {
316 ++count;
320 count [all...] |
/javamail/mail/src/main/java/javax/mail/internet/ |
H A D | MailDateFormat.java | 613 final int parseAsciiDigits(int count) throws ParseException { argument 614 return parseAsciiDigits(count, count);
|
/javamail/mail/src/test/java/com/sun/mail/util/logging/ |
H A D | CollectorFormatterTest.java | 616 int count = 290;
617 for (int i = 0; i < count; ++i) {
627 args[3] = count + 2L;
700 int count = 4320;
701 for (int i = 1; i < count; ++i) {
709 String jd73 = NumberFormat.getIntegerInstance().format(count);
1076 private int count;
field in class:CollectorFormatterTest.ApplyReturnsNull 1088 return (++count & 1) == 1 ? u : null;
|
H A D | CompactFormatterTest.java | 1147 private int count;
field in class:CompactFormatterTest.ApplyReturnsNull 1158 return (++count & 1) == 1 ? t : null;
|
H A D | MailHandlerTest.java | 1340 assertEquals(MAX_RECORDS, cf.count); 1370 assertEquals(MAX_RECORDS, negativeOne.count); 1371 assertEquals(MAX_RECORDS, one.count); 1372 assertEquals(MAX_RECORDS, two.count); 1412 assertEquals(MAX_RECORDS, cf.count); 1413 assertEquals(MAX_RECORDS, one.count); 1441 assertEquals(1, cf.count); 1485 assertEquals(2, cf.count); 1486 assertEquals(2, one.count); 1487 assertEquals(1, two.count); 7189 int count; field in class:MailHandlerTest.CountingFilter 7922 int count; field in class:MailHandlerTest.CountingUncaughtExceptionHandler [all...] |