Home
last modified time | relevance | path

Searched refs:partition_size (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/training/
Dlocalhost_cluster_performance_test.py88 for partition_size in partition_sizes:
92 partition_size)
95 "partitioned_%d" % partition_size,
96 shape=[1000 * partition_size],
100 max_shard_bytes=4 * partition_size))
106 for ix, partition_size in enumerate(partition_sizes):
108 partition_size)
113 "100_parameter_servers_partsize_%d_floats" % partition_size))
/external/avb/test/
Davbtool_unittest.cc387 const bool sparse_image, const uint64_t partition_size) { in AddHashFooterGetExpectedVBMetaInfo() argument
414 partition_size, in AddHashFooterGetExpectedVBMetaInfo()
420 const size_t partition_size = 1536 * 1024; in AddHashFooterTest() local
467 (int)partition_size, in AddHashFooterTest()
470 ASSERT_EQ(AddHashFooterGetExpectedVBMetaInfo(sparse_image, partition_size), in AddHashFooterTest()
609 (int)partition_size, in AddHashFooterTest()
645 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local
656 partition_size - metadata_size, in TEST_F()
667 (int)partition_size); in TEST_F()
711 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local
[all …]
Davb_slot_verify_unittest.cc1487 const size_t partition_size = 1536 * 1024; in CmdlineWithHashtreeVerification() local
1509 (int)partition_size); in CmdlineWithHashtreeVerification()
1795 const size_t partition_size = 1536 * 1024; in VerificationDisabled() local
1825 (int)partition_size); in VerificationDisabled()
/external/avb/examples/uefi/
Duefi_avb_ops.c184 uint64_t partition_size; in read_from_partition() local
197 partition_size = in read_from_partition()
202 if ((-offset_from_partition) > partition_size) { in read_from_partition()
207 offset_from_partition = partition_size - (-offset_from_partition); in read_from_partition()
213 if (num_bytes > partition_size - offset_from_partition) in read_from_partition()
214 *out_num_read = partition_size - offset_from_partition; in read_from_partition()
245 uint64_t partition_size; in write_to_partition() local
257 partition_size = (partition_entry->last_lba - partition_entry->first_lba) * in write_to_partition()
261 if ((-offset_from_partition) > partition_size) { in write_to_partition()
266 offset_from_partition = partition_size - (-offset_from_partition); in write_to_partition()
[all …]
/external/libavc/decoder/
Dih264d_process_bslice.c81 UWORD8 partition_size, sub_partition, u1_mb_partw, u1_mb_parth; in ih264d_decode_spatial_direct() local
436 partition_size = s_mvdirect.i1_partitionsize[i]; in ih264d_decode_spatial_direct()
439 sub_partition = partition_size >> 2; in ih264d_decode_spatial_direct()
440 partition_size &= 0x3; in ih264d_decode_spatial_direct()
441 u1_mb_partw = pu1_mb_partw[partition_size]; in ih264d_decode_spatial_direct()
442 u1_mb_parth = pu1_mb_parth[partition_size]; in ih264d_decode_spatial_direct()
443 u2_mask = mask_table[partition_size]; in ih264d_decode_spatial_direct()
448 u2_mask = sub_mask_table[partition_size]; in ih264d_decode_spatial_direct()
593 UWORD8 i, partition_size, sub_partition; in ih264d_decode_temporal_direct() local
617 partition_size = s_mvdirect.i1_partitionsize[i]; in ih264d_decode_temporal_direct()
[all …]
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dbigquery_reader_ops.cc149 const int64 partition_size = tensorflow::MathUtil::CeilOfRatio<int64>( in Compute() local
159 partition.set_start_index(i * partition_size); in Compute()
161 std::min(total_num_rows_, (i + 1) * partition_size) - 1); in Compute()
/external/avb/
Davbtool2005 def resize_image(self, image_filename, partition_size): argument
2018 if partition_size % image.block_size != 0:
2020 'block size {}.'.format(partition_size,
2035 if partition_size < vbmeta_end_offset + 1*image.block_size:
2038 .format(partition_size,
2045 image.append_dont_care(partition_size - vbmeta_end_offset -
2688 partition_size): argument
2701 if partition_size % image.block_size != 0:
2703 'block size {}.'.format(partition_size,
2749 image.append_dont_care(partition_size - vbmeta_end_offset -
[all …]
DREADME.md335 --partition_name PARTNAME --partition_size SIZE \
356 --partition_name PARTNAME --partition_size SIZE \
379 --partition_size SIZE
396 $ avbtool add_hash_footer --partition_size $((10*1024*1024)) \
400 $ avbtool add_hashtree_footer --partition_size $((10*1024*1024)) \
448 --partition_size SIZE_OF_BOOT_PARTITION \
/external/autotest/client/cros/faft/utils/
Drootfs_handler.py49 partition_size = int(match.group(2)) * 512
64 return count == partition_size
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c687 unsigned int partition_size = 0; in read_available_partition_size() local
696 partition_size = read_partition_size(pbi, partition_size_ptr); in read_available_partition_size()
698 partition_size = (unsigned int)bytes_left; in read_available_partition_size()
704 partition_size = (unsigned int)bytes_left; in read_available_partition_size()
711 if (!read_is_valid(fragment_start, partition_size, fragment_end)) { in read_available_partition_size()
713 partition_size = (unsigned int)bytes_left; in read_available_partition_size()
721 return partition_size; in read_available_partition_size()
765 ptrdiff_t partition_size = read_available_partition_size( in setup_token_decoder() local
769 pbi->fragments.sizes[fragment_idx] = (unsigned int)partition_size; in setup_token_decoder()
770 fragment_size -= (unsigned int)partition_size; in setup_token_decoder()
[all …]
/external/avb/libavb_user/
Davb_ops_user.cpp130 uint64_t partition_size; in read_from_partition() local
131 if (ioctl(fd, BLKGETSIZE64, &partition_size) != 0) { in read_from_partition()
137 offset = partition_size - (-offset); in read_from_partition()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c1924 size_t partition_size) { in read_compressed_header() argument
1931 if (vpx_reader_init(&r, data, partition_size, pbi->decrypt_cb, in read_compressed_header()