Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for Negate (0.22 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. src/crypto/internal/edwards25519/edwards25519.go

    	v.X.Subtract(&XplusYsq, &v.Y)
    	v.T.Subtract(&ZZ2, &v.Z)
    	return v
    }
    
    // Negation.
    
    // Negate sets v = -p, and returns v.
    func (v *Point) Negate(p *Point) *Point {
    	checkInitialized(p)
    	v.x.Negate(&p.x)
    	v.y.Set(&p.y)
    	v.z.Set(&p.z)
    	v.t.Negate(&p.t)
    	return v
    }
    
    // Equal returns 1 if v is equivalent to u, and 0 otherwise.
    func (v *Point) Equal(u *Point) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 13 19:21:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. 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)
  6. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.ir.txt

                      receiver: GET_VAR '<this>: <root>.Operation.Negate declared in <root>.Operation.Negate.<get-value>' type=<root>.Operation.Negate origin=null
            CONSTRUCTOR visibility:public <> (value:kotlin.Int) returnType:<root>.Operation.Negate [primary]
              VALUE_PARAMETER name:value index:0 type:kotlin.Int
              BLOCK_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 04 09:35:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/ssa/phiopt.go

    	case OpConst8, OpConst16, OpConst32, OpConst64:
    	default:
    		return
    	}
    
    	negate := false
    	switch {
    	case a0.AuxInt == 0 && a1.AuxInt == 1:
    		negate = true
    	case a0.AuxInt == 1 && a1.AuxInt == 0:
    	default:
    		return
    	}
    
    	if reverse == 1 {
    		negate = !negate
    	}
    
    	a := b0.Controls[0]
    	if negate {
    		a = v.Block.NewValue1(v.Pos, OpNot, a.Type, a)
    	}
    	v.AddArg(a)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top