Home
last modified time | relevance | path

Searched refs:serialized_cache (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dprogram_cache.cc150 absl::Span<const uint8_t> serialized_cache) { in AddSerializedCache() argument
151 flatbuffers::Verifier verifier(serialized_cache.data(), in AddSerializedCache()
152 serialized_cache.size()); in AddSerializedCache()
157 auto model = data::GetCompiledCache(serialized_cache.data()); in AddSerializedCache()
176 const CLDevice& device, std::vector<uint8_t>* serialized_cache) const { in GetSerializedCache()
194 size_t next_element = serialized_cache->size(); in GetSerializedCache()
195 serialized_cache->resize(serialized_cache->size() + builder.GetSize()); in GetSerializedCache()
196 std::memcpy(&(*serialized_cache)[next_element], builder.GetBufferPointer(), in GetSerializedCache()
Dprogram_cache.h67 absl::Span<const uint8_t> serialized_cache);
69 std::vector<uint8_t>* serialized_cache) const;
/external/cronet/net/dns/
Dhost_cache_unittest.cc1309 base::Value::List serialized_cache; in TEST() local
1310 cache.GetList(serialized_cache, false /* include_staleness */, in TEST()
1314 EXPECT_TRUE(restored_cache.RestoreFromListValue(serialized_cache)); in TEST()
1383 base::Value::List serialized_cache; in TEST() local
1384 cache.GetList(serialized_cache, false /* include_staleness */, in TEST()
1406 EXPECT_TRUE(restored_cache.RestoreFromListValue(serialized_cache)); in TEST()
1484 base::Value::List serialized_cache; in TEST() local
1485 cache.GetList(serialized_cache, false /* include_staleness */, in TEST()
1503 EXPECT_TRUE(restored_cache.RestoreFromListValue(serialized_cache)); in TEST()
1574 base::Value::List serialized_cache; in TEST() local
[all …]