- Sort Score
- Result 10 results
- Languages All
Results 3131 - 3140 of 3,662 for Void (0.02 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListHashCodeTester<E> extends AbstractListTester<E> { public void testHashCode() { int expectedHashCode = 1; for (E element : getOrderedElements()) { expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode()); } assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EnumerationIterator.java
*/ public EnumerationIterator(final Enumeration<T> enumeration) { assertArgumentNotNull("enumeration", enumeration); this.enumeration = enumeration; } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); } @Override public boolean hasNext() { return enumeration.hasMoreElements(); } @Override
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FinalizableReference.java
* restrictions prevented starting a background thread, in which case this method is invoked when * new references are created. */ void finalizeReferent();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java
/** * Tests for {@link UnmodifiableIterator}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class UnmodifiableIteratorTest extends TestCase { @SuppressWarnings("DoNotCall") public void testRemove() { String[] array = {"a", "b", "c"}; Iterator<String> iterator = new UnmodifiableIterator<String>() { int i; @Override public boolean hasNext() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapSizeTester<K, V> extends AbstractMapTester<K, V> { public void testSize() { assertEquals("size():", getNumElements(), getMap().size()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbTree.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java
import java.util.Map; import org.junit.Test; /** * @author higa */ public class AnnotationUtilTest { /** * @throws Exception */ @Hoge(bbb = "3") @Test public void testGetProperties() throws Exception { final Method m = ClassUtil.getMethod(getClass(), "testGetProperties"); final Annotation anno = m.getAnnotation(Hoge.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java
import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException; import org.junit.Test; /** * @author shinsuke * */ public class MessageDigestUtilTest { /** * */ @Test public void testDigest() { final String text = "hoge"; assertNull(MessageDigestUtil.digest("MD5", null)); assertEquals("ea703e7aa1efda0064eaa507d9e8ab7e", MessageDigestUtil.digest("MD5", text));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
/** The default domain for authentication */ private String defaultDomain; /** The CIFS context for transport operations */ private CIFSContext transportContext; @Override public void init() throws ServletException { final StringBuilder sb = new StringBuilder(); final byte[] buf = new byte[1024]; int n; String name;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
private static final Oid JGSS_KRB5_NAME_OID; private static final Oid JGSS_KRB5_MECH_OID; static { KRB5_MECH_OID = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); KRB5_MS_MECH_OID = new ASN1ObjectIdentifier("1.2.840.48018.1.2.2"); SUPPORTED_MECHS = new ASN1ObjectIdentifier[] { KRB5_MECH_OID, KRB5_MS_MECH_OID }; Oid krbNameOid = null; Oid krbMechOid = null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1)