Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for isMatching (0.21 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/AttributeMatcher.java

        /**
         * Determines whether the given candidate is compatible with the requested criteria.
         */
        boolean isMatching(AttributeContainerInternal candidate, AttributeContainerInternal requested);
    
        <T> boolean isMatching(Attribute<T> attribute, T candidate, T requested);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/compatibility/CrossVersionTestInterceptor.groovy

            for (String targetGradleVersion : targetGradleVersions) {
                if (isMatching(targetGradleVersion, previousVersion.version.version)) {
                    return true
                }
            }
            return false
        }
    
        private static boolean isMatching(String targetGradleVersion, String candidate) {
            if (targetGradleVersion.endsWith('+')) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultAttributeMatcher.java

            this.schema = schema;
        }
    
        @Override
        public AttributeSelectionSchema getSelectionSchema() {
            return schema;
        }
    
        @Override
        public boolean isMatching(AttributeContainerInternal candidate, AttributeContainerInternal requested) {
            if (requested.isEmpty() || candidate.isEmpty()) {
                return true;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/GradlePluginVariantsSupportTest.groovy

            def producer = versionAttribute('7.0')
    
            then:
            accepts == (schema.matcher().matches([producer], consumer, ep) == [producer])
            accepts == schema.matcher().isMatching(producer, consumer)
    
            where:
            currentGradleVersion       | acceptsOrRejects
            '7.0'                      | 'accepts'
            '7.0-20210211230048+0000'  | 'accepts'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy

            1 * variantSet.getOverriddenAttributes() >> ImmutableAttributes.EMPTY
            2 * attributeMatcher.matches(_, _, _) >> [variant, otherVariant]
            2 * attributeMatcher.isMatching(_, _, _) >> true
            0 * consumerProvidedVariantFinder._
        }
    
        def 'does not perform schema disambiguation against a single transform result'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/SynchronizedDispatchConnection.java

                if (dispatching) {
                    // Safety check: dispatching a message should not cause the thread to dispatch another message (eg should not do any logging)
                    throw new IllegalStateException("This thread is already dispatching a message.");
                }
                dispatching = true;
                try {
                    delegate.dispatch(message);
                    delegate.flush();
                } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/Connection.java

     * However, the implementations:
     * <ul>
     * <li>should allow separate threads for dispatching and receiving, i.e. single thread that dispatches
     * and a different single thread that receives should be perfectly safe</li>
     * <li>should allow stopping or requesting stopping from a different thread than receiving/dispatching</li>
     * <li>don't guarantee allowing multiple threads dispatching</li>
     * </ul>
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. cmd/bootstrap-peer-server.go

    		return nil
    	}
    
    	// Report differences in environment variables.
    	var missing []string
    	var mismatching []string
    	for k, v := range s1.MinioEnv {
    		ev, ok := s2.MinioEnv[k]
    		if !ok {
    			missing = append(missing, k)
    		} else if v != ev {
    			mismatching = append(mismatching, k)
    		}
    	}
    	var extra []string
    	for k := range s2.MinioEnv {
    		_, ok := s1.MinioEnv[k]
    		if !ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go

    		//   be dispatched, we are not dispatching any other request until
    		//   we accumulate enough seats to dispatch the nominated one, even
    		//   if currently unoccupied seats would allow for dispatching some
    		//   other requests in the meantime
    		// As a consequence of these, the wider the request, the more capacity
    		// will effectively be blocked and unused during dispatching and
    		// executing this request.
    		//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/Dispatcher.java

              protected Queue<Event> initialValue() {
                return Queues.newArrayDeque();
              }
            };
    
        /** Per-thread dispatch state, used to avoid reentrant event dispatching. */
        private final ThreadLocal<Boolean> dispatching =
            new ThreadLocal<Boolean>() {
              @Override
              protected Boolean initialValue() {
                return false;
              }
            };
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top