- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SaveTiles (0.13 sec)
-
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go
// When the client confirms the validity of the tile data, // it will call SaveTiles to signal that they can be safely // written to persistent storage. // See also https://research.swtch.com/tlog#authenticating_tiles. ReadTiles(tiles []Tile) (data [][]byte, err error) // SaveTiles informs the TileReader that the tile data // returned by ReadTiles has been confirmed as valid
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/client.go
// markTileSaved records that tile is already present in the on-disk cache, // so that a future SaveTiles for that tile can be ignored. func (c *Client) markTileSaved(tile tlog.Tile) { c.tileSavedMu.Lock() c.tileSaved[tile] = true c.tileSavedMu.Unlock() } // SaveTiles saves the now validated tiles. func (r *tileReader) SaveTiles(tiles []tlog.Tile, data [][]byte) { c := r.c // Determine which tiles need saving.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 17:50:49 UTC 2024 - 19.1K bytes - Viewed (0)