- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 359 for preference (0.11 sec)
-
android/guava/src/com/google/common/collect/MapMaker.java
import java.util.concurrent.ConcurrentMap; import org.jspecify.annotations.Nullable; /** * A builder of {@link ConcurrentMap} instances that can have keys or values automatically wrapped * in {@linkplain WeakReference weak} references. * * <p>Usage example: * * {@snippet : * ConcurrentMap<Request, Stopwatch> timers = new MapMaker() * .concurrencyLevel(4) * .weakKeys() * .makeMap(); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java
extends AbstractFuture.TrustedFuture<OutputT> { // Lazily initialized the first time we see an exception; not released until all the input futures // & this future completes. Released when the future releases the reference to the running state private @Nullable Set<Throwable> seenExceptions = null; private int remaining; AggregateFutureState(int remainingFutures) { this.remaining = remainingFutures; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
import java.util.logging.Logger import java.util.logging.SimpleFormatter import kotlin.reflect.KClass import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http2.Http2 object OkHttpDebugLogging { // Keep references to loggers to prevent their configuration from being GC'd. private val configuredLoggers = CopyOnWriteArraySet<Logger>() fun enableHttp2() = enable(Http2::class) fun enableTaskRunner() = enable(TaskRunner::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
when(mockFile.getPath()).thenReturn("/share/dir/"); RecordingFilter filter = new RecordingFilter(); filter.accept(mockFile); // Verify the filter stored the reference // assertSame may not be necessary but demonstrates captured file // we simply check that getPath was called verify(mockFile, times(1)).getPath(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide * target iterators on demand. It also requires three additional constructor parameters: {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileInternalInfo.java
/** * File System Control Code (FSCC) structure for File Internal Information. * Provides access to the file's internal index number, which is a unique identifier * assigned by the file system for internal tracking and reference purposes. * * @author mbechler */ public class FileInternalInfo implements FileInformation { private long indexNumber; /** * Default constructor for decoding file internal information.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrException.java
*/ public class NdrException extends CIFSException { /** * */ private static final long serialVersionUID = 7621650016319792189L; /** * Error message for null reference pointers. */ public static final String NO_NULL_REF = "ref pointer cannot be null"; /** * Error message for invalid array conformance. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (1) -
guava-tests/test/com/google/common/graph/MapCacheTest.java
assertThat(fooReference1).isNotSameInstanceAs(fooReference2); assertThat(mapCache.put(fooReference1, "bar")).isNull(); assertThat(mapCache.get(fooReference1)).isEqualTo("bar"); // ensure first reference is cached assertThat(mapCache.remove(fooReference2)).isEqualTo("bar"); assertThat(mapCache.get(fooReference1)).isNull(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbTree.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; /** * Opaque reference to a SMB tree * * @author mbechler * */ public interface SmbTree extends AutoCloseable { /** * Unwraps the tree instance to the specified type * @param <T> the target tree type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertThrows(NoSuchElementException.class, iter::next); assertThrows(NoSuchElementException.class, iter::peek); } @J2ktIncompatible // weak references, details of GC @GwtIncompatible // weak references @AndroidIncompatible // depends on details of GC public void testFreesNextReference() { Iterator<Object> itr = new AbstractIterator<Object>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0)