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.py90 for partition_size in partition_sizes:
94 partition_size)
97 "partitioned_%d" % partition_size,
98 shape=[1000 * partition_size],
102 max_shard_bytes=4 * partition_size))
108 for ix, partition_size in enumerate(partition_sizes):
110 partition_size)
115 "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
469 (int)partition_size, in AddHashFooterTest()
472 ASSERT_EQ(AddHashFooterGetExpectedVBMetaInfo(sparse_image, partition_size), in AddHashFooterTest()
622 (int)partition_size, in AddHashFooterTest()
660 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local
671 partition_size - metadata_size, in TEST_F()
682 (int)partition_size); in TEST_F()
726 const size_t partition_size = 10 * 1024 * 1024; in TEST_F() local
[all …]
Davb_slot_verify_unittest.cc1707 const size_t partition_size = 1536 * 1024; in CmdlineWithHashtreeVerification() local
1729 (int)partition_size); in CmdlineWithHashtreeVerification()
2016 const size_t partition_size = 1536 * 1024; in VerificationDisabled() local
2046 (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/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c687 unsigned int partition_size = 0; in read_available_partition_size() local
702 partition_size = read_partition_size(pbi, partition_size_ptr); in read_available_partition_size()
704 partition_size = (unsigned int)bytes_left; in read_available_partition_size()
710 partition_size = (unsigned int)bytes_left; in read_available_partition_size()
717 if (!read_is_valid(fragment_start, partition_size, fragment_end)) { in read_available_partition_size()
719 partition_size = (unsigned int)bytes_left; in read_available_partition_size()
727 return partition_size; in read_available_partition_size()
774 ptrdiff_t partition_size = read_available_partition_size( in setup_token_decoder() local
778 pbi->fragments.sizes[fragment_idx] = (unsigned int)partition_size; in setup_token_decoder()
779 if (fragment_size < (unsigned int)partition_size) in setup_token_decoder()
[all …]
/external/avb/
Davbtool2089 def resize_image(self, image_filename, partition_size): argument
2102 if partition_size % image.block_size != 0:
2104 'block size {}.'.format(partition_size,
2119 if partition_size < vbmeta_end_offset + 1*image.block_size:
2122 .format(partition_size,
2129 image.append_dont_care(partition_size - vbmeta_end_offset -
2883 partition_size): argument
2896 if partition_size % image.block_size != 0:
2898 'block size {}.'.format(partition_size,
2944 image.append_dont_care(partition_size - vbmeta_end_offset -
[all …]
DREADME.md369 --partition_name PARTNAME --partition_size SIZE \
390 --partition_name PARTNAME --partition_size SIZE \
413 --partition_size SIZE
430 $ avbtool add_hash_footer --partition_size $((10*1024*1024)) \
434 $ avbtool add_hashtree_footer --partition_size $((10*1024*1024)) \
482 --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/avb/libavb_user/
Davb_ops_user.cpp139 uint64_t partition_size; in read_from_partition() local
140 if (ioctl(fd, BLKGETSIZE64, &partition_size) != 0) { in read_from_partition()
146 offset = partition_size - (-offset); in read_from_partition()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c2399 size_t partition_size) { in read_compressed_header() argument
2406 if (vpx_reader_init(&r, data, partition_size, pbi->decrypt_cb, in read_compressed_header()