Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for AntType (0.19 sec)

  1. src/go/ast/walk_test.go

    	// boolean returned by the yield function resulted in the iterator calling
    	// yield for sibling nodes even after yield had returned false. With that
    	// bug, this test failed with a runtime panic.
    	src := "package p\ntype T struct {\n\tF int `json:\"f\"` // a field\n}\n"
    
    	fset := token.NewFileSet()
    	f, err := parser.ParseFile(fset, "", src, 0)
    	if err != nil {
    		panic(err)
    	}
    
    	for n := range ast.Preorder(f) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 916 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    		field("UID", apiservercel.StringType, true),
    		field("creationTimestamp", apiservercel.TimestampType, true),
    		field("deletionGracePeriodSeconds", apiservercel.IntType, true),
    		field("deletionTimestamp", apiservercel.TimestampType, true),
    		field("generation", apiservercel.IntType, true),
    		field("resourceVersion", apiservercel.StringType, true),
    		field("finalizers", apiservercel.NewListType(apiservercel.StringType, -1), true),
    	))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/kind_string.go

    	_ = x[TSTRING-27]
    	_ = x[TUNSAFEPTR-28]
    	_ = x[TIDEAL-29]
    	_ = x[TNIL-30]
    	_ = x[TBLANK-31]
    	_ = x[TFUNCARGS-32]
    	_ = x[TCHANARGS-33]
    	_ = x[TSSA-34]
    	_ = x[TTUPLE-35]
    	_ = x[TRESULTS-36]
    	_ = x[NTYPE-37]
    }
    
    const _Kind_name = "xxxINT8UINT8INT16UINT16INT32UINT32INT64UINT64INTUINTUINTPTRCOMPLEX64COMPLEX128FLOAT32FLOAT64BOOLPTRFUNCSLICEARRAYSTRUCTCHANMAPINTERFORWANYSTRINGUNSAFEPTRIDEALNILBLANKFUNCARGSCHANARGSSSATUPLERESULTSNTYPE"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. pkg/bootstrap/option/instances.go

    	return newOption("cluster", value)
    }
    
    func NodeID(value string) Instance {
    	return newOption("nodeID", value)
    }
    
    func NodeType(value string) Instance {
    	ntype := strings.Split(value, "~")[0]
    	return newOption("nodeType", ntype)
    }
    
    func XdsType(value string) Instance {
    	return newOption("xds_type", value)
    }
    
    func Region(value string) Instance {
    	return newOptionOrSkipIfZero("region", value)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/value_test.go

    	objType := NewObjectType("TestObject", map[string]*DeclField{})
    	tests := []struct {
    		val interface{}
    		typ ref.Type
    	}{
    		{true, types.BoolType},
    		{float64(1.2), types.DoubleType},
    		{int64(-42), types.IntType},
    		{uint64(63), types.UintType},
    		{time.Duration(300), types.DurationType},
    		{time.Now().UTC(), types.TimestampType},
    		{types.NullValue, types.NullType},
    		{NewListValue(), types.ListType},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  6. src/internal/xcoff/xcoff.go

    	Nscnum  uint16  // Section number of symbol
    	Ntype   uint16  // Basic and derived type specification
    	Nsclass uint8   // Storage class of symbol
    	Nnumaux uint8   // Number of auxiliary entries
    }
    
    type SymEnt64 struct {
    	Nvalue  uint64 // Symbol value
    	Noffset uint32 // Offset of the name in string table or .debug section
    	Nscnum  uint16 // Section number of symbol
    	Ntype   uint16 // Basic and derived type specification
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/regex.go

    			cel.BinaryBinding(func(str, regex ref.Val) ref.Val {
    				return findAll(str, regex, types.Int(-1))
    			})),
    		cel.MemberOverload("string_find_all_string_int",
    			[]*cel.Type{cel.StringType, cel.StringType, cel.IntType},
    			cel.ListType(cel.StringType),
    			cel.FunctionBinding(findAll)),
    	},
    }
    
    func (*regex) CompileOptions() []cel.EnvOption {
    	options := []cel.EnvOption{}
    	for name, overloads := range regexLibraryDecls {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/universe.go

    	SliceSize = RoundUp(SliceCapOffset+int64(PtrSize), int64(PtrSize))
    
    	// string is same as slice wo the cap
    	StringSize = RoundUp(SliceLenOffset+int64(PtrSize), int64(PtrSize))
    
    	for et := Kind(0); et < NTYPE; et++ {
    		SimType[et] = et
    	}
    
    	Types[TANY] = newType(TANY) // note: an old placeholder type, NOT the new builtin 'any' alias for interface{}
    	Types[TINTER] = NewInterface(nil)
    	CheckSize(Types[TINTER])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/func.go

    // FixVariadicCall rewrites calls to variadic functions to use an
    // explicit ... argument if one is not already present.
    func FixVariadicCall(call *ir.CallExpr) {
    	fntype := call.Fun.Type()
    	if !fntype.IsVariadic() || call.IsDDD {
    		return
    	}
    
    	vi := fntype.NumParams() - 1
    	vt := fntype.Param(vi).Type
    
    	args := call.Args
    	extra := args[vi:]
    	slice := MakeDotArgs(call.Pos(), vt, extra)
    	for i := range extra {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

        String dummyValidationProblem(String onType = 'InvalidTask', String onProperty = 'dummy', String desc = 'test problem', String testReason = 'this is a test.') {
            display(SimpleMessage, 'dummy') {
                type(onType).property(onProperty)
                description(desc)
                reason(testReason)
            }.render()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
Back to top