Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 497 for inexact (0.2 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. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/TaskOrderSpecsTest.groovy

                [':a', ':b', ':d', ':f', ':e', ':c'],
                []
            ]
        }
    
        def "can specify a task more than once in a complex rule"() {
            def spec = any(exact(':a', ':c'), exact(':b', ':d'), exact(':a', ':d'))
    
            given:
            assert spec.getTasks() == [':a', ':b', ':c', ':d'] as Set
    
            when:
            spec.assertMatches(-1, [':a', ':b', ':c', ':d'])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/testdata/http/extended-single-policy-out.yaml

                        stringMatch:
                          exact: rule[0]-to[0]-method[1]
                    - header:
                        name: :method
                        stringMatch:
                          exact: rule[0]-to[0]-method[2]
                - orRules:
                    rules:
                    - urlPath:
                        path:
                          exact: rule[0]-to[0]-path[1]
                    - urlPath:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/builder/testdata/http/extended-multiple-policies-out.yaml

                    rules:
                    - header:
                        name: :method
                        stringMatch:
                          exact: GET
                    - header:
                        name: :method
                        stringMatch:
                          exact: POST
            principals:
            - andIds:
                ids:
                - any: true
          ns[foo]-policy[httpbin-2]-rule[0]:
            permissions:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. 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)
  10. pilot/pkg/security/authz/builder/testdata/http/extended-simple-policy-multiple-td-aliases-out.yaml

                        principalName:
                          exact: spiffe://td1/ns/rule[0]/sa/from[0]-principal[0]
                    - authenticated:
                        principalName:
                          exact: spiffe://cluster.local/ns/rule[0]/sa/from[0]-principal[0]
                    - authenticated:
                        principalName:
                          exact: spiffe://some-td/ns/rule[0]/sa/from[0]-principal[0]
            - andIds:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top