/dports/science/py-h5py/h5py-3.6.0/h5py/tests/ |
H A D | test_h5t.py | 88 wdata2 = np.array([[-1.50066626e-09, 5.63886715e-10, -8.74251782e-11, 126 dset.write(h5py.h5s.ALL, h5py.h5s.ALL, wdata2) 138 dset.write(h5py.h5s.ALL, h5py.h5s.ALL, wdata2) 150 dset.write(h5py.h5s.ALL, h5py.h5s.ALL, wdata2) 156 dset.write(h5py.h5s.ALL, h5py.h5s.ALL, wdata2) 172 np.testing.assert_array_equal(values, wdata2)
|
/dports/science/hdf5-18/hdf5-1.8.21/c++/test/ |
H A D | tvlstr.cpp | 276 char *wdata2 = (char*)HDcalloc(65534, sizeof(char)); in test_vlstring_array_dataset() local 277 HDmemset(wdata2, 'A', 65533); in test_vlstring_array_dataset() 278 dataset2.write(&wdata2, vlst); in test_vlstring_array_dataset() 282 if (HDstrcmp(wdata2, rdata2)!=0) in test_vlstring_array_dataset() 283 … TestErrPrintf("Line %d: Dataset data different: written=%s,read=%s\n",__LINE__, wdata2, rdata2); in test_vlstring_array_dataset() 288 HDfree(wdata2); in test_vlstring_array_dataset() 325 const char *wdata2[SPACE1_DIM1] = {NULL, NULL, NULL, NULL}; in test_vlstrings_special() local 404 dataset.write(wdata2, vlst); in test_vlstrings_special()
|
/dports/science/hdf5/hdf5-1.10.6/c++/test/ |
H A D | tvlstr.cpp | 289 char *wdata2 = (char*)HDcalloc(65534, sizeof(char)); in test_vlstring_array_dataset() local 290 HDmemset(wdata2, 'A', 65533); in test_vlstring_array_dataset() 291 dataset2.write(&wdata2, vlst); in test_vlstring_array_dataset() 295 if (HDstrcmp(wdata2, rdata2)!=0) in test_vlstring_array_dataset() 296 … TestErrPrintf("Line %d: Dataset data different: written=%s,read=%s\n",__LINE__, wdata2, rdata2); in test_vlstring_array_dataset() 301 HDfree(wdata2); in test_vlstring_array_dataset() 338 const char *wdata2[SPACE1_DIM1] = {NULL, NULL, NULL, NULL}; in test_vlstrings_special() local 417 dataset.write(wdata2, vlst); in test_vlstrings_special()
|
/dports/science/hdf5-18/hdf5-1.8.21/test/ |
H A D | tvlstr.c | 116 char *wdata2; in test_vlstrings_basic() local 161 wdata2 = (char*)HDcalloc((size_t)65534, sizeof(char)); in test_vlstrings_basic() 162 HDmemset(wdata2, 'A', (size_t)65533); in test_vlstrings_basic() 164 ret = H5Dwrite(dataset2, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, &wdata2); in test_vlstrings_basic() 169 HDfree(wdata2); in test_vlstrings_basic() 247 const char *wdata2[SPACE1_DIM1] = {NULL, NULL, NULL, NULL}; in test_vlstrings_special() local 348 ret = H5Dwrite(dataset, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata2); in test_vlstrings_special()
|
H A D | tvltypes.c | 230 hvl_t wdata2[SPACE1_DIM1]; /* Information to write */ in test_vltypes_vlen_atomic() local 256 wdata2[i].p=NULL; in test_vltypes_vlen_atomic() 257 wdata2[i].len=0; in test_vltypes_vlen_atomic() 286 ret = H5Dwrite(dataset, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata2); in test_vltypes_vlen_atomic() 1174 s1 wdata2[SPACE1_DIM1]; /* data to write */ in test_vltypes_compound_vlstr() local 1366 wdata2[i].v.p=(s2*)HDmalloc((i+1)*sizeof(s2)); in test_vltypes_compound_vlstr() 1367 wdata2[i].v.len=i+1; in test_vltypes_compound_vlstr() 1368 for(t1=(s2*)(wdata2[i].v).p, j=0; j<i+1; j++, t1++) { in test_vltypes_compound_vlstr() 1387 ret=H5Dwrite(dset2,tid2,sid2,filespace2,H5P_DEFAULT, &wdata2); in test_vltypes_compound_vlstr() 1396 if(wdata2[i].v.len!=rdata2[i].v.len) { in test_vltypes_compound_vlstr() [all …]
|
H A D | dtypes.c | 2496 cmpd_struct_2 wdata2 = {'C', 'D', "another vlen!", 1, 2, -1, 9001}; in test_compound_14() local 2695 if(H5Dwrite(dset2_id, cmpd_m2_tid, H5S_ALL, H5S_ALL, H5P_DEFAULT, &wdata2) < 0) { in test_compound_14() 2719 if(rdata2.c1 != wdata2.c1 || rdata2.c2 != wdata2.c2 || HDstrcmp(rdata2.str, wdata2.str) || in test_compound_14() 2720 …rdata2.l1 != wdata2.l1 || rdata2.l2 != wdata2.l2 || rdata2.l3 != wdata2.l3 || rdata2.l4 != wdata2.… in test_compound_14() 2788 if(rdata2.c1 != wdata2.c1 || rdata2.c2 != wdata2.c2 || HDstrcmp(rdata2.str, wdata2.str) || in test_compound_14() 2789 …rdata2.l1 != wdata2.l1 || rdata2.l2 != wdata2.l2 || rdata2.l3 != wdata2.l3 || rdata2.l4 != wdata2.… in test_compound_14() 2845 int wdata2[2] = {1, 2}; in test_compound_15() local 2917 if(H5Dwrite(dset_id, cmpd_m_tid, H5S_ALL, H5S_ALL, H5P_DEFAULT, &wdata2) < 0) { in test_compound_15() 2931 if(rdata.i1 != wdata2[0] || rdata.i2 != wdata1.i2) { in test_compound_15() 2940 rdata.i2 = wdata2[1]; in test_compound_15() [all …]
|
H A D | vfd.c | 173 int wdata2[DSET2_DIM] = {11,12,13,14}; in test_direct() local 300 if(H5Dwrite(dset2, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata2) < 0) in test_direct() 315 if(wdata2[i] != rdata2[i]) { in test_direct()
|
H A D | tattr.c | 9804 unsigned wdata2[3][3]; /* Write buffers */ in test_attr_bug3() local 9859 wdata2[u][v] = (int)((u * dims2[1]) + v); in test_attr_bug3() 9864 ret = H5Awrite(aid2, H5T_NATIVE_UINT, wdata2); in test_attr_bug3()
|
/dports/science/hdf5/hdf5-1.10.6/test/ |
H A D | tvlstr.c | 118 char *wdata2; in test_vlstrings_basic() local 163 wdata2 = (char*)HDcalloc((size_t)65534, sizeof(char)); in test_vlstrings_basic() 164 HDmemset(wdata2, 'A', (size_t)65533); in test_vlstrings_basic() 166 ret = H5Dwrite(dataset2, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, &wdata2); in test_vlstrings_basic() 171 HDfree(wdata2); in test_vlstrings_basic() 249 const char *wdata2[SPACE1_DIM1] = {NULL, NULL, NULL, NULL}; in test_vlstrings_special() local 350 ret = H5Dwrite(dataset, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata2); in test_vlstrings_special()
|
H A D | tvltypes.c | 229 hvl_t wdata2[SPACE1_DIM1]; /* Information to write */ in test_vltypes_vlen_atomic() local 255 wdata2[i].p=NULL; in test_vltypes_vlen_atomic() 256 wdata2[i].len=0; in test_vltypes_vlen_atomic() 285 ret = H5Dwrite(dataset, tid1, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata2); in test_vltypes_vlen_atomic() 1181 s1 wdata2[SPACE1_DIM1]; /* data to write */ in test_vltypes_compound_vlstr() local 1373 wdata2[i].v.p=(s2*)HDmalloc((i+1)*sizeof(s2)); in test_vltypes_compound_vlstr() 1374 wdata2[i].v.len=i+1; in test_vltypes_compound_vlstr() 1375 for(t1=(s2*)(wdata2[i].v).p, j=0; j<i+1; j++, t1++) { in test_vltypes_compound_vlstr() 1394 ret=H5Dwrite(dset2,tid2,sid2,filespace2,H5P_DEFAULT, &wdata2); in test_vltypes_compound_vlstr() 1403 if(wdata2[i].v.len!=rdata2[i].v.len) { in test_vltypes_compound_vlstr() [all …]
|
H A D | dtypes.c | 2543 cmpd_struct_2_w wdata2 = {'C', 'D', "another vlen!", 1, 2, -1, 9001}; in test_compound_14() local 2742 if(H5Dwrite(dset2_id, cmpd_m2_tid, H5S_ALL, H5S_ALL, H5P_DEFAULT, &wdata2) < 0) { in test_compound_14() 2766 if(rdata2.c1 != wdata2.c1 || rdata2.c2 != wdata2.c2 || HDstrcmp(rdata2.str, wdata2.str) || in test_compound_14() 2767 …rdata2.l1 != wdata2.l1 || rdata2.l2 != wdata2.l2 || rdata2.l3 != wdata2.l3 || rdata2.l4 != wdata2.… in test_compound_14() 2853 if(rdata2.c1 != wdata2.c1 || rdata2.c2 != wdata2.c2 || HDstrcmp(rdata2.str, wdata2.str) || in test_compound_14() 2854 …rdata2.l1 != wdata2.l1 || rdata2.l2 != wdata2.l2 || rdata2.l3 != wdata2.l3 || rdata2.l4 != wdata2.… in test_compound_14() 2922 int wdata2[2] = {1, 2}; in test_compound_15() local 2994 if(H5Dwrite(dset_id, cmpd_m_tid, H5S_ALL, H5S_ALL, H5P_DEFAULT, &wdata2) < 0) { in test_compound_15() 3008 if(rdata.i1 != wdata2[0] || rdata.i2 != wdata1.i2) { in test_compound_15() 3017 rdata.i2 = wdata2[1]; in test_compound_15() [all …]
|
H A D | vfd.c | 566 int wdata2[DSET2_DIM] = {11,12,13,14}; in test_direct() local 693 if(H5Dwrite(dset2, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata2) < 0) in test_direct() 708 if(wdata2[i] != rdata2[i]) { in test_direct()
|
H A D | dsets.c | 6869 int wdata2[MISSING_CHUNK_DIM][MISSING_CHUNK_DIM], in test_missing_chunk() local 6905 wdata2[i][j] = (int)(j + (i * MISSING_CHUNK_DIM)); in test_missing_chunk() 6965 if(H5Dwrite(did2, H5T_NATIVE_INT, sid2, sid2, H5P_DEFAULT, wdata2) < 0) TEST_ERROR; in test_missing_chunk() 6999 if(rdata2[i][j] != wdata2[i][j]) { in test_missing_chunk() 7001 __LINE__,(unsigned)i, (unsigned)j, wdata2[i][j],(unsigned)i, (unsigned)j, rdata2[i][j]); in test_missing_chunk()
|
H A D | tattr.c | 10013 unsigned wdata2[3][3]; /* Write buffers */ in test_attr_bug3() local 10068 wdata2[u][v] = (unsigned)((u * dims2[1]) + v); in test_attr_bug3() 10073 ret = H5Awrite(aid2, H5T_NATIVE_UINT, wdata2); in test_attr_bug3()
|
/dports/multimedia/mps-youtube/mps-youtube-afab9fb/mps_youtube/commands/ |
H A D | search.py | 41 wdata2 = wdata 43 for song in get_tracks_from_json(wdata2): 46 if not wdata2.get('nextPageToken'): 48 qs['pageToken'] = wdata2['nextPageToken'] 49 wdata2 = pafy.call_gdata('search', qs)
|
/dports/science/hdf5-18/hdf5-1.8.21/fortran/test/ |
H A D | tH5O.f90 | 96 INTEGER , DIMENSION(1:dim0) :: wdata2 ! Write buffer local 251 wdata2(i) = i-1 385 CALL h5dwrite_f(dset_id, H5T_NATIVE_INTEGER, wdata2, dims2, error)
|
H A D | tH5T_F03.f90 | 1981 CHARACTER(LEN=1), DIMENSION(1:ds2dim0,1:ds2dim1), TARGET :: wdata2 local 1991 READ(chrvar,'(16A1)') wdata2(1:16,1) 1993 READ(chrvar,'(16A1)') wdata2(1:16,2) 1995 READ(chrvar,'(16A1)') wdata2(1:16,3) 2012 f_ptr = C_LOC(wdata2(1,1))
|
/dports/science/hdf5/hdf5-1.10.6/fortran/test/ |
H A D | tH5O.F90 | 95 INTEGER , DIMENSION(1:dim0) :: wdata2 ! Write buffer local 250 wdata2(i) = i-1 384 CALL h5dwrite_f(dset_id, H5T_NATIVE_INTEGER, wdata2, dims2, error)
|
H A D | tH5T_F03.F90 | 1971 CHARACTER(LEN=1), DIMENSION(1:ds2dim0,1:ds2dim1), TARGET :: wdata2 local 1981 READ(chrvar,'(16A1)') wdata2(1:16,1) 1983 READ(chrvar,'(16A1)') wdata2(1:16,2) 1985 READ(chrvar,'(16A1)') wdata2(1:16,3) 2002 f_ptr = C_LOC(wdata2(1,1))
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/cifs/ |
H A D | cifssmb.c | 2024 if (!wdata2) { in cifs_writev_requeue() 2031 lock_page(wdata2->pages[j]); in cifs_writev_requeue() 2036 wdata2->nr_pages = nr_pages; in cifs_writev_requeue() 2037 wdata2->offset = page_offset(wdata2->pages[0]); in cifs_writev_requeue() 2038 wdata2->pagesz = PAGE_SIZE; in cifs_writev_requeue() 2039 wdata2->tailsz = tailsz; in cifs_writev_requeue() 2040 wdata2->bytes = cur_len; in cifs_writev_requeue() 2043 &wdata2->cfile); in cifs_writev_requeue() 2044 if (!wdata2->cfile) { in cifs_writev_requeue() 2050 wdata2->pid = wdata2->cfile->pid; in cifs_writev_requeue() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/cifs/ |
H A D | cifssmb.c | 2024 if (!wdata2) { in cifs_writev_requeue() 2031 lock_page(wdata2->pages[j]); in cifs_writev_requeue() 2036 wdata2->nr_pages = nr_pages; in cifs_writev_requeue() 2037 wdata2->offset = page_offset(wdata2->pages[0]); in cifs_writev_requeue() 2038 wdata2->pagesz = PAGE_SIZE; in cifs_writev_requeue() 2039 wdata2->tailsz = tailsz; in cifs_writev_requeue() 2040 wdata2->bytes = cur_len; in cifs_writev_requeue() 2043 &wdata2->cfile); in cifs_writev_requeue() 2044 if (!wdata2->cfile) { in cifs_writev_requeue() 2050 wdata2->pid = wdata2->cfile->pid; in cifs_writev_requeue() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/cifs/ |
H A D | cifssmb.c | 2024 if (!wdata2) { in cifs_writev_requeue() 2031 lock_page(wdata2->pages[j]); in cifs_writev_requeue() 2036 wdata2->nr_pages = nr_pages; in cifs_writev_requeue() 2037 wdata2->offset = page_offset(wdata2->pages[0]); in cifs_writev_requeue() 2038 wdata2->pagesz = PAGE_SIZE; in cifs_writev_requeue() 2039 wdata2->tailsz = tailsz; in cifs_writev_requeue() 2040 wdata2->bytes = cur_len; in cifs_writev_requeue() 2043 &wdata2->cfile); in cifs_writev_requeue() 2044 if (!wdata2->cfile) { in cifs_writev_requeue() 2050 wdata2->pid = wdata2->cfile->pid; in cifs_writev_requeue() [all …]
|