- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 431 for Uses (0.02 sec)
-
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
if (classToTest.getSimpleName().equals("ReflectionFreeAssertThrows")) { /* * These classes handle null properly but throw IllegalArgumentException for the default * Class argument that this test uses. Normally we'd fix that by declaring a * ReflectionFreeAssertThrowsTest with a testNulls method, but that's annoying to have to do * for a package-private utility class. So we skip the class entirely instead.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(-1, 1)); assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4)); } /* * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that * (so much for "black box") and try instances that both do and don't pass the check. The "don't" * half of that is more awkward to arrange... */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 20.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
return (T) Long.valueOf(value.longValue()); } return (T) field; } /** * Iterates through all access results for a session, calling the callback for each result. * Uses OpenSearch scroll API for efficient iteration over large result sets. * * @param sessionId The session ID. * @param callback The callback to execute for each access result. */ @Override
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.NameServiceClient; import jcifs.smb.NtlmPasswordAuthentication; /** * Tests for the NtlmServlet class. * This class uses Mockito to simulate a servlet environment and test authentication logic. */ @ExtendWith(MockitoExtension.class) class NtlmServletTest { // A concrete implementation of the abstract NtlmServlet for testing purposes.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/contribute/concurrency.md
manage network connections. Creating and establishing new connections require a fair amount of overhead and added latency. OkHttp will make every effort to reuse existing connections to avoid this overhead and added latency. Every OkHttpClient uses a connection pool. Its job is to maintain a reference to all open connections. When an HTTP request is started, OkHttp will attempt to reuse an existing connection from the pool. If there are no existing connections, a new one is created and put into...
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
gradlew
NONSTOP* ) nonstop=true ;; esac # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then # IBM's JDK on AIX uses strange locations for the executables JAVACMD=$JAVA_HOME/jre/sh/java else JAVACMD=$JAVA_HOME/bin/java fi if [ ! -x "$JAVACMD" ] ; thenRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 18 20:55:41 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName * ``` */ private val subjectAlternativeName: BasicDerAdapter<List<Pair<DerAdapter<*>, Any?>>> = generalName.asSequenceOf() /** * This uses the preceding extension ID to select which adapter to use for the extension value * that follows. */ private val extensionValue: BasicDerAdapter<Any?> = Adapters .usingTypeHint { typeHint ->
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
*/ Config.setProperty("jcifs.smb1.smb.client.soTimeout", "1800000"); Config.setProperty("jcifs.smb1.netbios.cachePolicy", "1200"); /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle * techinque that NTLMv2 specifically thwarts. A real NTLM Filter would * need to do a NETLOGON RPC that JCIFS will likely never implementRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); // SMB2 branch in ensureOpen uses openUnshared(String, ...) when(pipe.openUnshared(anyString(), anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(fileHandle); when(fileHandle.acquire()).thenReturn(fileHandle);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
import java.util.function.Consumer; import org.jspecify.annotations.Nullable; /** * Bimap with zero or more mappings. * * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> { @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Entry<?, ?>[] instead.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 11K bytes - Viewed (0)