HomeSort by relevance Sort by last modified time
    Searched full:shorts (Results 1 - 25 of 265) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/valgrind/none/tests/
shorts.vgtest 1 prog: shorts
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
ShortArr.java 21 private short[] shorts; field in class:ShortArr
26 public ShortArr(short[] shorts) {
27 this.shorts = shorts;
31 return Arrays.toString(shorts);
35 return shorts;
38 public void setShorts(short[] shorts) {
39 this.shorts = shorts;
  /external/guava/guava-tests/test/com/google/common/primitives/
ShortsTest.java 36 * Unit test for {@link Shorts}.
56 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value));
62 assertEquals(value, Shorts.checkedCast((long) value));
72 assertEquals(value, Shorts.saturatedCast((long) value));
74 assertEquals(GREATEST, Shorts.saturatedCast(GREATEST + 1L));
75 assertEquals(LEAST, Shorts.saturatedCast(LEAST - 1L));
76 assertEquals(GREATEST, Shorts.saturatedCast(Long.MAX_VALUE));
77 assertEquals(LEAST, Shorts.saturatedCast(Long.MIN_VALUE));
82 Shorts.checkedCast(value);
95 int actual = Shorts.compare(x, y)
376 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); local
    [all...]
ShortArrayAsListTest.java 38 * Test suite covering {@link Shorts#asList(short[])}.
50 return Shorts.asList(temp);
58 .named("Shorts.asList"),
61 .named("Shorts.asList, head subList"),
64 .named("Shorts.asList, tail subList"),
67 .named("Shorts.asList, middle subList")
  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
ShortsTest.java 32 * Unit test for {@link Shorts}.
52 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value));
58 assertEquals(value, Shorts.checkedCast((long) value));
68 assertEquals(value, Shorts.saturatedCast((long) value));
70 assertEquals(GREATEST, Shorts.saturatedCast(GREATEST + 1L));
71 assertEquals(LEAST, Shorts.saturatedCast(LEAST - 1L));
72 assertEquals(GREATEST, Shorts.saturatedCast(Long.MAX_VALUE));
73 assertEquals(LEAST, Shorts.saturatedCast(Long.MIN_VALUE));
78 Shorts.checkedCast(value);
91 int actual = Shorts.compare(x, y)
316 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); local
    [all...]
  /art/test/121-modifiers/src/
Main.java 148 String shortS = name.substring(0, index);
149 if (shortS.equals("public")) {
152 if (shortS.equals("private")) {
155 if (shortS.equals("protected")) {
158 if (shortS.equals("static")) {
161 if (shortS.equals("transient")) {
164 if (shortS.equals("volatile")) {
167 if (shortS.equals("final")) {
177 String shortS = name.substring(0, index);
178 if (shortS.equals("public"))
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ArrayTest.java 30 private static short[] shorts; field in class:ArrayTest
41 shorts = new short[] { (short) 0xffff };
52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
64 try { Array.getByte(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
76 try { Array.getChar(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
88 assertEquals((double) shorts[0], Array.getDouble(shorts, 0));
100 assertEquals((float) shorts[0], Array.getFloat(shorts, 0));
112 assertEquals((int) shorts[0], Array.getInt(shorts, 0))
    [all...]
  /external/fec/
sumsq_port.c 1 /* Compute the sum of the squares of a vector of signed shorts
sumsq.c 1 /* Compute the sum of the squares of a vector of signed shorts
sumsq_mmx.c 1 /* Compute the sum of the squares of a vector of signed shorts
sumsq_sse2.c 1 /* Compute the sum of the squares of a vector of signed shorts
  /system/core/libutils/
JenkinsHash.cpp 56 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size) {
63 uint32_t data = shorts[i] | (shorts[i+1] << 16);
67 uint32_t data = shorts[i];
  /art/test/407-arrays/src/
Main.java 32 static void $opt$testReads(boolean[] bools, byte[] bytes, char[] chars, short[] shorts,
44 assertEquals(0, shorts[0]);
45 assertEquals(0, shorts[index]);
63 static void $opt$testWrites(boolean[] bools, byte[] bytes, char[] chars, short[] shorts,
90 shorts[0] = -42;
91 assertEquals(-42, shorts[0]);
92 shorts[index] = -84;
93 assertEquals(-84, shorts[index]);
  /external/clang/test/CodeGenCXX/
lpad-linetable.cpp 62 std::vector<short> shorts; local
66 shorts.push_back(i);
  /art/test/003-omnibus-opcodes/src/
Array.java 32 static void checkShorts(short[] shorts) {
33 Main.assertTrue(shorts[0] == 20);
34 Main.assertTrue(shorts[1] == 10);
35 Main.assertTrue(shorts[2] == 0);
36 Main.assertTrue(shorts[3] == -10);
37 Main.assertTrue(shorts[4] == -20);
  /libcore/ojluni/src/main/java/java/nio/
ShortBuffer.java 41 * single shorts; </p></li>
44 * methods that transfer contiguous sequences of shorts from this buffer
48 * methods that transfer contiguous sequences of shorts from a
120 * @param capacity The new buffer's capacity, in shorts
192 * will be the number of shorts remaining in this buffer, and its mark
297 * <p> This method transfers shorts from this buffer into the given
298 * destination array. If there are fewer shorts remaining in the
301 * shorts are transferred and a {@link BufferUnderflowException} is
304 * <p> Otherwise, this method copies <tt>length</tt> shorts from this
317 * except that it first checks that there are sufficient shorts i
    [all...]
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/
ShortBuffer.java 20 /** A buffer of shorts.
130 * The remaining shorts will be moved to the head of the buffer, starting from position zero. Then the position is set to
139 /** Compare the remaining shorts of this buffer to another short buffer's remaining shorts.
181 * remaining shorts are exactly the same. Position, limit, capacity and mark are not considered.
214 /** Reads shorts from the current position into the specified short array and increases the position by the number of shorts
228 /** Reads shorts from the current position into the specified short array, starting from the specified offset, and increases the
229 * position by the number of shorts read.
233 * @param len the number of shorts to read, must be no less than zero and not greater than {@code dest.length - off}
    [all...]
  /external/libvncserver/libvncserver/
tableinitcmtemplate.c 62 r = colourMap->data.shorts[3*i+0];
63 g = colourMap->data.shorts[3*i+1];
64 b = colourMap->data.shorts[3*i+2];
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/
BaseShortEncodedValue.java 35 import com.google.common.primitives.Shorts;
61 return Shorts.compare(getValue(), ((ShortEncodedValue)o).getValue());
  /external/libvpx/libvpx/third_party/libyuv/source/
row_neon.cc     [all...]
  /external/libyuv/files/source/
row_neon.cc     [all...]
row_neon64.cc     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/netinet/
in_systm.h 30 * assumes specific sizes for shorts (16 bit) and longs (32 bit) which
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/netinet/
in_systm.h 30 * assumes specific sizes for shorts (16 bit) and longs (32 bit) which
  /system/core/include/utils/
JenkinsHash.h 47 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size);

Completed in 2405 milliseconds

1 2 3 4 5 6 7 8 91011