_id
stringlengths 2
7
| title
stringclasses 1
value | partition
stringclasses 3
values | text
stringlengths 6
2.61k
| language
stringclasses 1
value | meta_information
dict |
---|---|---|---|---|---|
c182200 | test | // Startup is not required to use the ReplGroupStore; it will automatically
// connect to backend stores as needed. However, if you'd like to use the ring
// service to receive ring updates and have the ReplGroupStore automatically
// update itself accordingly, Startup will launch a connector to that service.
// Otherwise, you will need to call SetRing yourself to inform the
// ReplGroupStore of which backends to connect to. | {
"resource": ""
} |
||
c182201 | test | // shutdownFinished closes the shutdownComplete channel
// 10 miliseconds after being invoked (to give a cmd ctrl client
// a chance to return. | {
"resource": ""
} |
||
c182202 | test | // Stop the backend and shutdown all listeners.
// Does NOT exist the process. | {
"resource": ""
} |
||
c182203 | test | // Exit the backend and shutdown all listeners.
// Closes the ShutdownComplete chan when finsihed. | {
"resource": ""
} |
||
c182204 | test | // SelfUpgrade deploys an updated binary to disk using cmdctrl.GithubUpdater | {
"resource": ""
} |
||
c182205 | test | // SoftwareVersion returns the version of the currently running instance | {
"resource": ""
} |
||
c182206 | test | // Shutdown will close any existing connections; note that Startup may
// automatically get called with any further activity, but it will use a new
// connection. To ensure the groupStore has no further activity, use Close. | {
"resource": ""
} |
||
c182207 | test | // Fetches a rant and its comments given a valid rant id | {
"resource": ""
} |
||
c182208 | test | // Fetches ranter's profile data | {
"resource": ""
} |
||
c182209 | test | // Search for rants matching the search term | {
"resource": ""
} |
||
c182210 | test | // Returns a random rant | {
"resource": ""
} |
||
c182211 | test | // Returns the rants tagged for 'weekly' | {
"resource": ""
} |
||
c182212 | test | // Fetches the userId given a valid username | {
"resource": ""
} |
||
c182213 | test | // Shutdown will close all connections to backend stores and shutdown any
// running ring service connector. Note that the ReplValueStore can still be
// used after Shutdown, it will just start reconnecting to backends again. To
// relaunch the ring service connector, you will need to call Startup. | {
"resource": ""
} |
||
c182214 | test | // FExists true if a file or dir exists | {
"resource": ""
} |
||
c182215 | test | // Listen for a Shutdown signal or Outbound messages. | {
"resource": ""
} |
||
c182216 | test | // Group creates a Group type from a domain, with the given name and members | {
"resource": ""
} |
||
c182217 | test | // Groups lists the groups of a domain | {
"resource": ""
} |
||
c182218 | test | // GetGroup retrieves a group from a domain with the given group name | {
"resource": ""
} |
||
c182219 | test | // Reticence trucate the string in the space or on pontuation mark and put
// reticences in the resulting string. | {
"resource": ""
} |
||
c182220 | test | // Check the user password. Graphics character are allowed. See unicode.IsGraphic. | {
"resource": ""
} |
||
c182221 | test | // CleanUrl check the characteres in url and parser it with url.Parse.
// If url is ok return one string with it or if the scheme is missing
// return the url and an error. | {
"resource": ""
} |
||
c182222 | test | // A capacity of 2 seems to be a good guess for the number of aliases. | {
"resource": ""
} |
||
c182223 | test | // Params store the mapping of ParamName -> Parameter for the given structure.
// Since multiple names can be affected to a single parameter, multiple
// keys can be associated with a single parameter. | {
"resource": ""
} |
||
c182224 | test | // Parse discovers the given parameters structure and associates the structure's
// field names with their values into the Params structure. | {
"resource": ""
} |
||
c182225 | test | // Email returns the forwarder email on the primary domain | {
"resource": ""
} |
||
c182226 | test | // Forwarder returns a forwarder type with the given from and dest | {
"resource": ""
} |
||
c182227 | test | // Forwarders lists the forwarders of a domain | {
"resource": ""
} |
||
c182228 | test | // GetForwarder retreives a forwarder with the given name | {
"resource": ""
} |
||
c182229 | test | // New returns a new Communigate Pro client | {
"resource": ""
} |
||
c182230 | test | //EscapeCommaSeparated escapes the args and make a comma separeted list with it. | {
"resource": ""
} |
||
c182231 | test | // Alias creates an Alias type from an account | {
"resource": ""
} |
||
c182232 | test | // Email returns the alias email on the primary domain name | {
"resource": ""
} |
||
c182233 | test | // Aliases lists the aliases of an account | {
"resource": ""
} |
||
c182234 | test | // RealName return the real name of the account as registered | {
"resource": ""
} |
||
c182235 | test | // Email returns the primary email of the account | {
"resource": ""
} |
||
c182236 | test | // Account returns an account type with the given name | {
"resource": ""
} |
||
c182237 | test | // Accounts lists the acounts of a domain | {
"resource": ""
} |
||
c182238 | test | // Exists returns true if the domain | {
"resource": ""
} |
||
c182239 | test | // Aliases returns a list of domain aliases | {
"resource": ""
} |
||
c182240 | test | // Domain creates a domain type with the given name | {
"resource": ""
} |
||
c182241 | test | // Domains lists the domains on the server | {
"resource": ""
} |
||
c182242 | test | // New creates a new Err with the given Info and optional public message | {
"resource": ""
} |
||
c182243 | test | // Wrap the given error in an errs.Err. If err is nil, Wrap returns nil.
// Use Err.WrappedError for direct access to the wrapped error. | {
"resource": ""
} |
||
c182244 | test | // Merge in the given info and public message parts into this error | {
"resource": ""
} |
||
c182245 | test | // Get the string representation of the wrapper error,
// or an empty string if wrappedErr is nil | {
"resource": ""
} |
||
c182246 | test | // Helper to concatenate arguments into a string,
// with spaces between the arguments | {
"resource": ""
} |
||
c182247 | test | // MailingList creates a MailingList type from a domain, with the given name | {
"resource": ""
} |
||
c182248 | test | // Subscriber create a Subscriber type from a MalingList, with the given email
// and name | {
"resource": ""
} |
||
c182249 | test | // Subscribers returns a list of subscriber of a mailing list. | {
"resource": ""
} |
||
c182250 | test | // MailingLists lists the mailing lists of a domain | {
"resource": ""
} |
||
c182251 | test | // NewByteKeyItem creates a new item from bytes | {
"resource": ""
} |
||
c182252 | test | // CompareBytes is a byte item comparator | {
"resource": ""
} |
||
c182253 | test | // CompareInt is a helper integer item comparator | {
"resource": ""
} |
||
c182254 | test | // Malloc implements C like memory allocator | {
"resource": ""
} |
||
c182255 | test | // Free implements C like memory deallocator | {
"resource": ""
} |
||
c182256 | test | // Stats returns allocator statistics
// Returns jemalloc stats | {
"resource": ""
} |
||
c182257 | test | // FreeOSMemory forces jemalloc to scrub memory and release back to OS | {
"resource": ""
} |
||
c182258 | test | // Add an item into skiplist segment | {
"resource": ""
} |
||
c182259 | test | // NewSegment creates a new skiplist segment | {
"resource": ""
} |
||
c182260 | test | // Assemble multiple skiplist segments and form a parent skiplist | {
"resource": ""
} |
||
c182261 | test | // CompareNodeTable implements comparator for nodetable instances | {
"resource": ""
} |
||
c182262 | test | // New creates a nodetable instance | {
"resource": ""
} |
||
c182263 | test | // Stats returns nodetable statistics | {
"resource": ""
} |
||
c182264 | test | // MemoryInUse returns memory used by nodetable instance | {
"resource": ""
} |
||
c182265 | test | // Get returns node pointer for the lookup key | {
"resource": ""
} |
||
c182266 | test | // Update inserts or replaces an existing entry | {
"resource": ""
} |
||
c182267 | test | // Remove an item from the nodetable | {
"resource": ""
} |
||
c182268 | test | // Close destroys the nodetable | {
"resource": ""
} |
||
c182269 | test | // MemoryInUse returns total memory used by nodetables in a process | {
"resource": ""
} |
||
c182270 | test | // Fill free blocks with a const
// This can help debugging of memory reclaimer bugs | {
"resource": ""
} |
||
c182271 | test | // Seek to a specified key or the next bigger one if an item with key does not
// exist. | {
"resource": ""
} |
||
c182272 | test | // Next moves iterator cursor to the next item | {
"resource": ""
} |
||
c182273 | test | // Refresh is a helper API to call refresh accessor tokens manually
// This would enable SMR to reclaim objects faster if an iterator is
// alive for a longer duration of time. | {
"resource": ""
} |
||
c182274 | test | // Close executes destructor for iterator | {
"resource": ""
} |
||
c182275 | test | // NewIterator creates an iterator for a Nitro snapshot | {
"resource": ""
} |
||
c182276 | test | // SeekFirst moves cursor to the first item | {
"resource": ""
} |
||
c182277 | test | // Next moves cursor to the next item | {
"resource": ""
} |
||
c182278 | test | // Seek moves cursor to the specified item, if present | {
"resource": ""
} |
||
c182279 | test | // Keys returns all keys from the node list | {
"resource": ""
} |
||
c182280 | test | // Remove a key from the node list | {
"resource": ""
} |
||
c182281 | test | // Add a key into the node list | {
"resource": ""
} |
||
c182282 | test | // NewWithConfig creates a config from given config | {
"resource": ""
} |
||
c182283 | test | // FreeNode deallocates the skiplist node memory | {
"resource": ""
} |
||
c182284 | test | // MakeBuf creates an action buffer | {
"resource": ""
} |
||
c182285 | test | // Size returns the size of a node | {
"resource": ""
} |
||
c182286 | test | // NewLevel returns a random level for the next node | {
"resource": ""
} |
||
c182287 | test | // Insert adds an item into the skiplist | {
"resource": ""
} |
||
c182288 | test | // Insert2 is a more verbose version of Insert | {
"resource": ""
} |
||
c182289 | test | // Insert3 is more verbose version of Insert2 | {
"resource": ""
} |
||
c182290 | test | // Delete an item from the skiplist | {
"resource": ""
} |
||
c182291 | test | // DeleteNode an item from the skiplist by specifying its node | {
"resource": ""
} |
||
c182292 | test | // GetRangeSplitItems returns `nways` split range pivots of the skiplist items
// Explicit barrier and release should be used by the caller before
// and after this function call | {
"resource": ""
} |
||
c182293 | test | // Bytes return item data bytes | {
"resource": ""
} |
||
c182294 | test | // ItemSize returns total bytes consumed by item representation | {
"resource": ""
} |
||
c182295 | test | // KVFromBytes extracts key-value pair from item bytes returned by iterator | {
"resource": ""
} |
||
c182296 | test | // CompareKV is a comparator for KV item | {
"resource": ""
} |
||
c182297 | test | // Emits an Event from the EventController. Takes an EventBody which is used
// to build an Event. Returns number of handlers that
// received the event and error if an error was raised. | {
"resource": ""
} |
||
c182298 | test | // Unregisters Handler from the EventController. This is idempotent where if a Handler is
// not registered no error is returned. | {
"resource": ""
} |
||
c182299 | test | // Returns bool on whether the Handler is registered with this EventController. | {
"resource": ""
} |