_id stringlengths 2 7 | title stringclasses 1 value | partition stringclasses 3 values | text stringlengths 6 2.61k | language stringclasses 1 value | meta_information dict |
|---|---|---|---|---|---|
c179900 | test | // Return the first prefix found or the empty string. | {
"resource": ""
} | ||
c179901 | test | // Return true if `w` ends with `suffixRunes`
// | {
"resource": ""
} | ||
c179902 | test | // Find the first suffix that ends at `endPos` in the word among
// those provided; then,
// check to see if it begins after startPos. If it does, return
// it, else return the empty string and empty rune slice. This
// may seem a counterintuitive manner to do this. However, it
// matches what is required most of the time by the Snowball
// stemmer steps.
// | {
"resource": ""
} | ||
c179903 | test | // Find the first suffix in the word among those provided; then,
// check to see if it begins after startPos. If it does,
// remove it.
// | {
"resource": ""
} | ||
c179904 | test | // Removes the first suffix found | {
"resource": ""
} | ||
c179905 | test | // Return the first suffix found or the empty string. | {
"resource": ""
} | ||
c179906 | test | // Applies various transformations necessary for the
// other, subsequent stemming steps. Most important
// of which is defining the two regions R1 & R2.
// | {
"resource": ""
} | ||
c179907 | test | // Step 0 is the removal of attached pronouns
// | {
"resource": ""
} | ||
c179908 | test | // Step 1b is the normalization of various "ly" and "ed" sufficies.
// | {
"resource": ""
} | ||
c179909 | test | // Step 2b is the removal of Verb suffixes in RV
// that do not begin with "i".
// | {
"resource": ""
} | ||
c179910 | test | // Capitalize all 'Y's preceded by vowels or starting a word
// | {
"resource": ""
} | ||
c179911 | test | // Uncapitalize all 'Y's
// | {
"resource": ""
} | ||
c179912 | test | // Returns the stemmed version of a word if it is a special
// case, otherwise returns the empty string.
// | {
"resource": ""
} | ||
c179913 | test | // A word is called short if it ends in a short syllable, and if R1 is null.
// | {
"resource": ""
} | ||
c179914 | test | // Step 1a is normalization of various special "s"-endings.
// | {
"resource": ""
} | ||
c179915 | test | // Set sets the value by key and associates it with the current goroutine. | {
"resource": ""
} | ||
c179916 | test | // Get gets the value by key as it exists for the current goroutine. | {
"resource": ""
} | ||
c179917 | test | // Cleanup removes all data associated with this goroutine. If this is not
// called, the data may persist for the lifetime of your application. This
// must be called from the very first goroutine to invoke Set | {
"resource": ""
} | ||
c179918 | test | // getValues unlinks two goroutines | {
"resource": ""
} | ||
c179919 | test | // linkGRs links two goroutines together, allowing the child to access the
// data present in the parent. | {
"resource": ""
} | ||
c179920 | test | // unlinkGRs unlinks two goroutines | {
"resource": ""
} | ||
c179921 | test | // Gets an app's endpoint with the specified path | {
"resource": ""
} | ||
c179922 | test | // Curls an app's endpoint and exit successfully before the specified timeout | {
"resource": ""
} | ||
c179923 | test | // Curls an app's endpoint and exit successfully before the default timeout | {
"resource": ""
} | ||
c179924 | test | // Curls an app's root endpoint and exit successfully before the default timeout | {
"resource": ""
} | ||
c179925 | test | // GetTags returns a slice of Tags, that is all characters after rune char up
// to occurrence of space or another occurrence of rune char. Additionally you
// can provide a coma separated unicode characters to be used as terminating
// sequence. | {
"resource": ""
} | ||
c179926 | test | // GetTagsAsUniqueStrings gets all tags as a slice of unique strings. This is
// here to have a means of being somewhat backwards compatible with previous
// versions of mention | {
"resource": ""
} | ||
c179927 | test | // Is given rune listed as a terminator | {
"resource": ""
} | ||
c179928 | test | // Ensures the given slice of strings are unique and that none are empty
// strings | {
"resource": ""
} | ||
c179929 | test | // Get returns the Location information for the incoming http.Request from the
// context. If the location is not set a nil value is returned. | {
"resource": ""
} | ||
c179930 | test | // GenerateRSAKeyPair generates a new rsa private and public key | {
"resource": ""
} | ||
c179931 | test | // Verify compares a signature against input data | {
"resource": ""
} | ||
c179932 | test | // Encrypt returns encrypted bytes from the inpu data | {
"resource": ""
} | ||
c179933 | test | // Sign returns a signature of the input data | {
"resource": ""
} | ||
c179934 | test | // GetPublic returns a public key | {
"resource": ""
} | ||
c179935 | test | // Decrypt returns decrypted bytes of the input encrypted bytes | {
"resource": ""
} | ||
c179936 | test | // UnmarshalRsaPrivateKey returns a private key from the input x509 bytes | {
"resource": ""
} | ||
c179937 | test | // GenerateKeyPair generates a private and public key | {
"resource": ""
} | ||
c179938 | test | // GenerateKeyPairWithReader returns a keypair of the given type and bitsize | {
"resource": ""
} | ||
c179939 | test | // GenerateEKeyPair returns an ephemeral public key and returns a function that will compute
// the shared secret key. Used in the identify module.
//
// Focuses only on ECDH now, but can be made more general in the future. | {
"resource": ""
} | ||
c179940 | test | // UnmarshalPublicKey converts a protobuf serialized public key into its
// representative object | {
"resource": ""
} | ||
c179941 | test | // MarshalPublicKey converts a public key object into a protobuf serialized
// public key | {
"resource": ""
} | ||
c179942 | test | // UnmarshalPrivateKey converts a protobuf serialized private key into its
// representative object | {
"resource": ""
} | ||
c179943 | test | // KeyEqual checks whether two | {
"resource": ""
} | ||
c179944 | test | // GenerateECDSAKeyPair generates a new ecdsa private and public key | {
"resource": ""
} | ||
c179945 | test | // GenerateECDSAKeyPairWithCurve generates a new ecdsa private and public key with a speicified curve | {
"resource": ""
} | ||
c179946 | test | // ECDSAKeyPairFromKey generates a new ecdsa private and public key from an input private key | {
"resource": ""
} | ||
c179947 | test | // UnmarshalECDSAPrivateKey returns a private key from x509 bytes | {
"resource": ""
} | ||
c179948 | test | // UnmarshalECDSAPublicKey returns the public key from x509 bytes | {
"resource": ""
} | ||
c179949 | test | // Equals compares to private keys | {
"resource": ""
} | ||
c179950 | test | // Sign returns the signature of the input data | {
"resource": ""
} | ||
c179951 | test | // Equals compares to public keys | {
"resource": ""
} | ||
c179952 | test | // Verify compares data to a signature | {
"resource": ""
} | ||
c179953 | test | // GenerateSecp256k1Key generates a new Secp256k1 private and public key pair | {
"resource": ""
} | ||
c179954 | test | // UnmarshalSecp256k1PrivateKey returns a private key from bytes | {
"resource": ""
} | ||
c179955 | test | // UnmarshalSecp256k1PublicKey returns a public key from bytes | {
"resource": ""
} | ||
c179956 | test | // Equals compares two private keys | {
"resource": ""
} | ||
c179957 | test | // Sign returns a signature from input data | {
"resource": ""
} | ||
c179958 | test | // Equals compares two public keys | {
"resource": ""
} | ||
c179959 | test | // Verify compares a signature against the input data | {
"resource": ""
} | ||
c179960 | test | // Raw private key bytes. | {
"resource": ""
} | ||
c179961 | test | // Sign returns a signature from an input message. | {
"resource": ""
} | ||
c179962 | test | // Equals compares two ed25519 public keys. | {
"resource": ""
} | ||
c179963 | test | // Verify checks a signature agains the input data. | {
"resource": ""
} | ||
c179964 | test | // UnmarshalEd25519PublicKey returns a public key from input bytes. | {
"resource": ""
} | ||
c179965 | test | // UnmarshalEd25519PrivateKey returns a private key from input bytes. | {
"resource": ""
} | ||
c179966 | test | // EditScriptForStrings returns an optimal edit script to turn source into
// target. | {
"resource": ""
} | ||
c179967 | test | // EditScriptForMatrix returns an optimal edit script based on the given
// Levenshtein matrix. | {
"resource": ""
} | ||
c179968 | test | // WriteMatrix writes a visual representation of the given matrix for the given
// strings to the given writer. | {
"resource": ""
} | ||
c179969 | test | // New describes a new filename located at the given absolute path. | {
"resource": ""
} | ||
c179970 | test | // GetOwner returns who owns the lockfile. | {
"resource": ""
} | ||
c179971 | test | // TryLock tries to own the lock.
// It Returns nil, if successful and and error describing the reason, it didn't work out.
// Please note, that existing lockfiles containing pids of dead processes
// and lockfiles containing no pid at all are simply deleted. | {
"resource": ""
} | ||
c179972 | test | // Unlock a lock again, if we owned it. Returns any error that happend during release of lock. | {
"resource": ""
} | ||
c179973 | test | // NewBase creates a new instance of Base with default values set. | {
"resource": ""
} | ||
c179974 | test | // SetFallbackLogger sets a Logger to be used if there aren't any loggers added or any of
// the added loggers are in a degraded or unhealthy state. A Logger passed to SetFallbackLogger
// will be initialized if it hasn't been already. In addition, if the Logger fails to initialize
// completely the fallback logger will fail to be set. | {
"resource": ""
} | ||
c179975 | test | // AddLogger adds a new logger instance to the Base | {
"resource": ""
} | ||
c179976 | test | // LogWithTime will log a message at the provided level to all added loggers with the timestamp set to the
// value of ts. | {
"resource": ""
} | ||
c179977 | test | // Log will log a message at the provided level to all added loggers with the timestamp set to the time
// Log was called. | {
"resource": ""
} | ||
c179978 | test | // Warnm is a short-hand version of Warningm | {
"resource": ""
} | ||
c179979 | test | // NewTemplateWithFuncMap creates a new Template from the given string and a template FuncMap. The FuncMap available
// to the template during evaluation will also include the default values, if not overridden. An error is returned
// if the template fails to compile. | {
"resource": ""
} | ||
c179980 | test | // Execute takes a TemplateMsg and applies it to the Go template. If colorize is true the template
// will insert ANSI color codes within the resulting string. | {
"resource": ""
} | ||
c179981 | test | // NewTemplateMsg will create a new TemplateMsg with values from the given parameters | {
"resource": ""
} | ||
c179982 | test | // NewLogAdapterFor creates a LogAdapter that wraps the given loger with the
// given attributes. | {
"resource": ""
} | ||
c179983 | test | // SetAttr sets the attribute key to value for this LogAdapter only | {
"resource": ""
} | ||
c179984 | test | // LogWithTime will log a message at the provided level to all loggers added
// to the Base associated with this LogAdapter. It is similar to Log except
// the timestamp will be set to the value of ts. | {
"resource": ""
} | ||
c179985 | test | // Log will log a message at the provided level to all loggers added
// to the Base associated with this LogAdapter | {
"resource": ""
} | ||
c179986 | test | // Dbgm is a short-hand version of Debugm | {
"resource": ""
} | ||
c179987 | test | // NewAttrsFromMap will create a new Attrs struct with the given attributes pre-populated | {
"resource": ""
} | ||
c179988 | test | // NewAttrsFromAttrs is a convenience function that will accept zero or more existing Attrs, create
// a new Attrs and then merge all the supplied Attrs values into the new Attrs instance. | {
"resource": ""
} | ||
c179989 | test | // MergeAttrs accepts another existing Attrs and merges the attributes into its own. | {
"resource": ""
} | ||
c179990 | test | // SetAttr will set key to the provided value. If the attribute already exists the value will
// be replaced with the new value. | {
"resource": ""
} | ||
c179991 | test | // GetAttr gets the value of the attribute with the provided name. If the attribute does not
// exist, nil will be returned | {
"resource": ""
} | ||
c179992 | test | // RemoveAttr will remove the attribute with the provided name. | {
"resource": ""
} | ||
c179993 | test | // Attrs will return a map of the attributes added to the struct. | {
"resource": ""
} | ||
c179994 | test | // Debugm executes the same function on the default Base instance | {
"resource": ""
} | ||
c179995 | test | // Infom executes the same function on the default Base instance | {
"resource": ""
} | ||
c179996 | test | // Warningm executes the same function on the default Base instance | {
"resource": ""
} | ||
c179997 | test | // Errm executes the same function on the default Base instance | {
"resource": ""
} | ||
c179998 | test | // Errorm executes the same function on the default Base instance | {
"resource": ""
} | ||
c179999 | test | // Fatalm executes the same function on the default Base instance | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.