Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc533 void (*maybe_add)(grpc_chttp2_hpack_compressor*, grpc_mdelem, size_t) = in hpack_enc() local
546 maybe_add(c, elem, decoder_space_usage); in hpack_enc()
556 maybe_add(c, elem, decoder_space_usage); in hpack_enc()
565 maybe_add = in hpack_enc()
568 maybe_add(c, elem, decoder_space_usage); in hpack_enc()
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py2177 def maybe_add(x, should_add): function
2185 maybe_add(x, True)
2186 self.assertLen(total_function_cache(maybe_add), 1)
2189 maybe_add(x, False)
2190 self.assertLen(total_function_cache(maybe_add), 2)
2195 maybe_add(x, True)
2196 self.assertLen(total_function_cache(maybe_add), 3)