Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 200 for oldValues (0.15 sec)

  1. guava/src/com/google/common/collect/SparseImmutableTable.java

          cellRowIndices[i] = requireNonNull(rowIndex.get(rowKey));
          Map<C, V> thisRow = requireNonNull(rows.get(rowKey));
          cellColumnInRowIndices[i] = thisRow.size();
          V oldValue = thisRow.put(columnKey, value);
          checkNoDuplicate(rowKey, columnKey, oldValue, value);
          requireNonNull(columns.get(columnKey)).put(rowKey, value);
        }
        this.cellRowIndices = cellRowIndices;
        this.cellColumnInRowIndices = cellColumnInRowIndices;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         * method provides an atomic compare-and-update of some key's value.
         *
         * @param key the key under which to store the session data, must not be {@code null}
         * @param oldValue the expected data currently associated with the key, may be {@code null}
         * @param newValue the data to associate with the key, may be {@code null} to remove the mapping
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

          long entry;
          do {
            last = next;
            entry = entries[next];
            if (getHash(entry) == hash && Objects.equal(key, keys[next])) {
              int oldValue = values[next];
    
              values[next] = value;
              return oldValue;
            }
            next = getNext(entry);
          } while (next != UNSET);
          entries[last] = swapNext(entry, newEntryIndex);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/ObjectHolder.java

         * An exclusive lock is held while the update action is executing.
         * The result of the update is returned.
         */
        T update(UpdateAction<T> updateAction);
    
        interface UpdateAction<T> {
            T update(T oldValue);
        }
    
        /**
         * Potentially replaces the value for this cache
         *
         * The value returned by the update action will only be written to the cache
         * if it is not equal to the current value.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

        if (supportsRemove) {
          int initialSize = map.size();
          map.get(keyToRemove);
          map.remove(keyToRemove);
          // This line doesn't hold - see the Javadoc comments above.
          // assertEquals(expectedValue, oldValue);
          assertFalse(map.containsKey(keyToRemove));
          assertEquals(initialSize - 1, map.size());
        } else {
          try {
            map.remove(keyToRemove);
            fail("Expected UnsupportedOperationException.");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java

            String oldValue = System.setProperty(key, value);
            systemPropertyQueried(key, oldValue, consumer);
            listener().systemPropertyChanged(key, value, consumer);
            return oldValue;
        }
    
        // Called by generated code.
        public static String clearSystemProperty(String key, String consumer) {
            String oldValue = System.clearProperty(key);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. helm/minio/README.md

    ```bash
    helm get values my-release > old_values.yaml
    ```
    
    Then change the field `image.tag` in `old_values.yaml` file with MinIO image tag you want to use. Now update the chart using
    
    ```bash
    helm upgrade -f old_values.yaml my-release minio/minio
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 24 07:27:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/mdo/java/WrapperProperties.java

            return writeOperation(p -> p.remove(key, value));
        }
    
        @Override
        public synchronized boolean replace(Object key, Object oldValue, Object newValue) {
            return writeOperation(p -> p.replace(key, oldValue, newValue));
        }
    
        @Override
        public synchronized Object replace(Object key, Object value) {
            return writeOperation(p -> p.replace(key, value));
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

        public LoadingValueReference(ValueReference<K, V> oldValue) {
          this.oldValue = oldValue;
        }
    
        @Override
        public boolean isLoading() {
          return true;
        }
    
        @Override
        public boolean isActive() {
          return oldValue.isActive();
        }
    
        @Override
        public int getWeight() {
          return oldValue.getWeight();
        }
    
        @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * i, (int) inverse.get(2 * i + 1));
        }
        for (int i = 0; i < N; i++) {
          int oldValue = bimap.get(2 * i);
          assertEquals(2 * i + 1, (int) bimap.put(2 * i, oldValue - 2));
        }
        for (int i = 0; i < N; i++) {
          assertEquals(2 * i - 1, (int) bimap.get(2 * i));
        }
        for (int i = 0; i < N; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top