16static inline constexpr int
18 n= (n + 3) & (0xfffffffc);
90 for (
int i= 0; i <
c.N; i++)
95 for (
int i= 0; i < n; i++)
103 for (i= 0; i < a.
N; i++)
115 int old_a_N= a->expand_or_shrink_by (1);
124 for (
int i= 0; i <
b_N; i++)
131 int a_N=
N (a),
b_N=
b.N;
133 for (
int i= 0; i < a_N; i++) {
136 for (
int i= 0; i <
b_N; i++) {
The list class represents a linked list.
void resize(int n)
expand (or shrink) string to given length n, and try to release memory when string is shrinked.
void reserve(int n)
reserve memory space to contain at least n word in the whole string. Do not affect length of string,...
int expand_or_shrink_by(int delta)
expand (or shrink) string by delta, but do not release memory when string is shrinked.
void tm_delete_array(C *Ptr)
lolly_tree< T > operator*(lolly_tree< T > t1, lolly_tree< T > t2)
static constexpr int round_length(int n)
lolly_tree< T > copy(lolly_tree< T > t)
lolly_tree< T > & operator<<(lolly_tree< T > &t, lolly_tree< T > t2)
url delta(url base, url u)