_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c13800
train
// ErrorWithLevel sends an error to Rollbar with the given severity level.
{ "resource": "" }
c13801
train
// Errorf sends an error to Rollbar with the given format string and arguments.
{ "resource": "" }
c13802
train
// ErrorWithExtras sends an error to Rollbar with the given severity // level with extra custom data.
{ "resource": "" }
c13803
train
// ErrorWithExtrasAndContext sends an error to Rollbar with the given severity // level with extra custom data, within the given context.
{ "resource": "" }
c13804
train
// RequestError sends an error to Rollbar with the given severity level // and request-specific information.
{ "resource": "" }
c13805
train
// RequestErrorWithExtras sends an error to Rollbar with the given // severity level and request-specific information with extra custom data.
{ "resource": "" }
c13806
train
// RequestErrorWithExtrasAndContext sends an error to Rollbar with the given // severity level and request-specific information with extra custom data, within the given // context.
{ "resource": "" }
c13807
train
// ErrorWithStackSkip sends an error to Rollbar with the given severity // level and a given number of stack trace frames skipped.
{ "resource": "" }
c13808
train
// ErrorWithStackSkipWithExtras sends an error to Rollbar with the given // severity level and a given number of stack trace frames skipped with // extra custom data.
{ "resource": "" }
c13809
train
// ErrorWithStackSkipWithExtrasAndContext sends an error to Rollbar with the given // severity level and a given number of stack trace frames skipped with // extra custom data, within the given context.
{ "resource": "" }
c13810
train
// RequestErrorWithStackSkip sends an error to Rollbar with the given // severity level and a given number of stack trace frames skipped, in // addition to extra request-specific information.
{ "resource": "" }
c13811
train
// RequestErrorWithStackSkipWithExtras sends an error to Rollbar with // the given severity level and a given number of stack trace frames // skipped, in addition to extra request-specific information and extra // custom data.
{ "resource": "" }
c13812
train
// RequestErrorWithStackSkipWithExtrasAndContext sends an error to Rollbar with // the given severity level and a given number of stack trace frames // skipped, in addition to extra request-specific information and extra // custom data, within the given context.
{ "resource": "" }
c13813
train
// MessageWithExtras sends a message to Rollbar with the given severity // level with extra custom data.
{ "resource": "" }
c13814
train
// MessageWithExtrasAndContext sends a message to Rollbar with the given severity // level with extra custom data, within the given context.
{ "resource": "" }
c13815
train
// RequestMessage sends a message to Rollbar with the given severity level // and request-specific information.
{ "resource": "" }
c13816
train
// RequestMessageWithExtras sends a message to Rollbar with the given // severity level and request-specific information with extra custom data.
{ "resource": "" }
c13817
train
// RequestMessageWithExtrasAndContext sends a message to Rollbar with the given // severity level and request-specific information with extra custom data, within the given // context.
{ "resource": "" }
c13818
train
// NewPersonContext returns a new Context that carries the person as a value.
{ "resource": "" }
c13819
train
// PersonFromContext returns the Person value stored in ctx, if any.
{ "resource": "" }
c13820
train
// clientPost returns an error which indicates the type of error that occured while attempting to // send the body input to the endpoint given, or nil if no error occurred. If error is not nil, the // boolean return parameter indicates whether the error is temporary or not. If this boolean return // value is true then ...
{ "resource": "" }
c13821
train
// NewAsyncTransport builds an asynchronous transport which sends data to the Rollbar API at the // specified endpoint using the given access token. The channel is limited to the size of the input // buffer argument.
{ "resource": "" }
c13822
train
// Send the body to Rollbar if the channel is not currently full. // Returns ErrBufferFull if the underlying channel is full.
{ "resource": "" }
c13823
train
// Close is an alias for Wait for the asynchronous transport
{ "resource": "" }
c13824
train
// Install clones a remote repository to the rig directory // // Implements Installer
{ "resource": "" }
c13825
train
// setVersion attempts to checkout the version
{ "resource": "" }
c13826
train
// sync will clone or update a remote repo.
{ "resource": "" }
c13827
train
// String represents the version information as a well-formatted string.
{ "resource": "" }
c13828
train
// Install installs a rig.
{ "resource": "" }
c13829
train
// Update updates a rig.
{ "resource": "" }
c13830
train
// New determines and returns the correct Installer for the given source
{ "resource": "" }
c13831
train
// isRig checks if the directory contains a "Food" directory.
{ "resource": "" }
c13832
train
// Ohaif displays an informative message.
{ "resource": "" }
c13833
train
// Warningf displays a warning message.
{ "resource": "" }
c13834
train
// NewFromReader reads in an install receipt from an io.Reader. Useful when reading from a file stream.
{ "resource": "" }
c13835
train
// Save writes the install receipt into the given io.Writer.
{ "resource": "" }
c13836
train
// ensureFood checks to see if the default fish food exists. // // If the pack does not exist, this function will create it. // If it does, it will update to the latest.
{ "resource": "" }
c13837
train
// NewLocalInstaller creates a new LocalInstaller
{ "resource": "" }
c13838
train
// Install creates a symlink to the rig directory
{ "resource": "" }
c13839
train
// link creates a symlink from the rig source to the rig directory
{ "resource": "" }
c13840
train
// Uninstall attempts to uninstall the package, returning errors if it fails.
{ "resource": "" }
c13841
train
// Link creates links to any linked resources owned by the package.
{ "resource": "" }
c13842
train
// Unlink removes any linked resources owned by the package.
{ "resource": "" }
c13843
train
// Lint analyses a given fish food for potential errors, returning a list of errors.
{ "resource": "" }
c13844
train
// DownloadTo downloads a particular package to filePath, returning any errors if encountered.
{ "resource": "" }
c13845
train
// downloadCachedFileToPath will download a file from the given url to a directory, returning the // path to the cached file. If it already exists, it'll skip downloading the file and just return // the path to the cached file.
{ "resource": "" }
c13846
train
// Bool extracts a bool the JsonQuery
{ "resource": "" }
c13847
train
// Float extracts a float from the JsonQuery
{ "resource": "" }
c13848
train
// Int extracts an int from the JsonQuery
{ "resource": "" }
c13849
train
// String extracts a string from the JsonQuery
{ "resource": "" }
c13850
train
// Object extracts a json object from the JsonQuery
{ "resource": "" }
c13851
train
// ArrayOfStrings extracts an array of strings from some json
{ "resource": "" }
c13852
train
// ArrayOfInts extracts an array of ints from some json
{ "resource": "" }
c13853
train
// ArrayOfFloats extracts an array of float64s from some json
{ "resource": "" }
c13854
train
// ArrayOfBools extracts an array of bools from some json
{ "resource": "" }
c13855
train
// Recursively query a decoded json blob
{ "resource": "" }
c13856
train
// NewError creates new atomic error object
{ "resource": "" }
c13857
train
// Load atomically loads the wrapped error
{ "resource": "" }
c13858
train
// NewString creates a String.
{ "resource": "" }
c13859
train
// Load atomically loads the wrapped string.
{ "resource": "" }
c13860
train
// Add atomically adds to the wrapped int32 and returns the new value.
{ "resource": "" }
c13861
train
// Sub atomically subtracts from the wrapped int32 and returns the new value.
{ "resource": "" }
c13862
train
// Swap atomically swaps the wrapped int32 and returns the old value.
{ "resource": "" }
c13863
train
// Add atomically adds to the wrapped int64 and returns the new value.
{ "resource": "" }
c13864
train
// Sub atomically subtracts from the wrapped int64 and returns the new value.
{ "resource": "" }
c13865
train
// Swap atomically swaps the wrapped int64 and returns the old value.
{ "resource": "" }
c13866
train
// Add atomically adds to the wrapped uint32 and returns the new value.
{ "resource": "" }
c13867
train
// Sub atomically subtracts from the wrapped uint32 and returns the new value.
{ "resource": "" }
c13868
train
// Swap atomically swaps the wrapped uint32 and returns the old value.
{ "resource": "" }
c13869
train
// Add atomically adds to the wrapped uint64 and returns the new value.
{ "resource": "" }
c13870
train
// Sub atomically subtracts from the wrapped uint64 and returns the new value.
{ "resource": "" }
c13871
train
// Swap atomically swaps the wrapped uint64 and returns the old value.
{ "resource": "" }
c13872
train
// Swap sets the given value and returns the previous value.
{ "resource": "" }
c13873
train
// Add atomically adds to the wrapped float64 and returns the new value.
{ "resource": "" }
c13874
train
// NewDuration creates a Duration.
{ "resource": "" }
c13875
train
// Add atomically adds to the wrapped time.Duration and returns the new value.
{ "resource": "" }
c13876
train
// Sub atomically subtracts from the wrapped time.Duration and returns the new value.
{ "resource": "" }
c13877
train
// Swap atomically swaps the wrapped time.Duration and returns the old value.
{ "resource": "" }
c13878
train
// NewPool returns a new pool.
{ "resource": "" }
c13879
train
// Add a server with rate.
{ "resource": "" }
c13880
train
// Remove a server.
{ "resource": "" }
c13881
train
// Status gets job status from job server. // !!!Not fully tested.!!!
{ "resource": "" }
c13882
train
// Send a something out, get the samething back.
{ "resource": "" }
c13883
train
// Encode a Request to byte slice
{ "resource": "" }
c13884
train
// New returns a client.
{ "resource": "" }
c13885
train
// Status gets job status from job server.
{ "resource": "" }
c13886
train
// Create the agent of job server.
{ "resource": "" }
c13887
train
// read length bytes from the socket
{ "resource": "" }
c13888
train
// Internal write the encoded job.
{ "resource": "" }
c13889
train
// Write with lock
{ "resource": "" }
c13890
train
// Encode a job to byte slice
{ "resource": "" }
c13891
train
// Extract the error message
{ "resource": "" }
c13892
train
// inner error handling
{ "resource": "" }
c13893
train
// Broadcast an outpack to all Gearman server.
{ "resource": "" }
c13894
train
// RemoveFunc removes a function.
{ "resource": "" }
c13895
train
// inner package handling
{ "resource": "" }
c13896
train
// Connect to Gearman server and tell every server // what can this worker do.
{ "resource": "" }
c13897
train
// Main loop, block here // Most of time, this should be evaluated in goroutine.
{ "resource": "" }
c13898
train
// custome handling warper
{ "resource": "" }
c13899
train
// Close connection and exit main loop
{ "resource": "" }