Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for namedBool (0.19 sec)

  1. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    	Slice     []string          `json:"slice,omitempty"`
    	Boolean   bool              `json:"boolean,omitempty"`
    	NamedStr  namedString       `json:"namedStr,omitempty"`
    	NamedBool namedBool         `json:"namedBool,omitempty"`
    	Foobar    bar               `json:"foobar,omitempty"`
    	Testmap   map[string]string `json:"testmap,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    func TestNegativeKindString(t *testing.T) {
    	x := -1
    	s := Kind(x).String()
    	want := "kind-1"
    	if s != want {
    		t.Fatalf("Kind(-1).String() = %q, want %q", s, want)
    	}
    }
    
    type (
    	namedBool  bool
    	namedBytes []byte
    )
    
    func TestValue_Cap(t *testing.T) {
    	a := &[3]int{1, 2, 3}
    	v := ValueOf(a)
    	if v.Cap() != cap(a) {
    		t.Errorf("Cap = %d want %d", v.Cap(), cap(a))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top