Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for newValue2 (0.19 sec)

  1. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestMergeSpecTest.groovy

            mergeSpec.eachEntry {ManifestMergeDetails details ->
                if (details.getKey() == 'key2') {
                    details.setValue('newValue2')
                }
            }
    
            expect:
            mergeSpec.merge(baseManifest, Mock(FileResolver)).attributes == [key1: 'value1', key2: 'newValue2'] + MANIFEST_VERSION_MAP
        }
    
        def mergeWithActionOnSection() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. pkg/ledger/smt_test.go

    		t.Fatal("root not stored")
    	}
    
    	newValues := getFreshData(5)
    	_, err := smt.Update(keys, newValues)
    	assert.NoError(t, err)
    
    	// Check all keys have been modified
    	for i, key := range keys {
    		value, _ := smt.Get(key)
    		if !bytes.Equal(newValues[i], value) {
    			t.Fatal("trie not updated")
    		}
    	}
    
    	newKeys := getFreshData(5)
    	newValues = getFreshData(5)
    	_, err = smt.Update(newKeys, newValues)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/InstrumentingBackwardsCompatibilityVisitor.java

        }
    
        private static Object[] fixAsmObjectsForBackwardsCompatibility(Object[] values) {
            Object[] newValues = new Object[values.length];
            for (int idx = 0; idx < values.length; idx++) {
                newValues[idx] = fixAsmObjectForBackwardsCompatibility(values[idx]);
            }
            return newValues;
        }
    
        private static Object fixAsmObjectForBackwardsCompatibility(Object value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 08:17:26 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/ssa/rewriteRISCV64latelower.go

    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVBUreg {
    			break
    		}
    		x := v_0.Args[0]
    		if !(c <= 56) {
    			break
    		}
    		v.reset(OpRISCV64SRLI)
    		v.AuxInt = int64ToAuxInt(56 - c)
    		v0 := b.NewValue0(v.Pos, OpRISCV64SLLI, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(56)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (SLLI [c] (MOVHUreg x))
    	// cond: c <= 48
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/ssa/rewrite386splitload.go

    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		v.reset(Op386CMPBconst)
    		v.AuxInt = int8ToAuxInt(vo.Val8())
    		v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(vo.Off())
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg(v0)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

       * Sets to the given value.
       *
       * @param newValue the new value
       */
      public final void set(double newValue) {
        long next = doubleToRawLongBits(newValue);
        value.set(next);
      }
    
      /**
       * Eventually sets to the given value.
       *
       * @param newValue the new value
       */
      public final void lazySet(double newValue) {
        long next = doubleToRawLongBits(newValue);
        value.lazySet(next);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 28 21:00:54 UTC 2022
    - 7.2K bytes
    - Viewed (0)
Back to top