Searched refs:mysize (Results 1 – 3 of 3) sorted by relevance
/third_party/boost/libs/mpi/test/ |
D | scatter_test.cpp | 129 int mysize = comm.rank() + 1; in scatterv_test() local 130 std::vector<value_type> myvalues(mysize); in scatterv_test() 145 assert(mysize == sizes[comm.rank()]); in scatterv_test() 148 scatterv(comm, &(myvalues[0]), mysize, root); in scatterv_test() 151 for (int i = 0; i < mysize; ++i) in scatterv_test() 171 int mysize = comm.rank() + 1; in scatterd_test() local 172 std::vector<value_type> myvalues(mysize); in scatterd_test() 200 assert(mysize == sizes[comm.rank()]); in scatterd_test() 201 scatterv(comm, values, sizes, displs, &(myvalues[0]), mysize, root); in scatterd_test() 203 scatterv(comm, &(myvalues[0]), mysize, root); in scatterd_test() [all …]
|
D | gather_test.cpp | 72 int mysize = comm.rank() + 1; in gatherv_test() local 76 std::vector<value_type> myvalues(mysize, generator(comm.rank())); in gatherv_test()
|
/third_party/python/Objects/ |
D | bytearrayobject.c | 322 Py_ssize_t mysize; in bytearray_repeat() local 328 mysize = Py_SIZE(self); in bytearray_repeat() 329 if (count > 0 && mysize > PY_SSIZE_T_MAX / count) in bytearray_repeat() 331 size = mysize * count; in bytearray_repeat() 335 if (mysize == 1) in bytearray_repeat() 340 memcpy(result->ob_bytes + i*mysize, buf, mysize); in bytearray_repeat() 349 Py_ssize_t mysize; in bytearray_irepeat() local 355 mysize = Py_SIZE(self); in bytearray_irepeat() 356 if (count > 0 && mysize > PY_SSIZE_T_MAX / count) in bytearray_irepeat() 358 size = mysize * count; in bytearray_irepeat() [all …]
|