Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for bitIsSet (0.26 sec)

  1. 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)
  2. 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)
  3. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(BitSet.class).isEmpty());
        assertTrue(ArbitraryInstances.get(TreeSet.class).isEmpty());
        assertTrue(ArbitraryInstances.get(TreeMap.class).isEmpty());
        assertFreshInstanceReturned(
            LinkedList.class,
            Deque.class,
            Queue.class,
            PriorityQueue.class,
            BitSet.class,
            TreeSet.class,
            TreeMap.class);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  4. pkg/ledger/smt_test.go

    		t.Fatal("leaf shortcut didn't move up to root")
    	}
    
    	key1 := make([]byte, 8)
    	// set the last bit
    	bitSet(key1, 63)
    	keys := [][]byte{key0, key1}
    	values = [][]byte{defaultLeaf, getFreshData(1)[0]}
    	_, err := smt.Update(keys, values)
    	assert.NoError(t, err)
    }
    
    func bitSet(bits []byte, i int) {
    	bits[i/8] |= 1 << uint(7-i%8)
    }
    
    func TestSmtRaisesError(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(BitSet.class).isEmpty());
        assertTrue(ArbitraryInstances.get(TreeSet.class).isEmpty());
        assertTrue(ArbitraryInstances.get(TreeMap.class).isEmpty());
        assertFreshInstanceReturned(
            LinkedList.class,
            Deque.class,
            Queue.class,
            PriorityQueue.class,
            BitSet.class,
            TreeSet.class,
            TreeMap.class);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

        // Serial form:
        // 1 signed byte for the strategy
        // 1 unsigned byte for the number of hash functions
        // 1 big endian int, the number of longs in our bitset
        // N big endian longs of our bitset
        DataOutputStream dout = new DataOutputStream(out);
        dout.writeByte(SignedBytes.checkedCast(strategy.ordinal()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. 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)
  9. guava/src/com/google/common/hash/BloomFilter.java

        // Serial form:
        // 1 signed byte for the strategy
        // 1 unsigned byte for the number of hash functions
        // 1 big endian int, the number of longs in our bitset
        // N big endian longs of our bitset
        DataOutputStream dout = new DataOutputStream(out);
        dout.writeByte(SignedBytes.checkedCast(strategy.ordinal()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMap.java

          }
        }
    
        private @Nullable Object[] lastEntryForEachKey(
            @Nullable Object[] localAlternatingKeysAndValues, int size) {
          Set<Object> seenKeys = new HashSet<>();
          BitSet dups = new BitSet(); // slots that are overridden by a later duplicate key
          for (int i = size - 1; i >= 0; i--) {
            Object key = requireNonNull(localAlternatingKeysAndValues[2 * i]);
            if (!seenKeys.add(key)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top