Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 521 for newvalue (1.78 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

                `),
    			KeyPath:  []interface{}{"foo", 0, "bar", "baz"},
    			NewValue: "newValue",
    			OldValue: "oldValue",
    		},
    		{
    			Name: "Map used inside another map should correlate",
    			RootObject: mustUnstructured(`
                    foo:
                        key: keyValue
                        bar:
                            baz: newValue
                `),
    			RootOldObject: mustUnstructured(`
                    foo:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            then:
            result == expectedResult
            map[key] == expectedResult
    
            where:
            key        | newValue   | expectedResult
            'existing' | 'newValue' | 'newValue'
            'existing' | null       | null
            'missing'  | 'newValue' | 'newValue'
            'missing'  | null       | null
        }
    
        def "method compute(#key, #newValue) reports change"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/func.go

    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = auxint
    	v.Aux = aux
    	v.Args = v.argstorage[:0]
    	return v
    }
    
    // NewValue1 returns a new value in the block with one argument and zero aux values.
    func (b *Block) NewValue1(pos src.XPos, op Op, t *types.Type, arg *Value) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = 0
    	v.Args = v.argstorage[:1]
    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-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        String key = "key";
        long newValue = random.nextInt(MAX_ADDEND);
        for (int i = 0; i < ITERATIONS; i++) {
          long before = map.get(key);
          long result = map.put(key, newValue);
          long after = map.get(key);
          assertEquals(newValue, after);
          assertEquals(before, result);
          newValue += newValue;
        }
        assertEquals(1, map.size());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FileIntegrityViolationSuppressingObjectHolderDecorator.java

            try {
                return work.get();
            } catch (FileIntegrityViolationException e) {
                T newValue = updateAction.update(null);
                set(newValue);
                return newValue;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        String key = "key";
        long newValue = random.nextInt(MAX_ADDEND);
        for (int i = 0; i < ITERATIONS; i++) {
          long before = map.get(key);
          long result = map.put(key, newValue);
          long after = map.get(key);
          assertEquals(newValue, after);
          assertEquals(before, result);
          newValue += newValue;
        }
        assertEquals(1, map.size());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

            Object oldValue;
            Object newValue;
            synchronized (delegate) {
                oldValue = delegate.get(key);
                newValue = delegate.compute(key, remappingFunction);
            }
            reportAccess(key, oldValue);
            if (newValue != null) {
                reportChange(key, newValue);
            } else if (oldValue != null) {
                reportRemoval(key);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/InterceptorTestReceiver.java

            return testString;
        }
    
        public void setTestString(String newValue) {
            testString = newValue;
        }
    
        private boolean testFlag = false;
    
        public boolean isTestFlag() {
            return testFlag;
        }
    
        public void setTestFlag(boolean newValue) {
            testFlag = newValue;
        }
    
        public String intercepted = null;
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 08:15:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Count.java

        value += delta;
      }
    
      public int addAndGet(int delta) {
        return value += delta;
      }
    
      public void set(int newValue) {
        value = newValue;
      }
    
      public int getAndSet(int newValue) {
        int result = value;
        value = newValue;
        return result;
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/initialization/RootScriptDomainObjectContext.java

            }
    
            @Override
            public void set(T newValue) {
                value = newValue;
            }
    
            @Override
            public T update(Function<T, T> updateFunction) {
                synchronized (this) {
                    T newValue = updateFunction.apply(value);
                    value = newValue;
                    return newValue;
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Oct 23 18:38:36 UTC 2022
    - 3.8K bytes
    - Viewed (0)
Back to top