- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 2,123 for instanceof (0.06 seconds)
-
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
@Test @DisplayName("Test constructor with configuration") void testConstructor() { assertNotNull(response); // Response is successfully created with configuration assertTrue(response instanceof NetServerEnum2Response); } @Test @DisplayName("Test writeSetupWireFormat returns 0") void testWriteSetupWireFormat() { byte[] dst = new byte[100];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* version of the same domain name would not be considered equal. */ @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof InternetDomainName) { InternetDomainName that = (InternetDomainName) object; return this.name.equals(that.name); } return false; } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThrows(IllegalStateException.class, () -> builder.removalListener(testListener)); } public void testValuesIsNotASet() { assertThat(CacheBuilder.newBuilder().build().asMap().values() instanceof Set).isFalse(); } @J2ktIncompatible @GwtIncompatible // CacheTesting public void testNullCache() { CountingRemovalListener<Object, Object> listener = countingRemovalListener();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* original {@code ListenableFuture}. */ public static <V extends @Nullable Object> FluentFuture<V> from(ListenableFuture<V> future) { return future instanceof FluentFuture ? (FluentFuture<V>) future : new ForwardingFluentFuture<V>(future); } /** * Simply returns its argument. * * @deprecated no need to use thisCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
} @J2ktIncompatible // asMap public void testValuesIsNotASet() { assertThat(CacheBuilder.newBuilder().build().asMap().values() instanceof Set).isFalse(); } @J2ktIncompatible @GwtIncompatible // CacheTesting public void testNullCache() { CountingRemovalListener<Object, Object> listener = countingRemovalListener();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
try { LocalArtifactRepository ideWorkspace = plexus.lookup(LocalArtifactRepository.class, LocalArtifactRepository.IDE_WORKSPACE); if (request.getLocalRepository() instanceof DelegatingLocalArtifactRepository delegatingLocalRepository) { LocalArtifactRepository orig = delegatingLocalRepository.getIdeWorkspace(); delegatingLocalRepository.setIdeWorkspace(ideWorkspace);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
} else { return Outcome.FAILURE; } } catch (InvocationTargetException targetException) { Throwable actualException = targetException.getTargetException(); if (actualException instanceof InterruptedException) { return Outcome.INTERRUPT; } else { throw new AssertionError("unexpected exception", targetException); } } catch (IllegalAccessException e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
checkNotNull(rangeSet); if (rangeSet.isEmpty()) { return of(); } else if (rangeSet.encloses(Range.all())) { return all(); } if (rangeSet instanceof ImmutableRangeSet) { ImmutableRangeSet<C> immutableRangeSet = (ImmutableRangeSet<C>) rangeSet; if (!immutableRangeSet.isPartialView()) { return immutableRangeSet; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of * your HTTP calls. This is because each client holds its own connection pool and thread pools. * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client * for each request wastes resources on idle pools. * * Use `new OkHttpClient()` to create a shared instance with the default settings: * * ```java
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0)