Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 153 for NewValue (0.2 sec)

  1. guava/src/com/google/common/util/concurrent/Monitor.java

     *     }
     *     V result = value;
     *     value = null;
     *     notifyAll();
     *     return result;
     *   }
     *
     *   public synchronized void set(V newValue) throws InterruptedException {
     *     while (value != null) {
     *       wait();
     *     }
     *     value = newValue;
     *     notifyAll();
     *   }
     * }
     * }</pre>
     *
     * <h3>{@code ReentrantLock}</h3>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  2. pkg/proto/merge/merge.go

    	// Merge semantics replaces, rather than merges into existing entries.
    	src.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool {
    		switch {
    		case fd.Message() != nil:
    			dstv := dst.NewValue()
    			o.mergeMessage(dstv.Message(), v.Message())
    			dst.Set(k, dstv)
    		case fd.Kind() == protoreflect.BytesKind:
    			dst.Set(k, o.cloneBytes(v))
    		default:
    			dst.Set(k, v)
    		}
    		return true
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 17:31:22 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

          Entry<Cut<K>, RangeMapEntry<K, V>> entry = backingItr.next();
          V newValue = remappingFunction.apply(entry.getValue().getValue(), value);
          if (newValue == null) {
            backingItr.remove();
          } else {
            entry.setValue(
                new RangeMapEntry<K, V>(
                    entry.getValue().getLowerBound(), entry.getValue().getUpperBound(), newValue));
          }
        }
    
        entriesByLowerBound.putAll(gaps.build());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractBiMap.java

          @ParametricNullness K key,
          boolean containedKey,
          @CheckForNull V oldValue,
          @ParametricNullness V newValue) {
        if (containedKey) {
          // The cast is safe because of the containedKey check.
          removeFromInverseMap(uncheckedCastNullableTToT(oldValue));
        }
        inverse.delegate.put(newValue, key);
      }
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/GroovyCodecs.kt

                    }
                    throw MissingPropertyException(propertyName)
                }
                scriptReferenced()
            }
    
            override fun setProperty(propertyName: String, newValue: Any?) {
                // See above for why this check happens
                if (targetMetadata.hasProperty(null, propertyName) == null) {
                    throw MissingPropertyException(propertyName)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean replace(K key, @CheckForNull 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);
      }
    
      @CheckForNull
      @CanIgnoreReturnValue
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

            Provider<? extends Iterable<? extends T>> newValue = transformation.transform(shallowCopy());
            if (newValue != null) {
                set(newValue);
            } else {
                set((Iterable<? extends T>) null);
            }
        }
    
        private class Configurer {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean replace(K key, @CheckForNull 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);
      }
    
      @CheckForNull
      @CanIgnoreReturnValue
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        return (K) keys[index];
      }
    
      int getValue(int index) {
        checkElementIndex(index, size);
        return values[index];
      }
    
      void setValue(int index, int newValue) {
        checkElementIndex(index, size);
        values[index] = newValue;
      }
    
      Entry<K> getEntry(int index) {
        checkElementIndex(index, size);
        return new MapEntry(index);
      }
    
      class MapEntry extends AbstractEntry<K> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

            Provider<? extends Map<? extends K, ? extends V>> newValue = transformation.transform(shallowCopy());
            if (newValue != null) {
                set(newValue);
            } else {
                set((Map<? extends K, ? extends V>) null);
            }
        }
    
        @Override
        protected String describeContents() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top