- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,868 for instanceOf (0.17 sec)
-
src/test/java/jcifs/spnego/NegTokenInitTest.java
assertTrue(obj instanceof ASN1TaggedObject, "Top-level should be tagged (APPLICATION)"); ASN1TaggedObject top = (ASN1TaggedObject) obj; assertEquals(BERTags.APPLICATION, top.getTagClass(), "Top-level tag class should be APPLICATION"); assertEquals(0, top.getTagNo(), "Top-level tag number should be 0");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
boolean normalized = false; List<ArtifactRepository> repos = new ArrayList<>(repositories.size()); for (Object repository : repositories) { if (repository instanceof Repository repositoryInstance) { try { ArtifactRepository repo = repositorySystem.buildArtifactRepository(repositoryInstance);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeCapture.java
* * @author Ben Yu */ abstract class TypeCapture<T> { /** Returns the captured type. */ final Type capture() { Type superclass = getClass().getGenericSuperclass(); checkArgument(superclass instanceof ParameterizedType, "%s isn't parameterized", superclass); return ((ParameterizedType) superclass).getActualTypeArguments()[0]; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
assertEquals(200, dfsRootEnum.info.level, "The info.level should be set to the same value as level."); assertTrue(dfsRootEnum.info.e instanceof DfsEnumArray200, "The info.e should be an instance of DfsEnumArray200."); } /** * Test the getEntries() method with a populated DfsEnumArray200. * Verifies that the DFS entries are correctly converted to FileEntry objects.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
} /* * (non-Javadoc) * * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals(final Object other) { if (other instanceof final MIEName terg) { if (Objects.equals(this.oid, terg.oid) && (this.name == null && terg.name == null || this.name != null && this.name.equalsIgnoreCase(terg.name))) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/UserInfo.java
} return sourceMap; } @Override protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) { if (value instanceof final LocalDateTime ldt) { final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault()); super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt)); } else {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
} public void test_serialization() { // Test that FessUserBean is serializable assertTrue(fessUserBean instanceof java.io.Serializable); // Test empty user bean is also serializable FessUserBean emptyBean = FessUserBean.empty(); assertTrue(emptyBean instanceof java.io.Serializable); } // Test implementation of FessUser interface for testing
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
assertTrue(e.getMessage().contains("Failed to access the content")); // The cause should be another CurlException from getContentAsStream() assertTrue(e.getCause() instanceof CurlException); CurlException innerException = (CurlException) e.getCause(); assertTrue(innerException.getMessage().contains("The content does not exist"));
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/IncidentEdgeSet.java
- (graph.successors(node).contains(node) ? 1 : 0); } else { return graph.adjacentNodes(node).size(); } } @Override public boolean contains(@Nullable Object obj) { if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> endpointPair = (EndpointPair<?>) obj; if (graph.isDirected()) { if (!endpointPair.isOrdered()) { return false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
assertTrue(context instanceof NegotiateContextRequest); } @Test @DisplayName("Should implement NegotiateContextResponse interface") void testImplementsNegotiateContextResponse() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(); assertTrue(context instanceof NegotiateContextResponse); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)