- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 103 for isset (0.17 sec)
-
src/internal/cpu/cpu_arm.go
} // HWCAP feature bits ARM.HasVFPv4 = isSet(HWCap, hwcap_VFPv4) ARM.HasIDIVA = isSet(HWCap, hwcap_IDIVA) // lpae is required to make the 64-bit instructions LDRD and STRD (and variants) atomic. // See ARMv7 manual section B1.6. // We also need at least a v7 chip, for the DMB instruction. ARM.HasV7Atomics = isSet(HWCap, hwcap_LPAE) && isV7(Platform) } func isSet(hwc uint, value uint) bool { return hwc&value != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:38:55 UTC 2023 - 1.3K bytes - Viewed (0) -
src/internal/cpu/cpu_mips64x.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 671 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise/counting.go
return p } func (p *countingPromise) Get() interface{} { p.lock.Lock() defer p.lock.Unlock() if !p.isSet { p.waitingCount++ p.activeCounter.Add(-1) p.cond.Wait() } return p.value } func (p *countingPromise) Set(value interface{}) bool { if p.isSet { return false } p.isSet = true p.value = value if p.waitingCount > 0 { p.activeCounter.Add(p.waitingCount) p.waitingCount = 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 10 14:37:53 UTC 2021 - 3.3K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/cpu_linux_mips64x.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 480 bytes - Viewed (0) -
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) -
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) -
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) -
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) -
cmd/api-headers.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 04:44:00 UTC 2024 - 7K bytes - Viewed (0) -
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)