Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for newValue3 (0.19 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

        }
    
        def "Can override existing system properties"() {
            when:
            runTask { withSystemProperties('mySystemProperty' : 'newValue') }
    
            then:
            hasSystemProperty('mySystemProperty', 'newValue')
        }
    
        def "JVM arguments have precedence over system properties"() {
            when:
            runTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/mdo/transformer.vm

                String newValue = transform(oldValue);
                Map<String, String> oldAttrs = node.getAttributes();
                Map<String, String> newAttrs = transform(oldAttrs, this::transform);
                List<XmlNode> oldChildren = node.getChildren();
                List<XmlNode> newChildren = transform(oldChildren, this::transform);
                if (oldValue != newValue || oldAttrs != newAttrs || oldChildren != newChildren) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TableCollectors.java

        V oldValue = table.get(row, column);
        if (oldValue == null) {
          table.put(row, column, value);
        } else {
          V newValue = mergeFunction.apply(oldValue, value);
          if (newValue == null) {
            table.remove(row, column);
          } else {
            table.put(row, column, newValue);
          }
        }
      }
    
      private TableCollectors() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * iterator tests.
       *
       * @return the new container instance
       * @param newValue the new container instance
       */
      @CanIgnoreReturnValue
      protected C resetContainer(C newValue) {
        container = newValue;
        return container;
      }
    
      /**
       * @see #expectContents(java.util.Collection)
       * @param elements expected contents of {@link #container}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. pkg/kubelet/winstats/perfcounter_nodestats_test.go

    		{cpuValue: uint64(100), expected: uint64(4000000000)},
    	}
    	var cpuCores = 4
    
    	for _, tc := range testCases {
    		p := perfCounterNodeStatsClient{}
    		newValue := p.convertCPUValue(cpuCores, tc.cpuValue)
    		assert.Equal(t, tc.expected, newValue)
    	}
    }
    
    func TestGetCPUUsageNanoCores(t *testing.T) {
    	// Scaled expected unit test values by the frequency the CPU perf counters are polled.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * iterator tests.
       *
       * @return the new container instance
       * @param newValue the new container instance
       */
      @CanIgnoreReturnValue
      protected C resetContainer(C newValue) {
        container = newValue;
        return container;
      }
    
      /**
       * @see #expectContents(java.util.Collection)
       * @param elements expected contents of {@link #container}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultMinimalDependency.java

        protected void validateMutation() {
            throw new UnsupportedOperationException("Minimal dependencies are immutable.");
        }
    
        @Override
        protected void validateMutation(Object currentValue, Object newValue) {
            validateMutation();
        }
    
        @Override
        public void copyTo(AbstractExternalModuleDependency target) {
            super.copyTo(target);
        }
    
        // Intentionally changes to the mutable version.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GroovyInteroperabilityIntegrationTest.kt

            withBuildScript(
                """
                apply(from = "groovy.gradle")
    
                extensions["myextension"].withGroovyBuilder {
                    getProperty("server")
                    setProperty("server", "newValue")
                    setMetaClass(getMetaClass())
                    invokeMethod("configureServerName", "myservername")
                }
                """
            )
    
            build()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         *
         * @param key the key under which to store the session data, must not be {@code null}
         * @param oldValue the expected data currently associated with the key, may be {@code null}
         * @param newValue the data to associate with the key, may be {@code null} to remove the mapping
         * @return {@code true} if the key mapping was successfully updated from the old value to the new value,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/WorkInProgressRenderer.java

                unshow(operation.getParent());
            }
    
            // No more unused label? Try to resize.
            if (unusedProgressLabels.isEmpty()) {
                int newValue = operationIdToAssignedLabels.size() + 1;
                resizeTo(newValue);
                // At this point, the work-in-progress area may or may not have been resized due to maximum size constraint.
            }
    
            // Try to use a new label
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top