_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c159000 | train | // GetTeamRootID implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c159001 | train | // CreateTeamTLF implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c159002 | train | // FavoriteAdd implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c159003 | train | // FavoriteList implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c159004 | train | // Notify implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c159005 | train | // NotifyPathUpdated implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c159006 | train | // PutGitMetadata implements the KBPKI interface for KBPKIClient. | {
"resource": ""
} | ||
c159007 | train | // doTimedProfile asynchronously runs a profile with the given
// timedProfiler and associated parameters. | {
"resource": ""
} | ||
c159008 | train | // NewMDServerDir constructs a new MDServerDisk that stores its data
// in the given directory. | {
"resource": ""
} | ||
c159009 | train | // NewMDServerTempDir constructs a new MDServerDisk that stores its
// data in a temp directory which is cleaned up on shutdown. | {
"resource": ""
} | ||
c159010 | train | // GetForTLF implements the MDServer interface for MDServerDisk. | {
"resource": ""
} | ||
c159011 | train | // GetForTLFByTime implements the MDServer interface for MDServerDisk. | {
"resource": ""
} | ||
c159012 | train | // GetRange implements the MDServer interface for MDServerDisk. | {
"resource": ""
} | ||
c159013 | train | // Put implements the MDServer interface for MDServerDisk. | {
"resource": ""
} | ||
c159014 | train | // PruneBranch implements the MDServer interface for MDServerDisk. | {
"resource": ""
} | ||
c159015 | train | // TruncateUnlock implements the MDServer interface for MDServerDisk. | {
"resource": ""
} | ||
c159016 | train | // Shutdown implements the MDServer interface for MDServerDisk. | {
"resource": ""
} | ||
c159017 | train | // GetKeyBundles implements the MDServer interface for MDServerDisk. | {
"resource": ""
} | ||
c159018 | train | // FindNextMD implements the MDServer interface for MDServerDisk. | {
"resource": ""
} | ||
c159019 | train | // BootstrapActiveDeviceFromConfig takes the user's config.json, keys.mpack file and
// secret store to populate ActiveDevice, and to have all credentials necessary
// to sign NIST tokens, allowing the user to act as if "logged in". Will return
// nil if everything work, LoginRequiredError if a real "login" is required... | {
"resource": ""
} | ||
c159020 | train | // BootstrapActiveDeviceWithMetaContext will setup an ActiveDevice with a NIST Factory
// for the caller. The m.loginContext passed through isn't really needed
// for anything aside from assertions, but as we phase out LoginState, we'll
// leave it here so that assertions in LoginState can still pass. | {
"resource": ""
} | ||
c159021 | train | // BootstrapActiveDeviceWithMetaContextAndAssertUID will setup an ActiveDevice with a NIST Factory
// for the caller. It only works if we're logged in as the given UID | {
"resource": ""
} | ||
c159022 | train | // notifyWorker notifies workers that there is a new request for processing. | {
"resource": ""
} | ||
c159023 | train | // PutInCaches implements the BlockRetriever interface for
// BlockRetrievalQueue. | {
"resource": ""
} | ||
c159024 | train | // checkCaches copies a block into `block` if it's in one of our caches. | {
"resource": ""
} | ||
c159025 | train | // Request implements the BlockRetriever interface for blockRetrievalQueue. | {
"resource": ""
} | ||
c159026 | train | // FinalizeRequest is the last step of a retrieval request once a block has
// been obtained. It removes the request from the blockRetrievalQueue,
// preventing more requests from mutating the retrieval, then notifies all
// subscribed requests. | {
"resource": ""
} | ||
c159027 | train | // Shutdown is called when we are no longer accepting requests. | {
"resource": ""
} | ||
c159028 | train | // TogglePrefetcher allows upstream components to turn the prefetcher on or
// off. If an error is returned due to a context cancelation, the prefetcher is
// never re-enabled. | {
"resource": ""
} | ||
c159029 | train | // Prefetcher allows us to retrieve the prefetcher. | {
"resource": ""
} | ||
c159030 | train | // Serve an RPC out of the offline cache. The machinery only kicks
// into gear if the `oa` OfflineAvailability mode is set to
// BEST_EFFORT. If not, then just use the function `handler` which
// does the main work of handling the RPC. Note that `handler` must
// not modify anything in the caller's stack frame; it mig... | {
"resource": ""
} | ||
c159031 | train | // NewCmdSimpleFSList creates a new cli.Command. | {
"resource": ""
} | ||
c159032 | train | // Error implements the error interface of PaddedBlockReadError. | {
"resource": ""
} | ||
c159033 | train | // ReadSelfWrite converts the given message string into the
// SelfWriteMessage type, if possible. | {
"resource": ""
} | ||
c159034 | train | // MakeFuseDebugFn returns a function that logs its argument to the
// given log, suitable to assign to fuse.Debug. | {
"resource": ""
} | ||
c159035 | train | // MakeFuseVDebugFn returns a function that logs its argument to the
// given vlog at level 1, suitable to assign to fuse.Debug. | {
"resource": ""
} | ||
c159036 | train | // NewMerkleAudit creates a new MerkleAudit engine. | {
"resource": ""
} | ||
c159037 | train | // randSeqno picks a random number between [low, high) that's different from prev. | {
"resource": ""
} | ||
c159038 | train | // WaitToStart blocks until the limiter would allow one more routine to start
// working on the thing. | {
"resource": ""
} | ||
c159039 | train | // after resolution, check if this is a self load | {
"resource": ""
} | ||
c159040 | train | // LoadUserEmails returns emails for logged in user | {
"resource": ""
} | ||
c159041 | train | // ParseArgv gets and validates the level string. | {
"resource": ""
} | ||
c159042 | train | // Make a name that looks like a tlfname but is sorted by activity and missing
// myUsername. | {
"resource": ""
} | ||
c159043 | train | // Make a name that looks like a tlfname but is sorted by activity and missing myUsername.
// This is the less featureful version for convs that can't be unboxed. | {
"resource": ""
} | ||
c159044 | train | // newMessageView extracts from a message the parts for display
// It may fetch the superseding message. So that for example a TEXT message will show its EDIT text. | {
"resource": ""
} | ||
c159045 | train | // SplitExtension separates any extension suffix from the assertions. | {
"resource": ""
} | ||
c159046 | train | // SplitName splits a TLF name into components. | {
"resource": ""
} | ||
c159047 | train | // MakeCanonicalName makes a CanonicalName from components. | {
"resource": ""
} | ||
c159048 | train | // MakeCanonicalNameForTeam makes a CanonicalName from components for a team. | {
"resource": ""
} | ||
c159049 | train | // CanonicalToPreferredName returns the preferred TLF name, given a
// canonical name and a username. The username may be empty, and
// results in the canonical name being being returned unmodified. | {
"resource": ""
} | ||
c159050 | train | // UserIsOnlyWriter returns true if and only if username is the only writer in
// a TLF represented by canon. In any error case, false is returned. This
// function only naively looks at the TLF name, so it should only be used on
// non-team TLFs. | {
"resource": ""
} | ||
c159051 | train | // NewKeyManagerStandard returns a new KeyManagerStandard | {
"resource": ""
} | ||
c159052 | train | // GetTLFCryptKeyForEncryption implements the KeyManager interface for
// KeyManagerStandard. | {
"resource": ""
} | ||
c159053 | train | // GetTLFCryptKeyForMDDecryption implements the KeyManager interface
// for KeyManagerStandard. | {
"resource": ""
} | ||
c159054 | train | // GetTLFCryptKeyForBlockDecryption implements the KeyManager interface for
// KeyManagerStandard. | {
"resource": ""
} | ||
c159055 | train | // GetTLFCryptKeyOfAllGenerations implements the KeyManager interface for
// KeyManagerStandard. | {
"resource": ""
} | ||
c159056 | train | // generateKeyMapForUsers returns a kbfsmd.UserDevicePublicKeys object for
// the given list of users. Note that keyless users are retained in
// the returned kbfsmd.UserDevicePublicKeys object. | {
"resource": ""
} | ||
c159057 | train | // ReadFile for dokan reads. | {
"resource": ""
} | ||
c159058 | train | // WriteFile for dokan writes. | {
"resource": ""
} | ||
c159059 | train | // Export is used by IDRes. It includes PGP keys. | {
"resource": ""
} | ||
c159060 | train | // ExportDeviceKeys is used by ExportToUserPlusKeys. The key list
// only contains device keys. It also returns the number of PGP
// keys in the key family. | {
"resource": ""
} | ||
c159061 | train | // ExportPerUserKeys exports the per-user public KIDs. | {
"resource": ""
} | ||
c159062 | train | // ExportDeletedDeviceKeys is used by ExportToUserPlusKeys. The key list
// only contains deleted device keys. | {
"resource": ""
} | ||
c159063 | train | // ExportAllPGPKeys exports all pgp keys. | {
"resource": ""
} | ||
c159064 | train | // It's the caller's responsibility to make sure add isn't called
// twice for the same Observer. | {
"resource": ""
} | ||
c159065 | train | // promptPassphrase asks the user for a passphrase.
// Used during signup. | {
"resource": ""
} | ||
c159066 | train | // promptNewPassphrase asks the user for a new passphrase.
// Used when changing passphrases. | {
"resource": ""
} | ||
c159067 | train | // PromptPaperPhrase asks the user to enter a paper key phrase.
// Used in `rekey paper` command. | {
"resource": ""
} | ||
c159068 | train | // Write implements the fs.HandleWriter interface for ResetCachesFile. | {
"resource": ""
} | ||
c159069 | train | // SetLogger sets the logger | {
"resource": ""
} | ||
c159070 | train | // NewPlist constructs a launchd service plist | {
"resource": ""
} | ||
c159071 | train | // Start will start the service. | {
"resource": ""
} | ||
c159072 | train | // HasPlist returns true if service has plist installed | {
"resource": ""
} | ||
c159073 | train | // Restart a service. | {
"resource": ""
} | ||
c159074 | train | // WaitForStatus waits for service status to be available | {
"resource": ""
} | ||
c159075 | train | // WaitForExit waits for service to exit | {
"resource": ""
} | ||
c159076 | train | // Install will install the launchd service | {
"resource": ""
} | ||
c159077 | train | // Uninstall will uninstall the launchd service | {
"resource": ""
} | ||
c159078 | train | // ListServices will return service with label that starts with a filter string. | {
"resource": ""
} | ||
c159079 | train | // Description returns service status info | {
"resource": ""
} | ||
c159080 | train | // StatusDescription returns the service status description | {
"resource": ""
} | ||
c159081 | train | // LoadStatus returns service status | {
"resource": ""
} | ||
c159082 | train | // CheckPlist returns false, if the plist destination doesn't match what we
// would install. This means the plist is old and we need to update it. | {
"resource": ""
} | ||
c159083 | train | // Install will install a service | {
"resource": ""
} | ||
c159084 | train | // Uninstall will uninstall a service | {
"resource": ""
} | ||
c159085 | train | // ShowStatus shows status info for a service | {
"resource": ""
} | ||
c159086 | train | // Restart restarts a service | {
"resource": ""
} | ||
c159087 | train | // Check if plist matches plist at path | {
"resource": ""
} | ||
c159088 | train | // NewDirtyFile constructs a new `DirtyFile` instance. | {
"resource": ""
} | ||
c159089 | train | // BlockNeedsCopy returns true if the block should be copied by anyone
// who next tries to modify it. | {
"resource": ""
} | ||
c159090 | train | // UpdateNotYetSyncingBytes adds `newBytes` to the number of
// outstanding to-be-synced bytes. | {
"resource": ""
} | ||
c159091 | train | // IsBlockOrphaned returns true if the block has been orphaned and can
// no longer be reached in the file. | {
"resource": ""
} | ||
c159092 | train | // SetBlockSyncing is called to indicate that the block pointed to by
// `ptr` is currently being synced. | {
"resource": ""
} | ||
c159093 | train | // ResetSyncingBlocksToDirty can be called when a sync failed, and all
// the syncing blocks need to transition back to being dirty. | {
"resource": ""
} | ||
c159094 | train | // FinishSync is called to indicate that a sync has finished
// successfully. | {
"resource": ""
} | ||
c159095 | train | // AddErrListener adds a callback that will be invoked if an error
// happens during the sync. | {
"resource": ""
} | ||
c159096 | train | // NotifyErrListeners notifies all registered callbacks that an error
// happened, if `err` is `nil`. It also resets the registered
// listeners. | {
"resource": ""
} | ||
c159097 | train | // NumErrListeners returns the number of registered error listeners. | {
"resource": ""
} | ||
c159098 | train | // SetBlockOrphaned is called to indicate that a block has been
// orphaned, and can no longer be reached within the file. | {
"resource": ""
} | ||
c159099 | train | // AddDeferredNewBytes adds `bytes` to the count of all the bytes that
// have been deferred until after the current sync finishes. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.