- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 387 for INSTANCES (0.04 sec)
-
android/guava/src/com/google/common/collect/Interner.java
* @since 3.0 */ @DoNotMock("Use Interners.new*Interner") @J2ktIncompatible @GwtIncompatible public interface Interner<E> { /** * Chooses and returns the representative instance for any of a collection of instances that are * equal to each other. If two {@linkplain Object#equals equal} inputs are given to this method, * both calls will return the same instance. That is, {@code intern(a).equals(a)} always holds,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
import org.junit.jupiter.api.Test; /** * Unit tests for {@link SmbFileFilter}. The filter interface is small; the * tests focus on the contract that implementations should honour and the * interaction with {@link SmbFile} instances. The tests make heavy use of * Mockito to guarantee that implementation classes do not inadvertently * bypass the filter logic. */ public class SmbFileFilterTest { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java
for (int offset = 0; offset < 10; offset++) { sb.append((char) (base + offset)); } } ALL_DIGITS = sb.toString(); } /** Sample CharMatcher instances for benchmarking. */ public enum SampleMatcherConfig { WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS), HASH(CharMatcher.is('#'), "#"), ASCII(CharMatcher.ascii(), ASCII_CHARACTERS),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/BenchmarkHelpers.java
for (int offset = 0; offset < 10; offset++) { sb.append((char) (base + offset)); } } ALL_DIGITS = sb.toString(); } /** Sample CharMatcher instances for benchmarking. */ public enum SampleMatcherConfig { WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS), HASH(CharMatcher.is('#'), "#"), ASCII(CharMatcher.ascii(), ASCII_CHARACTERS),
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
import com.google.common.annotations.VisibleForTesting; import java.lang.Thread.UncaughtExceptionHandler; import java.util.Locale; /** * Factories for {@link UncaughtExceptionHandler} instances. * * @author Gregory Kick * @since 8.0 */ @J2ktIncompatible @GwtIncompatible public final class UncaughtExceptionHandlers { private UncaughtExceptionHandlers() {} /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
import com.google.common.annotations.VisibleForTesting; import java.lang.Thread.UncaughtExceptionHandler; import java.util.Locale; /** * Factories for {@link UncaughtExceptionHandler} instances. * * @author Gregory Kick * @since 8.0 */ @J2ktIncompatible @GwtIncompatible public final class UncaughtExceptionHandlers { private UncaughtExceptionHandlers() {} /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
verify(transport, atLeastOnce()).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); } @Test void matchesBehavior() { // Two distinct auth instances NtlmPasswordAuthentication a1 = new NtlmPasswordAuthentication("DOM", "user", "pwd"); NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt
assertFailsWith<IllegalStateException> { response.peekBody(3) } } /** * Returns a new response body that refuses to be read once it has been closed. This is true of * most [BufferedSource] instances, but not of [Buffer]. */ private fun responseBody(content: String): ResponseBody { val data = Buffer().writeUtf8(content) val source: Source = object : Source { var closed = false
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
assertNotNull(pipe2, "Second pipe should be created"); assertNotSame(resource1, resource2, "Different resources should be different instances"); assertNotSame(pipe1, pipe2, "Different pipes should be different instances"); assertTrue(resource1.getLocator().getURL().toString().contains("server1"), "First resource should contain server1");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
for (int i = startIndex + bytesWritten; i < dst.length; i++) { assertEquals((byte) (i & 0xFF), dst[i]); } } @Test @DisplayName("Test multiple instances independence") void testMultipleInstancesIndependence() { NtTransQuerySecurityDesc desc1 = new NtTransQuerySecurityDesc(mockConfig, 0x1111, OWNER_SECURITY_INFORMATION);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0)