/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | CompletableFutureTest.java | 3352 f.whenComplete((v, e) -> {if (e != null) r.set(e); else x.set(v);}); 3430 g.whenComplete((v, e) -> {if (e != null) r.set(e); else x.set(v);}); 3446 g.whenComplete((v, e) -> {if (e != null) r.set(e); else x.set(v);}); 3464 f.whenComplete((v, e) -> {if (e != null) r.set(e); else x.set(v);}); 3848 plus.firstFailure.set(null); 3852 plus.firstFailure.set(nul [all...] |
H A D | AbstractExecutorServiceTest.java | 72 done.set(true);
|
H A D | ForkJoinPoolTest.java | 207 * getParallelism returns size set in constructor 432 done.set(true);
|
H A D | JSR166TestCase.java | 95 * MEDIUM. And so on. These constants are set to conservative values, 123 * (see the separate "jtreg" tests for a set intended to check these 160 * execution without being reported, when profileTests is set. 650 * Triggers test case failure if interrupt status is set in the main thread. 670 tearDownFail("interrupt status set in main thread"); 902 return new Runnable() { public void run() { flag.set(true); }}; 1104 * manager, a temporary one is set for the duration of the
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | SerializationStressTest4.java | 543 ((java.util.BitSet) objToSave).set(3); 544 ((java.util.BitSet) objToSave).set(5); 545 ((java.util.BitSet) objToSave).set(61, 89); 1838 assertTrue("invalid entry set iterator order", loadedIterator 1841 assertTrue("invalid entry set iterator size", !iterator.hasNext());
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | ObjectStreamClass.java | 249 * defines a set of classes all with the same name that have evolved from a 324 * is non-serializable and "all" is set to false. 367 * for future value to be set by a lookup() call further up the 368 * stack will result in deadlock, so calculate and set the 382 if (future.set(entry)) { 385 // nested lookup call already set future 406 * return the actual entry once it is ready for use and has been set(). To 416 * Attempts to set the value contained by this EntryFuture. If the 417 * EntryFuture's value has not been set already, then the value is 419 * true is returned. If the value has already been set, the 422 synchronized boolean set(Object entry) { method in class:ObjectStreamClass.EntryFuture [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | ServerSocketTest.java | 331 // Should not throw SocketException when set DatagramSocketImplFactory 354 field.set(null, null); 601 // set up server connect and then validate that we get the right 729 // set up server and connect 756 // now test case were we set it to true 784 // the value set 820 // now validate case where we try to set to 0 824 fail("No exception when receive buffer size set to 0"); 829 // now validate case where we try to set to a negative value 833 fail("No exception when receive buffer size set t [all...] |
/libcore/json/src/test/java/libcore/org/json/ |
H A D | JSONArrayTest.java | 443 contents.set(0, 10);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | AsynchronousFileChannelTest.java | 650 serviceThread.set(new Thread(r));
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
H A D | CertificateFactoryTest.java | 551 cal.set(2100, 0, 1, 0, 0, 0); // Jan 1, 2100 UTC
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | LinkedHashMapTest.java | 250 removeEldestEntryReturnValue.set(true);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | URLConnection.java | 86 * {@code UseCaches} parameters can be set using the methods 90 * Each of the above {@code set} methods has a corresponding 179 * This variable is set by the {@code setDoInput} method. Its 194 * This variable is set by the {@code setDoOutput} method. Its 216 * The value of this field can be set by the 236 * This field is set by the {@code setUseCaches} method. Its 256 * This variable is set by the {@code setIfModifiedSince} 324 * @param map the FileNameMap to be set 349 * error to try to set them. Operations that depend on being 373 * the specified timeout. To see the connect timeout set, pleas [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ThreadPoolExecutor.java | 85 * according to the bounds set by 99 * sizes are set only upon construction, but they may also be changed 359 * reported as the current size of the workers set. 469 * Lock held on access to workers set and related bookkeeping. 470 * While we could use a concurrent set of some sort, it turns out 478 * ensuring workers set is stable while separately checking 557 * is set, in which case the minimum is zero. 576 * have permission to actually interrupt threads in the worker set 733 ctl.set(ctlOf(TERMINATED, 0)); 1008 * only from worker threads. Unless completedAbruptly is set, [all...] |
H A D | ConcurrentSkipListMap.java | 143 * The base lists use a variant of the HM linked ordered set 329 * argument is set up outside of loops (thus sometimes passed as 377 /** Lazily initialized key set */ 379 /** Lazily initialized entry set */ 383 /** Lazily initialized descending key set */ 1023 casHead(h, d) && // try to set 1368 preds.set(i, q); 1400 preds.set(i, idx); 1468 preds.set(i, q); 1501 preds.set( [all...] |
/libcore/ojluni/src/main/java/sun/invoke/util/ |
H A D | Wrapper.java | 593 java.lang.reflect.Array.set(a, i+apos, value);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | UnixPath.java | 126 encoder.set(new SoftReference<CharsetEncoder>(ce));
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
H A D | OsTest.java | 495 killerThreadException.set(expected); 499 killerThreadException.set(ex); 645 // may set errno to EACCESS instead. This behavior change is likely related to 662 // Linux listxattr does not set errno. 706 * Tests that TCP_USER_TIMEOUT can be set on a TCP socket, but doesn't test 785 // Address should be correctly set for empty packets. http://b/33481605
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
H A D | FtpClient.java | 162 * the original character set is. It is not correct to assume that 264 now.set(Calendar.HOUR, Integer.parseInt(time.substring(0, c))); 265 now.set(Calendar.MINUTE, Integer.parseInt(time.substring(c + 1))); 703 * Opens a data connection with the server according to the set mode 952 // connectTimeout & readTimeout (-1 means not set) 1201 * specified point. After a transfer the restart offset is set back to 1219 * If the restart offset was set, then a <code>REST</code> command will be 1312 * If <code>unique</code> is set to <code>true</code>, the resultant file 1798 * one. By default the parser is set to one that can handle most FTP 2032 * set sinc [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | TreeMap.java | 784 * Fields initialized to contain an instance of the entry set view 795 * <p>The set's iterator returns the keys in ascending order. 796 * The set's spliterator is 806 * <p>The set is backed by the map, so changes to the map are 807 * reflected in the set, and vice-versa. If the map is modified 808 * while an iteration over the set is in progress (except through 810 * the iteration are undefined. The set supports element removal, 869 * <p>The set's iterator returns the entries in ascending key order. The 876 * <p>The set is backed by the map, so changes to the map are 877 * reflected in the set, an 2494 addAllForTreeSet(SortedSet<? extends K> set, V defaultVal) argument [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKLocalTime.java | 149 EnumSet<ChronoUnit> set = EnumSet.range(DAYS, FOREVER); 150 INVALID_UNITS = set.toArray(new TemporalUnit[set.size()]);
|
/libcore/ojluni/src/main/java/java/time/format/ |
H A D | DateTimeFormatterBuilder.java | 320 * Note that case sensitivity is set separately to this method. 428 * Adjacent value parsing applies to each set of fixed width not-negative values in the parser 568 * The exact behavior is as follows. Parse the full set of fields and 649 active.printerParsers.set(activeValueParser, basePP); 677 * If the field does not have a fixed set of valid values then an 687 * @throws IllegalArgumentException if the field has a variable set of valid values or 749 * year as "JNY", "FBY", "MCH" etc. These do not match the standard set of text 1136 * for the locale set in the {@link DateTimeFormatter}. 1151 * to specify a set of preferred {@link ZoneId} in this situation. 1172 * for the locale set i [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | FormatterTest.java | 1734 paris.set(2006, 4, 8, 12, 0, 0); 1735 paris.set(Calendar.MILLISECOND, 453); 1738 china.set(2006, 4, 8, 12, 0, 0); 1739 china.set(Calendar.MILLISECOND, 609);
|
H A D | LinkedHashMapTest.java | 229 assertTrue("Returned set of incorrect size", hm.size() == s.size()); 232 assertTrue("Returned incorrect entry set", hm.containsKey(m 258 assertTrue("Returned set of incorrect size()", s.size() == hm.size()); 260 assertTrue("Returned set does not contain all keys", s 414 Map.Entry<String, String>[] set = new Map.Entry[3]; 532 assertTrue("Returned set of incorrect size 1", lhm.size() == s1.size()); 536 assertTrue("Returned incorrect entry set 1", jj.intValue() == i); 547 assertTrue("Returned set of incorrect size 2", lruhm.size() == s3 552 assertTrue("Returned incorrect entry set 2", jj.intValue() == i); 565 assertTrue("Returned set o [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | URLConnectionTest.java | 529 assertTrue("Should be set to true by default", uc.getDoInput()); 532 assertTrue("Should have been set to true", fileURLCon.getDoInput()); 535 assertFalse("Should have been set to false", uc2.getDoInput()); 553 assertFalse("Should be set to false by default", uc.getDoOutput()); 556 assertTrue("Should have been set to true", uc.getDoOutput()); 562 assertFalse("Should have been set to false", uc2.getDoOutput()); 1053 // nothing happens if set null 1098 cal.set(2000, Calendar.MARCH, 5); 1102 assertEquals("Wrong date set", sinceTime, connection
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | DatagramChannelTest.java | 2233 // assert the position of ByteBuffer has been set 2543 killerThreadException.set(expected); 2547 killerThreadException.set(ex);
|