Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gobEncodeOpFor (0.11 sec)

  1. src/encoding/gob/encode.go

    				state.enc.encodeInterface(state.b, iv)
    			}
    		}
    	}
    	if op == nil {
    		errorf("can't happen: encode type %s", rt)
    	}
    	return &op, indir
    }
    
    // gobEncodeOpFor returns the op for a type that is known to implement GobEncoder.
    func gobEncodeOpFor(ut *userTypeInfo) (*encOp, int) {
    	rt := ut.user
    	if ut.encIndir == -1 {
    		rt = reflect.PointerTo(rt)
    	} else if ut.encIndir > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top