• Home
  • Raw
  • Download

Lines Matching refs:memoryview

851                 m = memoryview(result)
901 self.assertEqual(memoryview(y), memoryview(result))
903 contig_bytes = memoryview(result).tobytes()
906 contig_bytes = memoryview(result).tobytes(order=None)
909 contig_bytes = memoryview(result).tobytes(order='C')
922 self.assertEqual(memoryview(y), memoryview(result))
924 contig_bytes = memoryview(result).tobytes(order='F')
937 self.assertEqual(memoryview(y), memoryview(result))
939 contig_bytes = memoryview(result).tobytes(order='A')
944 m = memoryview(result)
947 ex = result.obj if isinstance(result, memoryview) else result
1078 m1 = memoryview(ex1)
1080 m2 = memoryview(ex2)
1220 m = memoryview(nd)
1288 m[0] = memoryview(nd)
1292 m[i] = memoryview(nd)
1398 mv = memoryview(nd)
1405 mv = memoryview(nd)
1413 mv = memoryview(nd)
1423 mv = memoryview(nd)
1436 mv = memoryview(nd)
1479 mv = memoryview(nd)
1532 mv = memoryview(nd)
1555 mv = memoryview(nd)
1596 mv = memoryview(nd)
1607 mv = memoryview(nd)
1617 ml = memoryview(xl)
1629 mv = memoryview(nd)
1634 mv = memoryview(nd)
1652 ml = memoryview(xl)
1653 mr = memoryview(xr)
1662 ml = memoryview(xl)
1663 mr = memoryview(xr)
1672 ml = memoryview(xl)
1673 mr = memoryview(xr)
1682 ml = memoryview(xl)
1683 mr = memoryview(xr)
1709 ml = memoryview(x)
1710 mr = memoryview(y)
1766 mv = memoryview(ex)
1797 mv = memoryview(ex)
1889 mv = memoryview(x)
1900 mv = memoryview(y)
1965 ml = memoryview(xl)
1966 mr = memoryview(xr)
1980 ml = memoryview(yl)
1981 mr = memoryview(yr)
2023 mv = memoryview(nd)
2042 mv = memoryview(nd)
2070 m = memoryview(ex)
2288 self.assertEqual(memoryview(y), memoryview(nd))
2311 self.assertEqual(memoryview(y), memoryview(nd))
2335 self.assertEqual(memoryview(y), memoryview(nd))
2347 self.assertEqual(memoryview(y), memoryview(nd))
2354 self.assertEqual(memoryview(y), memoryview(nd))
2360 self.assertEqual(memoryview(y), memoryview(nd))
2371 m = memoryview(ex)
2385 m2 = memoryview(m)
2418 m = memoryview(ex)
2432 m2 = memoryview(m)
2443 m = memoryview(ex)
2454 m2 = memoryview(m)
2461 self.assertRaises(TypeError, memoryview, b'9', 'x')
2463 self.assertRaises(TypeError, memoryview, {})
2467 self.assertRaises(BufferError, memoryview, nd)
2469 self.assertRaises(BufferError, memoryview, nd)
2473 self.assertRaises(ValueError, memoryview, nd)
2488 msrc = memoryview(ex)
2492 msrc = memoryview(b'')
2506 check(memoryview(b''), vsize(base_struct + 1 * per_dim))
2508 check(memoryview(a), vsize(base_struct + 2 * per_dim))
2510 check(memoryview(a), vsize(base_struct + 3 * per_dim))
2539 m = memoryview(ex)
2574 msrc = memoryview(ex)
2586 msrc = memoryview(ex)
2591 msrc = memoryview(ex)
2605 msrc = memoryview(ex)
2609 m = memoryview(ex)
2633 m = memoryview(ex)
2640 m = memoryview(ex)
2645 m = memoryview(ex)
2654 m = memoryview(ex)
2659 m = memoryview(nd)
2664 m = memoryview(ex)
2669 m = memoryview(ex)
2674 m1 = memoryview(nd)
2676 m2 = memoryview(nd)
2722 m = memoryview(ex)
2733 m = memoryview(ex)
2743 m = memoryview(ex)
2749 m = memoryview(ex)
2771 m = memoryview(ex)
2815 m1 = memoryview(point)
2826 m1 = memoryview(x)
2841 m = memoryview(a)
2851 m = memoryview(ex)
2855 m = memoryview(ex)
2859 m = memoryview(ex)
2863 m = memoryview(ex)
2867 m = memoryview(bytearray(9))
2880 m = memoryview(ex)
2886 m = memoryview(ex)
2900 m = memoryview(ex)
2907 m = memoryview(ex)
2912 m = memoryview(ex)
2924 m = memoryview(ex)
2953 m = memoryview(ex)
2962 m = memoryview(ex)
2967 m = memoryview(ex)
2982 m = memoryview(ex)
2990 m = memoryview(ex)
2996 m = memoryview(ex)
3002 m = memoryview(nd)
3006 m1 = memoryview(ex)
3028 m = memoryview(ex)
3032 m = memoryview(ex)
3037 m = memoryview(ex)
3061 m = memoryview(ex)
3073 m = memoryview(ex)
3093 m1 = memoryview(ex1)
3094 m2 = memoryview(ex2)
3141 m = memoryview(b)
3182 v = memoryview(a)
3183 w = memoryview(b)
3189 v = memoryview(a)
3195 v = memoryview(a)
3196 w = memoryview(a)
3202 v = memoryview(a)
3208 self.assertNotEqual(memoryview(nd), nd)
3212 v = memoryview(a)
3222 a = memoryview(point)
3223 b = memoryview(point)
3233 v = memoryview(nd1)
3234 w = memoryview(nd2)
3258 m = memoryview(ex)
3268 v = memoryview(nd1)
3269 w = memoryview(nd2)
3281 v = memoryview(nd1)
3282 w = memoryview(nd2)
3297 v = memoryview(nd1)
3298 w = memoryview(nd2)
3309 v = memoryview(nd1)
3310 w = memoryview(nd2)
3321 v = memoryview(nd1)
3322 w = memoryview(nd2)
3332 v = memoryview(nd1)
3333 w = memoryview(nd2)
3344 v = memoryview(nd1)
3345 w = memoryview(nd2)
3356 v = memoryview(nd1)
3357 w = memoryview(nd2)
3369 v = memoryview(nd1)
3370 w = memoryview(nd2)
3381 v = memoryview(nd1)
3382 w = memoryview(nd2)
3395 v = memoryview(nd1)
3396 w = memoryview(nd2)
3407 v = memoryview(nd1)
3408 w = memoryview(nd2)
3424 m = memoryview(nd)
3428 m = memoryview(nd)
3437 m = memoryview(nd)
3441 m = memoryview(nd)
3449 v = memoryview(nd1)
3450 w = memoryview(nd2)
3461 v = memoryview(nd1)
3462 w = memoryview(nd2)
3473 v = memoryview(nd1)
3474 w = memoryview(nd2)
3485 v = memoryview(nd1)
3486 w = memoryview(nd2)
3497 v = memoryview(nd1)
3498 w = memoryview(nd2)
3513 v = memoryview(nd1)
3514 w = memoryview(nd2)
3527 v = memoryview(nd1)
3528 w = memoryview(nd2)
3541 v = memoryview(nd1)
3542 w = memoryview(nd2)
3555 v = memoryview(nd1)
3556 w = memoryview(nd2)
3569 v = memoryview(nd1)
3570 w = memoryview(nd2)
3585 v = memoryview(nd1)
3586 w = memoryview(nd2)
3598 v = memoryview(nd1)
3599 w = memoryview(nd2)
3610 v = memoryview(nd1)
3611 w = memoryview(nd2)
3624 v = memoryview(nd1)
3625 w = memoryview(nd2)
3638 v = memoryview(nd1)
3639 w = memoryview(nd2)
3652 v = memoryview(nd1)
3653 w = memoryview(nd2)
3666 v = memoryview(nd1)
3667 w = memoryview(nd2)
3680 v = memoryview(nd1)
3681 w = memoryview(nd2)
3692 v = memoryview(nd1)
3693 w = memoryview(nd2)
3706 v = memoryview(nd1)
3707 w = memoryview(nd2)
3719 v = memoryview(nd1)
3720 w = memoryview(nd2)
3735 v = memoryview(nd1)
3736 w = memoryview(nd2)
3755 v = memoryview(nd1)
3756 w = memoryview(nd2)
3770 v = memoryview(nd1)
3771 w = memoryview(nd2)
3787 v = memoryview(nd1)
3788 w = memoryview(nd2)
3801 v = memoryview(nd1)
3802 w = memoryview(nd2)
3821 v = memoryview(nd1)
3822 w = memoryview(nd2)
3835 v = memoryview(nd1)
3836 w = memoryview(nd2)
3850 v = memoryview(nd1)
3851 w = memoryview(nd2)
3865 a = memoryview(x)
3866 b = memoryview(y)
3878 a = memoryview(x)
3879 b = memoryview(y)
3890 m = memoryview(a)
3894 self.assertRaises(ValueError, memoryview, m)
3917 m1 = memoryview(a)
3918 m2 = memoryview(b)
3932 m = memoryview(nd)
3937 m = memoryview(nd)
3942 m = memoryview(nd)
3948 m = memoryview(nd)
3958 a = memoryview(point)
4083 m = memoryview(a)
4092 m = memoryview(nd)
4112 m = memoryview(b)
4126 m = memoryview(nd)
4132 m = memoryview(x)
4138 m = memoryview(x)
4143 a = memoryview(x)
4146 b = memoryview(y)
4153 m = memoryview(nd)
4157 m = memoryview(nd)
4161 m = memoryview(nd)
4165 m = memoryview(nd)
4172 m = memoryview(a)
4179 m = memoryview(a)
4189 m1 = memoryview(a)
4190 m2 = memoryview(m1)
4198 m1 = memoryview(a)
4199 m2 = memoryview(m1)
4210 m1 = memoryview(nd)
4213 m2 = memoryview(nd)
4215 x = memoryview(m1)
4218 y = memoryview(m2)
4235 with memoryview(b) as m2:
4239 with memoryview(x) as m1:
4247 with memoryview(z) as m:
4254 with memoryview(x) as m1:
4257 with memoryview(y) as m2:
4260 with memoryview(z) as m3:
4273 with memoryview(x) as m1:
4276 with memoryview(y) as m2:
4279 with memoryview(z) as m3:
4292 with memoryview(x) as m:
4304 m = memoryview(z)
4330 y = memoryview(x)
4341 y = memoryview(x)
4348 m = memoryview(z)
4360 m = memoryview(z)
4372 y = memoryview(x)
4383 y = memoryview(x)
4390 m = memoryview(z)
4402 m = memoryview(z)
4418 self.assertRaises(BufferError, memoryview, nd)
4422 self.assertRaises(BufferError, memoryview, x)