- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 1,889 for instanceOf (0.06 sec)
-
src/main/java/jcifs/netbios/Name.java
this.config = cfg; this.name = name.getName(); this.hexCode = name.getNameType(); this.scope = name.getScope(); if (name instanceof Name) { this.srcHashCode = ((Name) name).srcHashCode; } } /** * Checks if this represents an unknown address. * * @return whether this is the unknown address
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
passwordField.setAccessible(true); Object passwordValue = passwordField.get(authenticator); assertTrue(passwordValue instanceof char[], "Password should be stored as char[]"); assertArrayEquals("password123".toCharArray(), (char[]) passwordValue, "Password content should match"); } @Test @DisplayName("Test secure password wipe")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClusterException.java
throw new IllegalArgumentException("Can't create an ExceptionCollection with no exceptions"); } if (exceptions.size() == 1) { Throwable temp = exceptions.iterator().next(); if (temp instanceof RuntimeException) { return (RuntimeException) temp; } else { return new RuntimeException(temp); } } return new ClusterException(exceptions); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/DummyProxy.java
} @Override public int hashCode() { return identity().hashCode(); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof DummyHandler) { DummyHandler that = (DummyHandler) obj; return identity().equals(that.identity()); } else { return false; } } private DummyProxy identity() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false; } else if (other instanceof BaseComparable) { return s.equals(((BaseComparable) other).s); } else { return false; } } @Override public int compareTo(BaseComparable o) { return s.compareTo(o.s); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Base.java
public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false; } else if (other instanceof Base) { return s.equals(((Base) other).s); } else { return false; } } @Override public int compareTo(Base o) { return s.compareTo(o.s); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java
* @return The converted {@link BigInteger} */ public static BigInteger toBigInteger(final Object o, final String pattern) { if (o == null) { return null; } else if (o instanceof BigInteger) { return (BigInteger) o; } else { final Long l = LongConversionUtil.toLong(o, pattern); if (l == null) { return null; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// Given & When Smb2LockResponse lockResponse = new Smb2LockResponse(mockConfig); // Then assertNotNull(lockResponse); // Verify it's an instance of ServerMessageBlock2Response assertTrue(lockResponse instanceof jcifs.internal.smb2.ServerMessageBlock2Response); } @Test @DisplayName("Constructor should handle null configuration") void testConstructorWithNullConfig() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbShareInfo.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
if (o instanceof RangeMap) { RangeMap<?, ?> rangeMap = (RangeMap<?, ?>) o; return asMapOfRanges().equals(rangeMap.asMapOfRanges()); } return false; } @Override public String toString() { return asMapOfRanges().toString(); } /** * This class is used to serialize ImmutableRangeMap instances. Serializes the {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.3K bytes - Viewed (0)