Home
last modified time | relevance | path

Searched refs:indexed_data (Results 1 – 25 of 27) sorted by relevance

12

/dports/www/osrm-backend/osrm-backend-5.26.0/include/extractor/
H A Dname_table.hpp59 NameTableImpl(IndexedData indexed_data_) : indexed_data{std::move(indexed_data_)} {} in NameTableImpl()
66 return indexed_data.at(id + 0); in GetNameForID()
74 return indexed_data.at(id + 1); in GetDestinationsForID()
82 return indexed_data.at(id + 4); in GetExitsForID()
91 return indexed_data.at(id + OFFSET_REF); in GetRefForID()
100 return indexed_data.at(id + OFFSET_PRONUNCIATION); in GetPronunciationForID()
112 IndexedData indexed_data; member in osrm::extractor::detail::NameTableImpl
H A Dserialization.hpp214 util::serialization::write(writer, name, name_table.indexed_data); in write()
223 util::serialization::read(reader, name, name_table.indexed_data); in read()
/dports/www/osrm-backend/osrm-backend-5.26.0/unit_tests/util/
H A Dindexed_data.cpp13 BOOST_AUTO_TEST_SUITE(indexed_data)
37 IndexedData indexed_data(offsets.begin(), offsets.end(), data.begin()); in test_rw() local
43 BOOST_CHECK_EQUAL(expected_result, indexed_data.at(index)); in test_rw()
139 IndexedData<VariableGroupBlock<16, StringView>> indexed_data( in BOOST_AUTO_TEST_CASE() local
142 BOOST_CHECK_EQUAL(indexed_data.at(0), "hello"); in BOOST_AUTO_TEST_CASE()
143 BOOST_CHECK_EQUAL(indexed_data.at(1), "string"); in BOOST_AUTO_TEST_CASE()
144 BOOST_CHECK_EQUAL(indexed_data.at(2), "view"); in BOOST_AUTO_TEST_CASE()
/dports/graphics/pngnq/pngnq-1.1/src/
H A Dpngnq.c310 rwpng_info.indexed_data; in remap_floyd()
403 rwpng_info.indexed_data; in remap_simple()
602 } else rwpng_info.indexed_data = (uch *)malloc(cols); in pngnq()
604 if (rwpng_info.indexed_data == NULL || in pngnq()
612 if (rwpng_info.indexed_data) in pngnq()
613 free(rwpng_info.indexed_data); in pngnq()
626 if (rwpng_info.indexed_data) in pngnq()
627 free(rwpng_info.indexed_data); in pngnq()
664 if (rwpng_info.indexed_data) { in pngnq()
665 free(rwpng_info.indexed_data); in pngnq()
[all …]
H A Drwpng.h76 uch *indexed_data; /* write */ member
H A Drwpng.c505 png_write_row(png_ptr, mainprog_ptr->indexed_data); in rwpng_write_image_row()
/dports/graphics/gmt/gmt-6.3.0/src/
H A Dgrdhisteq.c372 struct INDEXED_DATA *indexed_data = NULL; in grdhisteq_do_gaussian_scores() local
374 indexed_data = gmt_M_memory (GMT, NULL, Grid->header->nm, struct INDEXED_DATA); in grdhisteq_do_gaussian_scores()
380 indexed_data[nxy].i = ij; in grdhisteq_do_gaussian_scores()
381 indexed_data[nxy].x = Grid->data[ij]; in grdhisteq_do_gaussian_scores()
384 indexed_data[j].i = ij; in grdhisteq_do_gaussian_scores()
385 indexed_data[j].x = Grid->data[ij]; in grdhisteq_do_gaussian_scores()
392 qsort (indexed_data, nxy, sizeof (struct INDEXED_DATA), grdhisteq_compare_indexed_floats); in grdhisteq_do_gaussian_scores()
399 indexed_data[i].x = (gmt_grdfloat)gmt_zcrit (GMT, (i + 1.0) * dnxy); in grdhisteq_do_gaussian_scores()
400 if (norm != 0.0) indexed_data[i].x *= (gmt_grdfloat)norm; in grdhisteq_do_gaussian_scores()
405 qsort (indexed_data, Grid->header->nm, sizeof (struct INDEXED_DATA), grdhisteq_compare_indices); in grdhisteq_do_gaussian_scores()
[all …]
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/forecasting/tests/
H A Dtest_theta.py30 def indexed_data(request): function
74 def test_alt_index(indexed_data): argument
75 idx = indexed_data.index
78 res = ThetaModel(indexed_data, period=period).fit()
/dports/devel/godot2-tools/godot-2.1.6-stable/core/
H A Dimage_quantize.cpp119 DVector<uint8_t> indexed_data; in quantize() local
263 indexed_data.resize(color_count + 256 * comp_size); in quantize()
265 DVector<uint8_t>::Write iw = indexed_data.write(); in quantize()
351 print_line(itos(indexed_data.size())); in quantize()
352 data = indexed_data; in quantize()
/dports/devel/godot2/godot-2.1.6-stable/core/
H A Dimage_quantize.cpp119 DVector<uint8_t> indexed_data; in quantize() local
263 indexed_data.resize(color_count + 256 * comp_size); in quantize()
265 DVector<uint8_t>::Write iw = indexed_data.write(); in quantize()
351 print_line(itos(indexed_data.size())); in quantize()
352 data = indexed_data; in quantize()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/subresource_filter/tools/
H A Dindexing_tool_unittest.cc114 std::vector<uint8_t> indexed_data = ReadFileContents(indexed_path); in TEST_F() local
115 EXPECT_EQ(test_ruleset_pair_.indexed.contents, indexed_data); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/subresource_filter/tools/
H A Dindexing_tool_unittest.cc114 std::vector<uint8_t> indexed_data = ReadFileContents(indexed_path); in TEST_F() local
115 EXPECT_EQ(test_ruleset_pair_.indexed.contents, indexed_data); in TEST_F()
/dports/graphics/pngquant/pngquant-2.17.0/
H A Drwpng.h83 unsigned char *indexed_data; member
H A Dpngquant.c742 output_image->indexed_data = malloc((size_t)output_image->height * (size_t)output_image->width); in prepare_output_image()
745 if (!output_image->indexed_data || !output_image->row_pointers) { in prepare_output_image()
750 output_image->row_pointers[row] = output_image->indexed_data + row * output_image->width; in prepare_output_image()
H A Drwpng.c435 free(image->indexed_data); in rwpng_free_image8()
436 image->indexed_data = NULL; in rwpng_free_image8()
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/png-0.16.8/src/
H A Dencoder.rs535 let mut indexed_data = vec![0; decoded_pixels.len() / samples]; in image_palette() localVariable
548 indexed_data.truncate(idx_per_byte.len()); in image_palette()
549 for (pixels, byte) in idx_per_byte.zip(&mut indexed_data) { in image_palette()
566 writer.write_image_data(&indexed_data).unwrap(); in image_palette()
/dports/misc/broot/broot-1.7.0/cargo-crates/png-0.16.8/src/
H A Dencoder.rs535 let mut indexed_data = vec![0; decoded_pixels.len() / samples]; in image_palette() localVariable
548 indexed_data.truncate(idx_per_byte.len()); in image_palette()
549 for (pixels, byte) in idx_per_byte.zip(&mut indexed_data) { in image_palette()
566 writer.write_image_data(&indexed_data).unwrap(); in image_palette()
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/png-0.16.8/src/
H A Dencoder.rs535 let mut indexed_data = vec![0; decoded_pixels.len() / samples]; in image_palette() localVariable
548 indexed_data.truncate(idx_per_byte.len()); in image_palette()
549 for (pixels, byte) in idx_per_byte.zip(&mut indexed_data) { in image_palette()
566 writer.write_image_data(&indexed_data).unwrap(); in image_palette()
/dports/graphics/viu/viu-1.1/cargo-crates/png-0.16.7/src/
H A Dencoder.rs535 let mut indexed_data = vec![0; decoded_pixels.len() / samples]; in image_palette() localVariable
548 indexed_data.truncate(idx_per_byte.len()); in image_palette()
549 for (pixels, byte) in idx_per_byte.zip(&mut indexed_data) { in image_palette()
566 writer.write_image_data(&indexed_data).unwrap(); in image_palette()
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/png-0.16.8/src/
H A Dencoder.rs535 let mut indexed_data = vec![0; decoded_pixels.len() / samples]; in image_palette() localVariable
548 indexed_data.truncate(idx_per_byte.len()); in image_palette()
549 for (pixels, byte) in idx_per_byte.zip(&mut indexed_data) { in image_palette()
566 writer.write_image_data(&indexed_data).unwrap(); in image_palette()
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/png-0.16.8/src/
H A Dencoder.rs535 let mut indexed_data = vec![0; decoded_pixels.len() / samples]; in image_palette() localVariable
548 indexed_data.truncate(idx_per_byte.len()); in image_palette()
549 for (pixels, byte) in idx_per_byte.zip(&mut indexed_data) { in image_palette()
566 writer.write_image_data(&indexed_data).unwrap(); in image_palette()
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/png-0.16.8/src/
H A Dencoder.rs535 let mut indexed_data = vec![0; decoded_pixels.len() / samples]; in image_palette() localVariable
548 indexed_data.truncate(idx_per_byte.len()); in image_palette()
549 for (pixels, byte) in idx_per_byte.zip(&mut indexed_data) { in image_palette()
566 writer.write_image_data(&indexed_data).unwrap(); in image_palette()
/dports/www/zola/zola-0.15.2/cargo-crates/png-0.16.8/src/
H A Dencoder.rs535 let mut indexed_data = vec![0; decoded_pixels.len() / samples]; in image_palette() localVariable
548 indexed_data.truncate(idx_per_byte.len()); in image_palette()
549 for (pixels, byte) in idx_per_byte.zip(&mut indexed_data) { in image_palette()
566 writer.write_image_data(&indexed_data).unwrap(); in image_palette()
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/png-0.16.8/src/
H A Dencoder.rs535 let mut indexed_data = vec![0; decoded_pixels.len() / samples];
548 indexed_data.truncate(idx_per_byte.len());
549 for (pixels, byte) in idx_per_byte.zip(&mut indexed_data) {
566 writer.write_image_data(&indexed_data).unwrap();
/dports/www/osrm-backend/osrm-backend-5.26.0/unit_tests/extractor/
H A Dname_table.cpp22 NameTable::IndexedData indexed_data; in PrapareNameTableData() local

12