Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 58 for putIfAbsent (0.07 seconds)

  1. okhttp/src/androidMain/baseline-prof.txt

    HSPLandroidx/arch/core/internal/FastSafeIterableMap;->get(Ljava/lang/Object;)Landroidx/arch/core/internal/SafeIterableMap$Entry;
    HSPLandroidx/arch/core/internal/FastSafeIterableMap;->putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    HSPLandroidx/arch/core/internal/SafeIterableMap$Entry;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  2. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

          if (eventSubscribers == null) {
            CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>();
            eventSubscribers =
                MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet);
          }
    
          eventSubscribers.addAll(eventMethodsInListener);
        }
      }
    
      /** Unregisters all subscribers on the given listener object. */
      void unregister(Object listener) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

                if (!Modifier.isStatic(method.getModifiers()) && method.getParameterCount() == 1) {
                    Type[] paramTypes = method.getGenericParameterTypes();
                    methodMap.putIfAbsent(method.getName(), new MethodInfo(method, paramTypes[0]));
                }
            }
    
            return methodMap;
        }
    
        /**
         * Check if method is compatible with value type.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

                ValueReference<K, V> valueReference = e.getValueReference();
                V entryValue = valueReference.get();
                // replace the old LoadingValueReference if it's live, otherwise
                // perform a putIfAbsent
                if (oldValueReference == valueReference
                    || (entryValue == null && valueReference != UNSET)) {
                  ++modCount;
                  if (oldValueReference.isActive()) {
    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)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            QueueHolder queueHolder = sessionCache.get(sessionId);
            if (queueHolder == null) {
                queueHolder = new QueueHolder();
                final QueueHolder prevQueueHolder = sessionCache.putIfAbsent(sessionId, queueHolder);
                return prevQueueHolder == null ? queueHolder : prevQueueHolder;
            }
            return queueHolder;
        }
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  6. guava/src/com/google/common/collect/Maps.java

        @Override
        public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public @Nullable V putIfAbsent(K key, V value) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean remove(@Nullable Object key, @Nullable Object value) {
    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)
  7. guava/src/com/google/common/cache/LocalCache.java

                ValueReference<K, V> valueReference = e.getValueReference();
                V entryValue = valueReference.get();
                // replace the old LoadingValueReference if it's live, otherwise
                // perform a putIfAbsent
                if (oldValueReference == valueReference
                    || (entryValue == null && valueReference != UNSET)) {
                  ++modCount;
                  if (oldValueReference.isActive()) {
    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)
  8. guava/src/com/google/common/collect/AbstractBiMap.java

        while (itr.hasNext()) {
          Entry<K, V> entry = itr.next();
          K k = entry.getKey();
          V v = entry.getValue();
          K conflict = inverse.delegate.putIfAbsent(v, k);
          if (conflict != null) {
            broken = entry;
            // We're definitely going to throw, but we'll try to keep the BiMap in an internally
            // consistent state by removing the bad entry.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

        checkNotNull(key);
        checkNotNull(value);
        int hash = hash(key);
        return segmentFor(hash).put(key, hash, value, false);
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V putIfAbsent(K key, V value) {
        checkNotNull(key);
        checkNotNull(value);
        int hash = hash(key);
        return segmentFor(hash).put(key, hash, value, true);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                            byte[] nonce = context.generateNonce();
                            String nonceStr = Arrays.toString(nonce);
                            if (allNonces.putIfAbsent(nonceStr, true) != null) {
                                collisions.incrementAndGet();
                            }
                        }
                    } finally {
                        latch.countDown();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
Back to Top