Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 71 for newValue3 (0.19 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. operator/pkg/validate/validate.go

    			for i := 0; i < fieldValue.Len(); i++ {
    				newValue := fieldValue.Index(i).Interface()
    				newPath := append(path, indexPathForSlice(fieldName, i))
    				if util.IsStruct(newValue) || util.IsPtr(newValue) {
    					errs = util.AppendErrs(errs, Validate(validations, newValue, newPath, checkRequired))
    				} else {
    					errs = util.AppendErrs(errs, validateLeaf(validations, newPath, newValue, checkRequired))
    				}
    			}
    		case reflect.Ptr:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 12 16:04:15 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/ssa/softfloat.go

    					v.reset(OpXor32)
    					v.Type = f.Config.Types.UInt32
    					v.AddArg(arg0)
    					mask := v.Block.NewValue0(v.Pos, OpConst32, v.Type)
    					mask.AuxInt = -0x80000000
    					v.AddArg(mask)
    				case OpNeg64F:
    					arg0 := v.Args[0]
    					v.reset(OpXor64)
    					v.Type = f.Config.Types.UInt64
    					v.AddArg(arg0)
    					mask := v.Block.NewValue0(v.Pos, OpConst64, v.Type)
    					mask.AuxInt = -0x8000000000000000
    					v.AddArg(mask)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top