Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newDT (0.04 sec)

  1. src/encoding/gob/codec_test.go

    type DT struct {
    	//	X OnTheFly
    	A     int
    	B     string
    	C     float64
    	I     any
    	J     any
    	I_nil any
    	M     map[string]int
    	T     [3]int
    	S     []string
    }
    
    func newDT() DT {
    	var dt DT
    	dt.A = 17
    	dt.B = "hello"
    	dt.C = 3.14159
    	dt.I = 271828
    	dt.J = OnTheFly{3}
    	dt.I_nil = nil
    	dt.M = map[string]int{"one": 1, "two": 2}
    	dt.T = [3]int{11, 22, 33}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 19 23:03:14 UTC 2023
    - 36.9K bytes
    - Viewed (0)
Back to top