HomeSort by relevance Sort by last modified time
    Searched defs:bitSet (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /external/smali/util/src/main/java/org/jf/util/
BitSetUtils.java 34 import java.util.BitSet;
37 public static BitSet bitSetOfIndexes(int... indexes) {
38 BitSet bitSet = new BitSet();
40 bitSet.set(index);
42 return bitSet;
  /external/caliper/examples/src/main/java/examples/
BitSetBenchmark.java 23 import java.util.BitSet;
27 * A simple example of a benchmark for BitSet showing some of the issues with
55 * benchmarks convert a simple char[] of '1's and '0's to a corresponding BitSet
72 * {@link BitSet#set} is quite dependent on the surrounding code and how
77 * <p><b>1:</b> Using BitSet is slower than using bit masks directly. At best it
89 private BitSet bitSet;
93 bitSet = new BitSet(64);
102 * This benchmark attempts to measure performance of {@link BitSet#set}
    [all...]
  /external/guava/guava-tests/benchmark/com/google/common/base/
WhitespaceMatcherBenchmark.java 25 import java.util.BitSet;
63 BitSet bitSet = new BitSet();
65 bitSet.set(OLD_WHITESPACE_TABLE.charAt(i));
67 bitSet.clear(0);
68 bitSet.clear(1);
70 teststring = newTestString(new Random(1), bitSet, percentMatching);
93 private static String allMatchingChars(BitSet bitSet) {
    [all...]
  /external/icu/icu4c/source/test/perf/utrie2perf/
utrie2perf.cpp 217 uint32_t bitSet=0;
220 bitSet|=(uint32_t)1<<u_charDirection(c);
222 if(length>0 && bitSet==0) {
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
DaysOfWeek.java 67 public DaysOfWeek(int bitSet) {
68 mBitSet = bitSet;
94 int bitSet = mBitSet;
95 while (bitSet > 0) {
96 if ((bitSet & 1) == 1) dayCount++;
97 bitSet >>= 1;
145 public void setBitSet(int bitSet) {
146 mBitSet = bitSet;
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3bitset.c 43 static void antlr3BitsetORInPlace (pANTLR3_BITSET bitset, pANTLR3_BITSET bitset2);
44 static ANTLR3_UINT32 antlr3BitsetSize (pANTLR3_BITSET bitset);
45 static void antlr3BitsetAdd (pANTLR3_BITSET bitset, ANTLR3_INT32 bit);
47 static ANTLR3_BOOLEAN antlr3BitsetMember (pANTLR3_BITSET bitset, ANTLR3_UINT32 bit);
48 static ANTLR3_UINT32 antlr3BitsetNumBits (pANTLR3_BITSET bitset);
49 static void antlr3BitsetRemove (pANTLR3_BITSET bitset, ANTLR3_UINT32 bit);
50 static ANTLR3_BOOLEAN antlr3BitsetIsNil (pANTLR3_BITSET bitset);
51 static pANTLR3_INT32 antlr3BitsetToIntList (pANTLR3_BITSET bitset);
55 static void growToInclude (pANTLR3_BITSET bitset, ANTLR3_INT32 bit);
56 static void grow (pANTLR3_BITSET bitset, ANTLR3_INT32 newSize)
78 pANTLR3_BITSET bitset; local
143 pANTLR3_BITSET bitset; local
186 pANTLR3_BITSET bitset; local
256 pANTLR3_BITSET bitset; local
319 pANTLR3_BITSET bitset; local
356 pANTLR3_BITSET bitset; local
    [all...]
antlr3tokenstream.c 716 * the token type BitSet. Return null if no tokens were found. This
772 pANTLR3_BITSET bitSet;
775 bitSet = antlr3BitsetList(list->table);
777 newlist = tokenStream->getTokensSet(tokenStream, start, stop, bitSet);
779 bitSet->free(bitSet);
788 pANTLR3_BITSET bitSet;
791 bitSet = antlr3BitsetOf(type, -1);
792 newlist = tokenStream->getTokensSet(tokenStream, start, stop, bitSet);
794 bitSet->free(bitSet)
    [all...]
  /frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
ExprTest.java 29 import java.util.BitSet;
115 BitSet clone = (BitSet) model.getInvalidateAnyBitSet().clone();
185 BitSet bitSet = a.getShouldReadFlags();
187 BitSet clone = (BitSet) bitSet.clone();
193 BitSet composite = new BitSet();
    [all...]
ExprModelTest.java 38 import java.util.BitSet;
161 final BitSet shouldReadFlags = first.getShouldReadFlags();
936 BitSet bitset = new BitSet(); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmTimeClickHandler.java 113 final int bitSet = mPreviousDaysOfWeekMap.getInt(alarmId);
114 alarm.daysOfWeek.setBitSet(bitSet);
120 final int bitSet = alarm.daysOfWeek.getBitSet();
121 mPreviousDaysOfWeekMap.putInt(alarmId, bitSet);
  /external/guava/guava-tests/test/com/google/common/base/
CharMatcherTest.java 37 import java.util.BitSet;
112 @GwtIncompatible("java.util.BitSet")
132 @GwtIncompatible("java.util.BitSet")
134 BitSet bitset = new BitSet(); local
135 matcher.setBits(bitset);
137 assertEquals(matcher.matches((char) i), bitset.get(i));
669 @GwtIncompatible("java.util.BitSet")
670 private static BitSet bitSet(String chars)
    [all...]
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
Expr.java 33 import java.util.BitSet;
73 private BitSet mInvalidFlags;
85 BitSet mShouldReadFlags;
87 BitSet mReadSoFar = new BitSet();// i've read this variable for these flags
92 BitSet mShouldReadWithConditionals;
138 public BitSet getInvalidFlags() {
145 private BitSet resolveInvalidFlags() {
146 BitSet bitSet = (BitSet) mModel.getInvalidateAnyBitSet().clone()
    [all...]
  /prebuilts/tools/common/m2/repository/com/github/frankiesardo/auto-parcel-processor/0.3.1/
auto-parcel-processor-0.3.1.jar 
  /prebuilts/tools/common/m2/repository/org/smali/util/2.1.3/
util-2.1.3.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/1.0/
compiler-1.0.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/1.0-rc5/
compiler-1.0-rc5.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/1.1/
compiler-1.1.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.0.0-alpha9/
compiler-2.0.0-alpha9.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.0.0-beta2/
compiler-2.0.0-beta2.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.0.0-beta5/
compiler-2.0.0-beta5.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.0.0/
compiler-2.0.0.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.0.0-beta6/
compiler-2.0.0-beta6.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.0.0-beta7/
compiler-2.0.0-beta7.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.0.0-rc3/
compiler-2.0.0-rc3.jar 
  /prebuilts/gradle-plugin/com/android/databinding/compiler/2.1.0-alpha3/
compiler-2.1.0-alpha3.jar 

Completed in 1108 milliseconds

1 2 3 4 5