_id stringlengths 2 7 | title stringclasses 1 value | partition stringclasses 3 values | text stringlengths 6 2.61k | language stringclasses 1 value | meta_information dict |
|---|---|---|---|---|---|
c182000 | test | // Render returns the map as an encoded image. | {
"resource": ""
} | ||
c182001 | test | // RenderImage returns the map as an unencoded image.Image. | {
"resource": ""
} | ||
c182002 | test | // RenderToFile writes the map as an encoded image to the file system. | {
"resource": ""
} | ||
c182003 | test | // SetBufferSize sets the pixel buffer at the map image edges where Mapnik should not render any labels. | {
"resource": ""
} | ||
c182004 | test | // Search the network for SSDP devices using the given search string and duration
// to discover new devices. This function will return an array of SearchReponses
// discovered. | {
"resource": ""
} | ||
c182005 | test | //Get blocks for an available connection. | {
"resource": ""
} | ||
c182006 | test | //put puts the connection back to the pool. If the pool is closed, put simply close
//any connections received and return immediately. A nil net.Conn is illegal and will be rejected. | {
"resource": ""
} | ||
c182007 | test | // MonoToStereoF32 converts a mono stream into a stereo one
// by copying the mono signal to both channels in an interleaved
// signal. | {
"resource": ""
} | ||
c182008 | test | // Gain applies the multiplier to the passed buffer.
// A multipler of 1 would increase the amplitude of the signal by 100%
// while a multiplier of 0 would not do anything.
// Note that this is a very very naive implementation and we will more
// than add a more useful DB gain transform. | {
"resource": ""
} | ||
c182009 | test | // PCMScale converts a buffer with audio content from -1 to 1 into
// the PCM scale based on the passed bitdepth.
// Note that while the PCM data is scaled, the PCM format is not changed. | {
"resource": ""
} | ||
c182010 | test | // StereoPan changes the balance of the input buffer by "panning"
// more to the left or the right. The pan value must be between
// 0 and 1 where 0 is full first channel, 0.5 center and 1 full second channel.
// Note that the signal from 1 channel is not sent to the other, this transform
// only reduces the balance of one of the 2 channels. | {
"resource": ""
} | ||
c182011 | test | // Leader returns the current leader. | {
"resource": ""
} | ||
c182012 | test | // IsLeader returns true if the candidate is currently a leader. | {
"resource": ""
} | ||
c182013 | test | //NewResponse returns a new OAuth2Response | {
"resource": ""
} | ||
c182014 | test | // GetRequestID returns a request ID from the given context if one is present.
// Returns the empty string if a request ID cannot be found. | {
"resource": ""
} | ||
c182015 | test | //replace ResponseWriter with a monitorable one, return logger | {
"resource": ""
} | ||
c182016 | test | // SendMailSSL envoie un email par SSL | {
"resource": ""
} | ||
c182017 | test | //Send envoie un email | {
"resource": ""
} | ||
c182018 | test | // WaitForIt waits for a service or URL to become online | {
"resource": ""
} | ||
c182019 | test | // Get a config | {
"resource": ""
} | ||
c182020 | test | // Read in config file and ENV variables if set. | {
"resource": ""
} | ||
c182021 | test | // WritePluginResultsToDatabase upserts plugin results into Database | {
"resource": ""
} | ||
c182022 | test | //NewAuthController constructs new AuthController | {
"resource": ""
} | ||
c182023 | test | //Authenticate controls authorizations | {
"resource": ""
} | ||
c182024 | test | //NewOAuth2Controller constructs new AuthController | {
"resource": ""
} | ||
c182025 | test | //Refresh returns a new access token | {
"resource": ""
} | ||
c182026 | test | //Token returns a new access token | {
"resource": ""
} | ||
c182027 | test | //Logging logs http requests | {
"resource": ""
} | ||
c182028 | test | //SingleFile returns a handler | {
"resource": ""
} | ||
c182029 | test | // Write Satisfy the http.ResponseWriter interface | {
"resource": ""
} | ||
c182030 | test | //Hijack Satisfy the http.ResponseWriter interface | {
"resource": ""
} | ||
c182031 | test | //NewMongo creates a newinstance of Mongo | {
"resource": ""
} | ||
c182032 | test | //Disconnect a Mongo client | {
"resource": ""
} | ||
c182033 | test | // New - Creates a new table. | {
"resource": ""
} | ||
c182034 | test | // PrintTable - Prints table. | {
"resource": ""
} | ||
c182035 | test | // PrintHorizontal - Prints horizontal table from a map. | {
"resource": ""
} | ||
c182036 | test | // PrintRow - Prints table with only one row. | {
"resource": ""
} | ||
c182037 | test | // AddRow - Adds row to the table. | {
"resource": ""
} | ||
c182038 | test | // Print - Prints table. | {
"resource": ""
} | ||
c182039 | test | // String - Ouput table as a string. | {
"resource": ""
} | ||
c182040 | test | // getHead - Returns table header containing fields names. | {
"resource": ""
} | ||
c182041 | test | // rowString - Creates a string row. | {
"resource": ""
} | ||
c182042 | test | // fieldString - Creates field value string. | {
"resource": ""
} | ||
c182043 | test | // stringTableDash - output table dash. Markdown or not depending on settings. | {
"resource": ""
} | ||
c182044 | test | // printMarkdownDash - Prints dash in middle of table. | {
"resource": ""
} | ||
c182045 | test | // stringMarkdownDash - output dash in middle of table. | {
"resource": ""
} | ||
c182046 | test | //HashPassword hash un mot de passe | {
"resource": ""
} | ||
c182047 | test | //EncodeOAuth2Code generate an OAuth2 code | {
"resource": ""
} | ||
c182048 | test | //DecodeOAuth2Code inverse of EncodeOAuth2Code | {
"resource": ""
} | ||
c182049 | test | //NewServer create a new instance of Server | {
"resource": ""
} | ||
c182050 | test | //Start the server. | {
"resource": ""
} | ||
c182051 | test | //Stop the server. | {
"resource": ""
} | ||
c182052 | test | // NewLoggingServeMux allocates and returns a new LoggingServeMux | {
"resource": ""
} | ||
c182053 | test | // Handler sastisfy interface | {
"resource": ""
} | ||
c182054 | test | //Handle register handler | {
"resource": ""
} | ||
c182055 | test | // Init initalizes ElasticSearch for use with malice | {
"resource": ""
} | ||
c182056 | test | // WaitForConnection waits for connection to Elasticsearch to be ready | {
"resource": ""
} | ||
c182057 | test | // StoreFileInfo inserts initial sample info into database creating a placeholder for it | {
"resource": ""
} | ||
c182058 | test | // StorePluginResults stores a plugin's results in the database by updating
// the placeholder created by the call to StoreFileInfo | {
"resource": ""
} | ||
c182059 | test | // CamelCase converts strings to their camel case equivalent | {
"resource": ""
} | ||
c182060 | test | // Getopt reads environment variables.
// If not found will return a supplied default value | {
"resource": ""
} | ||
c182061 | test | // Getopts reads from user input then environment variable and finally a sane default. | {
"resource": ""
} | ||
c182062 | test | // GetSHA256 calculates a file's sha256sum | {
"resource": ""
} | ||
c182063 | test | // RunCommand runs cmd on file | {
"resource": ""
} | ||
c182064 | test | // RemoveDuplicates removes duplicate items from a list | {
"resource": ""
} | ||
c182065 | test | // Unzip unzips archive to target location | {
"resource": ""
} | ||
c182066 | test | // SliceContainsString returns if slice contains substring | {
"resource": ""
} | ||
c182067 | test | //NewSMTP create new SMTP | {
"resource": ""
} | ||
c182068 | test | //SendMail send an email | {
"resource": ""
} | ||
c182069 | test | //GetEnvironment returns a SMTP Server configuration for the specified environment in parameter | {
"resource": ""
} | ||
c182070 | test | //GetSMTP returns a SMTP Server configurations | {
"resource": ""
} | ||
c182071 | test | //GetConfig returns a Server configurations | {
"resource": ""
} | ||
c182072 | test | //GetEnvironment returns a Mongo configuration for the specified environment in parameter | {
"resource": ""
} | ||
c182073 | test | //GetMongo returns a Mongo configurations | {
"resource": ""
} | ||
c182074 | test | //TokenHandler manage authorizations | {
"resource": ""
} | ||
c182075 | test | // Receive waits to receive the next incoming messages from the CCS connection. | {
"resource": ""
} | ||
c182076 | test | // Send sends a message to GCM CCS server and returns the number of bytes written and any error encountered.
// If empty message ID is given, it's auto-generated and message object is modified with the generated ID. | {
"resource": ""
} | ||
c182077 | test | // allBoshReleaseNames returns a union of unique BOSH release names across all
// contained BOSH releases. | {
"resource": ""
} | ||
c182078 | test | // AddedProperty adds a new "added" job property to the list of differences | {
"resource": ""
} | ||
c182079 | test | // RemovedProperty adds a new "removed" job property to the list of differences | {
"resource": ""
} | ||
c182080 | test | // AddDeltaJob adds a new delta for a specific job | {
"resource": ""
} | ||
c182081 | test | // Concat adds the other result to this result | {
"resource": ""
} | ||
c182082 | test | // Read downloads the specified Release to the local cache dir and returns a
// reader to the underyling release package. | {
"resource": ""
} | ||
c182083 | test | // Pull downloads the specified Release to the local cache dir | {
"resource": ""
} | ||
c182084 | test | //BuildJob - function to create a compiled version of the current job | {
"resource": ""
} | ||
c182085 | test | // LoadBoshRelease creates an initialized boshRelease instance from the
// specifed local or remote .tgz file | {
"resource": ""
} | ||
c182086 | test | // readBoshRelease creates an initialized boshRelease instance from the
// specifed .tgz reader | {
"resource": ""
} | ||
c182087 | test | // readBoshRelease reads a bosh release out of the given reader into a new
// boshRelease struct | {
"resource": ""
} | ||
c182088 | test | // readBoshJob reads a BOSH job manifest out of the given reader into a new
// JobManifest struct | {
"resource": ""
} | ||
c182089 | test | // NewRequest is like http.NewRequest, with the exception that it will add
// basic auth headers if the client is configured for basic auth. | {
"resource": ""
} | ||
c182090 | test | // PushCloudConfig uploads a cloud config to bosh. | {
"resource": ""
} | ||
c182091 | test | //Generate - used to generate a struct for a given job | {
"resource": ""
} | ||
c182092 | test | //CreateNewRecord - creates a record from a given period delimited property and enaml.JobManifestProperty | {
"resource": ""
} | ||
c182093 | test | // NewShowCmd creates a new ShowCmd instance. | {
"resource": ""
} | ||
c182094 | test | // All writes out all the release data to writer. | {
"resource": ""
} | ||
c182095 | test | // GetDefaultTaskImageResource - convenience helper to output default object for
// task images | {
"resource": ""
} | ||
c182096 | test | //AddRawJob helper to add a job to the pipeline manifest | {
"resource": ""
} | ||
c182097 | test | //AddGroup helper to add a group to the pipeline manifest | {
"resource": ""
} | ||
c182098 | test | //GetResourceByName convenience method to find and return a resource by name | {
"resource": ""
} | ||
c182099 | test | //AddRawResource helper to add a resource to the pipeline manifest | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.