Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for toolType (0.13 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/language/java/internal/JavaLanguageServices.java

                return new ToolchainToolFactory() {
                    @Override
                    public <T> T create(Class<T> toolType, JavaToolchain toolchain) {
                        if (toolType == JavadocTool.class) {
                            return toolType.cast(new JavadocToolAdapter(generator, toolchain));
                        }
                        return null;
                    }
                };
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/openapi/compiling_test.go

    				bar: map[string]any{"bar": "value", "common": 2, "confusion": 114514},
    			})
    			if err != nil {
    				t.Fatal(err)
    			}
    			if ret.Type() != types.BoolType {
    				t.Errorf("bad result type: %v", ret.Type())
    			}
    			if res := ret.Value().(bool); tc.expectEvalResult != res {
    				t.Errorf("expectEvalResult expression evaluates to %v, got %v", tc.expectEvalResult, res)
    			}
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    		field("name", apiservercel.StringType, true),
    		field("namespace", apiservercel.StringType, false),
    		field("operation", apiservercel.StringType, true),
    		field("userInfo", userInfoType, true),
    		field("dryRun", apiservercel.BoolType, false),
    		field("options", apiservercel.DynType, false),
    	))
    }
    
    // BuildNamespaceType generates a DeclType for Namespace.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    	Expression string
    }
    
    func (v *fakeValidationCondition) GetExpression() string {
    	return v.Expression
    }
    
    func (v *fakeValidationCondition) ReturnTypes() []*celgo.Type {
    	return []*celgo.Type{celgo.BoolType}
    }
    
    type fakeAuditAnnotationCondition struct {
    	ValueExpression string
    }
    
    func (v *fakeAuditAnnotationCondition) GetExpression() string {
    	return v.ValueExpression
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
Back to top