Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Negate (0.17 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. test/fixedbugs/issue56777.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func fn(setText []rune, negate bool) int {
    	ranges := []singleRange{}
    
    	if len(setText) > 0 {
    		fillFirst := false
    		l := len(setText)
    		if negate {
    			if setText[0] == 0 {
    				setText = setText[1:]
    			} else {
    				l++
    				fillFirst = true
    			}
    		}
    
    		if l%2 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 13:26:33 UTC 2022
    - 928 bytes
    - Viewed (0)
  4. 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)
  5. src/net/nss.go

    			return false
    		}
    	}
    	return true
    }
    
    // nssCriterion is the parsed structure of one of the criteria in brackets
    // after an NSS source name.
    type nssCriterion struct {
    	negate bool   // if "!" was present
    	status string // e.g. "success", "unavail" (lowercase)
    	action string // e.g. "return", "continue" (lowercase)
    }
    
    // standardStatusAction reports whether c is equivalent to not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:15:51 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  6. src/net/nss_test.go

    			want: &nssConf{
    				sources: map[string][]nssSource{
    					"foo": {
    						{source: "a"},
    						{
    							source: "b",
    							criteria: []nssCriterion{
    								{
    									negate: true,
    									status: "a",
    									action: "b",
    								},
    								{
    									status: "x",
    									action: "y",
    								},
    							},
    						},
    						{source: "c"},
    					},
    				},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:15:51 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top