Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for elem1 (0.5 sec)

  1. src/database/sql/sql_test.go

    	for i := 0; i < 5; i++ {
    		id := i + 1
    		if err := db.QueryRow("SELECT|t|nullf|id=?", id).Scan(bindVal); err != nil {
    			t.Errorf("id=%d Scan: %v", id, err)
    		}
    		bindValDeref := reflect.ValueOf(bindVal).Elem().Interface()
    		if !reflect.DeepEqual(bindValDeref, spec.rows[i].scanNullVal) {
    			t.Errorf("id=%d got %#v, want %#v", id, bindValDeref, spec.rows[i].scanNullVal)
    		}
    	}
    }
    
    // golang.org/issue/4859
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    			"foo": func(authority string, c *tls.Conn) RoundTripper { panic("") },
    		},
    		ReadBufferSize:  1,
    		WriteBufferSize: 1,
    	}
    	tr2 := tr.Clone()
    	rv := reflect.ValueOf(tr2).Elem()
    	rt := rv.Type()
    	for i := 0; i < rt.NumField(); i++ {
    		sf := rt.Field(i)
    		if !token.IsExported(sf.Name) {
    			continue
    		}
    		if rv.Field(i).IsZero() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top