Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for NewValue (0.15 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/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

        private ValueCollector newConventionValue(Iterable<?> paths) {
            return newValue(getBaseValue(false), paths);
        }
    
        private ValueCollector newConventionValue(Object[] paths) {
            return newValue(getBaseValue(false), paths);
        }
    
        private ValueCollector newExplicitValue(Iterable<?> paths) {
            return newValue(getBaseValue(true), paths);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/func.go

    	// ok, albeit maybe confusing for a debugger.
    	ls := f.fe.SplitSlot(name, sfx, offset, t)
    	f.CanonicalLocalSplits[lssk] = &ls
    	return &ls
    }
    
    // newValue allocates a new Value with the given fields and places it at the end of b.Values.
    func (f *Func) newValue(op Op, t *types.Type, b *Block, pos src.XPos) *Value {
    	var v *Value
    	if f.freeValues != nil {
    		v = f.freeValues
    		f.freeValues = v.argstorage[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          }
    
          while (true) {
            int oldValue = existingCounter.get();
            if (oldValue != 0) {
              try {
                int newValue = IntMath.checkedAdd(oldValue, occurrences);
                if (existingCounter.compareAndSet(oldValue, newValue)) {
                  // newValue can't == 0, so no need to check & remove
                  return oldValue;
                }
              } catch (ArithmeticException overflow) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. 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)
Back to top