/external/okhttp/okio/okio/src/test/java/okio/ |
SegmentSharingTest.java | 30 private static final String ys = TestUtil.repeat('y', Segment.SIZE / 2 + 2); field in class:SegmentSharingTest 39 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); 40 assertEquivalent(byteString, concatenateBuffers(xs, ys + zs).snapshot()); 41 assertEquivalent(byteString, concatenateBuffers(xs + ys + zs).snapshot()); 42 assertEquivalent(byteString, ByteString.encodeUtf8(xs + ys + zs)); 46 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); 50 assertEquals('y', byteString.getByte(xs.length() + ys.length() - 1)); 51 assertEquals('z', byteString.getByte(xs.length() + ys.length())); 52 assertEquals('z', byteString.getByte(xs.length() + ys.length() + zs.length() - 1)); 59 byteString.getByte(xs.length() + ys.length() + zs.length()) [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
ilist_sort.h | 50 iplist ys; local 51 ys.splice(ys.begin(), xs, mid_iter, xs.end()); 53 // Sort the xs and ys recursively. 55 sort(ys, size - mid, is_less_than); 60 iterator ys_it = ys.begin(); 61 iterator ys_end = ys.end(); 65 xs.splice(xs_it, ys, ys_it++); 71 xs.splice(xs_end, ys, ys_it, ys_end);
|
/frameworks/base/services/core/java/com/android/server/display/utils/ |
Plog.java | 77 * @param ys The curve y coordinates. 80 public Plog logCurve(String name, float[] xs, float[] ys) { 81 write(formatCurve(name, xs, ys)); 93 private String formatCurve(String name, float[] xs, float[] ys) { 96 int n = xs.length <= ys.length ? xs.length : ys.length; 98 sb.append("(" + xs[i] + "," + ys[i] + "),");
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
dmisc.c | 120 ULLong borrow, carry, y, ys; local 122 ULong borrow, carry, y, ys; local 149 ys = *sx++ * (ULLong)q + carry; 150 carry = ys >> 32; 151 y = *bx - (ys & 0xffffffffUL) - borrow; 157 ys = (si & 0xffff) * q + carry; 158 zs = (si >> 16) * q + (ys >> 16); 160 y = (*bx & 0xffff) - (ys & 0xffff) - borrow; 166 ys = *sx++ * q + carry; 167 carry = ys >> 16 [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/ |
dmisc.c | 119 ULLong borrow, carry, y, ys;
local 121 ULong borrow, carry, y, ys;
local 148 ys = *sx++ * (ULLong)q + carry;
149 carry = ys >> 32;
151 y = *bx - (ys & 0xffffffffUL) - borrow;
158 ys = (si & 0xffff) * q + carry;
159 zs = (si >> 16) * q + (ys >> 16);
161 y = (*bx & 0xffff) - (ys & 0xffff) - borrow;
167 ys = *sx++ * q + carry;
168 carry = ys >> 16; [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
SmoothingUtilsTests.java | 31 final float[] ys = new float[] {1, 4, 15, 40, 85}; // y = x^3 + x^2 + x + 1 local 34 SmoothingUtils.get3DParameters(xs, ys, retval);
|
/bionic/libc/kernel/uapi/linux/ |
tiocl.h | 31 unsigned short ys; member in struct:tiocl_selection
|
/external/kernel-headers/original/uapi/linux/ |
tiocl.h | 16 unsigned short ys; /* Y start */ member in struct:tiocl_selection
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
tiocl.h | 15 unsigned short ys; /* Y start */ member in struct:tiocl_selection
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_cse.cpp | 121 fs_reg *ys = b->src; local 124 return xs[0].equals(ys[0]) && 125 ((xs[1].equals(ys[1]) && xs[2].equals(ys[2])) || 126 (xs[2].equals(ys[1]) && xs[1].equals(ys[2]))); 131 bool ys0_negate = ys[0].negate; 132 bool ys1_negate = ys[1].file == IMM ? ys[1].f < 0.0f 133 : ys[1].negate [all...] |
brw_vec4_cse.cpp | 101 const src_reg *ys = b->src; local 104 return xs[0].equals(ys[0]) && 105 ((xs[1].equals(ys[1]) && xs[2].equals(ys[2])) || 106 (xs[2].equals(ys[1]) && xs[1].equals(ys[2]))); 108 return xs[0].equals(ys[0]) && xs[1].equals(ys[1]) && xs[2].equals(ys[2]); 110 return (xs[0].equals(ys[0]) && xs[1].equals(ys[1])) | [all...] |
/cts/apps/CameraITS/tests/scene0/ |
test_gyro_bias.py | 54 ys = numpy.array([e["y"] for e in gyro_events]) 61 ys = ys.reshape(nevents/N, N).mean(1) 65 pylab.plot(times, ys, 'g', label="y") 72 for samples in [xs,ys,zs]:
|
/external/tensorflow/tensorflow/contrib/nn/python/ops/ |
fwd_gradients.py | 27 def fwd_gradients(ys, xs, grad_xs=None, assert_unused=False): 40 ys: A list of tensors. 46 A list of tensors of the same shapes as ys. The directional derivatives of 47 ys with respect to xs in the direction grad_xs. Leaving grad_xs unspecified 52 # ys doesn't depend on one or more of the xs, and when tf.IndexedSlices are 55 us = [array_ops.zeros_like(y) + float('nan') for y in ys] 57 dydxs = gradients(ys, xs, grad_ys=us)
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DHPublicKeySpecTest.java | 42 BigInteger[] ys = {new BigInteger("-1000000000000"), BigInteger.ZERO, local 49 DHPublicKeySpec dhpks = new DHPublicKeySpec(ys[i], ps[i], gs[i]); 52 dhpks.getY(), ys[i]);
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/linear_regression/ |
linear_regression.py | 61 ys: the predictions of the linear mode, as a tensor of size [batch_size] 66 def mean_square_loss(model, xs, ys): 67 return tf.reduce_mean(tf.square(model(xs) - ys)) 83 mse = lambda xs, ys: mean_square_loss(model, xs, ys) 93 for i, (xs, ys) in enumerate(tfe.Iterator(dataset)): 94 loss, grads = loss_and_grads(xs, ys)
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
Quad.java | 72 List<Float> ys = Arrays.asList(p0.y, p1.y, p2.y, p3.y); local 74 float y0 = Collections.min(ys); 76 float y1 = Collections.max(ys); 86 List<Float> ys = Arrays.asList(p0.y, p1.y, p2.y, p3.y); local 87 return Collections.max(ys) - Collections.min(ys);
|
/external/tensorflow/tensorflow/cc/framework/ |
gradient_checker.h | 26 /// computed and numeric Jacobian matrices where 'xs' and 'ys' are tensors. 51 const OutputList& ys,
|
gradient_checker.cc | 106 const std::vector<Tensor>& x_datas, const OutputList& ys, 117 ops::Cast(scope, ops::Const(scope, 1.0, y_shape), ys[0].type())); 120 TF_RETURN_IF_ERROR(AddSymbolicGradients(scope, ys, xs, dys, &dxs)); 125 dy_datas[i] = Tensor(ys[i].type(), y_shapes[i]); 180 const OutputList& ys, std::vector<Tensor>* x_datas, 188 TF_RETURN_IF_ERROR(session->Run(feed_list, ys, y_datas)); 207 const OutputList& ys, 238 TF_RETURN_IF_ERROR(EvaluateGraph(&session, xs, ys, x_datas, &y_pos)); 242 TF_RETURN_IF_ERROR(EvaluateGraph(&session, xs, ys, x_datas, &y_neg)); 327 const OutputList& ys, [all...] |
/system/core/libpixelflinger/ |
raster.cpp | 29 static void ggl_copyPixels(void* con, GGLint xs, GGLint ys, 53 void ggl_copyPixels(void* con, GGLint xs, GGLint ys, 64 if (uint32_t(ys) > cb->height) 68 if (uint32_t(ys + height) > cb->height) 85 ys += offset; 99 if (xs==xd && ys==yd) { 107 + (xs + (cb->stride * ys)) * fp->size; 114 if (ys < yd) { 124 if (ys == yd) {
|
/external/blktrace/btt/ |
btt_plot.py | 109 def avg(xs, ys): 110 """Computes running average for Xs and Ys""" 123 return xs, ys 126 ays = [ys[0]] 128 _ys = [ys[0]] 131 for idx in range(1, len(ys)): 138 _ys = [ys[idx]] 141 _ys.append(ys[idx]) 161 ys = [] 169 ys.append(y [all...] |
/external/tensorflow/tensorflow/cc/gradients/ |
data_flow_grad_test.cc | 38 const OutputList& ys, const std::vector<TensorShape>& y_shapes) { 42 scope_, xs, x_shapes, ys, y_shapes, &max_error)));
|
/external/universal-tween-engine/java/applets/src/aurelienribon/utils/swing/ |
GroupBorder.java | 33 int[] ys = {0, 0, titleHeight, titleHeight}; local 34 gg.fillPolygon(xs, ys, 4);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
FastMath.java | 988 final double ys[] = new double[2]; local 1131 final double ys[] = new double[2]; local 1187 final double ys[] = new double[2]; local 1767 final double ys[] = new double[2]; local 1810 final double ys[] = new double[2]; local 1865 double ys[] = new double[2]; local 1921 double ys[] = new double[2]; local [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_reconinter.h | 28 int ys) { 31 xs, subpel_y, ys, w, h); 38 int w, int h, int ref, const InterpKernel *kernel, int xs, int ys, int bd) { 40 src, src_stride, dst, dst_stride, kernel, subpel_x, xs, subpel_y, ys, w,
|
/external/tensorflow/tensorflow/core/kernels/ |
resize_bilinear_op.cc | 108 const std::vector<CachedInterpolation>& ys, 116 const std::vector<CachedInterpolation>& ys, 129 const T* ys_input_lower_ptr = input_b_ptr + ys[y].lower * in_row_size; 130 const T* ys_input_upper_ptr = input_b_ptr + ys[y].upper * in_row_size; 131 const float ys_lerp = ys[y].lerp; 174 const T* ys_input_lower_ptr = input_b_ptr + ys[y].lower * in_row_size; 175 const T* ys_input_upper_ptr = input_b_ptr + ys[y].upper * in_row_size; 176 const float ys_lerp = ys[y].lerp; 221 std::vector<CachedInterpolation> ys(out_height + 1); 226 ys.data()) [all...] |