Home
last modified time | relevance | path

Searched refs:rand_utf8 (Results 1 – 8 of 8) sorted by relevance

/dports/graphics/tesseract/tesseract-5.0.0/src/training/
H A Dtext2image.cpp552 std::string rand_utf8; in Main() local
589 rand_utf8.append(curr_pos, ngram_len); in Main()
590 if (rand_utf8.length() > line * kCharsPerLine) { in Main()
591 rand_utf8.append(" \n"); in Main()
594 rand_utf8.append(kSeparator); in Main()
597 rand_utf8.append(kSeparator); in Main()
600 tlog(1, "Rendered ngram string of size %zu\n", rand_utf8.length()); in Main()
601 src_utf8.swap(rand_utf8); in Main()
/dports/databases/py-tiledb/tiledb-0.8.11/tiledb/tests/
H A Dfixtures.py6 from tiledb.tests.common import assert_subarrays_equal, rand_utf8
22 data = np.array([rand_utf8(nvals - i % 2) for i in range(ncells)], dtype="O")
H A Dtest_metadata.py11 from tiledb.tests.common import DiskTestCase, rand_utf8
249 randutf8s = [rand_utf8(i) for i in np.random.randint(1, 30, size=write_count)]
H A Dtest_pandas_dataframe.py24 rand_utf8,
42 "q": np.array([rand_utf8(np.random.randint(1, 100)) for _ in range(col_size)]),
43 "t": np.array([rand_utf8(4) for _ in range(col_size)]),
355 "strings": [rand_utf8(5) for _ in range(col_size)],
H A Dcommon.py152 def rand_utf8(size=5): function
H A Dtest_libtiledb.py28 rand_utf8,
3413 lines = [rand_utf8(random.randint(0, 50)) + "\n" for _ in range(10)]
3769 str_data = [rand_utf8(random.randint(0, n)) for n in range(ncells)]
3807 str_data = [rand_utf8(random.randint(0, n)) for n in range(ncells)]
/dports/databases/tiledb/TileDB-2.5.2/test/src/
H A Dunit_arrow.py55 def rand_utf8(size=5): function
93 self.data['utf_string1'] = np.array([rand_utf8(np.random.randint(1, 100))
97 self.data['utf_string2'] = np.array([rand_utf8(np.random.randint(0, 100))
/dports/databases/py-tiledb/tiledb-0.8.11/examples/
H A Dparallel_csv_ingestion.py40 from tiledb.tests.common import rand_datetime64_array, rand_utf8
56 [rand_utf8(np.random.randint(1, 100)) for _ in range(col_size)]