_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c161100
train
// Fingerprint matching is on the suffixes. If the assertion matches // any suffix of the proof, then we're OK
{ "resource": "" }
c161101
train
// Parse a name like "mlsteele,malgorithms@twitter#bot (conflicted copy 2017-03-04 #2)"
{ "resource": "" }
c161102
train
// DirEntryMapToDirEntries returns a `DirEntries` slice of all the // entries in the given map.
{ "resource": "" }
c161103
train
// GetJournalManager returns the JournalManager tied to a particular // config.
{ "resource": "" }
c161104
train
// TLFJournalEnabled returns true if journaling is enabled for the // given TLF.
{ "resource": "" }
c161105
train
// WaitForTLFJournal waits for the corresponding journal to flush, if // one exists.
{ "resource": "" }
c161106
train
// Change the passphrase from old to new. If old isn't set, and force is false, // then prompt at the UI for it. If old isn't set and force is true, then // we'll try to force a passphrase change.
{ "resource": "" }
c161107
train
// resetAccount resets the user's account; it's meant only for devel and tests. // passphrase is optional and will be prompted for if not supplied.
{ "resource": "" }
c161108
train
// Start reset process for the user based on their username or email. If // neither are known the user will be prompted for their passphrase to start // the process.
{ "resource": "" }
c161109
train
// Aborts the reset process
{ "resource": "" }
c161110
train
// Mark a register as unuseable
{ "resource": "" }
c161111
train
// Make sure a key is a simple snake case name. // Does not check whether it's banned.
{ "resource": "" }
c161112
train
// Mode returns the file mode bits
{ "resource": "" }
c161113
train
// ModTime returns modification time
{ "resource": "" }
c161114
train
// Given an LSCOLORS string, fill in the appropriate keys and values of the // global colorMap.
{ "resource": "" }
c161115
train
// Comparison function used for sorting Listings by name.
{ "resource": "" }
c161116
train
// Comparison function used for sorting Listings by modification time, from most // recent to oldest.
{ "resource": "" }
c161117
train
// Comparison function used for sorting Listings by size, from largest to // smallest.
{ "resource": "" }
c161118
train
// Sort the given listings, taking into account the current program options.
{ "resource": "" }
c161119
train
// IsNil returns true if this SignatureInfo is nil.
{ "resource": "" }
c161120
train
// Equals returns true if this SignatureInfo matches the given one.
{ "resource": "" }
c161121
train
// DeepCopy makes a complete copy of this SignatureInfo.
{ "resource": "" }
c161122
train
// String implements the fmt.Stringer interface for SignatureInfo.
{ "resource": "" }
c161123
train
// Sign signs the given data and returns a SignatureInfo.
{ "resource": "" }
c161124
train
// SignForKBFS signs the given data with the KBFS prefix and returns a SignatureInfo.
{ "resource": "" }
c161125
train
// SignToString signs the given data and returns a string.
{ "resource": "" }
c161126
train
// Verify verifies the given message against the given SignatureInfo, // and returns nil if it verifies successfully, or an error otherwise.
{ "resource": "" }
c161127
train
// Sign implements Signer for SigningKeySigner.
{ "resource": "" }
c161128
train
// SignForKBFS implements Signer for SigningKeySigner.
{ "resource": "" }
c161129
train
// SignToString implements Signer for SigningKeySigner.
{ "resource": "" }
c161130
train
// DoesCacheHaveSpace implements the DiskBlockCache interface for // diskBlockCacheWrapped.
{ "resource": "" }
c161131
train
// Get implements the DiskBlockCache interface for diskBlockCacheWrapped.
{ "resource": "" }
c161132
train
// GetMetadata implements the DiskBlockCache interface for // diskBlockCacheWrapped.
{ "resource": "" }
c161133
train
// GetPefetchStatus implements the DiskBlockCache interface for // diskBlockCacheWrapped.
{ "resource": "" }
c161134
train
// Put implements the DiskBlockCache interface for diskBlockCacheWrapped.
{ "resource": "" }
c161135
train
// Delete implements the DiskBlockCache interface for diskBlockCacheWrapped.
{ "resource": "" }
c161136
train
// UpdateMetadata implements the DiskBlockCache interface for // diskBlockCacheWrapped.
{ "resource": "" }
c161137
train
// ClearAllTlfBlocks implements the DiskBlockCache interface for // diskBlockCacheWrapper.
{ "resource": "" }
c161138
train
// GetLastUnrefRev implements the DiskBlockCache interface for // diskBlockCacheWrapped.
{ "resource": "" }
c161139
train
// Status implements the DiskBlockCache interface for diskBlockCacheWrapped.
{ "resource": "" }
c161140
train
// Mark implements the DiskBlockCache interface for diskBlockCacheWrapped.
{ "resource": "" }
c161141
train
// AddHomeTLF implements the DiskBlockCache interface for diskBlockCacheWrapped.
{ "resource": "" }
c161142
train
// ClearHomeTLFs implements the DiskBlockCache interface for // diskBlockCacheWrapped.
{ "resource": "" }
c161143
train
// WaitUntilStarted implements the DiskBlockCache interface for // diskBlockCacheWrapped.
{ "resource": "" }
c161144
train
// Shutdown implements the DiskBlockCache interface for diskBlockCacheWrapped.
{ "resource": "" }
c161145
train
// NewChatRPC constructs a new RPC based chat implementation.
{ "resource": "" }
c161146
train
// NewChatActivity implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161147
train
// ChatIdentifyUpdate implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161148
train
// ChatTLFFinalize implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161149
train
// ChatTLFResolve implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161150
train
// ChatThreadsStale implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161151
train
// ChatTypingUpdate implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161152
train
// ChatJoinedConversation implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161153
train
// ChatLeftConversation implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161154
train
// ChatResetConversation implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161155
train
// ChatInboxSyncStarted implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161156
train
// ChatInboxSynced implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161157
train
// ChatSetConvRetention implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161158
train
// ChatSetTeamRetention implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161159
train
// ChatSetConvSettings implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161160
train
// ChatSubteamRename implements the chat1.NotifyChatInterface for // ChatRPC.
{ "resource": "" }
c161161
train
// ChatKBFSToImpteamUpgrade implements the chat1.NotifyChatInterface // for ChatRPC.
{ "resource": "" }
c161162
train
// ChatAttachmentUploadStart implements the chat1.NotifyChatInterface // for ChatRPC.
{ "resource": "" }
c161163
train
// ChatAttachmentUploadProgress implements the chat1.NotifyChatInterface // for ChatRPC.
{ "resource": "" }
c161164
train
// ChatPaymentInfo implements the chat1.NotifyChatInterface // for ChatRPC.
{ "resource": "" }
c161165
train
// ChatRequestInfo implements the chat1.NotifyChatInterface // for ChatRPC.
{ "resource": "" }
c161166
train
// ChatPromptUnfurl implements the chat1.NotifyChatInterface // for ChatRPC.
{ "resource": "" }
c161167
train
// NewLoopbackListener creates a new Loopback listener
{ "resource": "" }
c161168
train
// NewLoopbackConnPair makes a new loopback connection pair
{ "resource": "" }
c161169
train
// LoopbackDial dials the given LoopbackListener and yields an new net.Conn // that's a connection to it.
{ "resource": "" }
c161170
train
// Close closes the listener. // Any blocked Accept operations will be unblocked and return errors
{ "resource": "" }
c161171
train
// Close closes the connection. // Any blocked Read or Write operations will be unblocked and return errors.
{ "resource": "" }
c161172
train
// lpcwstrToString converts a nul-terminated Windows wide string to a Go string,
{ "resource": "" }
c161173
train
// ptrUcs2Slice takes a C Windows wide string and length in UCS2 // and returns it aliased as a uint16 slice.
{ "resource": "" }
c161174
train
// Readdir reads children from d.
{ "resource": "" }
c161175
train
// fileOrDir implements the http.File interface.
{ "resource": "" }
c161176
train
// Close implements the http.File interface.
{ "resource": "" }
c161177
train
// Seek implements the http.File interface.
{ "resource": "" }
c161178
train
// Readdir implements the http.File interface.
{ "resource": "" }
c161179
train
// Stat implements the http.File interface.
{ "resource": "" }
c161180
train
// Open implements the http.FileSystem interface.
{ "resource": "" }
c161181
train
// Start begins a new sequence of attempts for the given strategy.
{ "resource": "" }
c161182
train
// Next waits until it is time to perform the next attempt or returns // false if it is time to stop trying.
{ "resource": "" }
c161183
train
// HasNext returns whether another attempt will be made if the current // one fails. If it returns true, the following call to Next is // guaranteed to return true.
{ "resource": "" }
c161184
train
// noteSymmetricKey returns a symmetric key to be used in encrypting a note. // The key is available to the current user and to the optional `other` recipient. // If `other` is nil the key is derived from the latest PUK seed. // If `other` is non-nil the key is derived from the nacl shared key of both users' latest PUK...
{ "resource": "" }
c161185
train
// noteMixKeys derives a shared symmetric key for two DH keys. // The key is the last 32 bytes of the nacl box of 32 zeros with a use-specific nonce.
{ "resource": "" }
c161186
train
// noteMixPukNonce is a nonce used in key derivation for shared notes. // 24-byte prefix of the sha256 hash of a constant string.
{ "resource": "" }
c161187
train
// noteEncrypt encrypts a note for the logged-in user as well as optionally for `other`.
{ "resource": "" }
c161188
train
// noteEncryptHelper does the encryption part and returns a partially populated result.
{ "resource": "" }
c161189
train
// NewMDCacheStandard constructs a new MDCacheStandard using the given // cache capacity.
{ "resource": "" }
c161190
train
// Get implements the MDCache interface for MDCacheStandard.
{ "resource": "" }
c161191
train
// Put implements the MDCache interface for MDCacheStandard.
{ "resource": "" }
c161192
train
// Delete implements the MDCache interface for MDCacheStandard.
{ "resource": "" }
c161193
train
// Replace implements the MDCache interface for MDCacheStandard.
{ "resource": "" }
c161194
train
// MarkPutToServer implements the MDCache interface for // MDCacheStandard.
{ "resource": "" }
c161195
train
// GetIDForHandle implements the MDCache interface for // MDCacheStandard.
{ "resource": "" }
c161196
train
// PutIDForHandle implements the MDCache interface for // MDCacheStandard.
{ "resource": "" }
c161197
train
// ChangeHandleForID implements the MDCache interface for // MDCacheStandard.
{ "resource": "" }
c161198
train
// GetNextMD implements the MDCache interface for MDCacheStandard.
{ "resource": "" }
c161199
train
// PutNextMD implements the MDCache interface for MDCacheStandard.
{ "resource": "" }