- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for computeIfAbsent (0.07 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
} if (cls.isArray()) { evaluateArray(target); } else if (isQualifiedForInterpolation(cls)) { Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields()); for (Field field : fields) { Class<?> type = field.getType(); if (isQualifiedForInterpolation(field, type)) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
// Mark channel as failed failedChannel.setState(ChannelState.FAILED); // Get or create failover state FailoverState state = failoverStates.computeIfAbsent( failedChannel.getChannelId(), FailoverState::new ); // Redistribute pending operations redistributePendingOperations(failedChannel);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} // Track connection metrics String key = getConnectionKey(address, port); connectionMetrics.computeIfAbsent(key, k -> new ConnectionMetrics()).recordConnection(); activeConnections.incrementAndGet(); if (nonPooled) { this.nonPooledConnections.offer(conn); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* @param supplier the supplier will compute the new value * @return the session data associated with the key */ @Nullable <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier); /** * Create a key using the given class as an identifier and as the type of the object. */ static <T> Key<T> key(Class<T> clazz) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Mark channel as failed failedChannel.setState(ChannelState.FAILED); // Get or create failover state FailoverState state = failoverStates.computeIfAbsent(failedChannel.getChannelId(), FailoverState::new); // Redistribute pending operations redistributePendingOperations(failedChannel);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
responseHeaders.put(name, values); } @Override public void addHeader(String name, String value) { responseHeaders.computeIfAbsent(name, k -> new ArrayList<>()).add(value); } @Override public void setIntHeader(String name, int value) { } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
String key = type.name(); long currentWindow = System.currentTimeMillis() / rateLimitWindow; String windowKey = key + "_" + currentWindow; AtomicLong counter = rateLimitCounters.computeIfAbsent(windowKey, k -> new AtomicLong(0)); long currentCount = counter.incrementAndGet(); // Clean up old windows periodically if (currentCount == 1) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
artifacts.put(getKey(spec.artifact), spec); String key = spec.artifact.getDependencyConflictId(); List<ArtifactVersion> artifactVersions = versions.computeIfAbsent(key, k -> new ArrayList<>()); if (spec.artifact.getVersion() != null) { artifactVersions.add(new DefaultArtifactVersion(spec.artifact.getVersion())); } }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 42.7K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0)