Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDebugSingleton (0.46 sec)

  1. src/encoding/gob/codec_test.go

    }
    
    var singletons = []any{
    	true,
    	7,
    	uint(10),
    	3.2,
    	"hello",
    	[3]int{11, 22, 33},
    	[]float32{0.5, 0.25, 0.125},
    	map[string]int{"one": 1, "two": 2},
    }
    
    func TestDebugSingleton(t *testing.T) {
    	if debugFunc == nil {
    		return
    	}
    	b := new(bytes.Buffer)
    	// Accumulate a number of values and print them out all at once.
    	for _, x := range singletons {
    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