Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for _typ (0.04 sec)

  1. src/unique/clone.go

    func buildArrayCloneSeq(typ *abi.Type, seq *cloneSeq, baseOffset uintptr) {
    	atyp := typ.ArrayType()
    	etyp := atyp.Elem
    	offset := baseOffset
    	for range atyp.Len {
    		switch etyp.Kind() {
    		case abi.String:
    			seq.stringOffsets = append(seq.stringOffsets, offset)
    		case abi.Struct:
    			buildStructCloneSeq(etyp, seq, offset)
    		case abi.Array:
    			buildArrayCloneSeq(etyp, seq, offset)
    		}
    		offset += etyp.Size()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typeparam.go

    		id = check.nextID
    	}
    	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
    	if obj.typ == nil {
    		obj.typ = typ
    	}
    	// iface may mutate typ.bound, so we must ensure that iface() is called
    	// at least once before the resulting TypeParam escapes.
    	if check != nil {
    		check.needsCleanup(typ)
    	} else if constraint != nil {
    		typ.iface()
    	}
    	return typ
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/go/types/typeparam.go

    		id = check.nextID
    	}
    	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
    	if obj.typ == nil {
    		obj.typ = typ
    	}
    	// iface may mutate typ.bound, so we must ensure that iface() is called
    	// at least once before the resulting TypeParam escapes.
    	if check != nil {
    		check.needsCleanup(typ)
    	} else if constraint != nil {
    		typ.iface()
    	}
    	return typ
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/runtime/export_debug_test.go

    	if tid == 0 {
    		return nil, plainError("missing tid")
    	}
    
    	f := efaceOf(&fn)
    	if f._type == nil || f._type.Kind_&abi.KindMask != abi.Func {
    		return nil, plainError("fn must be a function")
    	}
    	fv := (*funcval)(f.data)
    
    	a := efaceOf(&stackArgs)
    	if a._type != nil && a._type.Kind_&abi.KindMask != abi.Pointer {
    		return nil, plainError("args must be a pointer or nil")
    	}
    	argp := a.data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/universe.go

    		typ.SetUnderlying(ityp)
    		def(obj)
    	}
    
    	// type comparable interface{} // marked as comparable
    	{
    		obj := NewTypeName(nopos, nil, "comparable", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// interface{} // marked as comparable
    		ityp := &Interface{complete: true, tset: &_TypeSet{nil, allTermlist, true}}
    
    		typ.SetUnderlying(ityp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/go/types/universe.go

    		typ.SetUnderlying(ityp)
    		def(obj)
    	}
    
    	// type comparable interface{} // marked as comparable
    	{
    		obj := NewTypeName(nopos, nil, "comparable", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// interface{} // marked as comparable
    		ityp := &Interface{complete: true, tset: &_TypeSet{nil, allTermlist, true}}
    
    		typ.SetUnderlying(ityp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/runtime/defs_dragonfly_amd64.go

    	_EV_CLEAR     = 0x20
    	_EV_ERROR     = 0x4000
    	_EV_EOF       = 0x8000
    	_EVFILT_READ  = -0x1
    	_EVFILT_WRITE = -0x2
    	_EVFILT_USER  = -0x9
    
    	_NOTE_TRIGGER = 0x1000000
    )
    
    type rtprio struct {
    	_type uint16
    	prio  uint16
    }
    
    type lwpparams struct {
    	start_func uintptr
    	arg        unsafe.Pointer
    	stack      uintptr
    	tid1       unsafe.Pointer // *int32
    	tid2       unsafe.Pointer // *int32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/runtime/defs_freebsd_386.go

    	_EV_RECEIPT   = 0x40
    	_EV_ERROR     = 0x4000
    	_EV_EOF       = 0x8000
    	_EVFILT_READ  = -0x1
    	_EVFILT_WRITE = -0x2
    	_EVFILT_USER  = -0xb
    
    	_NOTE_TRIGGER = 0x1000000
    )
    
    type rtprio struct {
    	_type uint16
    	prio  uint16
    }
    
    type thrparam struct {
    	start_func uintptr
    	arg        unsafe.Pointer
    	stack_base uintptr
    	stack_size uintptr
    	tls_base   unsafe.Pointer
    	tls_size   uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top