Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for newValue2 (0.13 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. 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)
  6. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeInterceptorTestReceiver.java

        public String getTestString() {
            return testString;
        }
    
        public void setTestString(String newValue) {
            testString = newValue;
        }
    
        public boolean isTestFlag() {
            return testFlag;
        }
    
        public void setTestFlag(boolean newValue) {
            testFlag = newValue;
        }
    
        @Override
        public String toString() {
            return "CompositeInterceptorTestReceiver";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeCallInterceptionTestInterceptorsDeclaration.java

        public static void intercept_testString(
            @ParameterKind.Receiver CompositeInterceptorTestReceiver self,
            String newValue,
            @ParameterKind.CallerClassName String consumer
        ) {
            self.intercepted = "composite.setTestString(String)";
            self.setTestString(newValue);
        }
    
        @InterceptGroovyCalls
        @CallableKind.GroovyPropertyGetter
        public static boolean intercept_testFlag(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/FileWatchingFilter.java

                locationsWrittenByCurrentBuild.updateAndGet(currentValue -> {
                    FileHierarchySet newValue = currentValue;
                    for (String location : locations) {
                        newValue = newValue.plus(location);
                    }
                    return newValue;
                });
            }
        }
    
        public boolean shouldWatchLocation(String location) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/groovy/scripts/BasicScript.java

            return dynamicLookupRoutine.property(dynamicObject, property);
        }
    
        @Override
        public void setProperty(String property, Object newValue) {
            dynamicLookupRoutine.setProperty(dynamicObject, property, newValue);
        }
    
        public Map<String, ?> getProperties() {
            return dynamicLookupRoutine.getProperties(dynamicObject);
        }
    
        public boolean hasProperty(String property) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/BasicCallInterceptionTestInterceptorsDeclaration.java

        public static void intercept_testString(
            @ParameterKind.Receiver InterceptorTestReceiver self,
            String newValue,
            @ParameterKind.CallerClassName String consumer
        ) {
            self.intercepted = "setTestString(String)";
            self.setTestString(newValue);
        }
    
        @InterceptGroovyCalls
        @CallableKind.GroovyPropertyGetter
        public static boolean intercept_testFlag(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 08:15:56 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top