Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 212 for inexact (0.15 sec)

  1. src/cmd/compile/internal/types2/unify.go

    	// if there is an interface, the other type must implement the
    	// interface.
    	exact
    )
    
    func (m unifyMode) String() string {
    	switch m {
    	case 0:
    		return "inexact"
    	case assign:
    		return "assign"
    	case exact:
    		return "exact"
    	case assign | exact:
    		return "assign, exact"
    	}
    	return fmt.Sprintf("mode %d", m)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. src/go/types/unify.go

    	// if there is an interface, the other type must implement the
    	// interface.
    	exact
    )
    
    func (m unifyMode) String() string {
    	switch m {
    	case 0:
    		return "inexact"
    	case assign:
    		return "assign"
    	case exact:
    		return "exact"
    	case assign | exact:
    		return "assign, exact"
    	}
    	return fmt.Sprintf("mode %d", m)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    func (q *Quantity) RoundUp(scale Scale) bool {
    	if q.d.Dec != nil {
    		q.s = ""
    		d, exact := q.d.AsScale(scale)
    		q.d = d
    		return exact
    	}
    	// avoid clearing the string value if we have already calculated it
    	if q.i.scale >= scale {
    		return true
    	}
    	q.s = ""
    	i, exact := q.i.AsScale(scale)
    	q.i = i
    	return exact
    }
    
    // Add adds the provide y quantity to the current value. If the current value is zero,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. src/math/big/float.go

    		if x.neg {
    			var z float64
    			return -z, Exact
    		}
    		return 0.0, Exact
    
    	case inf:
    		if x.neg {
    			return math.Inf(-1), Exact
    		}
    		return math.Inf(+1), Exact
    	}
    
    	panic("unreachable")
    }
    
    // Int returns the result of truncating x towards zero;
    // or nil if x is an infinity.
    // The result is [Exact] if x.IsInt(); otherwise it is [Below]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  5. src/net/http/server.go

    //
    // Before wildcards were introduced, it was clear that an exact match meant
    // that the pattern and path were the same string. The only other possibility
    // was that a trailing-slash pattern, like "/", matched a path longer than
    // it, like "/a".
    //
    // With wildcards, we define an inexact match as any one where a multi wildcard
    // matches a non-empty string. All other matches are exact.
    // For example, these are all exact matches:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route_internal_test.go

    			want: authz.MetadataMatcherForJWTClaims([]string{"key1"}, authzmatcher.StringMatcher("exact"), false),
    		},
    		{
    			name: "@request.auth.claims.key1.KEY2",
    			in:   &networking.StringMatch{MatchType: &networking.StringMatch_Exact{Exact: "exact"}},
    			want: authz.MetadataMatcherForJWTClaims([]string{"key1", "KEY2"}, authzmatcher.StringMatcher("exact"), false),
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            where:
            scenario                                         | queryAttributes                 | expected
            'exact match'                                    | [key: 'something']              | 'foo'
            'exact match'                                    | [key: 'something else']         | 'bar'
            'partial match on key but attribute is optional' | [key: 'something', extra: 'no'] | 'foo'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSignatureSubstitutor.kt

        /**
         * Creates a new [KaCallableSignature] by given symbol and leave all types intact
         */
        public fun <S : KaCallableSymbol> S.asSignature(): KaCallableSignature<S> =
            withValidityAssertion { analysisSession.signatureSubstitutor.asSignature(this) }
    
        /**
         * Creates a new [KaCallableSignature] by given symbol and leave all types intact
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/go/constant/example_test.go

    	b := constant.MakeUint64(11)
    	c := constant.BinaryOp(a, token.MUL, b)
    
    	// Convert c into a complex128.
    	Ar, exact := constant.Float64Val(constant.Real(c))
    	if !exact {
    		fmt.Printf("Could not represent real part %s exactly as float64\n", constant.Real(c))
    	}
    	Ai, exact := constant.Float64Val(constant.Imag(c))
    	if !exact {
    		fmt.Printf("Could not represent imaginary part %s as exactly as float64\n", constant.Imag(c))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

                any(
                    exact(':a:clean', ':a:compileJava'),
                    exact(':b:clean', ':b:compileJava'),
                    exact(':a:compileJava', ':b:compileJava')
                )
            )
    
            when:
            args "--parallel"
            succeeds 'build', 'clean'
    
            then:
            result.assertTaskOrder(
                exact(':a:compileJava', ':b:compileJava'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top