- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 2,426 for Methods (0.06 sec)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
* The tests verify that: * <ul> * <li>encoding and decoding round‑trip correctly handle typical, zero, * and extreme {@code long} values.</li> * <li>encode/decode methods interact correctly with a mocked * {@link NdrBuffer} so that the correct method is called with * the correct argument.</li> * <li>passing {@code null} throws {@link NullPointerException}. * </ul> *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Verify that the response inherits from ServerMessageBlock2Response assertTrue(response instanceof jcifs.internal.smb2.ServerMessageBlock2Response); // Test some inherited methods assertFalse(response.isReceived()); assertFalse(response.isError()); assertNull(response.getExpiration()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
} /** * Returns the {@link Method} instances for the test methods in this class which call {@code * hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method[] getHashCodeMethods() { return new Method[] {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapEntry.java
import java.util.Map.Entry; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * Implementation of the {@code equals}, {@code hashCode}, and {@code toString} methods of {@code * Entry}. * * @author Jared Levy */ @GwtCompatible abstract class AbstractMapEntry<K extends @Nullable Object, V extends @Nullable Object> implements Entry<K, V> { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/VerifyException.java
/** * Exception thrown upon the failure of a <a * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">verification check</a>, * including those performed by the convenience methods of the {@link Verify} class. * * @since 17.0 */ @GwtCompatible public class VerifyException extends RuntimeException { /** Constructs a {@code VerifyException} with no message. */ public VerifyException() {}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Hashing.java
import static java.lang.Math.max; import com.google.common.annotations.GwtCompatible; import com.google.common.primitives.Ints; import org.jspecify.annotations.Nullable; /** * Static methods for implementing hash-based collections. * * @author Kevin Bourrillion * @author Jesse Wilson * @author Austin Appleby */ @GwtCompatible final class Hashing { private Hashing() {} /*Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
} }; assertThrows(SmbException.class, () -\u003e throwOnNull.accept(null)); } } @Nested @DisplayName("Interaction – verify that file methods are invoked") class Interaction { @Test void verifiesPathInvocation() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/dir/");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
@Tag("Slow") class AllMainsTest { @ParameterizedTest @ArgumentsSource(MainTestProvider::class) fun runMain(className: String) { val mainMethod = Class .forName(className) .methods .find { it.name == "main" } try { if (mainMethod != null) { if (mainMethod.parameters.isEmpty()) { mainMethod.invoke(null) } else {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
final Suggester suggester = Suggester.builder().build(client, "test"); // Use reflection to access private method final Method method = Suggester.class.getDeclaredMethod("getIndicesForAlias", String.class); method.setAccessible(true); final List<String> indices = (List<String>) method.invoke(suggester, aliasName); assertNotNull("Indices list should not be null", indices);Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 13.4K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
} /** * Configures the {@link ToStringHelper} so {@link #toString()} will ignore properties with null * value. The order of calling this method, relative to the {@code add()}/{@code addValue()} * methods, is not significant. * * @since 18.0 (since 12.0 as {@code Objects.ToStringHelper.omitNullValues()}). */ @CanIgnoreReturnValueRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0)