_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c6500 | train | // FileLabel returns the SELinux label for this path or returns an error. | {
"resource": ""
} | ||
c6501 | train | // SetKeyLabel takes a process label and tells the kernel to assign the
// label to the next kernel keyring that gets created | {
"resource": ""
} | ||
c6502 | train | // Get returns the Context as a string | {
"resource": ""
} | ||
c6503 | train | // ClearLabels clears all reserved labels | {
"resource": ""
} | ||
c6504 | train | // EnforceMode returns the current SELinux mode Enforcing, Permissive, Disabled | {
"resource": ""
} | ||
c6505 | train | // Prevent users from relabing system files | {
"resource": ""
} | ||
c6506 | train | // Chcon changes the `fpath` file object to the SELinux label `label`.
// If `fpath` is a directory and `recurse`` is true, Chcon will walk the
// directory tree setting the label. | {
"resource": ""
} | ||
c6507 | train | // DupSecOpt takes an SELinux process label and returns security options that
// can be used to set the SELinux Type and Level for future container processes. | {
"resource": ""
} | ||
c6508 | train | // addToPathMap traverses through the AST adding SourceCodeInfo_Location entries to the pathMap.
// Since the AST is a tree, the recursion finishes once it has gone through all the nodes. | {
"resource": ""
} | ||
c6509 | train | // Warning does not handle message embedded like goTypeWithGoPackage does. | {
"resource": ""
} | ||
c6510 | train | //Deprecated. Instead use goTypeWithEmbedded | {
"resource": ""
} | ||
c6511 | train | // lowerGoNormalize takes a string and applies formatting
// rules to conform to Golang convention. It applies a camel
// case filter, lowers the first character and formats fields
// with `id` to `ID`. | {
"resource": ""
} | ||
c6512 | train | // goNormalize takes a string and applies formatting rules
// to conform to Golang convention. It applies a camel case
// filter and formats fields with `id` to `ID`. | {
"resource": ""
} | ||
c6513 | train | // formatID takes a base string alonsgide a formatted string.
// It acts as a transformation filter for fields containing
// `id` in order to conform to Golang convention. | {
"resource": ""
} | ||
c6514 | train | // SetSizePolicy sets the size policy for horizontal and vertical directions. | {
"resource": ""
} | ||
c6515 | train | // Draw draws the progress bar. | {
"resource": ""
} | ||
c6516 | train | // NewPainter returns a new instance of Painter. | {
"resource": ""
} | ||
c6517 | train | // Translate pushes a new translation transform to the stack. | {
"resource": ""
} | ||
c6518 | train | // Restore pops the latest transform from the stack. | {
"resource": ""
} | ||
c6519 | train | // Repaint clears the surface, draws the scene and flushes it. | {
"resource": ""
} | ||
c6520 | train | // DrawCursor draws the cursor at the given position. | {
"resource": ""
} | ||
c6521 | train | // DrawRune paints a rune at the given coordinate. | {
"resource": ""
} | ||
c6522 | train | // DrawText paints a string starting at the given coordinate. | {
"resource": ""
} | ||
c6523 | train | // DrawHorizontalLine paints a horizontal line using box characters. | {
"resource": ""
} | ||
c6524 | train | // DrawVerticalLine paints a vertical line using box characters. | {
"resource": ""
} | ||
c6525 | train | // DrawRect paints a rectangle using box characters. | {
"resource": ""
} | ||
c6526 | train | // FillRect clears a rectangular area with whitespace. | {
"resource": ""
} | ||
c6527 | train | // WithStyle executes the provided function with the named Style applied on top of the current one. | {
"resource": ""
} | ||
c6528 | train | // WithMask masks a painter to restrict painting within the given rectangle. | {
"resource": ""
} | ||
c6529 | train | // CursorPos returns the coordinate for the cursor for a given width. | {
"resource": ""
} | ||
c6530 | train | // MoveForward moves the cursor forward by one rune. | {
"resource": ""
} | ||
c6531 | train | // MoveToLineStart moves the cursor to the start of the current line. | {
"resource": ""
} | ||
c6532 | train | // MoveToLineEnd moves the cursor to the end of the current line. | {
"resource": ""
} | ||
c6533 | train | // Backspace deletes the rune left of the cursor. | {
"resource": ""
} | ||
c6534 | train | // Delete deletes the rune at the current cursor position. | {
"resource": ""
} | ||
c6535 | train | // Kill deletes all runes from the cursor until the end of the line. | {
"resource": ""
} | ||
c6536 | train | // WrapString wraps the input string by inserting newline characters. It does
// not remove whitespace, but preserves the original text. | {
"resource": ""
} | ||
c6537 | train | // Scroll shifts the views over the content. | {
"resource": ""
} | ||
c6538 | train | // ScrollToBottom ensures the bottom-most part of the scroll area is visible. | {
"resource": ""
} | ||
c6539 | train | // Draw draws the scroll area. | {
"resource": ""
} | ||
c6540 | train | // Resize resizes the scroll area and the underlying widget. | {
"resource": ""
} | ||
c6541 | train | // FocusNext returns the widget in the ring that is after the given widget. | {
"resource": ""
} | ||
c6542 | train | // FocusDefault returns the default widget for when there is no widget
// currently focused. | {
"resource": ""
} | ||
c6543 | train | // Resize changes the size of the Widget. | {
"resource": ""
} | ||
c6544 | train | // Draw draws the label. | {
"resource": ""
} | ||
c6545 | train | // SizeHint returns the recommended size for the label. | {
"resource": ""
} | ||
c6546 | train | // SetText sets the text content of the label. | {
"resource": ""
} | ||
c6547 | train | // Append adds the given widget at the end of the Box. | {
"resource": ""
} | ||
c6548 | train | // Prepend adds the given widget at the start of the Box. | {
"resource": ""
} | ||
c6549 | train | // Insert adds the widget into the Box at a given index. | {
"resource": ""
} | ||
c6550 | train | // Remove deletes the widget from the Box at a given index. | {
"resource": ""
} | ||
c6551 | train | // IsFocused return true if one of the children is focused. | {
"resource": ""
} | ||
c6552 | train | // Draw recursively draws the widgets it contains. | {
"resource": ""
} | ||
c6553 | train | // MinSizeHint returns the minimum size hint for the layout. | {
"resource": ""
} | ||
c6554 | train | // SizeHint returns the recommended size hint for the layout. | {
"resource": ""
} | ||
c6555 | train | // Resize recursively updates the size of the Box and all the widgets it
// contains. This is a potentially expensive operation and should be invoked
// with restraint.
//
// Resize is called by the layout engine and is not intended to be used by end
// users. | {
"resource": ""
} | ||
c6556 | train | // Name returns a user-friendly description of the key press. | {
"resource": ""
} | ||
c6557 | train | // NewGrid returns a new Grid. | {
"resource": ""
} | ||
c6558 | train | // Draw draws the grid. | {
"resource": ""
} | ||
c6559 | train | // MinSizeHint returns the minimum size hint for the grid. | {
"resource": ""
} | ||
c6560 | train | // SizeHint returns the recommended size hint for the grid. | {
"resource": ""
} | ||
c6561 | train | // Resize recursively updates the size of the Grid and all the widgets it
// contains. This is a potentially expensive operation and should be invoked
// with restraint.
//
// Resize is called by the layout engine and is not intended to be used by end
// users. | {
"resource": ""
} | ||
c6562 | train | // SetCell sets or replaces the contents of a cell. | {
"resource": ""
} | ||
c6563 | train | // AppendRow adds a new row at the end. | {
"resource": ""
} | ||
c6564 | train | // RemoveRows will remove all the rows in grid | {
"resource": ""
} | ||
c6565 | train | // SetRowStretch sets the stretch factor for a given row. For more on stretch
// factors, see SetColumnStretch. | {
"resource": ""
} | ||
c6566 | train | // Quit signals to the UI to start shutting down. | {
"resource": ""
} | ||
c6567 | train | // trimRightLen returns s with n runes trimmed off | {
"resource": ""
} | ||
c6568 | train | // Draw draws the status bar. | {
"resource": ""
} | ||
c6569 | train | // Draw decorates the Draw call to the widget with a style. | {
"resource": ""
} | ||
c6570 | train | // SizeHint returns the recommended size for the entry. | {
"resource": ""
} | ||
c6571 | train | // NewPadder returns a new Padder.
// The enclosed Widget is given horizontal margin of x on the right and x on the left,
// and a vertical margin of y on the top and y on the bottom. | {
"resource": ""
} | ||
c6572 | train | // Draw draws the padded widget. | {
"resource": ""
} | ||
c6573 | train | // Size returns the size of the padded widget. | {
"resource": ""
} | ||
c6574 | train | // Resize updates the size of the padded widget. | {
"resource": ""
} | ||
c6575 | train | // Draw draws the button. | {
"resource": ""
} | ||
c6576 | train | // SizeHint returns the recommended size hint for the button. | {
"resource": ""
} | ||
c6577 | train | // OnKeyEvent handles keys events. | {
"resource": ""
} | ||
c6578 | train | // mergeIn returns the receiver Style, with any changes in delta applied. | {
"resource": ""
} | ||
c6579 | train | // SetStyle sets a style for a given identifier. | {
"resource": ""
} | ||
c6580 | train | // HasStyle returns whether an identifier is associated with an identifier. | {
"resource": ""
} | ||
c6581 | train | // NewTable returns a new Table. | {
"resource": ""
} | ||
c6582 | train | // RemoveRow removes specific row from the table | {
"resource": ""
} | ||
c6583 | train | // Draw draws the list. | {
"resource": ""
} | ||
c6584 | train | // SizeHint returns the recommended size for the list. | {
"resource": ""
} | ||
c6585 | train | // OnKeyEvent handles terminal events. | {
"resource": ""
} | ||
c6586 | train | // AddItems appends items to the end of the list. | {
"resource": ""
} | ||
c6587 | train | // RemoveItems clears all the items from the list. | {
"resource": ""
} | ||
c6588 | train | // RemoveItem removes the item at the given position. | {
"resource": ""
} | ||
c6589 | train | // unquote unquotes the quoted string, returning the actual
// string value, whether the original was triple-quoted, and
// an error describing invalid input. | {
"resource": ""
} | ||
c6590 | train | // indexByte returns the index of the first instance of b in s, or else -1. | {
"resource": ""
} | ||
c6591 | train | // quote returns the quoted form of the string value "x".
// If triple is true, quote uses the triple-quoted form """x""". | {
"resource": ""
} | ||
c6592 | train | // AllocComments enables comments to be associated with a syntax node. | {
"resource": ""
} | ||
c6593 | train | // AsFloat returns the float64 value closest to x.
// The f result is undefined if x is not a float or int. | {
"resource": ""
} | ||
c6594 | train | // Globals returns a new, unfrozen StringDict containing all global
// variables so far defined in the function's module. | {
"resource": ""
} | ||
c6595 | train | // NewBuiltin returns a new 'builtin_function_or_method' value with the specified name
// and implementation. It compares unequal with all other values. | {
"resource": ""
} | ||
c6596 | train | // checkMutable reports an error if the list should not be mutated.
// verb+" list" should describe the operation.
// Structural mutations are not permitted during iteration. | {
"resource": ""
} | ||
c6597 | train | // Equal reports whether two Skylark values are equal. | {
"resource": ""
} | ||
c6598 | train | // EqualDepth reports whether two Skylark values are equal.
//
// Recursive comparisons by implementations of Value.CompareSameType
// should use EqualDepth to prevent infinite recursion. | {
"resource": ""
} | ||
c6599 | train | // Compare compares two Skylark values.
// The comparison operation must be one of EQL, NEQ, LT, LE, GT, or GE.
// Compare returns an error if an ordered comparison was
// requested for a type that does not support it.
//
// Recursive comparisons by implementations of Value.CompareSameType
// should use CompareDepth to... | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.