Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/apache/cassandra-python-driver
/ write_stringmap
Function
write_stringmap
cassandra/protocol.py:1399–1403 ·
view source on GitHub ↗
(f, strmap)
Source
from the content-addressed store, hash-verified
1397
1398
1399
def
write_stringmap(f, strmap):
1400
write_short(f, len(strmap))
1401
for
k, v in strmap.items():
1402
write_string(f, k)
1403
write_string(f, v)
1404
1405
1406
def
read_bytesmap(f):
Callers
2
test_write_read_stringmap
Method · 0.90
send_body
Method · 0.85
Calls
3
write_short
Function · 0.85
write_string
Function · 0.85
items
Method · 0.45
Tested by
1
test_write_read_stringmap
Method · 0.72