HomeSort by relevance Sort by last modified time
    Searched full:integer (Results 901 - 925 of 21762) sorted by null

<<31323334353637383940>>

  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DHGenParameterSpecTest.java 25 import java.lang.Integer;
43 int[] primes = {Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE};
44 int[] exponents = {Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE};
  /frameworks/base/docs/image_sources/fundamentals/
restore_instance.graffle 6 <integer>0</integer>
21 <integer>2</integer>
39 <integer>1</integer>
49 <integer>6</integer>
76 <integer>296</integer>
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
JoinerTest.java 45 // <Integer> needed to prevent warning :(
46 private static final Iterable<Integer> ITERABLE_ = Arrays.<Integer>asList();
47 private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1);
48 private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2);
49 private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3);
50 private static final Iterable<Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
51 private static final Iterable<Integer> ITERABLE_NULL_NULL
52 = Arrays.asList((Integer) null, null)
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
JoinerTest.java 47 // <Integer> needed to prevent warning :(
48 private static final Iterable<Integer> ITERABLE_ = Arrays.<Integer>asList();
49 private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1);
50 private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2);
51 private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3);
52 private static final Iterable<Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
53 private static final Iterable<Integer> ITERABLE_NULL_NULL
54 = Arrays.asList((Integer) null, null)
    [all...]
  /external/libgdx/gdx/test/com/badlogic/gdx/utils/
QueueTest.java 14 final Queue<Integer> q = new Queue<Integer>(8);
26 final Integer peeked = q.last();
33 final Integer peek = q.first();
38 final Integer pop = q.removeFirst();
58 final Queue<Integer> q = new Queue<Integer>(8);
70 final Integer peeked = q.first();
77 final Integer peek = q.last();
82 final Integer pop = q.removeLast()
    [all...]
  /libcore/ojluni/src/main/java/java/lang/
