Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 347 for filtering (0.12 sec)

  1. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

        }
    }
    
    tasks.register('filterTextFiles') {
        Directory projectDirectory = layout.projectDirectory
        doLast {
            // tag::filtering-file-collections[]
            FileCollection textFiles = collection.filter { File f ->
                f.name.endsWith(".txt")
            }
            // end::filtering-file-collections[]
    
            textFiles.collect { projectDirectory.asFile.relativePath(it).toString() }.sort().each { String path ->
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-15 13:55
    - 2.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/declaringRepositories-filtering/kotlin/settings.gradle.kts

    rootProject.name = "filtering-repository"...
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-27 17:53
    - 42 bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

    class CollectionUtilsTest extends Specification {
    
        def "list filtering"() {
            given:
            def spec = { it < 5 }
            def filter = { Integer[] nums -> filter(nums as List, spec) }
    
            expect:
            filter(1, 2, 3) == [1, 2, 3]
            filter(7, 8, 9) == []
            filter() == []
            filter(4, 5, 6) == [4]
        }
    
        def "array filtering"() {
            given:
            def spec = { it < 5 }
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-22 08:48
    - 11.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/declaringRepositories-filtering/groovy/settings.gradle

    rootProject.name = "filtering-repository"...
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-27 17:53
    - 42 bytes
    - Viewed (0)
  5. src/cmd/go/internal/imports/scan.go

    		}
    
    		// import "C" is implicit requirement of cgo tag.
    		// When listing files on the command line (explicitFiles=true)
    		// we do not apply build tag filtering but we still do apply
    		// cgo filtering, so no explicitFiles check here.
    		// Why? Because we always have, and it's not worth breaking
    		// that behavior now.
    		for _, path := range list {
    			if path == `"C"` && !tags["cgo"] && !tags["*"] {
    Registered: 2024-06-12 16:32
    - Last Modified: 2020-10-23 19:36
    - 2.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/initialization/loadercache/ClassLoaderCache.java

         *
         * @param id the ID of the classloader.
         * @param classPath the classpath to use to create the classloader.
         * @param parent the parent of the classloader.
         * @param filterSpec the filtering to use on the classpath.
         * @return the classloader.
         */
        ClassLoader get(ClassLoaderId id, ClassPath classPath, @Nullable ClassLoader parent, @Nullable FilteringClassLoader.Spec filterSpec);
    
        /**
    Registered: 2024-06-12 18:38
    - Last Modified: 2020-12-02 22:15
    - 2.8K bytes
    - Viewed (0)
  7. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/component/ConfigurationVariantMapping.java

                throw new InvalidUserCodeException("Cannot add artifacts during filtering");
            }
    
            @Override
            public void artifact(Object notation, Action<? super ConfigurablePublishArtifact> configureAction) {
                throw new InvalidUserCodeException("Cannot add artifacts during filtering");
            }
    
            @Override
            public String getName() {
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-07 19:31
    - 8.5K bytes
    - Viewed (0)
  8. releasenotes/notes/49049.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: istioctl
    releaseNotes:
    - |
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-02-02 18:21
    - 220 bytes
    - Viewed (0)
  9. releasenotes/notes/45919.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: istioctl
    releaseNotes:
    - |
    Registered: 2024-06-14 15:00
    - Last Modified: 2023-07-17 18:23
    - 229 bytes
    - Viewed (0)
  10. cluster/gce/list-resources.sh

    echo "Region: ${REGION}"
    echo "Zone: ${ZONE}"
    echo "Instance prefix: ${INSTANCE_PREFIX:-}"
    echo "Network: ${NETWORK}"
    echo "Provider: ${KUBERNETES_PROVIDER:-}"
    
    # List resources related to instances, filtering by the instance prefix if
    # provided.
    
    set +e # do not stop on error
    
    gcloud-list compute instance-templates "name ~ '${INSTANCE_PREFIX}.*'"
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-03-27 15:44
    - 3.6K bytes
    - Viewed (0)
Back to top