- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 467 for INSTANCES (0.04 sec)
-
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertEquals((byte) 0xFF, serverData.encryptionKey[0]); assertSame(originalKey, serverData.encryptionKey); } /** * Test multiple ServerData instances are independent */ @Test @DisplayName("Test multiple instances are independent") public void testMultipleInstancesIndependence() { // Given ServerData serverData1 = new ServerData();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
assertEquals(1, component.getId()); TestComponent component2 = factory.create(); assertNotNull(component2); assertEquals(2, component2.getId()); // Different instances for prototype assertNotSame(component, component2); } /** * Test creation with null component name */ public void test_create_nullComponentName() {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
} /** * Tests equality of {@link Hashing#goodFastHash} instances. This test must be separate from * {@link #testSeededHashFunctionEquals} because the parameter to {@code goodFastHash} is a size, * not a seed, and because that size is rounded up. Thus, {@code goodFastHash} instances with * different parameters can be equal. That fact is a problem for {@code * testSeededHashFunctionEquals}.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideCreator.java
import org.codelibs.fess.dict.DictionaryItem; import jakarta.annotation.PostConstruct; /** * A dictionary creator for stemmer override files. * This class is responsible for creating {@link StemmerOverrideFile} instances * from files that match the pattern "stemmer_override.*\\.txt". */ public class StemmerOverrideCreator extends DictionaryCreator { private static final Logger logger = LogManager.getLogger(StemmerOverrideCreator.class);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardMutableGraph.java
*/ package com.google.common.graph; import com.google.common.graph.GraphConstants.Presence; /** * Standard implementation of {@link MutableGraph} that supports both directed and undirected * graphs. Instances of this class should be constructed with {@link GraphBuilder}. * * <p>Time complexities for mutation methods are all O(1) except for {@code removeNode(N node)}, * which is in O(d_node) where d_node is the degree of {@code node}.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
// Test creating many OptionalEntity instances for (int i = 0; i < 1000; i++) { OptionalEntity<Integer> opt = OptionalUtil.ofNullable(i); assertTrue(opt.isPresent()); assertEquals(Integer.valueOf(i), opt.get()); } // Test creating many empty OptionalEntity instances for (int i = 0; i < 1000; i++) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
// Test that serialVersionUID is properly defined FessSystemException exception1 = new FessSystemException("Test"); FessSystemException exception2 = new FessSystemException("Test"); // Both instances should be of the same class assertEquals(exception1.getClass(), exception2.getClass()); } public void test_throwAndCatch() { // Test throwing and catching the exceptionRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java
import java.util.concurrent.RunnableFuture; import org.jspecify.annotations.Nullable; /** * Abstract {@link ListeningExecutorService} implementation that creates {@link ListenableFuture} * instances for each {@link Runnable} and {@link Callable} submitted to it. These tasks are run * with the abstract {@link #execute execute(Runnable)} method. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 17:47:46 UTC 2025 - 3K bytes - Viewed (0)