Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Pittet (0.2 sec)

  1. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  2. 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);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

        int keyBits = 32;
        int hashBits = function.bits();
    
        // output loop tests input bit
        for (int i = 0; i < keyBits; i++) {
          int same = 0x0; // bitset for output bits with same values
          int diff = 0x0; // bitset for output bits with different values
          int count = 0;
          // originally was 2 * Math.log(...), making it try more times to avoid flakiness issues
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      @BeforeExperiment
      protected void setUp() {
        BitSet bitSet = new BitSet();
        for (int i = 0; i < OLD_WHITESPACE_TABLE.length(); i++) {
          bitSet.set(OLD_WHITESPACE_TABLE.charAt(i));
        }
        bitSet.clear(0);
        bitSet.clear(1);
        matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE;
        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 16 22:49:59 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  5. 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
     */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. 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);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertSame(CharMatcher.any(), CharMatcher.any().precomputed());
      }
    
      @GwtIncompatible // java.util.BitSet
      private static BitSet bitSet(String chars) {
        return bitSet(chars.toCharArray());
      }
    
      @GwtIncompatible // java.util.BitSet
      private static BitSet bitSet(char[] chars) {
        BitSet tmp = new BitSet();
        for (char c : chars) {
          tmp.set(c);
        }
        return tmp;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertSame(CharMatcher.any(), CharMatcher.any().precomputed());
      }
    
      @GwtIncompatible // java.util.BitSet
      private static BitSet bitSet(String chars) {
        return bitSet(chars.toCharArray());
      }
    
      @GwtIncompatible // java.util.BitSet
      private static BitSet bitSet(char[] chars) {
        BitSet tmp = new BitSet();
        for (char c : chars) {
          tmp.set(c);
        }
        return tmp;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  9. 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
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    them.  However, on the second time round, she came upon a low
    curtain she had not noticed before, and behind it was a little
    door about fifteen inches high:  she tried the little golden key
    in the lock, and to her great delight it fitted!
    
      Alice opened the door and found that it led into a small
    passage, not much larger than a rat-hole:  she knelt down and
    looked along the passage into the loveliest garden you ever saw.
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
Back to top