_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c174200 | validation | // MarshalBinary allocates a byte slice containing the data from a MACMaskArg.
//
// If m.DirCount does not indicate the actual length of m.Directives, or
// a Directive is malformed, ErrorBadArgumentParameter is returned. | {
"resource": ""
} | ||
c174201 | validation | // NewSendToLogger creates a logger from a go log. | {
"resource": ""
} | ||
c174202 | validation | //NewMulti creates a MultiLog | {
"resource": ""
} | ||
c174203 | validation | // outerLog is like outers outerLogs but the nem entry is
// created from the first BackLog in the list. | {
"resource": ""
} | ||
c174204 | validation | // PublishPort publish a container's port to the host. | {
"resource": ""
} | ||
c174205 | validation | // Name assign a name to the container. | {
"resource": ""
} | ||
c174206 | validation | // AddArgs appends arguments to Docker container. | {
"resource": ""
} | ||
c174207 | validation | // NewCORSHandler creates a new CORSHandler with default values. | {
"resource": ""
} | ||
c174208 | validation | // CreatePreflight creates HTTP routes that handles pre-flight requests. | {
"resource": ""
} | ||
c174209 | validation | // ServeHTTP handle a pre-flight request. | {
"resource": ""
} | ||
c174210 | validation | // Handle is a HTTP handler for CORS-able API. | {
"resource": ""
} | ||
c174211 | validation | // NewRandomSourceListSecure returns system provided source of random data
// besides of Raiqub Random source. | {
"resource": ""
} | ||
c174212 | validation | // Handle sends a record message to syslog Writer. | {
"resource": ""
} | ||
c174213 | validation | // Close closes an associated syslog Writer. | {
"resource": ""
} | ||
c174214 | validation | // date formant YYYY-MM-DD
// mininum date 0000-01-01
// maximum date 9999-12-31 | {
"resource": ""
} | ||
c174215 | validation | // Match processes the given string until it encounters a rune that doesn't
// match. | {
"resource": ""
} | ||
c174216 | validation | // Match processes the given string until it has its suffix in the next or
// encounters a rune that doesn't match. | {
"resource": ""
} | ||
c174217 | validation | // MatchRune simply calls mather.MatchRune | {
"resource": ""
} | ||
c174218 | validation | // Match against fixed length pattern. | {
"resource": ""
} | ||
c174219 | validation | // Alloc opens a DB if not openned yet. It adds a reference if already openned. | {
"resource": ""
} | ||
c174220 | validation | // Free decreases the reference count. It close the DB if the count reaches
// zero. | {
"resource": ""
} | ||
c174221 | validation | // Infof calls Logger.Infof method with provided arguments. | {
"resource": ""
} | ||
c174222 | validation | // Warningf calls Logger.Warningf method with provided arguments. | {
"resource": ""
} | ||
c174223 | validation | // Errorf calls Logger.Errorf method with provided arguments. | {
"resource": ""
} | ||
c174224 | validation | // Fatalf calls Logger.Criticalf method with provided arguments. | {
"resource": ""
} | ||
c174225 | validation | // ToPhone will format the provided string as a Phone Number. Only supports
// US numbers currently. | {
"resource": ""
} | ||
c174226 | validation | // ToURL will format the provided string as a URL. HTTP and HTTPS
// are the only supported protocols at this time. | {
"resource": ""
} | ||
c174227 | validation | // ToSSN will format the provided string as a SSN. | {
"resource": ""
} | ||
c174228 | validation | // ToMorseCode will format the provided string in Morse Code. | {
"resource": ""
} | ||
c174229 | validation | // ToPirateSpeak will format the provided string in Pirate Speak. | {
"resource": ""
} | ||
c174230 | validation | // ToIRSA will format the provided string in IRSA.
// International Radio-Telephony Spelling Alphabet | {
"resource": ""
} | ||
c174231 | validation | // newDefaultLogger creates new logger that writes log messages to
// standard output in DEBUG level. This logger is automatically created and
// this function needs to be called only if all loggers were removed
// and default logger needs recreating. | {
"resource": ""
} | ||
c174232 | validation | // Logf logs provided message with formatting with default logger. | {
"resource": ""
} | ||
c174233 | validation | // Sections returns the list of sections in the file. | {
"resource": ""
} | ||
c174234 | validation | // Options returns the list of options in a given section. | {
"resource": ""
} | ||
c174235 | validation | // OptionMap returns the map option => value for a given section. | {
"resource": ""
} | ||
c174236 | validation | // Comments returns the list of comments in a given section.
// For the empty string, returns the file comments. | {
"resource": ""
} | ||
c174237 | validation | // AddComments appends the comment to the list of comments for the section. | {
"resource": ""
} | ||
c174238 | validation | // Parse reads the given io.Reader and returns a parsed Config object. | {
"resource": ""
} | ||
c174239 | validation | // Write writes the sections and options to the io.Writer in INI format. | {
"resource": ""
} | ||
c174240 | validation | // Get gets the value from the specified section and key name, or the empty
// string if either the section or the key is missing. | {
"resource": ""
} | ||
c174241 | validation | // Set sets a value for an option in a section. If the option exists, it's
// value will be overwritten. If the option does not exist, it will be added.
// If the section does not exist, it will be added and the option added to it. | {
"resource": ""
} | ||
c174242 | validation | // Delete removes the option from the specified section. | {
"resource": ""
} | ||
c174243 | validation | // try to convert value to target type, panic if fail | {
"resource": ""
} | ||
c174244 | validation | // Postpone value expiration time to current time added to its lifetime
// duration. | {
"resource": ""
} | ||
c174245 | validation | // Filter creates a new filter with rules r for l backend. | {
"resource": ""
} | ||
c174246 | validation | // Op is an operation in some field and with some value. | {
"resource": ""
} | ||
c174247 | validation | // ApplyRuleIf test if condition is true than apply rule. If condition is false
// do nothing, return true. | {
"resource": ""
} | ||
c174248 | validation | // ApplyRuleIfElse test if condition is true than apply rule. If condition is false
// run else rule. | {
"resource": ""
} | ||
c174249 | validation | // AuthHandler is a HTTP request middleware that enforces authentication. | {
"resource": ""
} | ||
c174250 | validation | // HasBin check whether Docker binary is available. | {
"resource": ""
} | ||
c174251 | validation | // Run executes especified command on Docker.
//
// Returns ExternalCmdError on error. | {
"resource": ""
} | ||
c174252 | validation | // GetReader gets HTTP header value, as defined by current instance, from
// Request Header and sets to current instance. | {
"resource": ""
} | ||
c174253 | validation | // SetName sets header name of current instance. | {
"resource": ""
} | ||
c174254 | validation | // SetValue sets header value of current instance. | {
"resource": ""
} | ||
c174255 | validation | // SetWriter sets HTTP header, as defined by current instance, to ResponseWriter
// Header. | {
"resource": ""
} | ||
c174256 | validation | // encryptionKey returns the best candidate Key for encrypting a message to the
// given Entity. | {
"resource": ""
} | ||
c174257 | validation | // NewContentNegotiator creates a basic ContentNegotiator with out any attached
// encoders | {
"resource": ""
} | ||
c174258 | validation | // NewJsonXmlContentNegotiator creates a basic ContentNegotiator and attaches
// a JSON and an XML encoder to it. | {
"resource": ""
} | ||
c174259 | validation | // Negotiate inspects the request for the accept header and
// encodes the response appropriately. | {
"resource": ""
} | ||
c174260 | validation | // AddEncoder registers a mimetype and its encoder to be used if a client
// requests that mimetype | {
"resource": ""
} | ||
c174261 | validation | // getEncoder parses the Accept header an returns the appropriate encoder to use | {
"resource": ""
} | ||
c174262 | validation | // CanSign returns true if it's possible for a public key of the given type to
// sign a message. | {
"resource": ""
} | ||
c174263 | validation | // Various ways to sort the player standings using helper structs that
// implement different comparison methods. | {
"resource": ""
} | ||
c174264 | validation | // WaitFunc waits until specified function returns true. | {
"resource": ""
} | ||
c174265 | validation | // FormatDialAddress returns an address as expected by net.Dial. | {
"resource": ""
} | ||
c174266 | validation | // SetFromDocker parses port as provided by Docker and extract protocol and port
// number. | {
"resource": ""
} | ||
c174267 | validation | // Read fills specified byte array with random data.
// Always return parameter array length and no errors. | {
"resource": ""
} | ||
c174268 | validation | // readByte creates a single random byte. | {
"resource": ""
} | ||
c174269 | validation | // RecoverHandlerJson is a HTTP request middleware that captures panic errors
// and returns it as HTTP JSON response. | {
"resource": ""
} | ||
c174270 | validation | // DefaultServiceConfig provides a default configuration to create a new random
// service by best effort. | {
"resource": ""
} | ||
c174271 | validation | // NewService creates a new configured random service. | {
"resource": ""
} | ||
c174272 | validation | // RunLight creates a light instance of MongoDB image. | {
"resource": ""
} | ||
c174273 | validation | // initConfig reads in config file and ENV variables if set. | {
"resource": ""
} | ||
c174274 | validation | // HasExposedPorts returns whether current container has exposed ports. | {
"resource": ""
} | ||
c174275 | validation | // Inspect returns container configuration. | {
"resource": ""
} | ||
c174276 | validation | // Kill terminates current container process. | {
"resource": ""
} | ||
c174277 | validation | // NetworkNodes returns the network addresses and exposed ports of current
// container. | {
"resource": ""
} | ||
c174278 | validation | // Remove erases current container from Docker. | {
"resource": ""
} | ||
c174279 | validation | // WaitStartup blocks current thread until current container begins to listen
// exposed port. | {
"resource": ""
} | ||
c174280 | validation | // NewHandler returns new Handler instance. | {
"resource": ""
} | ||
c174281 | validation | // Handle increments Prometheus counter metrics based on
// record log level. | {
"resource": ""
} | ||
c174282 | validation | // NewCounter creates new Counter instance.
// Options value can be nil. | {
"resource": ""
} | ||
c174283 | validation | // Metrics retuns all Prometheus metrics that
// should be registered. | {
"resource": ""
} | ||
c174284 | validation | // Retrieve retrieves and processes the specified asset sources, and returns
// them using a http.FileSystem interface. | {
"resource": ""
} | ||
c174285 | validation | // Compile retrieves and processes the specified asset sources, and
// compiles them to the specified variable in the source file. | {
"resource": ""
} | ||
c174286 | validation | // Read meta-info at specified place | {
"resource": ""
} | ||
c174287 | validation | // Write meta-info to specified place | {
"resource": ""
} | ||
c174288 | validation | // Push header and body to stack. Returns new value of stack depth | {
"resource": ""
} | ||
c174289 | validation | // Pop one segment from tail of stack. Returns nil,nil,nil if depth is 0 | {
"resource": ""
} | ||
c174290 | validation | // Peak of stack - get one segment from stack but not remove | {
"resource": ""
} | ||
c174291 | validation | // PeakHeader get only header part from tail segment from stack without remove | {
"resource": ""
} | ||
c174292 | validation | // IterateBackward - iterate over hole stack segment-by-segment from end to begining | {
"resource": ""
} | ||
c174293 | validation | // IterateForward - iterate over hole stack segment-by-segment from begining to end. If all segments
// iterated stack may be repaired | {
"resource": ""
} | ||
c174294 | validation | // Close backend stack file. If access is requried, file will automatically reopened | {
"resource": ""
} | ||
c174295 | validation | // OpenStack - open or create stack | {
"resource": ""
} | ||
c174296 | validation | // NewStack - create new stack based on file | {
"resource": ""
} | ||
c174297 | validation | // NewSessionCache creates a new instance of SessionCache and defines a lifetime
// for sessions and a initial salt for random input. | {
"resource": ""
} | ||
c174298 | validation | // getInvalidTokenError gets the default error when an invalid or expired token
// is requested. | {
"resource": ""
} | ||
c174299 | validation | // Get gets the value stored by specified token. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.