- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 48 for bitIsSet (0.32 sec)
-
guava/src/com/google/common/base/CharMatcher.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 53.8K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go
func TestRemove(t *testing.T) { tcases := []struct { name string bitsSet []int bitsRemove []int expectedMask string }{ { name: "Set bit 0. Remove bit 0", bitsSet: []int{0}, bitsRemove: []int{0}, expectedMask: "00", }, { name: "Set bits 0 and 1. Remove bit 1", bitsSet: []int{0, 1}, bitsRemove: []int{1}, expectedMask: "01", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
package com.google.common.base; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.CharMatcher.NamedFastMatcher; import java.util.BitSet; /** * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with * linear probing to check for matches. * * @author Christopher Swenson */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 53.7K bytes - Viewed (0) -
guava/src/com/google/common/base/SmallCharMatcher.java
package com.google.common.base; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.CharMatcher.NamedFastMatcher; import java.util.BitSet; /** * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with * linear probing to check for matches. * * @author Christopher Swenson */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead, * replacing {@code Booleans.contains(array, true)} with {@code !bitSet.isEmpty()} and {@code * Booleans.contains(array, false)} with {@code bitSet.nextClearBit(0) == sizeOfBitSet}. * * @param array an array of {@code boolean} values, possibly empty
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 19.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
* * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead, * replacing {@code Booleans.contains(array, true)} with {@code !bitSet.isEmpty()} and {@code * Booleans.contains(array, false)} with {@code bitSet.nextClearBit(0) == sizeOfBitSet}. * * @param array an array of {@code boolean} values, possibly empty
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 19.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/poset.go
const uintSize = 32 << (^uint(0) >> 63) // 32 or 64 // bitset is a bit array for dense indexes. type bitset []uint func newBitset(n int) bitset { return make(bitset, (n+uintSize-1)/uintSize) } func (bs bitset) Reset() { for i := range bs { bs[i] = 0 } } func (bs bitset) Set(idx uint32) { bs[idx/uintSize] |= 1 << (idx % uintSize) } func (bs bitset) Clear(idx uint32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 04 17:23:05 UTC 2023 - 37.2K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoreadjusttyp_string.go
// Code generated by "stringer -bitset -type scoreAdjustTyp"; DO NOT EDIT. package inlheur import "strconv" import "bytes" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[panicPathAdj-1] _ = x[initFuncAdj-2] _ = x[inLoopAdj-4] _ = x[passConstToIfAdj-8] _ = x[passConstToNestedIfAdj-16]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 21:13:01 UTC 2023 - 2.6K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/cspropbits_string.go
// Code generated by "stringer -bitset -type CSPropBits"; DO NOT EDIT. package inlheur import "strconv" import "bytes" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[CallSiteInLoop-1] _ = x[CallSiteOnPanicPath-2] _ = x[CallSiteInInitFunc-4] } var _CSPropBits_value = [...]uint64{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 23:03:03 UTC 2023 - 1.2K bytes - Viewed (0)