HomeSort by relevance Sort by last modified time
    Searched full:shorts (Results 1 - 25 of 291) 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/src2/
Main.java 140 String shortS = name.substring(0, index);
141 if (shortS.equals("public")) {
144 if (shortS.equals("private")) {
147 if (shortS.equals("protected")) {
150 if (shortS.equals("static")) {
153 if (shortS.equals("transient")) {
156 if (shortS.equals("volatile")) {
159 if (shortS.equals("final")) {
169 String shortS = name.substring(0, index);
170 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
132 * The new buffer's capacity, in shorts
217 * will be the number of shorts remaining in this buffer, and its mark
340 * <p> This method transfers shorts from this buffer into the given
341 * destination array. If there are fewer shorts remaining in the
344 * shorts are transferred and a {@link BufferUnderflowException} is
347 * <p> Otherwise, this method copies <tt>length</tt> shorts from this
361 * except that it first checks that there are sufficient shorts i
    [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...]
row_neon64.cc     [all...]
  /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/libutils/include/utils/
JenkinsHash.h 47 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size);
  /external/libyuv/files/source/
row_neon64.cc     [all...]
row_neon.cc     [all...]
  /external/mesa3d/src/gallium/drivers/vc4/
vc4_cl_dump.c 285 uint16_t *shorts = cl + offset + 4; local
294 shorts[0]);
298 shorts[1]);
301 switch (VC4_GET_FIELD(shorts[2], VC4_RENDER_CONFIG_FORMAT)) {
312 if (shorts[2] & VC4_RENDER_CONFIG_TILE_BUFFER_64BIT)
316 switch (VC4_GET_FIELD(shorts[2], VC4_RENDER_CONFIG_MEMORY_FORMAT)) {
332 (shorts[2] & VC4_RENDER_CONFIG_MS_MODE_4X) ? "ms" : "ss",
333 (shorts[2] & VC4_RENDER_CONFIG_DECIMATE_MODE_4X) ?
337 if (shorts[2] & VC4_RENDER_CONFIG_EARLY_Z_COVERAGE_DISABLE) {
340 if (shorts[2] & VC4_RENDER_CONFIG_EARLY_Z_DIRECTION_G
    [all...]

Completed in 1742 milliseconds

1 2 3 4 5 6 7 8 91011>>