Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 243 for isset (0.46 sec)

  1. operator/cmd/mesh/testdata/manifest-generate/output/pilot_default.golden.yaml

            {{- define "resources"  }}
              {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPULimit`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemoryLimit`) }}
                {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 102.6K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/sys/cpu/cpu_linux_mips64x.go

    package cpu
    
    // HWCAP bits. These are exposed by the Linux kernel 5.4.
    const (
    	// CPU features
    	hwcap_MIPS_MSA = 1 << 1
    )
    
    func doinit() {
    	// HWCAP feature bits
    	MIPS64X.HasMSA = isSet(hwCap, hwcap_MIPS_MSA)
    }
    
    func isSet(hwc uint, value uint) bool {
    	return hwc&value != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 480 bytes
    - Viewed (0)
  3. tests/integration/pilot/testdata/upgrade/1.7.6-install.yaml.tar

    0 {{- else -}} runAsNonRoot: true runAsUser: 1337 {{- end }} resources: {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPULimit`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemoryLimit`) }} {{- if or (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyCPU`) (isset .ObjectMeta.Annotations `sidecar.istio.io/proxyMemory`) }} requests: {{ if (isset ...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 13 16:06:08 UTC 2021
    - 60K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/bitmask/bitmask.go

    	return *s == 0
    }
    
    // IsSet checks bit in mask to see if bit is set to one
    func (s *bitMask) IsSet(bit int) bool {
    	if bit < 0 || bit >= 64 {
    		return false
    	}
    	return (*s & (1 << uint64(bit))) > 0
    }
    
    // AnySet checks bit in mask to see if any provided bit is set to one
    func (s *bitMask) AnySet(bits []int) bool {
    	for _, b := range bits {
    		if s.IsSet(b) {
    			return true
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/affinity_linux.go

    	}
    }
    
    // Clear removes cpu from the set s.
    func (s *CPUSet) Clear(cpu int) {
    	i := cpuBitsIndex(cpu)
    	if i < len(s) {
    		s[i] &^= cpuBitsMask(cpu)
    	}
    }
    
    // IsSet reports whether cpu is in the set s.
    func (s *CPUSet) IsSet(cpu int) bool {
    	i := cpuBitsIndex(cpu)
    	if i < len(s) {
    		return s[i]&cpuBitsMask(cpu) != 0
    	}
    	return false
    }
    
    // Count returns the number of CPUs in the set s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 21:26:10 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  6. src/internal/cpu/cpu_ppc64x.go

    func doinit() {
    	options = []option{
    		{Name: "darn", Feature: &PPC64.HasDARN},
    		{Name: "scv", Feature: &PPC64.HasSCV},
    		{Name: "power9", Feature: &PPC64.IsPOWER9},
    	}
    
    	osinit()
    }
    
    func isSet(hwc uint, value uint) bool {
    	return hwc&value != 0
    }
    
    func Name() string {
    	switch {
    	case PPC64.IsPOWER10:
    		return "POWER10"
    	case PPC64.IsPOWER9:
    		return "POWER9"
    	case PPC64.IsPOWER8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:05:43 UTC 2022
    - 651 bytes
    - Viewed (0)
  7. internal/hash/checksum.go

    	case c.Is(ChecksumCRC32C):
    		return 4
    	case c.Is(ChecksumSHA1):
    		return sha1.Size
    	case c.Is(ChecksumSHA256):
    		return sha256.Size
    	}
    	return 0
    }
    
    // IsSet returns whether the type is valid and known.
    func (c ChecksumType) IsSet() bool {
    	return !c.Is(ChecksumInvalid) && !c.Is(ChecksumNone)
    }
    
    // NewChecksumType returns a checksum type based on the algorithm string.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. internal/config/cache/remote.go

    	IfRange           string     `json:"ifRange,omitempty" msg:",omitempty"`
    	IfPartNumber      int        `json:"ifPartNumber,omitempty" msg:",omitempty"`
    }
    
    // IsSet tells the cache lookup to avoid sending a request
    func (r *CondCheck) IsSet() bool {
    	if r == nil {
    		return false
    	}
    	return r.IfMatch != "" || r.IfNoneMatch != "" || r.IfModifiedSince != nil || r.IfUnModifiedSince != nil || r.IfRange != ""
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. cmd/api-headers.go

    			continue
    		}
    
    		var isSet bool
    		for _, userMetadataPrefix := range userMetadataKeyPrefixes {
    			if !stringsHasPrefixFold(k, userMetadataPrefix) {
    				continue
    			}
    			w.Header()[strings.ToLower(k)] = []string{v}
    			isSet = true
    			break
    		}
    
    		if !isSet {
    			w.Header().Set(k, v)
    		}
    	}
    
    	var start, rangeLen int64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

        }
    
        val bit = 1 shl id
        set = set or bit
        values[id] = value
        return this
      }
    
      /** Returns true if a value has been assigned for the setting `id`. */
      fun isSet(id: Int): Boolean {
        val bit = 1 shl id
        return set and bit != 0
      }
    
      /** Returns the value for the setting `id`, or 0 if unset. */
      operator fun get(id: Int): Int = values[id]
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top