Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 8,278 for boolp (0.07 sec)

  1. pkg/proxy/apis/config/types.go

    // Kubernetes proxy server.
    type KubeProxyConfiguration struct {
    	metav1.TypeMeta
    
    	// featureGates is a map of feature names to bools that enable or disable alpha/experimental features.
    	FeatureGates map[string]bool
    
    	// clientConnection specifies the kubeconfig file and client connection settings for the proxy
    	// server to use when communicating with the apiserver.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. src/time/tick_test.go

    			})
    		})
    	}
    }
    
    type timer interface {
    	Stop() bool
    	Reset(Duration) bool
    }
    
    // tickerTimer is a Timer with Reset and Stop methods that return bools,
    // to have the same signatures as Timer.
    type tickerTimer struct {
    	*Ticker
    	stopped bool
    }
    
    func (t *tickerTimer) Stop() bool {
    	pending := !t.stopped
    	t.stopped = true
    	t.Ticker.Stop()
    	return pending
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_limit_test.go

    			benchmark: true,
    		},
    		{
    			name:      "3MB of floats",
    			data:      []byte(`{"a":[` + strings.Repeat(`0.0,`, 3*1024*1024/4-2) + `0.0]}`),
    			benchmark: true,
    		},
    		{
    			name:      "3MB of bools",
    			data:      []byte(`{"a":[` + strings.Repeat(`true,`, 3*1024*1024/5-2) + `true]}`),
    			benchmark: true,
    		},
    		{
    			name:      "3MB of empty strings",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:49:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/stmt0.go

    	case 1.0, 2.0, x /* ERROR "mismatched types int and float64" */ :
    	}
    	switch x {
    	case 1.0:
    	}
    
    	// untyped bools become of type bool
    	type B bool
    	var b B = true
    	switch x == x {
    	case b /* ERROR "mismatched types B and bool" */ :
    	}
    	switch {
    	case b /* ERROR "mismatched types B and bool" */ :
    	}
    }
    
    func issue11667() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    		// between those four groups: bools, integers, floats and string. We need to
    		// do the same.
    		if st.ConvertibleTo(dt) {
    			switch st.Kind() {
    			case reflect.String:
    				switch dt.Kind() {
    				case reflect.String:
    					dv.Set(sv.Convert(dt))
    					return nil
    				}
    			case reflect.Bool:
    				switch dt.Kind() {
    				case reflect.Bool:
    					dv.Set(sv.Convert(dt))
    					return nil
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  6. src/html/template/js_test.go

    	}
    }
    
    type jsonErrType struct{}
    
    func (e *jsonErrType) MarshalJSON() ([]byte, error) {
    	return nil, errors.New("beep */ boop </script blip <!--")
    }
    
    func TestJSValEscaper(t *testing.T) {
    	tests := []struct {
    		x        any
    		js       string
    		skipNest bool
    	}{
    		{int(42), " 42 ", false},
    		{uint(42), " 42 ", false},
    		{int16(42), " 42 ", false},
    		{uint16(42), " 42 ", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/cmpConst_test.go

    func gt_1_uint32(x uint32) bool          { return x > 1 }
    func ge_1_uint32(x uint32) bool          { return x >= 1 }
    func eq_1_uint32(x uint32) bool          { return x == 1 }
    func ne_1_uint32(x uint32) bool          { return x != 1 }
    func lt_126_uint32(x uint32) bool        { return x < 126 }
    func le_126_uint32(x uint32) bool        { return x <= 126 }
    func gt_126_uint32(x uint32) bool        { return x > 126 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 103.1K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/target.go

    	LinkMode  LinkMode
    	BuildMode BuildMode
    
    	linkShared    bool
    	canUsePlugins bool
    	IsELF         bool
    }
    
    //
    // Target type functions
    //
    
    func (t *Target) IsExe() bool {
    	return t.BuildMode == BuildModeExe
    }
    
    func (t *Target) IsShared() bool {
    	return t.BuildMode == BuildModeShared
    }
    
    func (t *Target) IsPlugin() bool {
    	return t.BuildMode == BuildModePlugin
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 21:14:48 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  9. src/internal/cpu/cpu.go

    	_            CacheLinePad
    	HasAES       bool
    	HasADX       bool
    	HasAVX       bool
    	HasAVX2      bool
    	HasAVX512F   bool
    	HasAVX512BW  bool
    	HasAVX512VL  bool
    	HasBMI1      bool
    	HasBMI2      bool
    	HasERMS      bool
    	HasFMA       bool
    	HasOSXSAVE   bool
    	HasPCLMULQDQ bool
    	HasPOPCNT    bool
    	HasRDTSCP    bool
    	HasSHA       bool
    	HasSSE3      bool
    	HasSSSE3     bool
    	HasSSE41     bool
    	HasSSE42     bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/database/sql/driver/types_test.go

    type (
    	i  int64
    	f  float64
    	b  bool
    	bs []byte
    	s  string
    	t  time.Time
    	is []int
    )
    
    var valueConverterTests = []valueConverterTest{
    	{Bool, "true", true, ""},
    	{Bool, "True", true, ""},
    	{Bool, []byte("t"), true, ""},
    	{Bool, true, true, ""},
    	{Bool, "1", true, ""},
    	{Bool, 1, true, ""},
    	{Bool, int64(1), true, ""},
    	{Bool, uint16(1), true, ""},
    	{Bool, "false", false, ""},
    	{Bool, false, false, ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:53:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top