- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 5,397 for returns (0.03 sec)
-
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
assertNull(renewed, "renew() may return null for failed renewal"); } } @Test @DisplayName("Mockito: verify renew() interaction and return value") void mockitoInteraction(@Mock CredentialsInternal returned, @Mock SmbRenewableCredentials renewable) { // Arrange: stub renew() to return a mocked CredentialsInternal when(renewable.renew()).thenReturn(returned); // Act: invoke renew()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
// With default lmCompatibility=3, getUnicodeHash returns empty array for NTLMv2 NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", "password"); byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 }; byte[] hash = auth.getUnicodeHash(challenge); assertNotNull(hash); // For lmCompatibility 3,4,5 (NTLMv2), returns empty array assertEquals(0, hash.length); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Primitives.java
@SuppressWarnings("unchecked") Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER_TYPE.get(type); return (wrapped == null) ? type : wrapped; } /** * Returns the corresponding primitive type of {@code type} if it is a wrapper type; otherwise * returns {@code type} itself. Idempotent. * * <pre> * unwrap(Integer.class) == int.class * unwrap(int.class) == int.classRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java
* * @return the operating system architecture (never null) */ @Nonnull String arch(); /** * Returns the OS version as reported by the system property "os.version". * The value is converted to lowercase for consistency. * * @return the operating system version (never null) */ @Nonnull String version(); /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Feb 10 14:12:18 UTC 2025 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
return Objects.hash(function, supplier); } @Override public String toString() { return "Suppliers.compose(" + function + ", " + supplier + ")"; } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns a supplier which caches the instance retrieved during the first call to {@code get()}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
*/ @GwtCompatible public class Joiner { /** Returns a joiner which automatically places {@code separator} between consecutive elements. */ public static Joiner on(String separator) { return new Joiner(separator); } /** Returns a joiner which automatically places {@code separator} between consecutive elements. */ public static Joiner on(char separator) { return new Joiner(String.valueOf(separator)); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
*/ interface Entry<E extends @Nullable Object> { /** * Returns the multiset element corresponding to this entry. Multiple calls to this method * always return the same instance. * * @return the element corresponding to this entry */ @ParametricNullness E getElement(); /** * Returns the count of the associated element in the underlying multiset. This count may either
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
return delegate; } return new UnmodifiableSortedSetMultimap<>(delegate); } /** * Returns a synchronized (thread-safe) {@code ListMultimap} backed by the specified multimap. * * <p>You must follow the warnings described in {@link #synchronizedMultimap}. * * @param multimap the multimap to be wrapped * @return a synchronized view of the specified multimapRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
return delegate; } return new UnmodifiableSortedSetMultimap<>(delegate); } /** * Returns a synchronized (thread-safe) {@code ListMultimap} backed by the specified multimap. * * <p>You must follow the warnings described in {@link #synchronizedMultimap}. * * @param multimap the multimap to be wrapped * @return a synchronized view of the specified multimapRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
* all values is returned. * */ CacheStats stats(); /** * Returns a view of the entries stored in this cache as a thread-safe map. Modifications made to * the map directly affect the cache. * * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.3K bytes - Viewed (0)