Searched refs:requested_capacity (Results 1 – 2 of 2) sorted by relevance
104 int32 requested_capacity = -1; in MatchesNodeDefCapacity() local105 TF_RETURN_IF_ERROR(GetNodeAttr(node_def, "capacity", &requested_capacity)); in MatchesNodeDefCapacity()106 if (requested_capacity < 0) requested_capacity = kUnbounded; in MatchesNodeDefCapacity()107 if (requested_capacity != capacity) { in MatchesNodeDefCapacity()110 requested_capacity); in MatchesNodeDefCapacity()
299 size_t requested_capacity = in ExpandBuffer() local304 new_buffer = delegate_->ReallocateBufferMemory(buffer_, requested_capacity, in ExpandBuffer()307 new_buffer = realloc(buffer_, requested_capacity); in ExpandBuffer()308 provided_capacity = requested_capacity; in ExpandBuffer()311 DCHECK(provided_capacity >= requested_capacity); in ExpandBuffer()