Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for typeOffFor (0.09 sec)

  1. src/reflect/type.go

    }
    
    func (t *interfaceType) nameOff(off aNameOff) abi.Name {
    	return toRType(&t.Type).nameOff(off)
    }
    
    func nameOffFor(t *abi.Type, off aNameOff) abi.Name {
    	return toRType(t).nameOff(off)
    }
    
    func typeOffFor(t *abi.Type, off aTypeOff) *abi.Type {
    	return toRType(t).typeOff(off)
    }
    
    func (t *interfaceType) typeOff(off aTypeOff) *abi.Type {
    	return toRType(&t.Type).typeOff(off)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. src/reflect/value.go

    			panic("reflect: internal error: invalid method index")
    		}
    		m := &tt.Methods[i]
    		return toRType(typeOffFor(typ, m.Typ))
    	}
    	// Method on concrete type.
    	ms := typ.ExportedMethods()
    	if uint(i) >= uint(len(ms)) {
    		panic("reflect: internal error: invalid method index")
    	}
    	m := ms[i]
    	return toRType(typeOffFor(typ, m.Mtyp))
    }
    
    // CanUint reports whether [Value.Uint] can be used without panicking.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top