Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FuncArgs (0.14 sec)

  1. src/cmd/compile/internal/types/sizeof_test.go

    	}{
    		{Sym{}, 32, 64},
    		{Type{}, 64, 104},
    		{Map{}, 12, 24},
    		{Forward{}, 20, 32},
    		{Func{}, 32, 56},
    		{Struct{}, 12, 24},
    		{Interface{}, 0, 0},
    		{Chan{}, 8, 16},
    		{Array{}, 12, 16},
    		{FuncArgs{}, 4, 8},
    		{ChanArgs{}, 4, 8},
    		{Ptr{}, 4, 8},
    		{Slice{}, 4, 8},
    	}
    
    	for _, tt := range tests {
    		want := tt._32bit
    		if _64bit {
    			want = tt._64bit
    		}
    		got := reflect.TypeOf(tt.val).Size()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 17:08:44 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    func (t *Type) ChanArgs() *Type {
    	t.wantEtype(TCHANARGS)
    	return t.extra.(ChanArgs).T
    }
    
    // FuncArgs returns the func type for TFUNCARGS type t.
    func (t *Type) FuncArgs() *Type {
    	t.wantEtype(TFUNCARGS)
    	return t.extra.(FuncArgs).T
    }
    
    // IsFuncArgStruct reports whether t is a struct representing function parameters or results.
    func (t *Type) IsFuncArgStruct() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/size.go

    		t.intRegs = 1
    		t.setAlg(ANOEQ)
    		t.ptrBytes = int64(PtrSize)
    
    	// function is 3 cated structures;
    	// compute their widths as side-effect.
    	case TFUNCARGS:
    		t1 := t.FuncArgs()
    		// TODO(mdempsky): Should package abi be responsible for computing argwid?
    		w = calcStructOffset(t1, t1.Recvs(), 0)
    		w = calcStructOffset(t1, t1.Params(), w)
    		w = RoundUp(w, int64(RegSize))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/reflect/type.go

    	}
    	if abid.stackPtrs.n > 0 {
    		x.GCData = &abid.stackPtrs.data[0]
    	}
    
    	var s string
    	if rcvr != nil {
    		s = "methodargs(" + stringFor(rcvr) + ")(" + stringFor(&t.Type) + ")"
    	} else {
    		s = "funcargs(" + stringFor(&t.Type) + ")"
    	}
    	x.Str = resolveReflectName(newName(s, "", false, false))
    
    	// cache result for future callers
    	framePool = &sync.Pool{New: func() any {
    		return unsafe_New(x)
    	}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/static/trace_viewer_full.html

    MaliParser.prototype={__proto__:Parser.prototype,maliDDKOpenSlice(pid,tid,ts,func,blockinfo){const thread=this.importer.model_.getOrCreateProcess(pid).getOrCreateThread(tid);const funcArgs=/^([\w\d_]*)(?:\(\))?:?\s*(.*)$/.exec(func);thread.sliceGroup.beginSlice('gpu-driver',funcArgs[1],ts,{'args':funcArgs[2],blockinfo});},maliDDKCloseSlice(pid,tid,ts,args,blockinfo){const thread=this.importer.model_.getOrCreateProcess(pid).getOrCreateThread(tid);if(!thread.sliceGroup.openSliceCount){return;}...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top