Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 87 for _typ (0.04 sec)

  1. src/runtime/cgocheck.go

    //go:systemstack
    func cgoCheckUsingType(typ *_type, src unsafe.Pointer, off, size uintptr) {
    	if !typ.Pointers() {
    		return
    	}
    
    	// Anything past typ.PtrBytes is not a pointer.
    	if typ.PtrBytes <= off {
    		return
    	}
    	if ptrdataSize := typ.PtrBytes - off; size > ptrdataSize {
    		size = ptrdataSize
    	}
    
    	if typ.Kind_&abi.KindGCProg == 0 {
    		cgoCheckBits(src, typ.GCData, off, size)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/runtime/error.go

    	// run time error if it has a RuntimeError method.
    	RuntimeError()
    }
    
    // A TypeAssertionError explains a failed type assertion.
    type TypeAssertionError struct {
    	_interface    *_type
    	concrete      *_type
    	asserted      *_type
    	missingMethod string // one method needed by Interface, missing from Concrete
    }
    
    func (*TypeAssertionError) RuntimeError() {}
    
    func (e *TypeAssertionError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java

     * The <a href="https://docs.gradle.org/current/userguide/java_gradle_plugin.html" target="_top">java-gradle-plugin</a> adds
     * a {@code validatePlugins} task, though if you cannot use this plugin then you need to register the task yourself.
     *
     * See the user guide for more information on
     * <a href="https://docs.gradle.org/current/userguide/incremental_build.html" target="_top">incremental build</a> and
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    	token.MUL: "multiplication",
    	token.SHL: "shift",
    }
    
    // If typ is a type parameter, underIs returns the result of typ.underIs(f).
    // Otherwise, underIs returns the result of f(under(typ)).
    func underIs(typ Type, f func(Type) bool) bool {
    	typ = Unalias(typ)
    	if tpar, _ := typ.(*TypeParam); tpar != nil {
    		return tpar.underIs(f)
    	}
    	return f(under(typ))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/runtime/slice.go

    }
    
    // makeslicecopy allocates a slice of "tolen" elements of type "et",
    // then copies "fromlen" elements of type "et" into that new allocation from "from".
    func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer {
    	var tomem, copymem uintptr
    	if uintptr(tolen) > uintptr(fromlen) {
    		var overflow bool
    		tomem, overflow = math.MulUintptr(et.Size_, uintptr(tolen))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/go/types/typexpr.go

    		check.use(e.Elt)
    
    	case *ast.StructType:
    		typ := new(Struct)
    		setDefType(def, typ)
    		check.structType(typ, e)
    		return typ
    
    	case *ast.StarExpr:
    		typ := new(Pointer)
    		typ.base = Typ[Invalid] // avoid nil base in invalid recursive type declaration
    		setDefType(def, typ)
    		typ.base = check.varType(e.X)
    		return typ
    
    	case *ast.FuncType:
    		typ := new(Signature)
    		setDefType(def, typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/runtime/arena.go

    		panic("userArena.slice: negative cap")
    	}
    	i := efaceOf(&sl)
    	typ := i._type
    	if typ.Kind_&abi.KindMask != abi.Pointer {
    		panic("slice result of non-ptr type")
    	}
    	typ = (*ptrtype)(unsafe.Pointer(typ)).Elem
    	if typ.Kind_&abi.KindMask != abi.Slice {
    		panic("slice of non-ptr-to-slice type")
    	}
    	typ = (*slicetype)(unsafe.Pointer(typ)).Elem
    	// t is now the element type of the slice we want to allocate.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    	}
    
    	pos := p.pos()
    	if typ := p.typeOrNil(); typ != nil {
    		f := new(Field)
    		f.pos = pos
    		f.Type = typ
    		return []*Field{f}
    	}
    
    	return nil
    }
    
    func (p *parser) addField(styp *StructType, pos Pos, name *Name, typ Expr, tag *BasicLit) {
    	if tag != nil {
    		for i := len(styp.FieldList) - len(styp.TagList); i > 0; i-- {
    			styp.TagList = append(styp.TagList, nil)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. src/runtime/syscall_windows.go

    	if GOARCH != "386" {
    		// cdecl is only meaningful on 386.
    		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() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/runtime/mbitmap.go

    	// All of these objects have a header.
    	var typ *_type
    	if spc.sizeclass() != 0 {
    		// Pull the allocation header from the first word of the object.
    		typ = *(**_type)(unsafe.Pointer(addr))
    		addr += mallocHeaderSize
    	} else {
    		typ = span.largeType
    		if typ == nil {
    			// Allow a nil type here for delayed zeroing. See mallocgc.
    			return typePointers{}
    		}
    	}
    	gcdata := typ.GCData
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top