- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 996 for just (0.03 sec)
-
futures/failureaccess/pom.xml
classes are conceptually a part of Guava, but they're in this separate artifact so that Android libraries can use them without pulling in all of Guava (just as they can use ListenableFuture by depending on the listenablefuture artifact). </description> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <executions>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 18:13:11 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
// 150 milliseconds. so in a perfect world the timing would be 353-150=203ms, but since either // of our sleep calls can be arbitrarily delayed we should just assert that there is a time // recorded. assertThat(startupTimes.get(b)).isNotNull(); } public void testServiceStartStop() { Service a = new NoOpService(); Service b = new NoOpService();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
return lazyWeakCustom(stripes, WeakSafeReadWriteLock::new); } /** * ReadWriteLock implementation whose read and write locks retain a reference back to this lock. * Otherwise, a reference to just the read lock or just the write lock would not suffice to ensure * the {@code ReadWriteLock} is retained. */ private static final class WeakSafeReadWriteLock implements ReadWriteLock { private final ReadWriteLock delegate;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
String message = "Waited " + timeout + " " + unit.toString().toLowerCase(Locale.ROOT); // Only report scheduling delay if larger than our spin threshold - otherwise it's just noise if (remainingNanos + SPIN_THRESHOLD_NANOS < 0) { // We over-waited for our timeout. message += " (plus "; long overWaitNanos = -remainingNanos;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
return (Collector) ONLY_ELEMENT; } /** * This atrocity is here to let us report several of the elements in the stream if there were more * than one, not just two. */ @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types private static final class ToOptionalState { static final int MAX_EXTRAS = 4; @Nullable Object element;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
} } // Test _all_ allowed characters (including surrogate values). for (char ch = 0x20; ch <= 0xFFFD; ch++) { // There are a small number of cases to consider, so just do it manually. if (ch == '&') { assertEscaping(xmlEscaper, "&", ch); } else if (ch == '<') { assertEscaping(xmlEscaper, "<", ch); } else if (ch == '>') {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
String expectedValue = "{labels." + expectedValuePart + "}"; // Some fields may have different conventions, so we just check if it starts correctly assertTrue("Field " + field.getName() + " value '" + value + "' should be related to its name", value.startsWith("{labels.")); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
ByteSource source = out.asByteSource(); int chunk1 = min(dataSize, fileThreshold); int chunk2 = dataSize - chunk1; // Write just enough to not trip the threshold if (chunk1 > 0) { write(out, data, 0, chunk1, singleByte); assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source)); } File file = out.getFile();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method. * * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is * typically useful for {@code return} statements. That leaves the code with two options: Either
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
// Test empty property replacement System.setProperty("empty", ""); String value = "${empty}"; assertEquals("", ResourceUtil.resolve(value)); // Test property with just spaces System.setProperty("spaces", " "); value = "${spaces}"; assertEquals(" ", ResourceUtil.resolve(value)); // Test long property name
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0)