Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for FuncType (0.38 sec)

  1. api/go1.18.txt

    pkg debug/elf, const R_PPC64_RELATIVE R_PPC64
    pkg debug/plan9obj, var ErrNoSymbols error
    pkg go/ast, method (*IndexListExpr) End() token.Pos
    pkg go/ast, method (*IndexListExpr) Pos() token.Pos
    pkg go/ast, type FuncType struct, TypeParams *FieldList
    pkg go/ast, type IndexListExpr struct
    pkg go/ast, type IndexListExpr struct, Indices []Expr
    pkg go/ast, type IndexListExpr struct, Lbrack token.Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/rangefunc/rewrite.go

    var nopos syntax.Pos
    
    // A rewriter implements rewriting the range-over-funcs in a given function.
    type rewriter struct {
    	pkg   *types2.Package
    	info  *types2.Info
    	sig   *types2.Signature
    	outer *syntax.FuncType
    	body  *syntax.BlockStmt
    
    	// References to important types and values.
    	any   types2.Object
    	bool  types2.Object
    	int   types2.Object
    	true  types2.Object
    	false types2.Object
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  3. src/go/ast/filter.go

    	case *ArrayType:
    		return filterType(t.Elt, f, export)
    	case *StructType:
    		if filterFieldList(t.Fields, f, export) {
    			t.Incomplete = true
    		}
    		return len(t.Fields.List) > 0
    	case *FuncType:
    		b1 := filterParamList(t.Params, f, export)
    		b2 := filterParamList(t.Results, f, export)
    		return b1 || b2
    	case *InterfaceType:
    		if filterFieldList(t.Methods, f, export) {
    			t.Incomplete = true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/ast.go

    		f.walk(&n.Value, ctxExpr, visit)
    
    	case *ast.ArrayType:
    		f.walk(&n.Len, ctxExpr, visit)
    		f.walk(&n.Elt, ctxType, visit)
    	case *ast.StructType:
    		f.walk(n.Fields, ctxField, visit)
    	case *ast.FuncType:
    		if tparams := funcTypeTypeParams(n); tparams != nil {
    			f.walk(tparams, ctxParam, visit)
    		}
    		f.walk(n.Params, ctxParam, visit)
    		if n.Results != nil {
    			f.walk(n.Results, ctxParam, visit)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    	// Types
    	case *ast.ArrayType:
    		a.apply(n, "Len", nil, n.Len)
    		a.apply(n, "Elt", nil, n.Elt)
    
    	case *ast.StructType:
    		a.apply(n, "Fields", nil, n.Fields)
    
    	case *ast.FuncType:
    		if tparams := n.TypeParams; tparams != nil {
    			a.apply(n, "TypeParams", nil, tparams)
    		}
    		a.apply(n, "Params", nil, n.Params)
    		a.apply(n, "Results", nil, n.Results)
    
    	case *ast.InterfaceType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. src/reflect/abi.go

    	println()
    }
    
    func dumpPtrBitMap(b abi.IntArgRegBitmap) {
    	for i := 0; i < intArgRegs; i++ {
    		x := 0
    		if b.Get(i) {
    			x = 1
    		}
    		print(" ", x)
    	}
    }
    
    func newAbiDesc(t *funcType, rcvr *abi.Type) abiDesc {
    	// We need to add space for this argument to
    	// the frame so that it can spill args into it.
    	//
    	// The size of this space is just the sum of the sizes
    	// of each register-allocated type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/runtime/syscall_windows.go

    		cdecl = false
    	}
    
    	if fn._type == nil || (fn._type.Kind_&abi.KindMask) != abi.Func {
    		panic("compileCallback: expected function with one uintptr-sized result")
    	}
    	ft := (*functype)(unsafe.Pointer(fn._type))
    
    	// Check arguments and construct ABI translation.
    	var abiMap abiDesc
    	for _, t := range ft.InSlice() {
    		abiMap.assignArg(t)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/deadcode.go

    	switch decodetypeKind(arch, p) {
    	case abi.Struct: // reflect.structType
    		off += 4 * arch.PtrSize
    	case abi.Pointer: // reflect.ptrType
    		off += arch.PtrSize
    	case abi.Func: // reflect.funcType
    		off += arch.PtrSize // 4 bytes, pointer aligned
    	case abi.Slice: // reflect.sliceType
    		off += arch.PtrSize
    	case abi.Array: // reflect.arrayType
    		off += 3 * arch.PtrSize
    	case abi.Chan: // reflect.chanType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/cmd/link/internal/wasm/asm.go

    func writeTypeSec(ctxt *ld.Link, types []*wasmFuncType) {
    	sizeOffset := writeSecHeader(ctxt, sectionType)
    
    	writeUleb128(ctxt.Out, uint64(len(types)))
    
    	for _, t := range types {
    		ctxt.Out.WriteByte(0x60) // functype
    		writeUleb128(ctxt.Out, uint64(len(t.Params)))
    		for _, v := range t.Params {
    			ctxt.Out.WriteByte(byte(v))
    		}
    		writeUleb128(ctxt.Out, uint64(len(t.Results)))
    		for _, v := range t.Results {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. src/runtime/mfinal.go

    			removefinalizer(e.data)
    		})
    		return
    	}
    
    	if ftyp.Kind_&abi.KindMask != abi.Func {
    		throw("runtime.SetFinalizer: second argument is " + toRType(ftyp).string() + ", not a function")
    	}
    	ft := (*functype)(unsafe.Pointer(ftyp))
    	if ft.IsVariadic() {
    		throw("runtime.SetFinalizer: cannot pass " + toRType(etyp).string() + " to finalizer " + toRType(ftyp).string() + " because dotdotdot")
    	}
    	if ft.InCount != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top