Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Filtering (0.2 sec)

  1. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

        configureAsRuntimeJarClasspath(objects)
    }
    
    enum class Filtering {
        PUBLIC_API, ALL
    }
    
    val filteredAttribute: Attribute<Filtering> = Attribute.of("org.gradle.apijar.filtered", Filtering::class.java)
    
    dependencies {
        artifactTypes.getByName("jar") {
            attributes.attribute(filteredAttribute, Filtering.ALL)
        }
    
        // Filters out classes that are not exposed by our API.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableInjection.groovy

                }
            }
        }
    
        static void checkEnvironmentVariableUnset(String key) {
            // We can't "unset" the variable with the API executer provides, but it isn't necessary, thanks to the filtering in
            // build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
            if (System.getenv().containsKey(key)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. build-logic/packaging/src/main/kotlin/gradlebuild/packaging/transforms/CopyPublicApiClassesTransform.kt

    import org.gradle.api.provider.Provider
    import org.gradle.api.tasks.Classpath
    import org.gradle.work.DisableCachingByDefault
    import java.util.zip.ZipEntry
    import java.util.zip.ZipFile
    
    
    // TODO This should work via filtering classes dirs, but for that we need to be able to set a default attribute
    //      on classes directories -- see https://github.com/gradle/gradle/issues/29319
    @DisableCachingByDefault(because = "Only copies public API classes")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         * @return {@code true} to visit siblings nodes of this node as well, {@code false} to skip siblings
         */
        boolean accept(@Nonnull NodeVisitor visitor);
    
        /**
         * Returns a new tree starting at this node, filtering the children.
         * Note that this node will not be filtered and only the children
         * and its descendant will be checked.
         *
         * @param filter the filter to apply
         * @return a new filtered graph
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. maven-core/pom.xml

          <version>${mockitoVersion}</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
    
      <build>
        <resources>
          <resource>
            <filtering>true</filtering>
            <directory>src/main/resources</directory>
          </resource>
        </resources>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.rat</groupId>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    	}
    	// TODO: should be namespace.name
    	if name, ok := s.Field.RequiresExactMatch("metadata.name"); ok {
    		return name, true
    	}
    	return "", false
    }
    
    // Empty returns true if the predicate performs no filtering.
    func (s *SelectionPredicate) Empty() bool {
    	return s.Label.Empty() && s.Field.Empty()
    }
    
    // For any index defined by IndexFields, if a matcher can match only (a subset)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            }
            def transformed = transformer.transform(DefaultClassPath.of(jar), BuildLogic)
            def filtering = new FilteringClassLoader(getClass().classLoader, new FilteringClassLoader.Spec([Action.name, Instrumented.name], [], [], [], [], [], []))
            testClassLoader = new URLClassLoader(transformed.asURLArray, filtering)
            return testClassLoader.loadClass(cl.name)
        }
    
        void classesDir(TestFile dir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    )
    
    // watchCacheEvent is a single "watch event" that is send to users of
    // watchCache. Additionally to a typical "watch.Event" it contains
    // the previous value of the object to enable proper filtering in the
    // upper layers.
    type watchCacheEvent struct {
    	Type            watch.EventType
    	Object          runtime.Object
    	ObjLabels       labels.Set
    	ObjFields       fields.Set
    	PrevObject      runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

            System.out.println(message);
            System.exit(1);
        }
    
        protected void daemonStarted(Long pid, String uid, Address address, File daemonLog) {
            // directly printing to the stream to avoid log level filtering.
            new DaemonStartupCommunication().printDaemonStarted(originalOut, pid, uid, address, daemonLog);
            try {
                originalOut.close();
                originalErr.close();
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultCapabilitiesConflictHandler.java

                // The registered nodes may contain nodes which are no longer selected.
                // We don't remove them from the list in the first place because it proved to be
                // slower than filtering as needed.
                ModuleIdentifier rootId = null;
                final List<NodeState> candidatesForConflict = Lists.newArrayListWithCapacity(nodes.size());
                for (NodeState ns : nodes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top