- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 251 for Consumer (0.07 sec)
-
guava/src/com/google/common/xml/ParametricNullness.java
* ImmutableMap.get} returns {@code @Nullable E} because the method can return {@code null} * even on an {@code ImmutableMap<K, @NonNull String>}. * </ul> * * <p>Consumers of this annotation include: * * <ul> * <li>NullAway, which <a * href="https://github.com/google/guava/issues/6126#issuecomment-1204399671">treats itRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
assertEquals(callerFree * sectPerAlloc * bytesPerSect, fileFsFullSizeInfo.getFree()); } @Test @DisplayName("Should return correct number of bytes consumed from buffer") void shouldReturnCorrectBytesConsumed() throws SMBProtocolDecodingException { // Given - larger buffer than needed byte[] buffer = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
return false; } // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it @Override public abstract int hashCode(); /* * The implementation neither produces nor consumes any non-null instance of type C, so * casting the type parameter is safe. */ @SuppressWarnings("unchecked") static <C extends Comparable> Cut<C> belowAll() { return (Cut<C>) BelowAll.INSTANCE; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* this is no worse than what FutureTask does in that situation. Additionally, because the * Future was cancelled, its listeners have been run, so its consumers will not hang. * * Contrast this to the situation we have if setResult() throws, a situation described below. */ I sourceResult; try { sourceResult = getDone(localInputFuture);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
} return null; }).when(tree).send(any(Request.class)); DirFileEntryEnumIterator2 it = new DirFileEntryEnumIterator2(tree, parent, "*", null, 0); // Consume the only element assertTrue(it.hasNext()); assertSame(fe1, it.next()); // After exception path, iterator should be exhausted assertFalse(it.hasNext());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Service.java
* {@code A -> B}. * * @since 9.0 (in 1.0 as {@code com.google.common.base.Service.State}) */ enum State { /** A service in this state is inactive. It does minimal work and consumes minimal resources. */ NEW, /** A service in this state is transitioning to {@link #RUNNING}. */ STARTING, /** A service in this state is operational. */ RUNNING,Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ParametricNullness.java
* ImmutableMap.get} returns {@code @Nullable E} because the method can return {@code null} * even on an {@code ImmutableMap<K, @NonNull String>}. * </ul> * * <p>Consumers of this annotation include: * * <ul> * <li>NullAway, which <a * href="https://github.com/google/guava/issues/6126#issuecomment-1204399671">treats itRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
// appendCodePoint(). The Punycode algorithm processes code points in increasing code-point // order, not in increasing index order. val codePoints = mutableListOf<Int>() // consume all code points before the last delimiter (if there is one) // and copy them to output, fail on any non-basic code point val lastDelimiter = string.lastIndexOf('-', limit) if (lastDelimiter >= pos) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.5K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
*/ package com.google.common.collect.testing; import java.util.Arrays; /** * Minimal GWT emulation of {@code com.google.common.collect.testing.Platform}. * * <p><strong>This .java file should never be consumed by javac.</strong> * * @author Hayward Chan */ final class Platform { // Class.cast is not supported in GWT. static void checkCast(Class<?> clazz, Object obj) {} static <T> T[] clone(T[] array) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
assertDoesNotThrow(() -> concreteImplementation.fixupDomain(domain)); } @Test @DisplayName("Should strip path consumed") void testStripPathConsumed() { int consumedAmount = 5; // Test with mock doNothing().when(mockReferralData).stripPathConsumed(consumedAmount);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0)