- Sort Score
- Result 10 results
- Languages All
Results 1111 - 1120 of 2,321 for methods (0.21 sec)
-
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
} @Test @DisplayName("Test update method with valid data") void testUpdateWithValidData() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey); byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; assertDoesNotThrow(() -> digest.update(data, 0, data.length)); } @Test @DisplayName("Test update method with zero length") void testUpdateWithZeroLength() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
size, getMultiset().size()); } /** Call the {@code setCount()} method under test, and check its return value. */ abstract void setCountCheckReturnValue(E element, int count); /** * Call the {@code setCount()} method under test, but do not check its return value. Callers * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
} /** * Returns the {@link Method} instance for {@link #testAddAll_nullUnsupported()} so that tests can * suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddAllNullUnsupportedMethod() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
} } return INSTANCE; } /** * This static method registers the SMB URL protocol handler which is * required to use SMB URLs with the <code>java.net.URL</code> class. If this * method is not called before attempting to create an SMB URL with the * URL class the following exception will occur: * <blockquote> *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
// Setup count should be 2 (as per actual implementation) assertEquals(2, pipe.setupCount); } @Test public void testWriteSetupWireFormat() { // Test the writeSetupWireFormat method TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] dst = new byte[10]; // writeSetupWireFormat writes 4 bytes: // - subCommand byte
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
api/go1.6.txt
pkg html/template, method (*Template) DefinedTemplates() string pkg image, func NewNYCbCrA(Rectangle, YCbCrSubsampleRatio) *NYCbCrA pkg image, method (*NYCbCrA) AOffset(int, int) int pkg image, method (*NYCbCrA) At(int, int) color.Color pkg image, method (*NYCbCrA) Bounds() Rectangle pkg image, method (*NYCbCrA) COffset(int, int) int pkg image, method (*NYCbCrA) ColorModel() color.Model
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 13 23:40:13 UTC 2016 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
void testGetConfig() { // Test getConfig() method Configuration mockConfig = mock(Configuration.class); when(mockDelegate.getConfig()).thenReturn(mockConfig); assertEquals(mockConfig, cifsContextWrapper.getConfig()); verify(mockDelegate).getConfig(); } @Test void testGetDfs() { // Test getDfs() method DfsResolver mockDfsResolver = mock(DfsResolver.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/IgnoreJRERequirement.java
import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; import org.jspecify.annotations.NullMarked; /** * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android. * * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}. */ @Target({METHOD, CONSTRUCTOR, TYPE, FIELD}) @NullMarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 02 18:21:28 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** * Tests for {@link SmbFilenameFilter}. Since the interface only defines * a single method, the tests simply ensure that the lambda expression * correctly implements the method and that any exception is propagated. */ class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
} /** * Test the writeParameterWordsWireFormat method. * This method should do nothing and return 0. */ @Test void testWriteParameterWordsWireFormat() { byte[] dst = new byte[10]; int dstIndex = 0; // The method should return 0 as it writes no parameter words
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0)