Home
last modified time | relevance | path

Searched refs:target_cap (Results 1 – 2 of 2) sorted by relevance

/third_party/icu/icu4c/source/test/cintltst/
Dnucnvtst.c5415 int32_t rules_length, target_cap, bytes_needed, buff_size; in TestJitterbug981() local
5443 target_cap = 0; in TestJitterbug981()
5447 if(target_cap >= buff_size) { in TestJitterbug981()
5448 log_err("wanted %d bytes, only %d available\n", target_cap, buff_size); in TestJitterbug981()
5451 bytes_needed = ucnv_fromUChars(utf8cnv, buff, target_cap, in TestJitterbug981()
5453 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; in TestJitterbug981()
5473 int32_t target_cap, bytes_needed, numNeeded = 0; in TestJitterbug1293() local
5481 target_cap =0; in TestJitterbug1293()
5483 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; in TestJitterbug1293()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs41142 let target_cap = cmp::max(cmp::max(min_capacity, self.len()) + 1, MINIMUM_CAPACITY + 1) localVariable
41145 if target_cap < self.cap() {
41154 let head_outside = self.head == 0 || self.head >= target_cap;
41156 if self.tail >= target_cap && head_outside {
41166 } else if self.tail != 0 && self.tail < target_cap && head_outside {
41171 let len = self.wrap_sub(self.head, target_cap);
41173 self.copy_nonoverlapping(0, target_cap, len);
41177 } else if self.tail >= target_cap {
41182 debug_assert!(self.wrap_sub(self.head, 1) < target_cap);
41184 let new_tail = target_cap - len;
[all …]