Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for toolType (0.12 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    	if issues != nil {
    		compilationResult.Error = &apiservercel.Error{Type: apiservercel.ErrorTypeInvalid, Detail: "compilation failed: " + issues.String()}
    		return
    	}
    	if ast.OutputType() != cel.BoolType {
    		compilationResult.Error = &apiservercel.Error{Type: apiservercel.ErrorTypeInvalid, Detail: "cel expression must evaluate to a bool"}
    		return
    	}
    
    	checkedExpr, err := cel.AstToCheckedExpr(ast)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.nativeplatform.toolchain.internal.ToolType> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (ToolType.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    )
    
    type condition struct {
    	Expression string
    }
    
    func (c *condition) GetExpression() string {
    	return c.Expression
    }
    
    func (v *condition) ReturnTypes() []*celgo.Type {
    	return []*celgo.Type{celgo.BoolType}
    }
    
    func TestCompile(t *testing.T) {
    	cases := []struct {
    		name             string
    		validation       []ExpressionAccessor
    		errorExpressions map[string]string
    	}{
    		{
    			name: "invalid syntax",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    			Len: c.intExpr(count),
    			Elt: sub.Go,
    		}
    		// Recalculate t.Size now that we know sub.Size.
    		t.Size = count * sub.Size
    		t.C.Set("__typeof__(%s[%d])", sub.C, dt.Count)
    
    	case *dwarf.BoolType:
    		t.Go = c.bool
    		t.Align = 1
    
    	case *dwarf.CharType:
    		if t.Size != 1 {
    			fatalf("%s: unexpected: %d-byte char type - %s", lineno(pos), t.Size, dtype)
    		}
    		t.Go = c.int8
    		t.Align = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    func checkValidationRulesEvaluation(results []authenticationcel.EvaluationResult, messageFn messageFunc) error {
    	for _, result := range results {
    		if result.EvalResult.Type() != celgo.BoolType {
    			return fmt.Errorf("validation expression must return a boolean")
    		}
    		if !result.EvalResult.Value().(bool) {
    			expression := result.ExpressionAccessor.GetExpression()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*BasicType).Basic", Method, 0},
    		{"(*BasicType).Common", Method, 0},
    		{"(*BasicType).Size", Method, 0},
    		{"(*BasicType).String", Method, 0},
    		{"(*BoolType).Basic", Method, 0},
    		{"(*BoolType).Common", Method, 0},
    		{"(*BoolType).Size", Method, 0},
    		{"(*BoolType).String", Method, 0},
    		{"(*CharType).Basic", Method, 0},
    		{"(*CharType).Common", Method, 0},
    		{"(*CharType).Size", Method, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top