Home
last modified time | relevance | path

Searched refs:block_length (Results 1 – 25 of 60) sorted by relevance

123

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dparallel_interleave_dataset_serialization_test.py38 def _build_ds(self, cycle_length, block_length, sloppy=False): argument
43 cycle_length, block_length, sloppy)))
48 block_length = 3
50 lambda: self._build_ds(cycle_length, block_length),
51 lambda: self._build_ds(cycle_length * 2, block_length * 1),
55 block_length = 3
56 self.run_core_tests(lambda: self._build_ds(cycle_length, block_length),
60 block_length = 1
61 self.run_core_tests(lambda: self._build_ds(cycle_length, block_length),
70 def run_test(cycle_length, block_length): argument
[all …]
Dinterleave_dataset_serialization_test.py34 def _build_iterator_graph(self, input_values, cycle_length, block_length, argument
40 cycle_length, block_length, num_parallel_calls)
52 def testSerializationCore(self, cycle_length, block_length, argument
59 input_values, cycle_length, block_length, num_parallel_calls),
61 input_values, cycle_length * 2, block_length, num_parallel_calls),
/external/adhd/cras/src/server/
Dcras_a2dp_endpoint.c51 sbc_caps->block_length = SBC_BLOCK_LENGTH_4 | in cras_a2dp_get_capabilities()
113 if (sbc_caps->block_length & SBC_BLOCK_LENGTH_16) { in cras_a2dp_select_configuration()
114 sbc_config->block_length = SBC_BLOCK_LENGTH_16; in cras_a2dp_select_configuration()
115 } else if (sbc_caps->block_length & SBC_BLOCK_LENGTH_12) { in cras_a2dp_select_configuration()
116 sbc_config->block_length = SBC_BLOCK_LENGTH_12; in cras_a2dp_select_configuration()
117 } else if (sbc_caps->block_length & SBC_BLOCK_LENGTH_8) { in cras_a2dp_select_configuration()
118 sbc_config->block_length = SBC_BLOCK_LENGTH_8; in cras_a2dp_select_configuration()
119 } else if (sbc_caps->block_length & SBC_BLOCK_LENGTH_4) { in cras_a2dp_select_configuration()
120 sbc_config->block_length = SBC_BLOCK_LENGTH_4; in cras_a2dp_select_configuration()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dinterleave_test.py33 def _interleave(lists, cycle_length, block_length): argument
68 for _ in range(block_length):
113 def testPythonImplementation(self, input_values, cycle_length, block_length, argument
119 block_length)):
142 def testInterleaveDataset(self, input_values, cycle_length, block_length, argument
148 cycle_length, block_length, num_parallel_calls)
151 _repeat(input_values, count), cycle_length, block_length)
170 def testInterleaveDatasetError(self, input_values, cycle_length, block_length, argument
174 dataset_ops.Dataset.from_tensors, cycle_length, block_length,
223 block_length, num_parallel_calls): argument
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparallel_interleave_test.py59 def dataset_fn(self, input_values, cycle_length, block_length, sloppy, argument
83 interleave_fn, cycle_length, block_length, sloppy,
86 def _interleave(self, lists, cycle_length, block_length): argument
111 for _ in range(block_length):
179 block_length=1,
210 block_length=1,
238 block_length=1,
280 block_length=1,
320 block_length=2,
363 block_length=2,
[all …]
/external/tensorflow/tensorflow/contrib/data/python/ops/
Dinterleave_ops.py28 block_length=1, argument
76 map_func, cycle_length, block_length, sloppy, buffer_output_elements,
82 def sloppy_interleave(map_func, cycle_length, block_length=1): argument
132 map_func, cycle_length, block_length, sloppy=True)
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Ddlrr_unittest.cc48 uint16_t block_length = ByteReader<uint16_t>::ReadBigEndian(&kBlock[2]); in TEST() local
49 EXPECT_TRUE(dlrr.Parse(kBlock, block_length)); in TEST()
95 uint16_t block_length = ByteReader<uint16_t>::ReadBigEndian(&buffer[2]); in TEST() local
96 EXPECT_EQ(used_buffer_size, (block_length + 1) * 4u); in TEST()
97 EXPECT_TRUE(parsed.Parse(buffer, block_length)); in TEST()
/external/webrtc/webrtc/common_audio/
Dlapped_transform.cc38 size_t block_length = RealFourier::ComplexLength( in ProcessBlock() local
40 RTC_CHECK_EQ(parent_->cplx_length_, block_length); in ProcessBlock()
59 size_t block_length, in LappedTransform() argument
65 block_length_(block_length), in LappedTransform()
Dlapped_transform.h53 size_t block_length,
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dpacket_unittest.cc120 int block_length, in MakeRedHeader() argument
130 rtp_data[2] |= block_length >> 8; in MakeRedHeader()
131 rtp_data[3] = block_length & 0xFF; in MakeRedHeader()
155 int block_length = 10 * i; in TEST() local
158 payload_type, timestamp_offset, block_length, last_block, payload_ptr); in TEST()
/external/flac/libFLAC/
Dmetadata_iterators.c77 …handle, FLAC__IOCallback_Seek seek_cb, FLAC__StreamMetadata_Padding *block, unsigned block_length);
78 …le, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_Application *block, unsigned block_length);
79 …ndle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_SeekTable *block, unsigned block_length);
81 …, FLAC__IOCallback_Seek seek_cb, FLAC__StreamMetadata_VorbisComment *block, unsigned block_length);
85 …handle, FLAC__IOCallback_Read read_cb, FLAC__StreamMetadata_Unknown *block, unsigned block_length);
92 …FLAC__IOCallback_Write write_cb, const FLAC__StreamMetadata_Padding *block, unsigned block_length);
93 …__IOCallback_Write write_cb, const FLAC__StreamMetadata_Application *block, unsigned block_length);
98 …FLAC__IOCallback_Write write_cb, const FLAC__StreamMetadata_Unknown *block, unsigned block_length);
2203 … handle, FLAC__IOCallback_Seek seek_cb, FLAC__StreamMetadata_Padding *block, unsigned block_length) in read_metadata_block_data_padding_cb_() argument
2207 if(0 != seek_cb(handle, block_length, SEEK_CUR)) in read_metadata_block_data_padding_cb_()
[all …]
/external/autotest/client/site_tests/cellular_MbimComplianceDataTransfer/
Dcellular_MbimComplianceDTS0612.py43 if nth.block_length > self.device_context.max_in_data_transfer_size:
48 if nth.block_length > self.device_context.max_in_data_transfer_size:
/external/tensorflow/tensorflow/core/kernels/data/
Dinterleave_dataset_op.cc55 const int64 block_length = block_length_t->flat<int64>()(0); in MakeDataset() local
57 ctx, block_length > 0, in MakeDataset()
66 block_length, output_types_, output_shapes_); in MakeDataset()
75 int64 block_length, const DataTypeVector& output_types, in Dataset() argument
82 block_length_(block_length), in Dataset()
Dparallel_interleave_dataset_op.cc71 int64 block_length = 0; in MakeDataset() local
73 ParseScalarArgument(ctx, "block_length", &block_length)); in MakeDataset()
74 OP_REQUIRES(ctx, block_length > 0, in MakeDataset()
100 cycle_length, block_length, num_parallel_calls, sloppy_, in MakeDataset()
110 int64 block_length, int64 num_parallel_calls, bool sloppy, in Dataset() argument
118 block_length_(block_length), in Dataset()
439 const int block_length = dataset()->block_length_; in CurrentElementsManager() local
450 element->results.size() < block_length) { in CurrentElementsManager()
/external/adhd/cras/src/common/
Da2dp-codecs.h95 uint8_t block_length:4; member
115 uint8_t block_length:4; member
/external/autotest/client/cros/audio/
Daudio_analysis.py326 block_length = len(test_signal)
327 number_of_movings = len(golden_signal) - block_length + 1
333 end = start + block_length
/external/brotli/c/dec/
Dstate.c100 s->block_length[0] = 1U << 24; in BrotliDecoderStateMetablockBegin()
101 s->block_length[1] = 1U << 24; in BrotliDecoderStateMetablockBegin()
102 s->block_length[2] = 1U << 24; in BrotliDecoderStateMetablockBegin()
Ddecode.c1127 s->block_length[tree_type] = ReadBlockLength(len_tree, br); in DecodeBlockTypeAndLength()
1132 if (!SafeReadBlockLength(s, &s->block_length[tree_type], len_tree, br)) { in DecodeBlockTypeAndLength()
1521 --s->block_length[2]; in ReadDistanceInternal()
1555 --s->block_length[2]; in ReadDistanceInternal()
1602 --s->block_length[1]; in ReadCommandInternal()
1674 if (BROTLI_PREDICT_FALSE(s->block_length[1] == 0)) { in ProcessCommandsInternal()
1702 if (BROTLI_PREDICT_FALSE(s->block_length[0] == 0)) { in ProcessCommandsInternal()
1718 --s->block_length[0]; in ProcessCommandsInternal()
1738 if (BROTLI_PREDICT_FALSE(s->block_length[0] == 0)) { in ProcessCommandsInternal()
1757 --s->block_length[0]; in ProcessCommandsInternal()
[all …]
/external/tensorflow/tensorflow/python/data/ops/
Dreaders.py125 def __init__(self, input_dataset, map_func, cycle_length, block_length, argument
138 block_length, dtype=dtypes.int64, name="block_length")
144 argument_default=2 * block_length)
226 block_length=1, sloppy=False, buffer_output_elements=None,
/external/ImageMagick/coders/
Dgif.c1140 block_length, in ReadGIFImage() local
1178 block_length=(int) ReadBlobBlock(image,&info[info_length]); in ReadGIFImage()
1179 if (block_length == 0) in ReadGIFImage()
1181 info_length+=block_length; in ReadGIFImage()
1876 block_length; in WriteGIFImage() local
1879 block_length=length-offset; in WriteGIFImage()
1881 block_length=255; in WriteGIFImage()
1882 (void) WriteBlobByte(image,(unsigned char) block_length); in WriteGIFImage()
1883 (void) WriteBlob(image,(size_t) block_length,datum+offset); in WriteGIFImage()
1884 offset+=(ssize_t) block_length; in WriteGIFImage()
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_data_transfer.py281 block_length=ntb_curr_offset,
318 if len(raw_ntb_frame) != self.nth.block_length:
322 len(raw_ntb_frame), self.nth.block_length))
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dinterleave_ops.py43 block_length=1, argument
92 dataset, map_func, cycle_length, block_length, sloppy,
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparallel_interleave_dataset_op.cc54 int64 block_length = 0; in MakeDataset() local
56 ParseScalarArgument(ctx, "block_length", &block_length)); in MakeDataset()
57 OP_REQUIRES(ctx, block_length > 0, in MakeDataset()
84 cycle_length, block_length, sloppy, buffer_output_elements, in MakeDataset()
94 int64 block_length, bool sloppy, int64 buffer_output_elements, in Dataset() argument
102 block_length_(block_length), in Dataset()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_InterleaveDataset.pbtxt17 InterleaveDataset will interleave sequences of up to `block_length`
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c79 unsigned block_length, in lp_build_sample_wrap_nearest_int() argument
129 lp_build_sample_partial_offset(int_coord_bld, block_length, coord, stride, in lp_build_sample_wrap_nearest_int()
277 unsigned block_length, in lp_build_sample_wrap_linear_int() argument
305 if (block_length != 1) { in lp_build_sample_wrap_linear_int()
354 lp_build_sample_partial_offset(int_coord_bld, block_length, coord0, stride, in lp_build_sample_wrap_linear_int()
356 lp_build_sample_partial_offset(int_coord_bld, block_length, coord1, stride, in lp_build_sample_wrap_linear_int()
444 unsigned block_length, in lp_build_sample_wrap_linear_float() argument

123