Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for oldValue (0.14 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/PersistentDaemonRegistry.java

                    @Override
                    public DaemonRegistryContent update(DaemonRegistryContent oldValue) {
                        if (oldValue == null) {
                            return oldValue;
                        }
                        oldValue.removeInfo(((InetEndpoint)address).getPort());
                        return oldValue;
                    }
                });
            } finally {
                lock.unlock();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

            Object oldValue;
            synchronized (delegate) {
                oldValue = delegate.putIfAbsent(key, value);
            }
            reportAccess(key, oldValue);
            if (oldValue == null) {
                // Properties disallow null values, so it is safe to assume that the map was changed.
                reportChange(key, value);
            }
            return oldValue;
    
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileBackedObjectHolder.java

                @Override
                public void run() {
                    T oldValue = deserialize();
                    result = updateAction.update(oldValue);
                    if (!(oldValue == null && result == null) && (oldValue == null || result == null || !oldValue.equals(result))) {
                        serialize(result);
                    } else {
                        result = oldValue;
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

          Entry<K, V> e = RegularImmutableMap.makeImmutable(requireNonNull(entryArray[i]));
          entryArray[i] = e;
          V oldValue = forwardDelegate.putIfAbsent(e.getKey(), e.getValue());
          if (oldValue != null) {
            throw conflictException("key", e.getKey() + "=" + oldValue, entryArray[i]);
          }
          K oldKey = backwardDelegate.putIfAbsent(e.getValue(), e.getKey());
          if (oldKey != null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt

            }
    
            fun systemPropertyLoaded(key: Any, value: Any?, oldValue: Any?) {
                val loadedOldValue = when (val loadedSystemProperty = mutatedSystemProperties[key]) {
                    is SystemPropertyLoad -> loadedSystemProperty.oldValue
                    else -> oldValue
                }
    
                mutatedSystemProperties[key] = SystemPropertyLoad(key, value, loadedOldValue)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

        }
    
        public LoadingValueReference(@CheckForNull ValueReference<K, V> oldValue) {
          this.oldValue = (oldValue == null) ? LocalCache.unset() : oldValue;
        }
    
        @Override
        public boolean isLoading() {
          return true;
        }
    
        @Override
        public boolean isActive() {
          return oldValue.isActive();
        }
    
        @Override
        public int getWeight() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/VintageEnvironmentChangeTracker.kt

    internal
    class VintageEnvironmentChangeTracker : EnvironmentChangeTracker {
    
        override fun systemPropertyChanged(key: Any, value: Any?, consumer: String?) {}
    
        override fun systemPropertyLoaded(key: Any, value: Any?, oldValue: Any?) {}
    
        override fun systemPropertyOverridden(key: Any) {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1023 bytes
    - Viewed (0)
  8. 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)
  9. guava/src/com/google/common/collect/CompactHashMap.java

      public V remove(@CheckForNull Object key) {
        Map<K, V> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.remove(key);
        }
        Object oldValue = removeHelper(key);
        return (oldValue == NOT_FOUND) ? null : (V) oldValue;
      }
    
      private @Nullable Object removeHelper(@CheckForNull Object key) {
        if (needsAllocArrays()) {
          return NOT_FOUND;
        }
        int mask = hashTableMask();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            when:
            run "someTask"
    
            then:
            skipped(":someTask")
        }
    
        def "task is out of date when property type changes #oldValue -> #newValue"() {
            buildFile << """
    task someTask {
        inputs.property("a", $oldValue).optional(true)
        outputs.file "out"
        doLast ${Actions.name}.doNothing() // attach an action that is not defined by the build script
    }
    """
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top