Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildStructCloneSeq (0.17 sec)

  1. src/unique/clone.go

    		return singleStringClone
    	}
    	var seq cloneSeq
    	switch typ.Kind() {
    	case abi.Struct:
    		buildStructCloneSeq(typ, &seq, 0)
    	case abi.Array:
    		buildArrayCloneSeq(typ, &seq, 0)
    	}
    	return seq
    }
    
    // buildStructCloneSeq populates a cloneSeq for an abi.Type that has Kind abi.Struct.
    func buildStructCloneSeq(typ *abi.Type, seq *cloneSeq, baseOffset uintptr) {
    	styp := typ.StructType()
    	for i := range styp.Fields {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top