- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 2,321 for methods (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(ms.entrySet()); assertEquals(3, uniqueEntries.size()); } // Wrapper of EnumMultiset factory methods, because we need to skip create(Class). // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise. // For the same reason, we need to skip create(Iterable, Class).Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
baos.write(content); byte[] token = baos.toByteArray(); assertThrows(PACDecodingException.class, () -> new KerberosToken(token)); } // Helper methods to create test tokens private byte[] createGssApiWrapper(ASN1ObjectIdentifier oid, byte[] data) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
return super.resolve(domain, root, path, auth); } } @BeforeEach void setUp() { dfs = new Dfs(); testDfs = new TestDfs(); // Mock static methods logStreamMockedStatic = mockStatic(LogStream.class); lenient().when(LogStream.getInstance()).thenReturn(mock(LogStream.class)); uniAddressMockedStatic = mockStatic(UniAddress.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
} } // Helper method to create a mock SmbFile for more advanced tests if needed private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException { // This is complex due to the class structure. A better approach would be // to refactor SmbFile to be more testable (e.g., dependency injection). // For now, we test methods that don't require deep mocks.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
thrownReflectionFailure = reflectionFailure; helper = new SynchronizedAtomicHelper(); } ATOMIC_HELPER = helper; // Log after all static init is finished; if an installed logger uses any Futures methods, it // shouldn't break in cases where reflection is missing/broken. if (thrownReflectionFailure != null) { log.get().log(Level.SEVERE, "SafeAtomicHelper is broken!", thrownReflectionFailure); } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
if (tc == null) { throw new NullPointerException("tc"); } // Exercise interaction with dependency for verification purposes // These methods do not throw and allow interaction checks. tc.getConfig(); tc.getCredentials(); // Minimal behavior: return a mock SSPContext with lenient stubbing
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
/** * The {@link CrawlerContext} class holds the context information for a crawler execution. * It contains various attributes related to the crawler's state, configuration, and runtime data. * This class provides methods to access and modify these attributes, allowing for control and monitoring * of the crawler's behavior. * * <p> * The context includes information such as the session ID, active thread count, access count, crawler status,Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java
import org.codelibs.fess.crawler.service.UrlQueueService; import jakarta.annotation.Resource; /** * Implementation of the {@link UrlQueueService} interface. * This class provides methods for managing a queue of URLs to be crawled, * including adding, deleting, and retrieving URLs from the queue. * It uses a {@link MemoryDataHelper} to store the URL queue data in memory. * * <p>Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* serialize the copy. Other methods similar to this do not implement serialization at all for * this reason. * * <p><b>Java 8+ users:</b> many use cases for this method are better addressed by {@link * java.util.stream.Stream#map}. This method is not being deprecated, but we gently encourage you * to migrate to streams. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* <h3>Extension</h3> * * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that * forwards to that future and adds the desired methods. * * @since 23.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0)