Home
last modified time | relevance | path

Searched refs:bucket_size (Results 1 – 25 of 33) sorted by relevance

12

/external/libcxx/test/std/containers/unord/unord.multiset/
Dbucket_size.pass.cpp44 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
45 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
46 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
47 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
48 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
49 LIBCPP_ASSERT(c.bucket_size(5) == 0); in main()
50 LIBCPP_ASSERT(c.bucket_size(6) == 0); in main()
68 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
69 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
70 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/
Dbucket_size.pass.cpp45 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
46 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
47 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
48 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
49 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
50 LIBCPP_ASSERT(c.bucket_size(5) == 0); in main()
51 LIBCPP_ASSERT(c.bucket_size(6) == 0); in main()
69 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
70 LIBCPP_ASSERT(c.bucket_size(1) == 2); in main()
71 LIBCPP_ASSERT(c.bucket_size(2) == 2); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.set/
Dbucket_size.pass.cpp44 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
45 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
46 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
47 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
48 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
65 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
66 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
67 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
68 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
69 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.map/
Dbucket_size.pass.cpp45 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
46 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
47 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
48 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
49 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
67 LIBCPP_ASSERT(c.bucket_size(0) == 0); in main()
68 LIBCPP_ASSERT(c.bucket_size(1) == 1); in main()
69 LIBCPP_ASSERT(c.bucket_size(2) == 1); in main()
70 LIBCPP_ASSERT(c.bucket_size(3) == 1); in main()
71 LIBCPP_ASSERT(c.bucket_size(4) == 1); in main()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video_bsp.c45 uint32_t slice_size, bucket_size, ring_size, bsp_size; in nv98_decoder_bsp() local
136 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nv98_decoder_bsp()
140 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 408 interdata addr in nv98_decoder_bsp()
148 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nv98_decoder_bsp()
153 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 40c interdata addr in nv98_decoder_bsp()
156 PUSH_DATA (push, bucket_size << 8); // 418 bucket size? unshifted.. in nv98_decoder_bsp()
Dnv98_video_vp.c75 uint32_t slice_size, bucket_size, ring_size, i; in nv98_decoder_vp() local
92 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nv98_decoder_vp()
95 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nv98_decoder_vp()
137 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 718 inter_data_ofs in nv98_decoder_vp()
139 if (bucket_size) { in nv98_decoder_vp()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video_bsp.c142 uint32_t slice_size, bucket_size, ring_size; in nvc0_decoder_bsp_end() local
188 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_bsp_end()
192 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 408 interdata addr in nvc0_decoder_bsp_end()
197 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_bsp_end()
202 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 40c interdata addr in nvc0_decoder_bsp_end()
205 PUSH_DATA (push, bucket_size << 8); // 418 bucket size? unshifted.. in nvc0_decoder_bsp_end()
Dnvc0_video_vp.c75 uint32_t slice_size, bucket_size, ring_size, i; in nvc0_decoder_vp() local
92 nouveau_vp3_inter_sizes(dec, desc.h264->slice_count, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_vp()
95 nouveau_vp3_inter_sizes(dec, 1, &slice_size, &bucket_size, &ring_size); in nvc0_decoder_vp()
137 PUSH_DATA (push, inter_addr + slice_size + bucket_size); // 718 inter_data_ofs in nvc0_decoder_vp()
139 if (bucket_size) { in nvc0_decoder_vp()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video.h192 uint32_t *slice_size, uint32_t *bucket_size, in nouveau_vp3_inter_sizes() argument
197 *bucket_size = 0; in nouveau_vp3_inter_sizes()
199 *bucket_size = mb(dec->base.width) * 3; in nouveau_vp3_inter_sizes()
200 *ring_size = (dec->inter_bo[0]->size >> 8) - *bucket_size - *slice_size; in nouveau_vp3_inter_sizes()
Dnouveau_vp3_video_vp.c33 uint32_t bucket_size; // 24 member
59 uint32_t bucket_size; // 28 member
90 uint32_t bucket_size; // 00 member
118 uint32_t bucket_size; // 28 bucket size member
243 nouveau_vp3_inter_sizes(dec, 1, &ring, &pic_vp->bucket_size, &pic_vp->inter_ring_data_size); in nouveau_vp3_fill_picparm_mpeg12_vp()
284 nouveau_vp3_inter_sizes(dec, 1, &ring, &pic_vp->bucket_size, &pic_vp->inter_ring_data_size); in nouveau_vp3_fill_picparm_mpeg4_vp()
333 nouveau_vp3_inter_sizes(dec, d->slice_count, &ring, &h->bucket_size, &h->inter_ring_data_size); in nouveau_vp3_fill_picparm_h264_vp()
443 nouveau_vp3_inter_sizes(dec, 1, &ring, &vc->bucket_size, &vc->inter_ring_data_size); in nouveau_vp3_fill_picparm_vc1_vp()
/external/ltp/lib/
Dtst_timer_test.c97 unsigned int bucket_size; in frequency_plot() local
106 bucket_size = MAX(1u, ceilu(1.00 * (max_sample - min_sample)/(rows-1))); in frequency_plot()
110 bucket = flooru(1.00 * (samples[i] - min_sample)/bucket_size); in frequency_plot()
139 line_header_len - 3, min_sample + bucket_size*i); in frequency_plot()
159 line_header_len - 5, bucket_size, scale, scale * 2, scale * 4); in frequency_plot()
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dfeature_column.py345 bucket_size=None, argument
349 if is_integerized and bucket_size is None:
360 if bucket_size is None and lookup_config is None:
364 if bucket_size is not None and lookup_config:
368 if bucket_size is not None and bucket_size < 1:
370 "bucket_size: {}, column_name: {}".format(bucket_size,
389 bucket_size=bucket_size,
401 if self.bucket_size is not None:
402 return self.bucket_size
504 sparse_id_values = math_ops.mod(input_tensor.values, self.bucket_size,
[all …]
Dfeature_column_test.py592 column_name="bbb", bucket_size=10), [0])
759 self.assertEqual(10, column_copy.bucket_size)
768 self.assertEqual(10, column_copy.bucket_size)
/external/tensorflow/tensorflow/core/lib/histogram/
Dhistogram.cc72 if ((proto.bucket_size() != proto.bucket_limit_size()) || in DecodeFromProto()
73 (proto.bucket_size() == 0)) { in DecodeFromProto()
224 if (proto->bucket_size() == 0.0) { in EncodeToProto()
/external/tensorflow/tensorflow/core/kernels/
Dlookup_table_op.cc131 size_t bucket_size = table_.bucket_size(i); in MemoryUsed() local
132 if (bucket_size == 0) { in MemoryUsed()
135 ret += bucket_size; in MemoryUsed()
260 size_t bucket_size = table_.bucket_size(i); in MemoryUsed() local
261 if (bucket_size == 0) { in MemoryUsed()
264 ret += bucket_size; in MemoryUsed()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc552 const int32_t bucket_size = maxBitrate * 8; in EnableQoS() local
554 if (!rtpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
577 const int32_t bucket_size = maxBitrate*31; in EnableQoS() local
579 if (!rtpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
597 const int32_t bucket_size = 2000; in EnableQoS() local
599 if (!rtpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
616 const int32_t bucket_size = 32000; in EnableQoS() local
618 if (!rtpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
634 const int32_t bucket_size = 200; in EnableQoS() local
636 if (!rtcpSock->SetQos(serviceType, token_rate, bucket_size, in EnableQoS()
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_throttle.h42 int64 bucket_size = 10000000; // 10 million tokens total member
Dgcs_throttle.cc58 available_tokens_ = std::min(available_tokens_, config_.bucket_size); in UpdateState()
/external/perfetto/tools/trace_to_text/
Dmain.cc238 size_t bucket_size = static_cast<size_t>(end - start) / bucket_count; in PrintFtraceTrack() local
242 auto low = ftrace_timestamps.lower_bound(i * bucket_size + start); in PrintFtraceTrack()
243 auto high = ftrace_timestamps.upper_bound((i + 1) * bucket_size + start); in PrintFtraceTrack()
/external/brotli/c/enc/
Dhash_longest_match_inc.h93 size_t bucket_size = (size_t)1 << params->hasher.bucket_bits; in FN() local
97 return sizeof(HashLongestMatch) + bucket_size * (2 + 4 * block_size); in FN()
Dhash_longest_match64_inc.h99 size_t bucket_size = (size_t)1 << params->hasher.bucket_bits; in FN() local
103 return sizeof(HashLongestMatch) + bucket_size * (2 + 4 * block_size); in FN()
/external/compiler-rt/lib/interception/
Dinterception_win.cc350 size_t bucket_size = GetMmapGranularity(); in AllocateMemoryForTrampoline() local
351 void *content = AllocateTrampolineRegion(image_address, bucket_size); in AllocateMemoryForTrampoline()
357 current->max_size = bucket_size; in AllocateMemoryForTrampoline()
/external/protobuf/src/google/protobuf/stubs/
Dhash.h401 static const size_t bucket_size = 4;
419 static const size_t bucket_size = 4;
/external/kernel-headers/original/uapi/linux/
Dbcache.h181 __u16 bucket_size; /* sectors */ member
/external/libcxx/include/
Dunordered_set139 size_type bucket_size(size_type n) const;
287 size_type bucket_size(size_type n) const;
573 size_type bucket_size(size_type __n) const {return __table_.bucket_size(__n);}
1061 size_type bucket_size(size_type __n) const {return __table_.bucket_size(__n);}

12