- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for instanceof (0.06 seconds)
-
android/guava/src/com/google/common/collect/Maps.java
// implementation, it _may_ require iteration over the entire collection (e.g., a // FilteredCollection), which we want to avoid. if (values instanceof List || values instanceof ImmutableCollection) { return uniqueIndex( values.iterator(), keyFunction, ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
// implementation, it _may_ require iteration over the entire collection (e.g., a // FilteredCollection), which we want to avoid. if (values instanceof List || values instanceof ImmutableCollection) { return uniqueIndex( values.iterator(), keyFunction, ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
request.path = dunc; request.flags2 |= SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS; } } else if (tree.inDomainDfs && !(request instanceof NtTransQuerySecurityDesc) && !(request instanceof SmbComClose) && !(request instanceof SmbComFindClose2)) { throw new SmbException(NtStatus.NT_STATUS_NOT_FOUND, false); } else if (request != null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
} else if (info instanceof FileStandardInfo) { this.size = info.getSize(); this.sizeExpiration = currentTime + cacheTimeout; } // Optimization: Try to get both basic and standard info efficiently if (info instanceof FileBasicInfo && this.sizeExpiration < currentTime) { try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
public void testValues() { LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); map.put("foo", "bar"); map.put("baz", "bar"); map.put("quux", "quux"); assertThat(map.values() instanceof Set).isFalse(); assertThat(map.values().removeAll(ImmutableSet.of("bar"))).isTrue(); assertThat(map).hasSize(1); } public void testCopyEntry_computing() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
public void testValues() { LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); map.put("foo", "bar"); map.put("baz", "bar"); map.put("quux", "quux"); assertThat(map.values() instanceof Set).isFalse(); assertThat(map.values().removeAll(ImmutableSet.of("bar"))).isTrue(); assertThat(map).hasSize(1); } public void testComputeIfAbsent_removalListener() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
} final Object trackTotalHitsValue = fessConfig.getQueryTrackTotalHitsValue(); if (trackTotalHitsValue instanceof Boolean) { searchRequestBuilder.setTrackTotalHits((Boolean) trackTotalHitsValue); } else if (trackTotalHitsValue instanceof Number) { searchRequestBuilder.setTrackTotalHitsUpTo(((Number) trackTotalHitsValue).intValue()); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 138.6K bytes - Click Count (1) -
android/guava/src/com/google/common/cache/LocalCache.java
return lockedGetOrLoad(key, hash, loader); } catch (ExecutionException ee) { Throwable cause = ee.getCause(); if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else if (cause instanceof RuntimeException) { throw new UncheckedExecutionException(cause); } throw ee; } finally { postReadCleanup();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
return lockedGetOrLoad(key, hash, loader); } catch (ExecutionException ee) { Throwable cause = ee.getCause(); if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else if (cause instanceof RuntimeException) { throw new UncheckedExecutionException(cause); } throw ee; } finally { postReadCleanup();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java
if (src.isEmpty()) { return tgt; } MergingList<T> list; if (tgt instanceof MergingList) { list = (MergingList<T>) tgt; } else { list = new MergingList<>(computer, src.size() + tgt.size()); list.mergeAll(tgt, new SourceDominant<T>(true));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 11:21:39 GMT 2025 - 99.2K bytes - Click Count (0)