Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Negate (0.1 sec)

  1. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/specs/SpecsTest.groovy

            expect:
            Specs.negate(Specs.satisfyAll()) == Specs.satisfyNone()
        }
    
        def "negation of none is all"() {
            expect:
            Specs.negate(Specs.satisfyNone()) == Specs.satisfyAll()
        }
    
        def "negation of spec is !spec"() {
            def spec = Stub(Spec)
    
            expect:
            def negation = Specs.negate(spec)
            negation instanceof NotSpec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.txt

        public final method getSecondValue(): int
        public final inner class Operation$Add
    }
    
    public final class Operation$Negate {
        // source: 'classKinds.kt'
        private final field value: int
        public method <init>(p0: int): void
        public final method getValue(): int
        public final inner class Operation$Negate
    }
    
    public final class Operation$Subtract {
        // source: 'classKinds.kt'
        private final field minuend: int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Dec 21 15:34:34 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/codegen/GradleApiMetadata.kt

        when {
            includes.isEmpty() && excludes.isEmpty() -> PatternMatcher.MATCH_ALL
            includes.isEmpty() -> patternSpecFor(excludes).negate()
            excludes.isEmpty() -> patternSpecFor(includes)
            else -> patternSpecFor(includes).and(patternSpecFor(excludes).negate())
        }
    
    
    private
    fun patternSpecFor(patterns: List<String>) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:07 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.kt

        NORTH, SOUTH, WEST, EAST
    }
    
    sealed class Operation {
        class Add(val firstValue: Int, val secondValue: Int) : Operation()
        class Subtract(val minuend: Int, val subtrahend: Int) : Operation()
        class Negate(val value: Int) : Operation()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 07 16:22:01 UTC 2023
    - 426 bytes
    - Viewed (0)
  5. src/crypto/internal/edwards25519/field/fe_alias_test.go

    		twoArgsF func(v, x, y *Element) *Element
    	}
    	for _, tt := range []target{
    		{name: "Absolute", oneArgF: (*Element).Absolute},
    		{name: "Invert", oneArgF: (*Element).Invert},
    		{name: "Negate", oneArgF: (*Element).Negate},
    		{name: "Set", oneArgF: (*Element).Set},
    		{name: "Square", oneArgF: (*Element).Square},
    		{name: "Pow22523", oneArgF: (*Element).Pow22523},
    		{
    			name: "Mult32",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-BatchMatMulV2.mlir

    // CHECK:           [[LHSIM:%.*]] = mhlo.imag [[LHS]]
    // CHECK:           [[LHSIMNEG:%.*]] = mhlo.negate [[LHSIM]]
    // CHECK:           [[LHSCONJ:%.*]] = mhlo.complex [[LHSRE]], [[LHSIMNEG]]
    // CHECK:           [[RHSRE:%.*]] = mhlo.real [[RHS]]
    // CHECK:           [[RHSIM:%.*]] = mhlo.imag [[RHS]]
    // CHECK:           [[RHSIMNEG:%.*]] = mhlo.negate [[RHSIM]]
    // CHECK:           [[RHSCONJ:%.*]] = mhlo.complex [[RHSRE]], [[RHSIMNEG]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/scalar_alias_test.go

    			return false
    		}
    
    		// Ensure the arguments were not modified.
    		return x == x1 && y == y1
    	}
    
    	for name, f := range map[string]interface{}{
    		"Negate": func(v, x Scalar) bool {
    			return checkAliasingOneArg((*Scalar).Negate, v, x)
    		},
    		"Multiply": func(v, x, y Scalar) bool {
    			return checkAliasingTwoArgs((*Scalar).Multiply, v, x, y)
    		},
    		"Add": func(v, x, y Scalar) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternMatcher.java

            return new And(PatternMatcher.this, other);
        }
    
        public PatternMatcher or(final PatternMatcher other) {
            return new Or(PatternMatcher.this, other);
        }
    
        public PatternMatcher negate() {
            return new PatternMatcher() {
                @Override
                public boolean test(String[] segments, boolean isFile) {
                    return !PatternMatcher.this.test(segments, isFile);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ComponentSelectionRulesProcessor.java

        private final Spec<SpecRuleAction<? super ComponentSelection>> withNoInputs = element -> element.getAction().getInputTypes().isEmpty();
        private final Spec<SpecRuleAction<? super ComponentSelection>> withInputs = Specs.negate(withNoInputs);
    
        void apply(ComponentSelectionInternal selection, Collection<SpecRuleAction<? super ComponentSelection>> specRuleActions, MetadataProvider metadataProvider) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/specs/Specs.java

            }
    
            return new OrSpec<>(filtered);
        }
    
        /**
         * Returns a spec that selects everything that is not selected by the given spec.
         */
        public static <T> Spec<T> negate(Spec<? super T> spec) {
            if (spec == SATISFIES_ALL) {
                return satisfyNone();
            }
            if (spec == SATISFIES_NONE) {
                return satisfyAll();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top