_id stringlengths 2 7 | title stringclasses 1 value | partition stringclasses 3 values | text stringlengths 6 2.61k | language stringclasses 1 value | meta_information dict |
|---|---|---|---|---|---|
c180300 | test | // Run will launch the queue watchers and task workers in the background. | {
"resource": ""
} | ||
c180301 | test | // NewBodyLimiter returns a new body limiter for the specified request. | {
"resource": ""
} | ||
c180302 | test | // LimitBody will limit reading from the body of the supplied request to the
// specified amount of bytes. Earlier calls to LimitBody will be overwritten
// which essentially allows callers to increase the limit from a default limit. | {
"resource": ""
} | ||
c180303 | test | // C is a short-hand function to construct a callback. It will also add tracing
// code around the execution of the callback. | {
"resource": ""
} | ||
c180304 | test | // Only will match if the operation is present in the provided list. | {
"resource": ""
} | ||
c180305 | test | // BasicAuthorizer authorizes requests based on a simple credentials list. | {
"resource": ""
} | ||
c180306 | test | // ModelValidator performs a validation of the model using the Validate method. | {
"resource": ""
} | ||
c180307 | test | // TimestampValidator will set timestamp fields on create and update operations.
// The fields are inferred from the model using the "fire-created-timestamp" and
// "fire-updated-timestamp" flags. Missing created timestamps are retroactively
// set using the timestamp encoded in the model id. | {
"resource": ""
} | ||
c180308 | test | // RelationshipValidator makes sure all relationships of a model are correct and
// in place. It does so by combining a DependentResourcesValidator and a
// VerifyReferencesValidator based on the specified model and catalog. | {
"resource": ""
} | ||
c180309 | test | // Inspect executes the inspection into all loaded objects, by checking all
// rules and exceptions loaded. | {
"resource": ""
} | ||
c180310 | test | // NewRule creates a new rule. | {
"resource": ""
} | ||
c180311 | test | // AddUnmatch adds a refular expression into the unmatch list. | {
"resource": ""
} | ||
c180312 | test | // Run executes the rule into a content to find all lines that matches it. | {
"resource": ""
} | ||
c180313 | test | // NewSecret creates a new secret. | {
"resource": ""
} | ||
c180314 | test | // NewObject creates a new object. | {
"resource": ""
} | ||
c180315 | test | // SetMetadata sets a metadata value for the object. | {
"resource": ""
} | ||
c180316 | test | // SetMetadata gets a metadata value from the object. | {
"resource": ""
} | ||
c180317 | test | // GetMetadataAll gets a map that contains all metadata of the object. | {
"resource": ""
} | ||
c180318 | test | // SetRule sets the regular expresion that should match the name of the rule. | {
"resource": ""
} | ||
c180319 | test | // SetObject sets the regular expresion that should match the name of the
// object. | {
"resource": ""
} | ||
c180320 | test | // SetNline sets the number of line where secret should be found. | {
"resource": ""
} | ||
c180321 | test | // SetContent sets the regular expresion that should match the content of the
// object. | {
"resource": ""
} | ||
c180322 | test | // Run executes the exception into a secret to determine if it's an exception
// or not. | {
"resource": ""
} | ||
c180323 | test | // AddRule adds a new rule into the context. | {
"resource": ""
} | ||
c180324 | test | // LoadRulesFromFile loads rules from a YAML file. | {
"resource": ""
} | ||
c180325 | test | // LoadRulesFromFile loads rules from all YAML files inside a directory. | {
"resource": ""
} | ||
c180326 | test | // DefaultRulesPath return the default PATH that contains rules. | {
"resource": ""
} | ||
c180327 | test | // EnableRule enables specific rule. | {
"resource": ""
} | ||
c180328 | test | // DisableRule disables specific rule. | {
"resource": ""
} | ||
c180329 | test | // EnableRule enables rules that match with a regular expression. | {
"resource": ""
} | ||
c180330 | test | // DisableRule disables rules that match with a regular expression. | {
"resource": ""
} | ||
c180331 | test | // LoadObjects loads objects form an specific source. It can load objects from
// different source types, that are implemented following the SourceType
// interface. | {
"resource": ""
} | ||
c180332 | test | // GroupObjectsByMetadata returns a map with all objects grouped by specific
// metadata key. | {
"resource": ""
} | ||
c180333 | test | // GroupObjectsByPrimaryKeyHash returns a map with all objects grouped by
// the primary key hash, that is calculated from all metadata keys with the
// primary attribute.
// All returned objects could have the same content, even if are not the same. | {
"resource": ""
} | ||
c180334 | test | // AddException adds a new exception into the context. | {
"resource": ""
} | ||
c180335 | test | // LoadExceptionsFromFile loads exceptions from a YAML file. | {
"resource": ""
} | ||
c180336 | test | // printPlainResults prints plain-text output for results | {
"resource": ""
} | ||
c180337 | test | // printJsonResults prints json-formatted output for results | {
"resource": ""
} | ||
c180338 | test | // NewXor64Source returns a pointer to a new Xor64Source seeded with the given
// value. | {
"resource": ""
} | ||
c180339 | test | // xor64 generates the next value of a pseudo-random sequence given a current
// state x. | {
"resource": ""
} | ||
c180340 | test | // next advances the generators internal state to the next value and returns
// this value as an uint64. | {
"resource": ""
} | ||
c180341 | test | // Seed uses the given value to initialize the generator. If this value is 0, a
// pre-defined seed is used instead, since the xorshift algorithm requires at
// least one bit of the internal state to be set. | {
"resource": ""
} | ||
c180342 | test | // Create a new FrameSet from a given frame range string
// Returns an error if the frame range could not be parsed. | {
"resource": ""
} | ||
c180343 | test | // Process a rangePattern match group | {
"resource": ""
} | ||
c180344 | test | // Index returns the index position of the frame value
// within the frame set.
// If the given frame does not exist, then return -1 | {
"resource": ""
} | ||
c180345 | test | // Frame returns the frame number value for a given index into
// the frame set.
// If the index is outside the bounds of the frame set range,
// then an error is returned. | {
"resource": ""
} | ||
c180346 | test | // HasFrame returns true if the frameset contains the given
// frame value. | {
"resource": ""
} | ||
c180347 | test | // FrameRangePadded returns the range string that was used
// to initialize the FrameSet, with each number padded out
// with zeros to a given width | {
"resource": ""
} | ||
c180348 | test | // Normalize returns a new sorted and compacted FrameSet | {
"resource": ""
} | ||
c180349 | test | // FramesToFrameRange takes a slice of frame numbers and
// compresses them into a frame range string.
//
// If sorted == true, pre-sort the frames instead of respecting
// their current order in the range.
//
// If zfill > 1, then pad out each number with "0" to the given
// total width. | {
"resource": ""
} | ||
c180350 | test | // frameRangeMatches breaks down the string frame range
// into groups of range matches, for further processing. | {
"resource": ""
} | ||
c180351 | test | // Expands a start, end, and stepping value
// into the full range of int values. | {
"resource": ""
} | ||
c180352 | test | // Create a new workManager, with input and output channels,
// with a given list of options | {
"resource": ""
} | ||
c180353 | test | // processSources pulls from input channels, and processes
// them into the output channel until there is no more work | {
"resource": ""
} | ||
c180354 | test | // Returns true if the input channels are nil | {
"resource": ""
} | ||
c180355 | test | // CloseInputs closes the input channels indicating
// that no more paths will be loaded. | {
"resource": ""
} | ||
c180356 | test | // loadStandard takes paths and loads them into the
// dir input channel for processing | {
"resource": ""
} | ||
c180357 | test | // Parallel walk the root paths and populate the path
// channel for the worker routines to consume. | {
"resource": ""
} | ||
c180358 | test | // Take a list of paths and reduce them to cleaned
// and unique paths. Return two slices, separated by
// directory paths, and sequence patterns | {
"resource": ""
} | ||
c180359 | test | // PadFrameRange takes a frame range string and returns a
// new range with each number padded out with zeros to a given width | {
"resource": ""
} | ||
c180360 | test | // Left pads a string to a given with, using "0".
// If the string begins with a negative "-" character, then
// padding is inserted between the "-" and the remaining characters. | {
"resource": ""
} | ||
c180361 | test | // Left pads an int to a given with, using "0".
// If the string begins with a negative "-" character, then
// padding is inserted between the "-" and the remaining characters. | {
"resource": ""
} | ||
c180362 | test | // NewInclusiveRange creates a new InclusiveRange instance | {
"resource": ""
} | ||
c180363 | test | // String returns a formatted string representation
// of the integer range | {
"resource": ""
} | ||
c180364 | test | // End returns the end of the range. This value may
// be different from the end value given when the
// range was first initialized, since it takes into
// account the stepping value. The end value may be
// shifted to the closest valid value within the
// stepped range. | {
"resource": ""
} | ||
c180365 | test | // Len returns the number of values in the range | {
"resource": ""
} | ||
c180366 | test | // Min returns the smallest value in the range | {
"resource": ""
} | ||
c180367 | test | // Max returns the highest value in the range | {
"resource": ""
} | ||
c180368 | test | // Contains returns true if the given value is a valid
// value within the value range. | {
"resource": ""
} | ||
c180369 | test | // closestInRange finds the closest valid value within the range,
// to a given value. Values outside the range are clipped to either
// the range min or max. | {
"resource": ""
} | ||
c180370 | test | // Index returns the 0-based index of the first occurrence
// given value, within the range.
// If the value does not exist in the range, a
// value of -1 will be returned | {
"resource": ""
} | ||
c180371 | test | // String returns the formatted representation of
// the combination of all internal InclusiveRange instances | {
"resource": ""
} | ||
c180372 | test | // Len returns the total number of values across all ranges | {
"resource": ""
} | ||
c180373 | test | // Start returns the first value of the first range | {
"resource": ""
} | ||
c180374 | test | // End returns the last value of the last range | {
"resource": ""
} | ||
c180375 | test | // Min returns the smallest value in the total range | {
"resource": ""
} | ||
c180376 | test | // Max returns the highest value in the total range | {
"resource": ""
} | ||
c180377 | test | // NumRanges returns the number of discreet sets
// of ranges that were appended. | {
"resource": ""
} | ||
c180378 | test | // rangeAt returns the underlying InclusiveRange instance
// that was appended, at a given index | {
"resource": ""
} | ||
c180379 | test | // Append creates and adds another range of values
// to the total range list. | {
"resource": ""
} | ||
c180380 | test | // AppendUnique creates and adds another range of values
// to the total range list. Only unique values from the
// given range are appended to the total range. | {
"resource": ""
} | ||
c180381 | test | // Contains returns true if a given value is a valid
// value within the total range. | {
"resource": ""
} | ||
c180382 | test | // Index returns the 0-based index of the first occurrence
// of the given value, within the range.
// If the value does not exist in the range, a
// value of -1 will be returned. | {
"resource": ""
} | ||
c180383 | test | // FrameRange returns the string frame range component,
// parsed from the sequence. If no frame range was parsed,
// then this method will return an empty string. | {
"resource": ""
} | ||
c180384 | test | // FrameRangePadded returns the string frame range component,
// parsed from the sequence, and padded out by the pad characters.
// If no frame range was parsed, then this method will return an empty string. | {
"resource": ""
} | ||
c180385 | test | // Index returns the path to the file at the given index
// in the sequence. If a frame range was not parsed from
// the sequence, this will always returns the original path.
// If the index is not valid, this will return an empty string. | {
"resource": ""
} | ||
c180386 | test | // Set a new dirname for the sequence | {
"resource": ""
} | ||
c180387 | test | // Set a new padding characters for the sequence | {
"resource": ""
} | ||
c180388 | test | // Set a new padding style for mapping between characters and
// their numeric width | {
"resource": ""
} | ||
c180389 | test | // Set a new ext for the sequence | {
"resource": ""
} | ||
c180390 | test | // Set a new FrameSet, by way of providing a string frame range.
// If the frame range cannot be parsed, an error will be returned. | {
"resource": ""
} | ||
c180391 | test | // Len returns the number of frames in the FrameSet.
// If a frame range was not parsed, this will always return 1 | {
"resource": ""
} | ||
c180392 | test | // String returns the formatted sequence | {
"resource": ""
} | ||
c180393 | test | // Copy returns a copy of the FileSequence | {
"resource": ""
} | ||
c180394 | test | // NewClient return SOAP client | {
"resource": ""
} | ||
c180395 | test | // UnmarshalXML unmarshal SOAPHeader | {
"resource": ""
} | ||
c180396 | test | // UnmarshalXML unmarshal SOAPBody | {
"resource": ""
} | ||
c180397 | test | // Call SOAP client API call | {
"resource": ""
} | ||
c180398 | test | // JSONDoc loads a json document from either a file or a remote url | {
"resource": ""
} | ||
c180399 | test | // AddLoader for a document | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.