_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c16400 | // SetVolume sets the volume to volume. The range of volume is 0-100. | |
c16401 | //
// Playlist related functions
//
// PlaylistInfo returns attributes for songs in the current playlist. If
// both start and end are negative, it does this for all songs in
// playlist. If end is negative but start is positive, it does it for the
// song at position start. If both start and end are positive, it does ... | |
c16402 | // SetPriority set the priority of the specified songs. If end is negative but
// start is non-negative, it does it for the song at position start. If both
// start and end are non-negative, it does it for positions in range
// [start, end). | |
c16403 | // SetPriorityID sets the prio of the song with the given id. | |
c16404 | // Delete deletes songs from playlist. If both start and end are positive,
// it deletes those at positions in range [start, end). If end is negative,
// it deletes the song at position start. | |
c16405 | // Move moves the songs between the positions start and end to the new position
// position. If end is negative, only the song at position start is moved. | |
c16406 | // MoveID moves songid to position on the plyalist. | |
c16407 | // Search behaves exactly the same as Find, but the searches are not case sensitive. | |
c16408 | // EnableOutput enables the audio output with the given id. | |
c16409 | // DisableOutput disables the audio output with the given id. | |
c16410 | // PlaylistContents returns a list of attributes for songs in the specified
// stored playlist. | |
c16411 | // PlaylistLoad loads the specfied playlist into the current queue.
// If start and end are non-negative, only songs in this range are loaded. | |
c16412 | // PlaylistAdd adds a song identified by uri to a stored playlist identified
// by name. | |
c16413 | // PlaylistClear clears the specified playlist. | |
c16414 | // PlaylistMove moves a song identified by id in a playlist identified by name
// to the position pos. | |
c16415 | // PlaylistRename renames the playlist identified by name to newName. | |
c16416 | // PlaylistRemove removes the playlist identified by name from the playlist
// directory. | |
c16417 | // PlaylistSave saves the current playlist as name in the playlist directory. | |
c16418 | // StickerFind finds songs inside directory with URI which have a sticker with given name.
// It returns a slice of URIs of matching songs and a slice of corresponding stickers. | |
c16419 | // StickerGet gets sticker value for the song with given URI. | |
c16420 | // StickerList returns a slice of stickers for the song with given URI. | |
c16421 | // StickerSet sets sticker value for the song with given URI. | |
c16422 | // Value is a convenience method for ensuring that a promise
// has been computed, returning the Attrs. | |
c16423 | // Value is a convenience method for ensuring that a promise
// has been computed, returning the ID. | |
c16424 | // CurrentSong returns information about the current song in the playlist. | |
c16425 | // PlayID plays the song identified by id. If id is negative, start playing
// at the currect position in playlist. | |
c16426 | // SetVolume sets the MPD volume level. | |
c16427 | //
// Playlist related functions
//
// SetPriority sets the priority for songs in the playlist. If both start and
// end are non-negative, it updates those at positions in range [start, end).
// If end is negative, it updates the song at position start. | |
c16428 | // SetPriorityID sets the priority for the song identified by id. | |
c16429 | // MoveID moves songid to position on the playlist. | |
c16430 | // Stored playlists related commands.
// PlaylistLoad loads the specfied playlist into the current queue.
// If start and end are non-negative, only songs in this range are loaded. | |
c16431 | // End executes the command list. | |
c16432 | // Command returns a command that can be sent to MPD sever.
// It enables low-level access to MPD protocol and should be avoided if
// the user is not familiar with MPD protocol.
//
// Strings in args are automatically quoted so that spaces are preserved.
// Pass strings as Quoted type if this is not desired. | |
c16433 | // OK sends command to server and checks for error. | |
c16434 | // Attrs sends command to server and reads attributes returned in response. | |
c16435 | // AttrsList sends command to server and reads a list of attributes returned in response.
// Each attribute group starts with key startKey. | |
c16436 | // Strings sends command to server and reads a list of strings returned in response.
// Each string have the key key. | |
c16437 | // OnCount prints to the console when the feature is queried. | |
c16438 | // WithRefreshInterval specifies the time interval with which the client should sync the
// feature toggles from the unleash server. | |
c16439 | // WithMetricsInterval specifies the times interval woth which the client should upload
// the metrics data to the unleash server. | |
c16440 | // WithHttpClient specifies which HttpClient the client should use for making requests to the server. | |
c16441 | // WithCustomHeaders specifies any custom headers that should be sent along with requests to the
// server. | |
c16442 | // WithContext allows the user to provide a context that will be passed into the active strategy
// for determining if a specified feature should be enabled or not. | |
c16443 | // IsEnabled queries the default client whether or not the specified feature is enabled or not. | |
c16444 | // IsEnabled queries whether or not the specified feature is enabled or not. | |
c16445 | // Close stops the client from syncing data from the server. | |
c16446 | // Allowable parses the pattern and determines the minimum and maximum allowable
// values that the pattern can represent.
// When the max cannot be determined, 'true' will be returned
// for infinite. | |
c16447 | // IsPattern returns true if the string is a pattern. | |
c16448 | // MarshalJSON marshalls 'Operation' to a byte array
// For 'select' operations, we dont omit the 'Where' field
// to allow selecting all rows of a table | |
c16449 | // MarshalJSON marshalls an OVSDB style Map to a byte array | |
c16450 | // UnmarshalJSON unmarshalls an OVSDB style Map from a byte array | |
c16451 | // NewOvsMap will return an OVSDB style map from a provided Golang Map | |
c16452 | // NewOvsSet creates a new OVSDB style set from a Go slice | |
c16453 | // MarshalJSON wil marshal an OVSDB style set in to a JSON byte array | |
c16454 | // UnmarshalJSON will unmarshal a JSON byte array to an OVSDB style set | |
c16455 | // UnmarshalJSON unmarshalls a byte array to an OVSDB Row | |
c16456 | // Print will print the contents of the DatabaseSchema | |
c16457 | // Basic validation for operations against Database Schema | |
c16458 | // NewTransactArgs creates a new set of arguments for a transact RPC | |
c16459 | // NewMonitorArgs creates a new set of arguments for a monitor RPC | |
c16460 | // MarshalJSON will marshal an OVSDB style UUID to a JSON encoded byte array | |
c16461 | // UnmarshalJSON will unmarshal a JSON encoded byte array to a OVSDB style UUID | |
c16462 | // ConnectUsingProtocol creates an OVSDB connection and returns and OvsdbClient | |
c16463 | // Connect creates an OVSDB connection and returns and OvsdbClient | |
c16464 | // ConnectWithUnixSocket makes a OVSDB Connection via a Unix Socket | |
c16465 | // Register registers the supplied NotificationHandler to recieve OVSDB Notifications | |
c16466 | //Get Handler by index | |
c16467 | // Unregister the supplied NotificationHandler to not recieve OVSDB Notifications anymore | |
c16468 | // Init registers the escape functionality with the given Env. | |
c16469 | // NewAutoEscapeExtension returns an AutoEscapeExtension with Twig equivalent
// Escapers, by default. | |
c16470 | // push adds the given name on top of the stack. | |
c16471 | // pop removes the top-most name on the stack. | |
c16472 | // newState creates a new template execution state, ready for use. | |
c16473 | // push adds a scope on top of the stack. | |
c16474 | // pop removes the top-most scope. | |
c16475 | // All returns a flat map of the current scope. | |
c16476 | // Method getBlock iterates through each set of blocks, returning the first
// block with the given name. | |
c16477 | // walkChild only executes a subset of nodes, intended to be used on child templates. | |
c16478 | // Method walkInclude determines the necessary parameters for including or embedding a template. | |
c16479 | // execute kicks off execution of the given template. | |
c16480 | // Method load attempts to load and parse the given template. | |
c16481 | // HTML provides a Twig-compatible HTML escape function. | |
c16482 | // HTMLAttribute provides a Twig-compatible escaper for HTML attributes. | |
c16483 | // JS provides a Twig-compatible javascript escaper. | |
c16484 | // URLQueryParam provides Twig-compatible query string escaper. | |
c16485 | // parseTag parses the opening of a tag "{%", then delegates to a more specific parser function
// based on the tag's name. | |
c16486 | // parseUntilEndTag parses until it reaches the specified tag's "end", returning a specific error otherwise. | |
c16487 | // parseUntilTag parses until it reaches the specified tag node, returning a parse error otherwise. | |
c16488 | // parseInclude parses an include statement. | |
c16489 | // parseEmbed parses an embed statement and body. | |
c16490 | // NewNamedTree is an alternative constructor which creates a Tree with a name | |
c16491 | // Blocks returns a map of blocks in this tree. | |
c16492 | // peek returns the next unread token without advancing the internal cursor. | |
c16493 | // peek returns the next unread, non-space token without advancing the internal cursor. | |
c16494 | // backup pushes the last read token back onto the unread stack and reduces the internal cursor by one. | |
c16495 | // next returns the next unread token and advances the internal cursor by one. | |
c16496 | // nextNonSpace returns the next non-whitespace token. | |
c16497 | // expect returns the next non-space token. Additionally, if the token is not of one of the expected types,
// an UnexpectedTokenError is returned. | |
c16498 | // expectValue returns the next non-space token, with additional checks on the value of the token.
// If the token is not of the expected type, an UnexpectedTokenError is returned. If the token is not the
// expected value, an UnexpectedValueError is returned. | |
c16499 | // Enter is called when the given Node is entered. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.