Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NewValue (0.14 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

            }
    
            newValue = computingValueReference.compute(key, function);
            if (newValue != null) {
              if (valueReference != null && newValue == valueReference.get()) {
                computingValueReference.set(newValue);
                e.setValueReference(valueReference);
                recordWrite(e, 0, now); // no change in weight
                return newValue;
              }
              try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

            V previousValue = oldValue.get();
            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : Futures.immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
              return Futures.immediateFuture(null);
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

                  }
    
                  @Override
                  @ParametricNullness
                  public V setValue(@ParametricNullness V newValue) {
                    checkArgument(apply(getKey(), newValue));
                    return super.setValue(newValue);
                  }
                };
              }
            };
          }
        }
    
        @Override
        Set<K> createKeySet() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

                  }
    
                  @Override
                  @ParametricNullness
                  public V setValue(@ParametricNullness V newValue) {
                    checkArgument(apply(getKey(), newValue));
                    return super.setValue(newValue);
                  }
                };
              }
            };
          }
        }
    
        @Override
        Set<K> createKeySet() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    func TestAlias(t *testing.T) {
    	x := string("hello")
    	v := ValueOf(&x).Elem()
    	oldvalue := v.Interface()
    	v.SetString("world")
    	newvalue := v.Interface()
    
    	if oldvalue != "hello" || newvalue != "world" {
    		t.Errorf("aliasing: old=%q new=%q, want hello, world", oldvalue, newvalue)
    	}
    }
    
    var V = ValueOf
    
    func EmptyInterfaceV(x any) Value {
    	return ValueOf(&x).Elem()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				  kind: Baz
    				- name: entry2
    				  apiVersion: v3
    				  kind: Bar
    			`),
    			newObj: mustUnstructured(`
    				subField:
    					apiVersion: v2
    					kind: Baz
    					otherField: newValue
    				list:	
    				- name: entry1
    				  apiVersion: v2
    				  kind: Baz
    				  otherField: newValue2
    				- name: entry2
    				  apiVersion: v3
    				  kind: Bar
    				  otherField: newValue3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top