- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,356 for within (0.19 sec)
-
guava-testlib/src/com/google/common/testing/GcFinalization.java
* specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for * ordinary tests. * * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time * period or an interrupt while waiting for the expected event will result in a {@link * RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
assertEquals(MAX_SIZE, removalListener.getCount()); CacheTesting.checkValidState(cache); } /** * With an unlimited-size cache with maxWeight of 0, entries weighing 0 should still be cached. * Entries with positive weight should not be cached (nor dump existing cache). */ public void testEviction_maxWeight_zero() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 14.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* <li>comparing each object against null returns false * <li>comparing each object against an instance of an incompatible class returns false * <li>comparing each pair of objects within the same equality group returns true * <li>comparing each pair of objects from different equality groups returns false * <li>the hash codes of any two equal objects are equal * </ul> *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
guava/src/com/google/common/base/Internal.java
*/ @SuppressWarnings({ // We use this method only for cases in which we need to decompose to primitives. "GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive", // We use this method only from within APIs that require a Duration. "Java7ApiChecker", }) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jan 11 14:30:06 GMT 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Internal.java
*/ @SuppressWarnings({ // We use this method only for cases in which we need to decompose to primitives. "GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive", // We use this method only from within APIs that require a Duration. "Java7ApiChecker", }) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jan 11 14:30:06 GMT 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
if (array[i] > max) { max = array[i]; } } return max; } /** * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}. * * <p>If {@code value} is within the range {@code [min..max]}, {@code value} is returned * unchanged. If {@code value} is less than {@code min}, {@code min} is returned, and if {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
"Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.") public static double max(double... array) { checkArgument(array.length > 0); double max = array[0]; for (int i = 1; i < array.length; i++) { max = Math.max(max, array[i]); } return max; } /** * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
monitor.leave(); } } else { // It is possible due to races that we are currently in the expected state even though we // timed out. e.g. if we weren't event able to grab the lock within the timeout we would never // even check the guard. I don't think we care too much about this use case but it could lead // to a confusing error message.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 20.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
// A surrogate pair defining a code point within the safe range. String safeInput = "\uD800\uDC00"; // 0x10000 assertEquals(safeInput, surrogateEscaper.escape(safeInput)); // A surrogate pair defining a code point outside the safe range (but both // of the surrogate characters lie within the safe range). It is important
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 23:02:38 GMT 2024 - 5K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
return new EntryComparator<K, V>(keyComparator); } /** * Asserts that all pairs of {@code T} values within {@code valuesInExpectedOrder} are ordered * consistently between their order within {@code valuesInExpectedOrder} and the order implied by * the given {@code comparator}. * * @see #testComparator(Comparator, List) */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 17.7K bytes - Viewed (0)