Documentation ¶
Index ¶
- func DEFAULT_URL_HINT_SZ() uint64
- func SLOT_BITS() uint64
- type Config
- func (c *Config) CoordinatorLog(numEmbServers, numUrlServers int) string
- func (c *Config) DEFAULT_EMBEDDINGS_HINT_SZ() uint64
- func (c *Config) EMBEDDINGS_CLUSTERS_PER_SERVER() int
- func (c *Config) EMBEDDINGS_DIM() uint64
- func (c *Config) EmbeddingServerLog(serverId int) string
- func (c *Config) EmbeddingServerLogWithoutHint(serverId int) string
- func (c *Config) IMAGE_SEARCH() bool
- func (c *Config) MAX_EMBEDDINGS_SERVERS() int
- func (c *Config) MAX_URL_SERVERS() int
- func (c *Config) PREAMBLE() string
- func (c *Config) SIMPLEPIR_EMBEDDINGS_RECORD_LENGTH() int
- func (c *Config) TOTAL_NUM_CLUSTERS() int
- func (c *Config) TxtCorpus(clusterId int) string
- func (c *Config) URL_CLUSTERS_PER_SERVER() int
- func (c *Config) UrlServerLog(serverId int) string
- func (c *Config) UrlServerLogWithoutHint(serverId int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DEFAULT_URL_HINT_SZ ¶
func DEFAULT_URL_HINT_SZ() uint64
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func MakeConfig ¶
func (*Config) CoordinatorLog ¶
func (*Config) DEFAULT_EMBEDDINGS_HINT_SZ ¶
TODO: Fix to be more accurate
func (*Config) EMBEDDINGS_CLUSTERS_PER_SERVER ¶
Round up (# clusters / # embedding servers)
func (*Config) EMBEDDINGS_DIM ¶
func (*Config) EmbeddingServerLog ¶
func (*Config) EmbeddingServerLogWithoutHint ¶
func (*Config) IMAGE_SEARCH ¶
func (*Config) MAX_EMBEDDINGS_SERVERS ¶
func (*Config) MAX_URL_SERVERS ¶
func (*Config) SIMPLEPIR_EMBEDDINGS_RECORD_LENGTH ¶
func (*Config) TOTAL_NUM_CLUSTERS ¶
func (*Config) URL_CLUSTERS_PER_SERVER ¶
Round up (# clusters / # url servers)
func (*Config) UrlServerLog ¶
func (*Config) UrlServerLogWithoutHint ¶
Click to show internal directories.
Click to hide internal directories.