Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for bitIsSet (0.23 sec)

  1. guava/src/com/google/common/base/CharMatcher.java

            table = (BitSet) table.clone();
            // If only we could actually call BitSet.trimToSize() ourselves...
          }
          this.table = table;
        }
    
        @Override
        public boolean matches(char c) {
          return table.get(c);
        }
    
        @Override
        void setBits(BitSet bitSet) {
          bitSet.or(table);
        }
      }
    
      // Static constant implementation classes
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

            table = (BitSet) table.clone();
            // If only we could actually call BitSet.trimToSize() ourselves...
          }
          this.table = table;
        }
    
        @Override
        public boolean matches(char c) {
          return table.get(c);
        }
    
        @Override
        void setBits(BitSet bitSet) {
          bitSet.or(table);
        }
      }
    
      // Static constant implementation classes
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  3. src/math/big/int_test.go

    		old1 := altBit(z1, i)
    		if old != old1 {
    			t.Errorf("bitset: inconsistent value for Bit(%s, %d), got %v want %v", z1, i, old, old1)
    		}
    		z := new(Int).SetBit(z, i, 1)
    		z1 := altSetBit(new(Int), z1, i, 1)
    		if z.Bit(i) == 0 {
    			t.Errorf("bitset: bit %d of %s got 0 want 1", i, x)
    		}
    		if z.Cmp(z1) != 0 {
    			t.Errorf("bitset: inconsistent value after SetBit 1, got %s want %s", z, z1)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

            }
            return false;
          }
    
          @Override
          public Iterator<Set<E>> iterator() {
            return new AbstractIterator<Set<E>>() {
              final BitSet bits = new BitSet(index.size());
    
              @Override
              @CheckForNull
              protected Set<E> computeNext() {
                if (bits.isEmpty()) {
                  bits.set(0, size);
                } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Sets.java

            }
            return false;
          }
    
          @Override
          public Iterator<Set<E>> iterator() {
            return new AbstractIterator<Set<E>>() {
              final BitSet bits = new BitSet(index.size());
    
              @Override
              @CheckForNull
              protected Set<E> computeNext() {
                if (bits.isEmpty()) {
                  bits.set(0, size);
                } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top