Integer.java 32 * The {@code Integer} class wraps a value of the primitive type
33 * {@code int} in an object. An object of type {@code Integer}
53 public final class Integer extends Number implements Comparable<Integer> {
72 public static final Class<Integer> TYPE = (Class<Integer>) int[].class.getComponentType();
121 * {@code Integer.toString(n, 16).toUpperCase()}
124 * @param i an integer to be converted to a string.
163 * Returns a string representation of the integer argument as an
164 * unsigned integer in base&nbsp;16
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
CacheBuilderFactory.java 42 private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
43 private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
44 private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null);
51 CacheBuilderFactory withConcurrencyLevels(Set<Integer> concurrencyLevels) {
56 CacheBuilderFactory withInitialCapacities(Set<Integer> initialCapacities) {
61 CacheBuilderFactory withMaximumSizes(Set<Integer> maximumSizes) {
101 (Integer) combination.get(0)
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
RangeTest.java 45 Range<Integer> range = Range.open(4, 8);
72 Range<Integer> range = Range.closed(5, 7);
94 Range<Integer> range = Range.openClosed(4, 7);
108 Range<Integer> range = Range.closedOpen(5, 8);
131 private static void checkContains(Range<Integer> range) {
139 Range<Integer> range = Range.closed(4, 4);
155 Range<Integer> range = Range.closedOpen(4, 4);
171 Range<Integer> range = Range.openClosed(4, 4);
187 Range<Integer> range = Range.lessThan(5);
188 assertTrue(range.contains(Integer.MIN_VALUE))
    [all...]
IteratorsTest.java 146 Iterator<Integer> iterator = Collections.singleton(0).iterator();
151 Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator();
320 final List<Integer> list = asList(1, 2, 3, 4, 5);
321 final Predicate<Integer> isEven = new Predicate<Integer>() {
323 public boolean apply(Integer integer) {
324 return integer % 2 == 0;
327 new IteratorTester<Integer>(5, UNMODIFIABLE, asList(2, 4),
329 @Override protected Iterator<Integer> newTargetIterator()
    [all...]
SynchronizedNavigableMapTest.java 233 private final Object mutex = new Integer(1);
270 NavigableMap<String, Integer> map = create();
278 NavigableMap<String, Integer> map = create();
279 NavigableMap<String, Integer> descendingMap = map.descendingMap();
282 ((SynchronizedNavigableMap<String, Integer>) descendingMap).mutex);
290 NavigableMap<String, Integer> map = create();
304 NavigableMap<String, Integer> map = create();
305 SortedMap<String, Integer> headMap = map.headMap("a");
307 assertSame(mutex, ((SynchronizedSortedMap<String, Integer>) headMap).mutex);
311 NavigableMap<String, Integer> map = create()
    [all...]
  /external/snakeyaml/src/test/java/examples/collections/
TypeSafeMapTest.java 33 Map<String, Integer> data = new LinkedHashMap<String, Integer>();
51 Map<String, Integer> data = new LinkedHashMap<String, Integer>();
73 Map<String, Integer> data = parsed.getData();
75 assertEquals(new Integer(1), data.get("aaa"));
76 assertEquals(new Integer(2), data.get("bbb"));
77 assertEquals(new Integer(3), data.get("zzz"));
88 private Map<String, Integer> data;
96 public Map<String, Integer> getData()
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/compiler/
FunctionTable.java 233 new Integer(FunctionTable.FUNC_CURRENT));
235 new Integer(FunctionTable.FUNC_LAST));
237 new Integer(FunctionTable.FUNC_POSITION));
239 new Integer(FunctionTable.FUNC_COUNT));
241 new Integer(FunctionTable.FUNC_ID));
243 new Integer(FunctionTable.FUNC_KEY));
245 new Integer(FunctionTable.FUNC_LOCAL_PART));
247 new Integer(FunctionTable.FUNC_NAMESPACE));
249 new Integer(FunctionTable.FUNC_QNAME));
251 new Integer(FunctionTable.FUNC_GENERATE_ID))
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
Collections2Test.java 60 LinkedList<Integer> lst = new LinkedList<Integer>();
61 lst.add(new Integer(30));
63 int index = Collections.binarySearch(lst, new Integer(2), null);
78 Collections.binarySearch(localList, new Integer(1));
100 Collections.rotate(list, Integer.MIN_VALUE);
267 List<Object> objects = Arrays.asList(new Object[] { new Integer(1), null, null,
270 assertEquals("Assert 5: did not find one Integer(1)", 1, Collections
271 .frequency(objects, new Integer(1)));
330 assertTrue(Collections.addAll(l, new Object[] { new Integer(1)
    [all...]
HashMapTest.java 182 // Check clear on a large loaded map of Integer keys
183 HashMap<Integer, String> map = new HashMap<Integer, String>();
188 assertEquals("Failed to reset size on large integer map", 0, hm.size());
190 assertNull("Failed to clear integer map values", map.get(i));
246 assertTrue("Returned false for valid key", hm.containsKey(new Integer(
254 .containsKey(new Integer(0)));
264 .containsValue(new Integer(875)));
266 .containsValue(new Integer(-9)));
328 .get(new Integer(0)))
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ArrayBlockingQueueTest.java 60 private ArrayBlockingQueue<Integer> populatedQueue(int n) {
61 ArrayBlockingQueue<Integer> q = new ArrayBlockingQueue<Integer>(n);
64 assertTrue(q.offer(new Integer(i)));
102 Collection<Integer> elements = Arrays.asList(new Integer[SIZE]);
113 Integer[] ints = new Integer[SIZE];
116 Collection<Integer> elements = Arrays.asList(ints);
127 Integer[] ints = new Integer[SIZE]
    [all...]
PriorityBlockingQueueTest.java 68 private PriorityBlockingQueue<Integer> populatedQueue(int n) {
69 PriorityBlockingQueue<Integer> q =
70 new PriorityBlockingQueue<Integer>(n);
73 assertTrue(q.offer(new Integer(i)));
75 assertTrue(q.offer(new Integer(i)));
77 assertEquals(Integer.MAX_VALUE, q.remainingCapacity());
86 assertEquals(Integer.MAX_VALUE,
114 Collection<Integer> elements = Arrays.asList(new Integer[SIZE]);
125 Integer[] ints = new Integer[SIZE]
    [all...]
CopyOnWriteArraySetTest.java 34 static CopyOnWriteArraySet<Integer> populatedSet(int n) {
35 CopyOnWriteArraySet<Integer> a = new CopyOnWriteArraySet<Integer>();
44 static CopyOnWriteArraySet populatedSet(Integer[] elements) {
45 CopyOnWriteArraySet<Integer> a = new CopyOnWriteArraySet<Integer>();
66 Integer[] ints = new Integer[SIZE];
68 ints[i] = new Integer(i);
229 Integer[] elements = new Integer[SIZE]
    [all...]
  /external/javassist/src/test/test/javassist/convert/
ArrayAccessReplaceTest.java 35 assertEquals(new Integer(5), instance.complexRead(4));
122 simple.setObject(i, new Integer(i));
126 assertEquals(new Integer(i), simple.getObject(i));
161 return objectMap.get(new Integer(index));
165 objectMap.put(new Integer(index), element);
169 return ((Byte)byteMap.get(new Integer(index))).byteValue();
173 byteMap.put(new Integer(index), new Byte(element));
177 return ((Character)charMap.get(new Integer(index))).charValue();
181 charMap.put(new Integer(index), new Character(element));
185 return ((Double)doubleMap.get(new Integer(index))).doubleValue()
    [all...]
  /frameworks/av/include/media/
Modulo.h 47 // integer congruent to the source integer (modulo 2^n where n is the number of bits
61 // Otherwise, if both operands have signed integer types or both have unsigned
62 // integer types, the operand with the type of lesser integer conversion rank shall be
64 // ? Otherwise, if the operand that has unsigned integer type has rank greater than
66 // integer type shall be converted to the type of the operand with unsigned integer type.
68 // C: ISO/IEC 14882:2011(E) p86 section 4.13 Integer conversion rank
72 // ? The rank of any unsigned integer type shall equal the rank of the correspondin
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherSettings.java 32 * <P>Type: INTEGER</P>
55 * <P>Type: INTEGER</P>
71 * <P>Type: INTEGER</P>
76 * The icon is a resource identified by a package name and an integer id.
121 * <P>Type: INTEGER</P>
153 * <P>Type: INTEGER</P>
158 * The icon is a resource identified by a package name and an integer id.
173 * <P>Type: INTEGER</P>
180 * <P>Type: INTEGER</P>
187 * <P>Type: INTEGER</P
    [all...]
  /external/guava/guava-testlib/test/com/google/common/testing/
FreshValueGeneratorTest.java 126 Number.class, int.class, Integer.class,
177 new FreshValueGenerator().generate(new TypeToken<ImmutableList<Integer>>() {}));
216 assertFreshInstance(new TypeToken<ImmutableMap<String, Integer>>() {});
220 new FreshValueGenerator().generate(new TypeToken<ImmutableMap<String, Integer>>() {}));
224 assertFreshInstance(new TypeToken<ImmutableSortedMap<String, Integer>>() {});
229 new TypeToken<ImmutableSortedMap<String, Integer>>() {}));
233 assertFreshInstance(new TypeToken<ImmutableMultimap<String, Integer>>() {});
237 new FreshValueGenerator().generate(new TypeToken<ImmutableMultimap<String, Integer>>() {}));
242 assertFreshInstance(new TypeToken<ImmutableListMultimap<String, Integer>>() {});
247 new TypeToken<ImmutableListMultimap<String, Integer>>() {}));
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieMapTest.java 41 private Map<String, Integer> unicodeTestMap = new HashMap<String, Integer>();
115 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) {
131 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) {
135 TrieMap<Integer> trieMap = TrieMap.Builder.with(style, Option.SMALL, testmap).build();
137 for (Entry<String, Integer> entry : testmap.entrySet()) {
138 Integer value = entry.getValue();
140 Integer foundValue = trieMap.get(key);
158 public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double ratioToMap) {
159 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build()
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieMapTest.java 37 private Map<String, Integer> unicodeTestMap = new HashMap<String, Integer>();
111 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) {
127 private void checkGet(Map<String, Integer> testmap, TrieMap.Style style) {
131 TrieMap<Integer> trieMap = TrieMap.Builder.with(style, Option.SMALL, testmap).build();
133 for (Entry<String, Integer> entry : testmap.entrySet()) {
134 Integer value = entry.getValue();
136 Integer foundValue = trieMap.get(key);
154 public long timeIteration(Map<String, Integer> testMap, long comparisonTime, Style style, double ratioToMap) {
155 TrieMap<Integer> trieMap = TrieMap.BytesBuilder.with(style, Option.SMALL, testMap).build()
    [all...]
  /dalvik/dx/src/com/android/dx/merge/
IndexMap.java 64 private final HashMap<Integer, Integer> typeListOffsets;
65 private final HashMap<Integer, Integer> annotationOffsets;
66 private final HashMap<Integer, Integer> annotationSetOffsets;
67 private final HashMap<Integer, Integer> annotationSetRefListOffsets;
68 private final HashMap<Integer, Integer> annotationDirectoryOffsets
    [all...]
  /external/guava/guava-tests/test/com/google/common/math/
MathTesting.java 55 static final ImmutableList<Integer> EXPONENTS = ImmutableList.of(0, 1, 2, 3, 4, 7, 10, 15,
58 /* Helper function to make a Long value from an Integer. */
59 private static final Function<Integer, Long> TO_LONG = new Function<Integer, Long>() {
61 public Long apply(Integer n) {
75 private static final Function<Integer, Integer> NEGATE_INT = new Function<Integer, Integer>() {
77 public Integer apply(Integer x)
    [all...]

Completed in 2607 milliseconds

<<31323334353637383940>>