- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 548 for needn (0.02 sec)
-
guava/src/com/google/common/base/Internal.java
* a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair. */ // We use this method only for cases in which we need to decompose to primitives. @SuppressWarnings({"GoodTime-ApiWithNumericTimeUnit", "GoodTime-DecomposeToPrimitive"}) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>To use this class the concrete subclass must implement the {@link * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator * without changing its state, so the tester needs a steady supply of fresh Iterators. * * <p>If your iterator supports modification through {@code remove()}, you may wish to override the * verify() method, which is called after each sequence and is guaranteed to be calledRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java
} /** Sorts the enums according to their natural ordering. */ /* * While the current implementation returns `this`, that's not something we mean to guarantee. * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new * collection. */ @SuppressWarnings("CanIgnoreReturnValueSuggester") @Override public List<AnEnum> order(List<AnEnum> insertionOrder) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Partially.java
* * <p>We can't use {@code PartiallyGwtIncompatible} because then the GWT compiler wouldn't recognize * it as a {@code GwtIncompatible} annotation. And for {@code Futures.catching}, we need the GWT * compiler to autostrip the normal server method in order to expose the special, inherited GWT * version. */ @GwtCompatible final class Partially { /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
* task cannot be implemented with {@link ListeningExecutorService}, the various {@link Futures} * utility methods, or {@link ListenableFutureTask}. Those APIs have less opportunity for developer * error. If your needs are more complex than {@code SettableFuture} supports, use {@link * AbstractFuture}, which offers an extensible version of the API. * * @author Sven Mawson * @since 9.0 (in 1.0 as {@code ValueFuture}) */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
assertArrayEquals(new byte[] { (byte) 192, (byte) 168, (byte) 1, (byte) 1 }, nbtAddress.getAddress()); // Don't test isGroupAddress and getNodeType here as they don't need context for known hosts } @Test void testConstructorWithAllParameters() throws UnknownHostException { // Test the constructor with all parameters
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
implements Supplier<T>, Serializable { private transient Object lock = new Object(); final Supplier<T> delegate; transient volatile boolean initialized; // "value" does not need to be volatile; visibility piggy-backs // on volatile read of "initialized". transient @Nullable T value; MemoizingSupplier(Supplier<T> delegate) { this.delegate = checkNotNull(delegate); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java
writeInt8(0L, dst, dstIndex); dstIndex += 8; writeTime(lastWriteTime, dst, dstIndex); dstIndex += 8; writeInt8(0L, dst, dstIndex); dstIndex += 8; /* Samba 2.2.7 needs ATTR_NORMAL */ writeInt2(0x80 | attributes, dst, dstIndex); dstIndex += 2; /* 6 zeros observed with NT */ writeInt8(0L, dst, dstIndex); dstIndex += 6;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DescendingMultiset.java
import java.util.Comparator; import java.util.Iterator; import java.util.NavigableSet; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A skeleton implementation of a descending multiset. Only needs {@code forwardMultiset()} and * {@code entryIterator()}. * * @author Louis Wasserman */ @GwtCompatible abstract class DescendingMultiset<E extends @Nullable Object> extends ForwardingMultiset<E>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 4.4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
import okio.BufferedSink import okio.BufferedSource import okio.ForwardingSink import okio.ForwardingSource import okio.asOkioSocket import okio.buffer /** * Adapts a [java.net.Socket] to MockWebServer's needs. * * Note that [asOkioSocket] returns a socket that closes the underlying [java.net.Socket] when both * of its component streams are closed. This class takes advantage of that. */ internal class MockWebServerSocket(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0)