Home
last modified time | relevance | path

Searched refs:zero_array (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0726/
H A Dpoc.cpp70 char zero_array[TOTAL_SIZE - DATA_SIZE]; in main() local
71 memset(zero_array, 0, (TOTAL_SIZE - DATA_SIZE) * sizeof(char)); in main()
77 fwrite(zero_array, 1, (TOTAL_SIZE - DATA_SIZE), fp); in main()
/aosp_15_r20/external/pytorch/test/torch_np/numpy_tests/core/
H A Dtest_indexing.py599 zero_array = np.zeros(shape)
602 zero_array[bool_index] = np.array([1])
603 assert_equal(zero_array[0, 1], 1)
607 np.ComplexWarning, zero_array.__setitem__, ([0], [1]), np.array([2 + 1j])
609 assert_equal(zero_array[0, 1], 2) # No complex part
613 np.ComplexWarning, zero_array.__setitem__, bool_index, np.array([1j])
615 assert_equal(zero_array[0, 1], 0)