/openjdk7/jdk/src/share/classes/java/rmi/dgc/ |
H A D | Lease.java | 28 * A lease contains a unique VM identifier and a lease duration. A 49 * Constructs a lease with a specific VMID and lease duration. The 52 * @param duration lease duration 54 public Lease(VMID id, long duration) argument 57 value = duration; 70 * Returns the lease duration. 71 * @return lease duration
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/ |
H A D | DurationDV.java | 33 * Validator for <duration> datatype (W3C Schema Datatypes) 46 // order-relation on duration is a partial order. The dates below are used to 48 // duration x and y is x<=y iff s+x<=s+y 49 // see 3.2.6 duration W3C schema datatype specs 62 throw new InvalidDatatypeValueException("cvc-datatype-valid.1.2.1", new Object[]{content, "duration"}); 67 * Parses, validates and computes normalized version of duration object 69 * @param str The lexical representation of duration object PnYn MnDTnH nMnS 91 //negative duration 194 * Compares 2 given durations. (refer to W3C Schema Datatypes "3.2.6 duration") 196 * @param date1 Unnormalized duration 276 addDuration(DateTimeData date, DateTimeData addto, DateTimeData duration) argument [all...] |
/openjdk7/hotspot/test/runtime/7196045/ |
H A D | Test7196045.java | 40 public static long duration = 1000 * 60 * 2; field in class:Test7196045 60 long endTime = System.currentTimeMillis() + duration;
|
/openjdk7/jdk/test/java/util/Locale/ |
H A D | Bug4518797.java | 33 // Usage: java Bug4518797 [duration] 39 int duration = 180; 41 duration = Math.max(5, Integer.parseInt(args[0])); 92 for (int i = 0; runrun && i < duration; i++) {
|
/openjdk7/jaxp/src/javax/xml/datatype/ |
H A D | Duration.java | 47 * A negative sign indicates a negative duration.</p> 50 * to use for the duration datatype of XML Schema 1.0 with 59 * <li>A==B (A and B are of the same duration) 64 * The {@link #compare(Duration duration)} method implements this 78 * <p>Also, division of a duration by a number is not provided because 232 * Returns the sign of this duration in -1,0, or 1. 235 * -1 if this duration is negative, 0 if the duration is zero, 236 * and 1 if the duration is positive. 326 * <p>Returns the length of the duration i 771 compare(final Duration duration) argument 799 isLongerThan(final Duration duration) argument 821 isShorterThan(final Duration duration) argument 863 equals(final Object duration) argument [all...] |
H A D | XMLGregorianCalendar.java | 876 * <p>Add <code>duration</code> to this instance.</p> 885 * @param duration Duration to add to this <code>XMLGregorianCalendar</code>. 887 * @throws NullPointerException when <code>duration</code> parameter is <code>null</code>. 889 public abstract void add(Duration duration); argument
|
/openjdk7/jdk/test/java/text/Bidi/ |
H A D | Bug6665028.java | 39 // Usage: java Bug6665028 [duration] 54 int duration = 45; 56 duration = Math.max(1, Math.min(Integer.parseInt(args[0]), 45)); 67 Thread.sleep(duration * 1000);
|
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | gcTrace.hpp | 82 void set_sum_of_pauses(jlong duration) { _sum_of_pauses = duration; } argument 85 void set_longest_pause(jlong duration) { _longest_pause = duration; } argument
|
/openjdk7/hotspot/test/compiler/7179138/ |
H A D | Test7179138_1.java | 39 for (long duration : durations) {
|
H A D | Test7179138_2.java | 39 for (long duration : durations) {
|
/openjdk7/jdk/src/share/transport/shmem/ |
H A D | sysShmem.h | 63 void sysSleep(long duration);
|
/openjdk7/jdk/test/java/nio/channels/Selector/ |
H A D | LotsOfCancels.java | 145 long duration = durationMillis(startTime); 148 ", duration = " + duration + "ms"); 150 if (duration > maxSelectTime) { 153 duration + "ms " + 262 long duration = durationMillis(startTime); 264 + selectCount + ", duration = " + duration + "ms");
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | TimeUnit.java | 177 * Convert the given time duration in the given unit to this 189 * @param sourceDuration the time duration in the given <tt>sourceUnit</tt> 191 * @return the converted duration in this unit, 200 * Equivalent to <tt>NANOSECONDS.convert(duration, this)</tt>. 201 * @param duration the duration 202 * @return the converted duration, 207 public long toNanos(long duration) { argument 212 * Equivalent to <tt>MICROSECONDS.convert(duration, this)</tt>. 213 * @param duration th 219 toMicros(long duration) argument 231 toMillis(long duration) argument 243 toSeconds(long duration) argument 256 toMinutes(long duration) argument 269 toHours(long duration) argument 280 toDays(long duration) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | AnimationController.java | 111 //Vista theme might have transition duration for toolbar buttons 126 long duration; 131 duration = 1000; 133 duration = XPStyle.getXP().getThemeTransitionDuration( 139 controller.startAnimation(c, part, oldState, newState, duration); 145 // defined by states. It seems that theme has duration defined 327 //animation duration in nanoseconds 328 private final long duration; field in class:AnimationController.AnimationState 352 this.duration = milliseconds * 1000000; 366 / duration; [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/transport/ |
H A D | DGCImpl.java | 69 /** lease duration to grant to clients */ 74 /** lease check interval; default is half of lease grant duration */ 124 long duration = leaseValue; 146 lease = new Lease(vmid, duration); 151 leaseTable.put(vmid, new LeaseInfo(vmid, duration)); 163 info.renew(duration); 170 ", vmid = " + vmid + ", duration = " + duration);
|
H A D | DGCClient.java | 86 /** lease duration to request (usually ignored by server) */ 157 private static long computeRenewTime(long grantTime, long duration) { argument 160 * a longer fraction of the lease duration for longer leases. 162 return grantTime + (duration / 2); 362 long duration = lease.getValue(); 364 long newRenewTime = computeRenewTime(startTime, duration); 365 long newExpirationTime = startTime + duration; 384 * the start time and duration of this attempt for 532 * Wait for the duration calculated above for any of
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | g1MMUTracker.cpp | 70 gc_time += elem->duration(); 82 double duration = end - start; local 176 diff -= elem->duration();
|
H A D | g1MMUTracker.hpp | 80 inline double duration() { return _end_time - _start_time; } function in class:VALUE_OBJ_CLASS_SPEC
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | InterruptCopy.java | 88 long duration = System.currentTimeMillis() - start; 89 if (duration > DURATION_MAX_IN_MS)
|
/openjdk7/hotspot/src/share/vm/services/ |
H A D | management.hpp | 70 static void record_vm_startup_time(jlong begin, jlong duration);
|
/openjdk7/jdk/test/java/util/ResourceBundle/Control/ |
H A D | StressTest.java | 33 // Usage: java StressTest [threadsFactor [duration]] 68 int duration = 180; 70 duration = Math.max(5, Integer.parseInt(args[1])); 88 for (int i = 0; runrun && i < duration; i++) {
|
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/ |
H A D | Generator.java | 351 long duration = System.currentTimeMillis() - startTime; 352 env.output(Main.getText("rmic.generated", file.getPath(), Long.toString(duration)));
|
/openjdk7/jdk/src/windows/transport/shmem/ |
H A D | shmem_md.c | 378 sysSleep(long duration) { argument 379 Sleep((DWORD)duration);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | XMLGregorianCalendarImpl.java | 2003 * <p>Add <code>duration</code> to this instance.<\p> 2012 * @param duration Duration to add to this <code>XMLGregorianCalendar</code>. 2014 * @throws NullPointerException when <code>duration</code> parameter is <code>null</code>. 2016 public void add(Duration duration) { argument 2024 * Given a dateTime S and a duration D, specifies how to compute a 2026 * duration D i.e. E = S + D. 2051 int signum = duration.getSign(); 2059 BigInteger dMonths = sanitize(duration.getField(DatatypeConstants.MONTHS), signum); 2073 BigInteger dYears = sanitize(duration.getField(DatatypeConstants.YEARS), signum); 2098 BigDecimal dSeconds = DurationImpl.sanitize((BigDecimal) duration [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | StandardMidiFileReader.java | 70 int duration = MidiFileFormat.UNKNOWN_LENGTH; 140 MidiFileFormat format = new MidiFileFormat(type, divisionType, resolution, fileLength, duration);
|