Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for newValue1 (0.19 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean replace(K key, @Nullable V oldValue, V newValue) {
        checkNotNull(key);
        checkNotNull(newValue);
        if (oldValue == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).replace(key, hash, oldValue, newValue);
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V replace(K key, V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_nullTreatedAsAbsent() {
        initMapWithNullValue();
        assertEquals(
            "computeIfAbsent(presentAssignedToNull, function) should return newValue",
            getValueForNullKey(),
            getMap()
                .computeIfAbsent(
                    getKeyForNullValue(),
                    k -> {
                      assertEquals(getKeyForNullValue(), k);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                    var newValue = this.startDate.format(this.locale.format);
                    if (!this.singleDatePicker) {
                        newValue += this.locale.separator + this.endDate.format(this.locale.format);
                    }
                    if (newValue !== this.element.val()) {
                        this.element.val(newValue).trigger('change');
                    }
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      private static void insertIntoReplica(Map<Integer, AtomicInteger> replica, int newValue) {
        if (replica.containsKey(newValue)) {
          replica.get(newValue).incrementAndGet();
        } else {
          replica.put(newValue, new AtomicInteger(1));
        }
      }
    
      private static void removeMinFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int minValue) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    				if isReservedOrInvalidBucket(volInfo.Name, false) {
    					continue
    				}
    
    				healBuckets.Compute(volInfo.Name, func(oldValue VolInfo, loaded bool) (newValue VolInfo, del bool) {
    					if loaded {
    						newValue = oldValue
    						newValue.count = oldValue.count + 1
    						return newValue, false
    					}
    					return VolInfo{
    						Name:    volInfo.Name,
    						Created: volInfo.Created,
    						count:   1,
    					}, false
    				})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertEquals("value3", crawlingInfoHelper.infoMap.get("key3"));
    
            // Test overwriting existing key
            crawlingInfoHelper.putToInfoMap("key1", "new_value1");
            assertEquals("new_value1", crawlingInfoHelper.infoMap.get("key1"));
        }
    
        public void test_store_create() {
            final String sessionId = "test-session-123";
    
            // Mock CrawlingInfoService
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test overwriting existing keys
            paramMap = new HashMap<>();
            paramMap.put("key1", "oldValue");
            configParam = "key1=newValue";
            ParameterUtil.loadConfigParams(paramMap, configParam);
            assertEquals(1, paramMap.size());
            assertEquals("newValue", paramMap.get("key1"));
        }
    
        public void test_createConfigParameterMap() {
            String configParameters;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/DynamicProperties.java

     * </ul>
     *
     * <p>Usage:
     * <pre>
     * DynamicProperties dynamicProperties = new DynamicProperties("path/to/properties/file");
     * String value = dynamicProperties.getProperty("key");
     * dynamicProperties.setProperty("key", "newValue");
     * dynamicProperties.store();
     * </pre>
     *
     * <p>Exceptions:
     * <ul>
     *   <li>{@link FileAccessException} - Thrown if there are issues accessing the file.</li>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeMultiset.java

        private @Nullable T value;
    
        @Nullable T get() {
          return value;
        }
    
        void checkAndSet(@Nullable T expected, @Nullable T newValue) {
          if (value != expected) {
            throw new ConcurrentModificationException();
          }
          value = newValue;
        }
    
        void clear() {
          value = null;
        }
      }
    
      private static final class AvlNode<E extends @Nullable Object> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean replace(K key, V oldValue, V newValue) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
Back to top