Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for newValue3 (0.25 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileBackedObjectHolder.java

        }
    
        @Override
        public T get() {
            return fileAccess.readFile((Supplier<T>) this::deserialize);
        }
    
        @Override
        public void set(final T newValue) {
            fileAccess.writeFile(() -> serialize(newValue));
        }
    
        @Override
        public T update(final UpdateAction<T> updateAction) {
            class Updater implements Runnable {
                private final UpdateAction<T> updateAction;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/ConfigureDelegate.java

            }
        }
    
        @Override
        public void setProperty(String property, Object newValue) {
            DynamicInvokeResult result = _delegate.trySetProperty(property, newValue);
            if (result.isFound()) {
                return;
            }
    
            result = _owner.trySetProperty(property, newValue);
            if (result.isFound()) {
                return;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. pkg/kube/inject/watcher_test.go

    		valuesKey: valuesConfig,
    	})
    
    	var mu sync.Mutex
    	var newConfig *Config
    	var newValues string
    
    	client := kube.NewFakeClient()
    	w := NewConfigMapWatcher(client, namespace, cmName, configKey, valuesKey)
    	w.SetHandler(func(config *Config, values string) error {
    		mu.Lock()
    		defer mu.Unlock()
    		newConfig = config
    		newValues = values
    		return nil
    	})
    	stop := test.NewStop(t)
    	go w.Run(stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                }
                if (value.getClass().isArray()) {
                    final Object[] newValues = (Object[]) value;
                    final Object[] values = Arrays.copyOf(oldValues, oldValues.length + newValues.length);
                    for (int i = 0; i < newValues.length; i++) {
                        values[values.length - 1 + i] = newValues[i];
                    }
                    dataMap.put(key, values);
                } else {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        doTestSet(e3());
      }
    
      private void doTestSet(E newValue) {
        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/DefaultCompilationStateCacheFactory.java

            public CompilationState get() {
                return compilationStateIndexedCache.getIfPresent(taskPath);
            }
    
            @Override
            public void set(CompilationState newValue) {
                compilationStateIndexedCache.put(taskPath, newValue);
            }
    
            @Override
            public CompilationState update(UpdateAction<CompilationState> updateAction) {
                throw new UnsupportedOperationException();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            if (!escape) {
                return value;
            }
    
            String newValue = value;
            for (final String element : Constants.RESERVED) {
                final String replacement = element.replaceAll("(.)", "\\\\$1");
                newValue = newValue.replace(element, replacement);
            }
            return newValue;
        }
    
        public String build() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        doTestSet(e3());
      }
    
      private void doTestSet(E newValue) {
        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go

    	return p.underlyingTypeProvider.FindStructFieldType(structType, fieldName)
    }
    
    // NewValue creates a new type value from a qualified name and map of fields.
    func (p *TypeProvider) NewValue(structType string, fields map[string]ref.Val) ref.Val {
    	t, ok := p.typeResolver.Resolve(structType)
    	if ok {
    		return t.Val(fields)
    	}
    	return p.underlyingTypeProvider.NewValue(structType, fields)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 21:02:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultAntBuilder.java

        }
    
        public void propertyMissing(String property, Object newValue) {
            doSetProperty(property, newValue);
        }
    
        @SuppressWarnings("deprecation")
        private void doSetProperty(String property, Object newValue) {
            PropertyHelper.getPropertyHelper(getProject()).setUserProperty(null, property, newValue);
        }
    
        public Object propertyMissing(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top