Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Replace (1.04 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

            return this;
        }
    
        @Override
        public FileCollectionInternal replace(FileCollectionInternal original, Supplier<FileCollectionInternal> supplier) {
            if (original == this) {
                return supplier.get();
            }
            List<Object> newItems = value.replace(original, supplier);
            if (newItems == null) {
                return this;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            when:
            configurationCacheRun("resolve1")
    
            then:
            configurationCache.assertStateLoaded()
    
            when:
            verificationFile.replace("<sha256 value=\"$checkSum\"", '<sha256 value="12345"')
            configurationCacheFails("resolve1")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

            stat.setLoopBlock(replace(stat.getLoopBlock()));
        }
    
        @Override
        public void visitIfElse(IfStatement stat) {
            stat.setBooleanExpression((BooleanExpression) replaceExpr(stat.getBooleanExpression()));
            stat.setIfBlock(replace(stat.getIfBlock()));
            stat.setElseBlock(replace(stat.getElseBlock()));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            val shortenedSubprojectName = subProjectName.replace("internal", "i").replace("Testing", "T")
            if (shortenedSubprojectName.length + prefix.length <= 80) {
                return shortenedSubprojectName
            }
            return shortenedSubprojectName.replace(Regex("[aeiou]"), "")
        }
    
        fun asName(): String =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            then:
            1 * onChange.accept('existing', 'newValue')
            then:
            0 * onChange._
        }
    
        def "method replace(#key, #oldValue, newValue) changes map"() {
            when:
            def map = getMapUnderTestToWrite()
            def result = map.replace(key, oldValue, 'newValue')
    
            then:
            result == expectedResult
            map[key] == expectedValue
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingProperties.java

            }
            return hadValue;
    
        }
    
        @Override
        public boolean replace(Object key, Object expectedOldValue, Object newValue) {
            Object oldValue;
            boolean changed;
            synchronized (delegate) {
                oldValue = delegate.get(key);
                changed = delegate.replace(key, expectedOldValue, newValue);
            }
            reportAccess(key, oldValue);
            if (changed) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:51 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

            then:
            succeeds ':p1:printResolvedValues', ':p2:printResolvedValues'
    
            and:
            output.contains 'p1 file: /path/to/Thing.java true'.replace('/' as char, File.separatorChar)
            output.contains 'p2 file: /path/to/Thing.java true'.replace('/' as char, File.separatorChar)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                    versions[version!!] = date
                }
            }
            return versions
        }
    
    
        private
        fun String.escape() = replace("<", "&lt;").replace(">", "&gt;")
    }
    
    
    private
    typealias Version = String
    
    
    private
    typealias IncubatingDescription = String
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jun 25 02:53:14 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFlowScopeIntegrationTest.groovy

            @Override
            String toString() {
                "${name().toLowerCase().replace('_', ' ')} parameter"
            }
        }
    
        enum InjectionStyle {
            PLUGIN,
            NEW_INSTANCE;
    
            @Override
            String toString() {
                name().toLowerCase().replace('_', ' ')
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ProviderInternal.java

        ProviderInternal<T> asSupplier(DisplayName owner, Class<? super T> targetType, ValueSanitizer<? super T> sanitizer);
    
        /**
         * Returns a copy of this provider with a final value. The returned value is used to replace this provider by a property when the property is finalized.
         */
        ProviderInternal<T> withFinalValue(ValueConsumer consumer);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top