_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c28600 | train | // Init initializes the FieldType data. | {
"resource": ""
} | ||
c28601 | train | // String joins the information of FieldType and
// returns a string. | {
"resource": ""
} | ||
c28602 | train | // Sha1Hash is an util function to calculate sha1 hash. | {
"resource": ""
} | ||
c28603 | train | // EncodePassword converts plaintext password to hashed hex string. | {
"resource": ""
} | ||
c28604 | train | // DecodePassword converts hex string password to byte array. | {
"resource": ""
} | ||
c28605 | train | // Join joins two datasets by the key. | {
"resource": ""
} | ||
c28606 | train | // JoinPartitionedSorted Join multiple datasets that are sharded by the same key, and locally sorted within the shard | {
"resource": ""
} | ||
c28607 | train | // EvalBool evaluates expression to a boolean value. | {
"resource": ""
} | ||
c28608 | train | // TableInfo2Schema converts table info to schema. | {
"resource": ""
} | ||
c28609 | train | // NewCastFunc creates a new cast function. | {
"resource": ""
} | ||
c28610 | train | // FoldConstant does constant folding optimization on an expression. | {
"resource": ""
} | ||
c28611 | train | // TakeMessage Reads and processes MessagePack encoded messages.
// If count is less than 0, all lines are processed. | {
"resource": ""
} | ||
c28612 | train | // ProcessMessage Reads and processes MessagePack encoded messages until EOF | {
"resource": ""
} | ||
c28613 | train | // Write implements io.Writer. If a write would cause the log file to be larger
// than MaxMegaByte, the file is closed, renamed to include a timestamp of the
// current time, and a new log file is created using the original log file name.
// If the length of the write is greater than MaxMegaByte, an error is returned... | {
"resource": ""
} | ||
c28614 | train | // merge existing stats with incoming stats | {
"resource": ""
} | ||
c28615 | train | // tryToConvert2DummyScan is an optimization which checks if its parent is a selection with a constant condition
// that evaluates to false. If it is, there is no need for a real physical scan, a dummy scan will do. | {
"resource": ""
} | ||
c28616 | train | // removeLimit removes the limit from prop. | {
"resource": ""
} | ||
c28617 | train | // replaceColsInPropBySchema replaces the columns in original prop with the columns in schema. | {
"resource": ""
} | ||
c28618 | train | // convert2PhysicalPlanHash converts the logical aggregation to the physical hash aggregation. | {
"resource": ""
} | ||
c28619 | train | // physicalInitialize will set value of some attributes after convert2PhysicalPlan process.
// Currently, only attribute "correlated" is considered. | {
"resource": ""
} | ||
c28620 | train | // EncodeInt appends the encoded value to slice b and returns the appended slice.
// EncodeInt guarantees that the encoded value is in ascending order for comparison. | {
"resource": ""
} | ||
c28621 | train | // DecodeIntDesc decodes value encoded by EncodeInt before.
// It returns the leftover un-decoded slice, decoded value if no error. | {
"resource": ""
} | ||
c28622 | train | // StrToInt converts a string to an integer at the best-effort. | {
"resource": ""
} | ||
c28623 | train | // floatStrToIntStr converts a valid float string into valid integer string which can be parsed by
// strconv.ParseInt, we can't parse float first then convert it to string because precision will
// be lost. | {
"resource": ""
} | ||
c28624 | train | // getValidFloatPrefix gets prefix of string which can be successfully parsed as float. | {
"resource": ""
} | ||
c28625 | train | // ToString converts an interface to a string. | {
"resource": ""
} | ||
c28626 | train | // Validate checkes whether the node is valid. | {
"resource": ""
} | ||
c28627 | train | // outerJoinSimplify simplifies outer join. | {
"resource": ""
} | ||
c28628 | train | // concatOnAndWhereConds concatenate ON conditions with WHERE conditions. | {
"resource": ""
} | ||
c28629 | train | // fieldsNotEmpty supports omitempty tags | {
"resource": ""
} | ||
c28630 | train | // PropagateConstant propagate constant values of equality predicates and inequality predicates in a condition. | {
"resource": ""
} | ||
c28631 | train | // OrderBy chains a list of sorting order by | {
"resource": ""
} | ||
c28632 | train | // return a list of indexes | {
"resource": ""
} | ||
c28633 | train | // RetrieveColumn retrieves column in expression from the columns in schema. | {
"resource": ""
} | ||
c28634 | train | // GetColumnIndex finds the index for a column. | {
"resource": ""
} | ||
c28635 | train | // Append append new column to the columns stored in schema. | {
"resource": ""
} | ||
c28636 | train | // GetColumnsIndices will return a slice which contains the position of each column in schema.
// If there is one column that doesn't match, nil will be returned. | {
"resource": ""
} | ||
c28637 | train | // MergeSchema will merge two schema into one schema. | {
"resource": ""
} | ||
c28638 | train | // HashJoin joins two datasets by putting the smaller dataset in memory on all
// executors and streams through the bigger dataset. | {
"resource": ""
} | ||
c28639 | train | // Broadcast replicates itself to all shards. | {
"resource": ""
} | ||
c28640 | train | // linelabel determines the connection and arrow geometry | {
"resource": ""
} | ||
c28641 | train | // arrow constructs line-ending arrows according to connecting points | {
"resource": ""
} | ||
c28642 | train | // doline draws a line between to coordinates | {
"resource": ""
} | ||
c28643 | train | // sloper computes the slope and r of a line | {
"resource": ""
} | ||
c28644 | train | // RegisterMapper register a mapper function to process a command | {
"resource": ""
} | ||
c28645 | train | // ListRegisteredFunctions lists out all registered mappers and reducers | {
"resource": ""
} | ||
c28646 | train | // getHashKey encodes a requiredProperty to a unique hash code. | {
"resource": ""
} | ||
c28647 | train | // ResolveIndicesAndCorCols implements LogicalPlan interface. | {
"resource": ""
} | ||
c28648 | train | // AddParent implements Plan AddParent interface. | {
"resource": ""
} | ||
c28649 | train | // AddChild implements Plan AddChild interface. | {
"resource": ""
} | ||
c28650 | train | // ReplaceParent means replace a parent for another one. | {
"resource": ""
} | ||
c28651 | train | // ReplaceChild means replace a child with another one. | {
"resource": ""
} | ||
c28652 | train | // GetParentByIndex implements Plan GetParentByIndex interface. | {
"resource": ""
} | ||
c28653 | train | // GetChildByIndex implements Plan GetChildByIndex interface. | {
"resource": ""
} | ||
c28654 | train | // Run starts the heartbeating to master and starts accepting requests. | {
"resource": ""
} | ||
c28655 | train | // IsTypeBlob returns a boolean indicating whether the tp is a blob type. | {
"resource": ""
} | ||
c28656 | train | // IsTypeChar returns a boolean indicating
// whether the tp is the char type like a string type or a varchar type. | {
"resource": ""
} | ||
c28657 | train | // Overflow returns an overflowed error. | {
"resource": ""
} | ||
c28658 | train | // DoSelect projects the fields | {
"resource": ""
} | ||
c28659 | train | // NextInterval returns next retriable time | {
"resource": ""
} | ||
c28660 | train | // WithHTTPTimeout sets hystrix timeout | {
"resource": ""
} | ||
c28661 | train | // WithHystrixTimeout sets hystrix timeout | {
"resource": ""
} | ||
c28662 | train | // WithRetrier sets the strategy for retrying | {
"resource": ""
} | ||
c28663 | train | // WithHTTPClient sets a custom http client for hystrix client | {
"resource": ""
} | ||
c28664 | train | // NewClient returns a new instance of http Client | {
"resource": ""
} | ||
c28665 | train | // Next returns next time for retrying operation with constant strategy | {
"resource": ""
} | ||
c28666 | train | // Next returns next time for retrying operation with exponential strategy | {
"resource": ""
} | ||
c28667 | train | // NewClient returns a new instance of hystrix Client | {
"resource": ""
} | ||
c28668 | train | // Patch makes a HTTP PATCH request to provided URL and requestBody | {
"resource": ""
} | ||
c28669 | train | // Delete makes a HTTP DELETE request with provided URL | {
"resource": ""
} | ||
c28670 | train | // CopyTo copies the given data to the clipboard and enqueues automatic
// clearing of the clipboard | {
"resource": ""
} | ||
c28671 | train | // GetCryptoBackend initialized the correct crypto backend | {
"resource": ""
} | ||
c28672 | train | // Generate and save a password | {
"resource": ""
} | ||
c28673 | train | // generateCopyOrPrint will print the password to the screen or copy to the
// clipboard | {
"resource": ""
} | ||
c28674 | train | // generatePassword will run through the password generation steps | {
"resource": ""
} | ||
c28675 | train | // generatePasswordXKCD walks through the steps necessary to create an XKCD-style
// password | {
"resource": ""
} | ||
c28676 | train | // generateSetPassword will update or create a secret | {
"resource": ""
} | ||
c28677 | train | // CompleteGenerate implements the completion heuristic for the generate command | {
"resource": ""
} | ||
c28678 | train | // Invoke will start the given editor and return the content | {
"resource": ""
} | ||
c28679 | train | // Batch runs a password strength audit on multiple secrets | {
"resource": ""
} | ||
c28680 | train | // Single runs a password strength audit on a single password | {
"resource": ""
} | ||
c28681 | train | // Bytes returns a list serialized copy of this secret | {
"resource": ""
} | ||
c28682 | train | // Data returns the data map. Will never be nil | {
"resource": ""
} | ||
c28683 | train | // DeleteKey removes a single key | {
"resource": ""
} | ||
c28684 | train | // Equal returns true if two secrets match | {
"resource": ""
} | ||
c28685 | train | // Password returns the password | {
"resource": ""
} | ||
c28686 | train | // SetValue sets a single key | {
"resource": ""
} | ||
c28687 | train | // Value returns a single value | {
"resource": ""
} | ||
c28688 | train | // Initialized returns true if the store is properly initialized | {
"resource": ""
} | ||
c28689 | train | // List will return a flattened list of all tree entries | {
"resource": ""
} | ||
c28690 | train | // Tree returns the tree representation of the entries | {
"resource": ""
} | ||
c28691 | train | // HIBP compares all entries from the store against the provided SHA1 sum dumps | {
"resource": ""
} | ||
c28692 | train | // RecipientIDs reads the header of the given file and extracts the
// recipients IDs | {
"resource": ""
} | ||
c28693 | train | // ReadNamesFromKey unmarshals the given public key and returns the identities name | {
"resource": ""
} | ||
c28694 | train | // ListPublicKeyIDs lists all public key IDs | {
"resource": ""
} | ||
c28695 | train | // ListPrivateKeyIDs lists all private key IDs | {
"resource": ""
} | ||
c28696 | train | // FindPublicKeys finds all matching public keys | {
"resource": ""
} | ||
c28697 | train | // FormatKey formats a key | {
"resource": ""
} | ||
c28698 | train | // NameFromKey extracts the name from a key | {
"resource": ""
} | ||
c28699 | train | // EmailFromKey extracts the email from a key | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.