Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_rpc_support.cc75 std::string encoded_header; in SerializeCacheEntryToBufferSlices() local
76 if (!header.AppendToString(&encoded_header)) { in SerializeCacheEntryToBufferSlices()
79 ::grpc::Slice slice(encoded_header); in SerializeCacheEntryToBufferSlices()
136 std::string encoded_header; in SerializeCacheEntryToBufferSlices() local
137 if (!header.AppendToString(&encoded_header)) { in SerializeCacheEntryToBufferSlices()
141 return std::vector<::grpc::Slice>{::grpc::Slice(encoded_header)}; in SerializeCacheEntryToBufferSlices()
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client.cc212 string encoded_claim, encoded_header; in GetTokenFromServiceAccountJson() local
213 TF_RETURN_IF_ERROR(EncodeJwtHeader(private_key_id, &encoded_header)); in GetTokenFromServiceAccountJson()
216 const string to_sign = encoded_header + "." + encoded_claim; in GetTokenFromServiceAccountJson()
/external/python/google-auth-library-python/google/auth/
Djwt.py147 encoded_header, encoded_payload, signature = token.split(b".")
148 signed_section = encoded_header + b"." + encoded_payload
152 header = _decode_jwt_segment(encoded_header)
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py4395 encoded_header = quoprimime.header_encode(header)
4397 encoded_header = quoprimime.header_encode(header, charset)
4398 self.assertEqual(encoded_header, expected_encoded_header)
4418 def _test_header_decode(self, encoded_header, expected_decoded_header): argument
4419 decoded_header = quoprimime.header_decode(encoded_header)