Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for encComplex128Slice (0.23 sec)

  1. src/encoding/gob/enc_helpers.go

    }
    
    func encComplex128Array(state *encoderState, v reflect.Value) bool {
    	// Can only slice if it is addressable.
    	if !v.CanAddr() {
    		return false
    	}
    	return encComplex128Slice(state, v.Slice(0, v.Len()))
    }
    
    func encComplex128Slice(state *encoderState, v reflect.Value) bool {
    	slice, ok := v.Interface().([]complex128)
    	if !ok {
    		// It is kind complex128 but not type complex128. TODO: We can handle this unsafely.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 17:50:11 UTC 2018
    - 9.9K bytes
    - Viewed (0)
Back to top