_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c160300
train
// Shutdown terminates any background operations and cleans up.
{ "resource": "" }
c160301
train
// SeqnoUnlock releases the lock on seqno operations.
{ "resource": "" }
c160302
train
// BaseFee returns stellard's current suggestion for the base operation fee.
{ "resource": "" }
c160303
train
// AccountName returns the name for an account.
{ "resource": "" }
c160304
train
// IsPrimary returns true if an account is the primary account for the user.
{ "resource": "" }
c160305
train
// accountState returns the AccountState object for an accountID. // If it doesn't exist in `accounts`, it will return nil, false.
{ "resource": "" }
c160306
train
// accountStateBuild returns the AccountState object for an accountID. // If it doesn't exist in `accounts`, it will make an empty one and // add it to `accounts` before returning it.
{ "resource": "" }
c160307
train
// accountStateRefresh returns the AccountState object for an accountID. // If it doesn't exist in `accounts`, it will make an empty one, add // it to `accounts`, and refresh the data in it before returning.
{ "resource": "" }
c160308
train
// Primed returns true if the WalletState has been refreshed.
{ "resource": "" }
c160309
train
// UpdateAccountEntries gets the bundle from the server and updates the individual // account entries with the server's bundle information.
{ "resource": "" }
c160310
train
// UpdateAccountEntriesWithBundle updates the individual account entries with the // bundle information.
{ "resource": "" }
c160311
train
// RefreshAll refreshes all the accounts.
{ "resource": "" }
c160312
train
// Refresh gets all the data from the server for an account.
{ "resource": "" }
c160313
train
// backgroundRefresh gets any refresh requests and will refresh // the account state if sufficient time has passed since the // last refresh.
{ "resource": "" }
c160314
train
// AccountSeqno is an override of remoter's AccountSeqno that uses // the stored value.
{ "resource": "" }
c160315
train
// AccountSeqnoAndBump gets the current seqno for an account and increments // the stored value.
{ "resource": "" }
c160316
train
// Balances is an override of remoter's Balances that uses stored data.
{ "resource": "" }
c160317
train
// Details is an override of remoter's Details that uses stored data.
{ "resource": "" }
c160318
train
// PendingPayments is an override of remoter's PendingPayments that uses stored data.
{ "resource": "" }
c160319
train
// RecentPayments is an override of remoter's RecentPayments that uses stored data.
{ "resource": "" }
c160320
train
// AddPendingTx adds information about a tx that was submitted to the network. // This allows WalletState to keep track of anything pending when managing // the account seqno.
{ "resource": "" }
c160321
train
// SubmitPayment is an override of remoter's SubmitPayment.
{ "resource": "" }
c160322
train
// SubmitRelayClaim is an override of remoter's SubmitRelayClaim.
{ "resource": "" }
c160323
train
// MarkAsRead is an override of remoter's MarkAsRead.
{ "resource": "" }
c160324
train
// ExchangeRate is an overrider of remoter's ExchangeRate.
{ "resource": "" }
c160325
train
// DumpToLog outputs a summary of WalletState to the debug log.
{ "resource": "" }
c160326
train
// String returns a string representation of WalletState suitable for debug // logging.
{ "resource": "" }
c160327
train
// Reset clears all the data in the WalletState.
{ "resource": "" }
c160328
train
// Refresh updates all the data for this account from the server.
{ "resource": "" }
c160329
train
// AccountSeqno returns the seqno that has already been fetched for // this account.
{ "resource": "" }
c160330
train
// AccountSeqnoAndBump returns the seqno that has already been fetched for // this account. It bumps the seqno up by one.
{ "resource": "" }
c160331
train
// AddPendingTx adds information about a tx that was submitted to the network. // This allows AccountState to keep track of anything pending when managing // the account seqno.
{ "resource": "" }
c160332
train
// RemovePendingTx removes a pending tx from WalletState. It doesn't matter // if it succeeded or failed, just that it is done.
{ "resource": "" }
c160333
train
// Balances returns the balances that have already been fetched for // this account.
{ "resource": "" }
c160334
train
// Details returns the account details that have already been fetched for this account.
{ "resource": "" }
c160335
train
// PendingPayments returns the pending payments that have already been fetched for // this account.
{ "resource": "" }
c160336
train
// RecentPayments returns the recent payments that have already been fetched for // this account.
{ "resource": "" }
c160337
train
// Reset sets the refreshReqs channel to nil so nothing will be put on it.
{ "resource": "" }
c160338
train
// String returns a small string representation of AccountState suitable for // debug logging.
{ "resource": "" }
c160339
train
// PackfileWriter implements the `storer.PackfileWriter` interface.
{ "resource": "" }
c160340
train
// Config implements the `storer.Storer` interface.
{ "resource": "" }
c160341
train
// ForEachObjectHash implements the `storer.LooseObjectStorer` interface.
{ "resource": "" }
c160342
train
// LooseObjectHash implements the `storer.LooseObjectStorer` interface.
{ "resource": "" }
c160343
train
// DeleteLooseObject implements the `storer.LooseObjectStorer` interface.
{ "resource": "" }
c160344
train
// DeleteOldObjectPackAndIndex implements the // `storer.PackedObjectStorer` interface.
{ "resource": "" }
c160345
train
// NewFolderFromProtocol creates a Folder from a // keybase1.Folder.
{ "resource": "" }
c160346
train
// ToKBFolder creates a keybase1.Folder from a Folder.
{ "resource": "" }
c160347
train
// DataFrom returns auxiliary data from a folder sent via the // keybase1 protocol.
{ "resource": "" }
c160348
train
// ToKBFolder converts this data into an object suitable for the // keybase1 protocol.
{ "resource": "" }
c160349
train
// putBlockToServer either puts the full block to the block server, or // just adds a reference, depending on the refnonce in blockPtr.
{ "resource": "" }
c160350
train
// GetFileInformation does stat for dokan.
{ "resource": "" }
c160351
train
// Check whether the API server has told us we're out of date.
{ "resource": "" }
c160352
train
// Wait for client type to connect to service.
{ "resource": "" }
c160353
train
// getUpdateInfo2 is to drive the redbar on mobile and desktop apps. The redbar tells you if // you are critically out of date.
{ "resource": "" }
c160354
train
// allActiveDeviceEKMetadata fetches the latest deviceEK for each of your // devices, filtering out the ones that are stale.
{ "resource": "" }
c160355
train
// For the common "repo doesn't exist" case, use the error type that the client can recognize.
{ "resource": "" }
c160356
train
// CleanOldDeletedRepos completely removes any "deleted" repos that // have been deleted for longer than `minDeletedAgeForCleaning`. The // caller is responsible for syncing any data to disk, if desired.
{ "resource": "" }
c160357
train
// UpdateRepoMD lets the Keybase service know that a repo's MD has // been updated.
{ "resource": "" }
c160358
train
// GetOrCreateRepoAndID returns a filesystem object rooted at the // specified repo, along with the stable repo ID. If the repo hasn't // been created yet, it generates a new ID and creates the repo. The // caller is responsible for syncing the FS and flushing the journal, // if desired.
{ "resource": "" }
c160359
train
// CreateRepoAndID returns a new stable repo ID for the provided // repoName in the given TLF. If the repo has already been created, // it returns a `RepoAlreadyExistsError`. If `repoName` already // exists, but is a symlink to another renamed directory, the symlink // will be removed in favor of the new repo. The c...
{ "resource": "" }
c160360
train
// DeleteRepo "deletes" the given repo in the given TLF. Right now it // simply moves the repo out of the way to a special directory, to // allow any concurrent writers to finish their pushes without // triggering conflict resolution. The caller is responsible for // syncing the FS and flushing the journal, if desire...
{ "resource": "" }
c160361
train
// NeedsGC checks the given repo storage layer against the given // options to see what kinds of GC are needed on the repo.
{ "resource": "" }
c160362
train
// LastGCTime returns the last time the repo was successfully // garbage-collected.
{ "resource": "" }
c160363
train
// shutdownLoop tracks in-flight requests
{ "resource": "" }
c160364
train
// calculatePriority returns either a base priority for an unsynced TLF or a // high priority for a synced TLF.
{ "resource": "" }
c160365
train
// request maps the parent->child block relationship in the prefetcher, and it // triggers child prefetches that aren't already in progress.
{ "resource": "" }
c160366
train
// handleCriticalRequests should be called periodically during any // long prefetch requests, to make sure we handle critical requests // quickly. These are requests that are required to be run in the // main processing goroutine, but won't interfere with whatever // request we're in the middle of.
{ "resource": "" }
c160367
train
// ProcessBlockForPrefetch triggers a prefetch if appropriate.
{ "resource": "" }
c160368
train
// WaitChannelForBlockPrefetch implements the Prefetcher interface for // blockPrefetcher.
{ "resource": "" }
c160369
train
// Status implements the Prefetcher interface for // blockPrefetcher.
{ "resource": "" }
c160370
train
// OverallSyncStatus implements the Prefetcher interface for // blockPrefetcher.
{ "resource": "" }
c160371
train
// Shutdown implements the Prefetcher interface for blockPrefetcher.
{ "resource": "" }
c160372
train
// NewNotifyRouter makes a new notification router; we should only // make one of these per process.
{ "resource": "" }
c160373
train
// GetChannels retrieves which notification channels a connection is interested it // given its ID.
{ "resource": "" }
c160374
train
// AddConnection should be called every time there's a new RPC connection // established for this server. The caller should pass in the Transporter // and also the channel that will get messages when the channel closes.
{ "resource": "" }
c160375
train
// SetChannels sets which notification channels are interested for the connection // with the given connection ID.
{ "resource": "" }
c160376
train
// HandleLogout is called whenever the current user logged out. It will broadcast // the message to all connections who care about such a message.
{ "resource": "" }
c160377
train
// HandleLogin is called whenever a user logs in. It will broadcast // the message to all connections who care about such a message.
{ "resource": "" }
c160378
train
// HandleTrackingChanged is called whenever we have a new tracking or // untracking chain link related to a given user. It will broadcast the // messages to all curious listeners. // isTracking is set to true if current user is tracking uid.
{ "resource": "" }
c160379
train
// HandleBadgeState is called whenever the badge state changes // It will broadcast the messages to all curious listeners.
{ "resource": "" }
c160380
train
// HandleFSOnlineStatusChanged is called when KBFS's online status changes. It // will broadcast the messages to all curious listeners.
{ "resource": "" }
c160381
train
// HandleFSOverallSyncStatusChanged is called when the overall sync status // changes. It will broadcast the messages to all curious listeners.
{ "resource": "" }
c160382
train
// HandleFSActivity is called for any KBFS notification. It will broadcast the messages // to all curious listeners.
{ "resource": "" }
c160383
train
// HandleFSPathUpdated is called for any path update notification. It // will broadcast the messages to all curious listeners.
{ "resource": "" }
c160384
train
// HandleFSEditListResponse is called for KBFS edit list response notifications.
{ "resource": "" }
c160385
train
// HandleFSEditListRequest is called for KBFS edit list request notifications.
{ "resource": "" }
c160386
train
// HandleFSSyncStatus is called for KBFS sync status notifications.
{ "resource": "" }
c160387
train
// HandleFSSyncEvent is called for KBFS sync event notifications.
{ "resource": "" }
c160388
train
// HandleDeviceCloneNotification is called when a run of the device clone status update // finds a newly-added, possible clone. It will broadcast the messages to all curious listeners.
{ "resource": "" }
c160389
train
// HandlePaperKeyCached is called whenever a paper key is cached // in response to a rekey harassment.
{ "resource": "" }
c160390
train
// HandleKeyfamilyChanged is called whenever a user's keyfamily changes.
{ "resource": "" }
c160391
train
// HandleServiceShutdown is called whenever the service shuts down.
{ "resource": "" }
c160392
train
// HandleAppExit is called whenever an app exit command is issued
{ "resource": "" }
c160393
train
// HandlePGPKeyInSecretStoreFile is called to notify a user that they have a PGP // key that is unlockable by a secret stored in a file in their home directory.
{ "resource": "" }
c160394
train
// teamID and teamName are not necessarily the same team
{ "resource": "" }
c160395
train
// HandleTeamListUnverifiedChanged is called when a notification is received from gregor that // we think might be of interest to the UI, specifically the parts of the UI that update using // the TeamListUnverified rpc.
{ "resource": "" }
c160396
train
// RootAuditError is called when the merkle root auditor finds an invalid skip // sequence in a random old block.
{ "resource": "" }
c160397
train
// NewKex2Provisioner creates a Kex2Provisioner engine.
{ "resource": "" }
c160398
train
// Run starts the provisioner engine.
{ "resource": "" }
c160399
train
// GetHelloArg implements GetHelloArg in kex2.Provisioner.
{ "resource": "" }