Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for ptrTo (0.09 sec)

  1. src/reflect/all_test.go

    	check("ArrayOf", ArrayOf(10, TypeOf(T{})))
    	check("ChanOf", ChanOf(BothDir, TypeOf(T{})))
    	check("FuncOf", FuncOf([]Type{TypeOf(T{})}, nil, false))
    	check("MapOf", MapOf(TypeOf(T{}), TypeOf(T{})))
    	check("PtrTo", PointerTo(TypeOf(T{})))
    	check("SliceOf", SliceOf(TypeOf(T{})))
    }
    
    type XM struct{ _ bool }
    
    func (*XM) String() string { return "" }
    
    func TestPtrToMethods(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. src/fmt/fmt_test.go

    		if i >= 0 && i < len(s) {
    			var pattern, chars string
    			switch {
    			case strings.HasPrefix(tt.out[i:], "PTR_b"):
    				pattern = "PTR_b"
    				chars = "01"
    			case strings.HasPrefix(tt.out[i:], "PTR_o"):
    				pattern = "PTR_o"
    				chars = "01234567"
    			case strings.HasPrefix(tt.out[i:], "PTR_d"):
    				pattern = "PTR_d"
    				chars = "0123456789"
    			case strings.HasPrefix(tt.out[i:], "PTR_x"):
    				pattern = "PTR_x"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Method.PkgPath", Field, 0},
    		{"Method.Type", Field, 0},
    		{"New", Func, 0},
    		{"NewAt", Func, 0},
    		{"Pointer", Const, 18},
    		{"PointerTo", Func, 18},
    		{"Ptr", Const, 0},
    		{"PtrTo", Func, 0},
    		{"RecvDir", Const, 0},
    		{"Select", Func, 1},
    		{"SelectCase", Type, 1},
    		{"SelectCase.Chan", Field, 1},
    		{"SelectCase.Dir", Field, 1},
    		{"SelectCase.Send", Field, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top