Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 8,280 for booln (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. test/fuse.go

    	return a == 0 && f > Cf2 || a <= 0 && f < -Cf2
    }
    
    func fEqLessU(a uint, f float64) bool {
    	return a == 0 && f > Cf2 || a < 0 && f < -Cf2
    }
    
    func fEqLeqU(a uint64, f float64) bool {
    	return a == 0 && f > Cf2 || a <= 0 && f < -Cf2 // ERROR "Redirect Eq64 based on Eq64$"
    }
    
    func fNeqEq(a int, f float64) bool {
    	return a != 0 && f > Cf2 || a == 0 && f < -Cf2 // ERROR "Redirect Eq64 based on Neq64$"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/types.go

    	ReservedMemory []MemoryReservation
    	// EnableProfiling enables /debug/pprof handler.
    	EnableProfilingHandler bool
    	// EnableDebugFlagsHandler enables/debug/flags/v handler.
    	EnableDebugFlagsHandler bool
    	// SeccompDefault enables the use of `RuntimeDefault` as the default seccomp profile for all workloads.
    	SeccompDefault bool
    	// MemoryThrottlingFactor specifies the factor multiplied by the memory limit or node allocatable memory
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue51607.go

    	_ interface{~int | ~ /* ERROR "overlapping terms ~int and ~int" */ int}
    
    	_ interface{T1 | bool | string | T1 | bool /* ERROR "overlapping terms bool and bool" */ | string /* ERROR "overlapping terms string and string" */ }
    	_ interface{T1 | bool | string | T2 | ~ /* ERROR "overlapping terms ~bool and bool" */ bool | ~ /* ERROR "overlapping terms ~string and string" */ string}
    
    	// no errors for interface terms
    	_ interface{T1 | T1}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top