Home
last modified time | relevance | path

Searched refs:best_offset (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/
Dsimple_memory_arena.cc57 size_t best_offset = kOffsetNotAssigned; in Allocate() local
73 best_offset = aligned_current_offset; in Allocate()
78 if (best_offset == kOffsetNotAssigned) { in Allocate()
79 best_offset = AlignTo(alignment, current_offset); in Allocate()
83 high_water_mark_ = std::max(high_water_mark_, best_offset + size); in Allocate()
84 new_alloc->offset = best_offset; in Allocate()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/
Dgreedy_by_size_assignment.cc88 size_t best_offset = kNotAssigned; in GreedyBySizeAssignment() local
105 best_offset = prev_offset; in GreedyBySizeAssignment()
117 if (best_offset == kNotAssigned) { in GreedyBySizeAssignment()
118 best_offset = prev_offset; in GreedyBySizeAssignment()
125 assignment->offsets[*it] <= best_offset) { in GreedyBySizeAssignment()
129 assignment->offsets[rec_with_idx.idx] = best_offset; in GreedyBySizeAssignment()
131 std::max(assignment->total_size, best_offset + rec->tensor_size); in GreedyBySizeAssignment()
/external/webp/src/enc/
Dbackward_references_enc.c626 int best_offset; in BackwardReferencesLz77Box() local
632 best_offset = VP8LHashChainFindOffset(hash_chain_best, i); in BackwardReferencesLz77Box()
634 if (best_offset == window_offsets[ind]) { in BackwardReferencesLz77Box()
649 best_offset = use_prev ? best_offset_prev : 0; in BackwardReferencesLz77Box()
674 best_offset = in BackwardReferencesLz77Box()
694 (best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length; in BackwardReferencesLz77Box()
695 best_offset_prev = best_offset; in BackwardReferencesLz77Box()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager2.java654 int best_offset = 0; in FindEntry() local
712 best_offset = offset; in FindEntry()
741 best_offset = offset; in FindEntry()
752 ResTable_entry best_entry = LoadedPackage.GetEntryFromOffset(best_type, best_offset); in FindEntry()