Searched defs:limit (Results 51 - 75 of 170) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/java/net/
H A DURLStreamHandler.java120 * @param limit the character position to stop parsing at. This is the
125 protected void parseURL(URL u, String spec, int start, int limit) { argument
143 if (start < limit) {
146 if ((queryStart != -1) && (queryStart < limit)) {
147 query = spec.substring(queryStart+1, limit);
148 if (limit > queryStart)
149 limit = queryStart;
156 boolean isUNCName = (start <= limit - 4) &&
161 if (!isUNCName && (start <= limit - 2) && (spec.charAt(start) == '/') &&
168 i = limit;
[all...]
/openjdk7/jdk/src/share/classes/java/nio/
H A DBuffer.java34 * buffer are its capacity, limit, and position: </p>
41 * <p> A buffer's <i>limit</i> is the index of the first element that should
42 * not be read or written. A buffer's limit is never negative and is never
47 * greater than its limit. </p>
63 * elements transferred. If the requested transfer exceeds the limit then a
71 * limit. </p>
86 * position or the limit is adjusted to a value smaller than the mark. If the
93 * <p> The following invariant holds for the mark, position, limit, and
100 * <i>limit</i> <tt>&lt;=</tt>
105 * undefined. The initial limit ma
179 private int limit; field in class:Buffer
247 public final int limit() { method in class:Buffer
265 public final Buffer limit(int newLimit) { method in class:Buffer
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/directory/
H A DSearchControls.java145 * <li>no maximum return limit for search results
146 * <li>no time limit for search
155 timeLimit = 0; // no limit
156 countLimit = 0; // no limit
184 timeLimit = timelim; // no limit
187 countLimit = countlim; // no limit
204 * Retrieves the time limit of these SearchControls in milliseconds.
207 * @return The time limit of these SearchControls in milliseconds.
271 * Sets the time limit of these SearchControls in milliseconds.
274 * @param ms The time limit o
314 setCountLimit(long limit) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1MMUTracker.cpp51 double limit = current_time - _time_slice; local
53 if (is_double_geq(limit, _array[_tail_index].end_time())) {
64 double limit = current_time - _time_slice; local
68 if (elem->end_time() > limit) {
69 if (elem->start_time() > limit)
72 gc_time += elem->end_time() - limit;
165 double limit = earliest_end - _time_slice; local
174 if (elem->end_time() > limit) {
175 if (elem->start_time() > limit)
178 diff -= elem->end_time() - limit;
[all...]
H A DsurvRateGroup.cpp211 size_t limit = MIN2((int) length, 10); local
212 while (index < limit) {
/openjdk7/hotspot/src/share/vm/oops/
H A Dsymbol.cpp95 address limit = bytes + utf8_length() - len; // inclusive limit local
97 if (scan > limit)
99 for (; scan <= limit; scan++) {
100 scan = (address) memchr(scan, first_char, (limit + 1 - scan));
103 assert(scan >= bytes+i && scan <= limit, "scan oob");
/openjdk7/jdk/src/share/classes/java/awt/
H A DFontMetrics.java469 * @param limit the end offset of <code>str</code>
476 int beginIndex, int limit,
478 return font.getLineMetrics(str, beginIndex, limit, myFRC(context));
486 * @param limit the end offset of <code>chars</code>
493 int beginIndex, int limit,
496 chars, beginIndex, limit, myFRC(context));
505 * @param limit the end index of <code>ci</code>
512 int beginIndex, int limit,
514 return font.getLineMetrics(ci, beginIndex, limit, myFRC(context));
542 * @param limit th
475 getLineMetrics( String str, int beginIndex, int limit, Graphics context) argument
492 getLineMetrics(char [] chars, int beginIndex, int limit, Graphics context) argument
511 getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context) argument
549 getStringBounds( String str, int beginIndex, int limit, Graphics context) argument
574 getStringBounds( char [] chars, int beginIndex, int limit, Graphics context) argument
596 getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DDiagnosticFormatter.java183 * Set a limit for multiline diagnostics.
184 * Note: Setting a limit has no effect if multiline diagnostics are either
187 * @param limit the kind of limit to be set
188 * @param value the limit value
190 public void setMultilineLimit(MultilineLimit limit, int value); argument
193 * Get a multiline diagnostic limit.
195 * @param limit the kind of limit to be retrieved
196 * @return limit valu
198 getMultilineLimit(MultilineLimit limit) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DBits.java58 public Bits(int start, int limit) { argument
60 inclRange(start, limit);
95 /** Include [start..limit) in this set.
97 public void inclRange(int start, int limit) { argument
98 sizeTo((limit >>> wordshift) + 1);
99 for (int x = start; x < limit; x++)
H A DForwardingDiagnosticFormatter.java121 public int getMultilineLimit(MultilineLimit limit) { argument
122 return configuration.getMultilineLimit(limit);
129 public void setMultilineLimit(MultilineLimit limit, int value) { argument
130 configuration.setMultilineLimit(limit, value);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DGlyphPositionAdjustments.cpp169 le_int32 limit = lastExitPoint /*+ dir*/; local
173 limit += dir;
176 for (le_int32 j = firstExitPoint; j != limit; j += dir) {
H A DLEFontInstance.cpp58 const LEFontInstance *LEFontInstance::getSubFont(const LEUnicode chars[], le_int32 *offset, le_int32 limit, argument
65 if (chars == NULL || *offset < 0 || limit < 0 || *offset >= limit || script < 0 || script >= scriptCodeCount) {
70 *offset = limit;
/openjdk7/jdk/src/share/classes/sun/text/bidi/
H A DBidiLine.java145 int start, int limit) {
157 lineBidi.resultLength = limit - start;
166 for (j = start; j < limit; j++) {
196 } else if (paraBidi.trailingWSStart < limit) {
319 logicalLimit = iRun.start + iRun.limit - visualStart;
324 visualStart = iRun.limit;
327 newRun.limit = logicalLimit;
417 /* look for the limit run of such a sequence (the run behind it) */
466 length = runs[i].limit - visualStart;
502 int length = bidiBase.length, limit;
143 setLine(Bidi bidi, BidiBase paraBidi, Bidi newBidi, BidiBase newBidiBase, int start, int limit) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DTrieIterator.java54 * UTrieEnumRange(const void *context, UChar32 start, UChar32 limit,
197 * @param limit (end + 1) codepoint of range
200 private final void setResult(Element element, int start, int limit, argument
204 element.limit = limit;
H A DUTF16.java236 * @param limit offset to substring in the source array for analyzing
242 * the range of start and limit.
245 public static int charAt(char source[], int start, int limit, argument
249 if (offset16 < start || offset16 >= limit) {
263 if (offset16 >= limit) {
432 * @param limit position of the subarray to be performed on
441 public static int moveCodePointOffset(char source[], int start, int limit, argument
448 if (start<0 || limit<start) {
451 if (limit>size) {
452 throw new StringIndexOutOfBoundsException(limit);
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DKeepAliveStream.java122 public void mark(int limit) {} argument
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DCrossings.java35 int limit = 0; field in class:Crossings
68 for (int i = 0; i < limit; i += 2) {
75 return (limit == 0);
316 return (limit == 2 && yranges[0] <= ystart && yranges[1] >= yend);
325 while (from < limit && ystart > yranges[from+1]) {
329 while (from < limit) {
376 if (to < from && from < limit) {
377 System.arraycopy(yranges, from, yranges, to, limit-from);
379 to += (limit-from);
389 limit
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontUtilities.java200 public static boolean isComplexText(char [] chs, int start, int limit) { argument
202 for (int i = start; i < limit; i++) {
H A DGraphicComponent.java70 * Create a new GraphicComponent. start and limit are indices
78 int limit,
81 if (limit <= start) {
90 initLocalOrdering(charsLtoV, levels, start, limit);
93 private GraphicComponent(GraphicComponent parent, int start, int limit, int dir) { argument
109 limit -= start;
112 charsLtoV = new int[limit];
113 levels = new byte[limit];
114 for (int i=0; i < limit; i++) {
115 charsLtoV[i] = limit
73 GraphicComponent(GraphicAttribute graphic, Decoration decorator, int[] charsLtoV, byte[] levels, int start, int limit, AffineTransform baseTx) argument
130 initLocalOrdering(int[] charsLtoV, byte[] levels, int start, int limit) argument
303 getAdvanceBetween(int start, int limit) argument
326 getSubset(int start, int limit, int dir) argument
[all...]
H A DTextLineComponent.java62 public float getAdvanceBetween(int start, int limit); argument
94 * start, limit. The range is relative to this TextLineComponent
98 public TextLineComponent getSubset(int start, int limit, int dir); argument
/openjdk7/jdk/src/share/classes/java/text/
H A DBidi.java53 * by indexing to get the start, limit, and level of a run. The level represents
180 * @param lineLimit the offset from the start of the paragraph to the limit of the line.
280 * @return limit the limit of the run
294 * @param limit the limit of the range of characters to test
297 public static boolean requiresBidi(char[] text, int start, int limit) { argument
298 return BidiBase.requiresBidi(text, start, limit);
/openjdk7/jdk/src/share/classes/java/util/logging/
H A DFileHandler.java40 * limit, it is closed, rotated out, and a new file opened.
66 * <li> java.util.logging.FileHandler.limit
68 * to any one file. If this is zero, then there is no limit.
69 * (Defaults to no limit).
123 private int limit; // zero => no limit. field in class:FileHandler
188 limit = manager.getIntProperty(cname + ".limit", 0);
189 if (limit < 0) {
190 limit
313 FileHandler(String pattern, int limit, int count) argument
352 FileHandler(String pattern, int limit, int count, boolean append) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parNew/
H A DasParNewGeneration.cpp520 HeapWord* limit = (HeapWord*) virtual_space()->high(); local
521 eden()->check_mangled_unused_area(limit);
522 from()->check_mangled_unused_area(limit);
523 to()->check_mangled_unused_area(limit);
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DmutableSpace.cpp80 // If it's the first initialization don't limit the amount of work.
141 void MutableSpace::check_mangled_unused_area(HeapWord* limit) { argument
142 mangler()->check_mangled_unused_area(limit);
/openjdk7/hotspot/src/share/vm/interpreter/
H A DinvocationCounter.hpp32 // InvocationCounters are used to trigger actions when a limit (threshold) is reached.
39 // action is triggered when when count() > limit().
74 wait_for_nothing, // do nothing when count() > limit()
75 wait_for_compile, // introduce nmethod when count() > limit()
91 int limit() const { return CompileThreshold; } function in class:VALUE_OBJ_CLASS_SPEC

Completed in 129 milliseconds

1234567